joyce8/EMBER2024-capa huggingface dataset:
Function at 0x342756f4
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x343a3990
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
mov eax, dword [0x34234fcc]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
mov dword [esp + 8], 1
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x30]
push eax
mov dword [esp + 0x2c], eax
lea eax, [esp + 0xc]
push eax
call fcn.34263e73
mov eax, dword [esp + 8]
or ecx, 0xffffffff
test al, 8
jne 0x34275749
mov dword [esi + 0x48], ecx
mov dword [esp + 0x28], ecx
test eax, 0xfffffffe
jne 0x342b6e6b
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x24
ret 8
lea ecx, [esp + 8]
call fcn.341ffba8
jmp 0x34275758

Function at 0x342835c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x343a0e30
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x34234fcc]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, dword [edi + 0x18]
mov eax, dword [ecx + 4]
cmp byte [eax + 0x31], 0
mov ebx, dword [esp + 0x70]
mov ebp, ecx
jne 0x34283612
mov ecx, dword [ebx]
lea ecx, [ecx]
cmp dword [eax + 0xc], ecx
jb 0x342a1f3c
mov ebp, eax
mov eax, dword [eax]
cmp byte [eax + 0x31], 0
je 0x342835ff
mov esi, dword [edi]
mov eax, dword [edi + 0x18]
mov dword [esp + 0x18], eax
test esi, esi
jne 0x34283621
jmp 0x34283625
cmp esi, esi
je 0x3428362b
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp ebp, dword [esp + 0x18]
je 0x34283638
mov ecx, dword [ebx]
cmp ecx, dword [ebp + 0xc]
jae 0x342836a3
lea edx, [esp + 0x70]
push edx
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x24]
call fcn.34283aa0
mov ecx, dword [ebx]
lea edx, [esp + 0x1c]
mov dword [esp + 0x3c], ecx
push edx
lea ecx, [esp + 0x44]
mov dword [esp + 0x6c], 0
call fcn.34283844
lea eax, [esp + 0x3c]
push eax
push ebp
push esi
lea ecx, [esp + 0x20]
push ecx
mov ecx, edi
mov byte [esp + 0x78], 1
call fcn.342836cf
mov esi, dword [eax]
mov ebp, dword [eax + 4]
lea ecx, [esp + 0x40]
mov byte [esp + 0x68], 0
call fcn.342847b6
lea ecx, [esp + 0x1c]
mov dword [esp + 0x68], 0xffffffff
call fcn.342847b6
test esi, esi
je 0x342a1f44
mov esi, dword [esi]
cmp ebp, dword [esi + 0x18]
je 0x342a1f4f
lea eax, [ebp + 0x10]
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 4
mov eax, dword [eax + 8]
jmp 0x3428360c
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
jmp 0x342836ad
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
jmp 0x342836b6
Function at 0x342837ac
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x343a0cb4
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x34234fcc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
push 1
push 0x34
call dword [sym.imp.MSO.dll_Ordinal_6306]
mov esi, eax
mov dword [ebp - 0x18], esi
test esi, esi
je 0x342a1b22
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], esi
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov dword [esi + 8], eax
mov eax, dword [ebp + 0x14]
mov dword [esi], ecx
mov dword [esi + 4], edx
mov ecx, dword [eax]
add eax, 4
mov dword [esi + 0xc], ecx
lea ecx, [esi + 0x10]
push eax
mov byte [ebp - 4], 1
call fcn.34283844
mov dl, byte [ebp + 0x18]
mov byte [esi + 0x30], dl
mov byte [esi + 0x31], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
push 0x343aaa10
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x14], 0x7d4
call sub.MSVCR90.dll__CxxThrowException
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.MSO.dll_Ordinal_1449]
push 0
push 0
call sub.MSVCR90.dll__CxxThrowException
int3
Function at 0x34289af1
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x343a7179
mov eax, dword fs:[0]
push eax
push ecx
push ebp
push esi
push edi
mov eax, dword [0x34234fcc]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov dword [esi], 0x342286ec
lea eax, [esi + 0x34]
xor edi, edi
mov dword [esi + 0x28], eax
mov eax, 0x40
mov dword [esp + 0x1c], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], eax
lea ecx, [esi + 0x8c]
mov dword [esi + 0x80], ecx
mov dword [esi + 0x7c], edi
mov dword [esi + 0x84], edi
mov dword [esi + 0x88], eax
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov dword [esi + 4], edx
mov dword [esi + 8], 1
mov eax, dword [ecx + 0xc]
mov dword [esi + 0xc], eax
mov dword [esi + 0x14], 0xffffffff
mov dword [esi + 0x74], edi
mov byte [esp + 0x1c], 2
cmp dword [ecx + 8], edi
je 0x342b6128
inc dword [eax]
mov edx, dword [esi + 0xc]
mov eax, dword [edx + 0x18]
mov dword [esi + 0x10], eax
mov eax, dword [ecx + 0xcc]
cmp eax, edi
je 0x342b6140
mov dword [esi + 0xcc], eax
inc dword [eax]
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x10
ret 0xc
mov ecx, dword [esp + 0x2c]
push 1
push 0xfffff88e
call fcn.341f8dac
mov dword [esi + 0xc], edi
jmp 0x34289ba7
push 0x1c
call fcn.341f21e0
mov ebp, eax
add esp, 4
mov dword [esp + 0x28], ebp
mov byte [esp + 0x1c], 3
cmp ebp, edi
je 0x342b616a
lea ecx, [ebp + 4]
mov dword [ebp], 1
call fcn.341f1990
jmp 0x342b616c
xor ebp, ebp
mov byte [esp + 0x1c], 2
mov dword [esi + 0xcc], ebp
cmp ebp, edi
jne 0x34289ba7
mov ecx, dword [esp + 0x2c]
push 1
push 0xfffffc0d
call fcn.341f8dac
jmp 0x34289ba7
Function at 0x3428c9e0
Capabilities:
Access peb ldr_data

Disassembly:
cmp dword [eax + 0x1c], esi
je 0x3428caa4
mov dword [eax + 0x1c], esi
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x3428caa4
mov eax, dword [esp + 0x14]
push eax
jmp 0x3428ca9f
push 0xffffffffffffffff
push 0x343a881c
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebp
push esi
push edi
mov eax, dword [0x34234fcc]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
mov ebp, dword [esi + 0xc]
push edi
push 1
mov ecx, ebp
mov dword [esp + 0x2c], 0
call fcn.341fafc8
test byte [edi], 8
jne 0x342b8e0b
mov eax, dword [esi + 0x40]
mov ecx, dword [esp + 0x2c]
push 0
push 0
push eax
push edi
push ecx
mov ecx, dword [eax + 8]
lea edx, [esp + 0x24]
push edx
call fcn.341f5ba8
test byte [edi], 8
jne 0x342b8e01
mov dl, byte [esp + 0x40]
mov eax, dword [esp + 0x14]
lea ecx, [eax + 0x1c]
test dl, dl
jne 0x3428ca72
lea ecx, [eax + 0x14]
mov esi, dword [ecx]
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x342b8e34
mov esi, ecx
test dl, dl
jne 0x3428b4f1
cmp dword [eax + 0x14], esi
je 0x3428caa4
mov dword [eax + 0x14], esi
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x3428caa4
mov edx, dword [esp + 0x14]
push edx
call fcn.341f5f83
push 0
push edi
mov ecx, ebp
call fcn.341fdee3
mov eax, dword [esp + 0x10]
test eax, eax
je 0x3428cac0
add eax, 0x6c
or ecx, 0xffffffff
lock xadd dword [eax], ecx
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x18
ret 0x18
push 0
push edi
mov ecx, ebp
call fcn.34263e73
mov eax, dword [esp + 0x10]
test eax, eax
je 0x342b8e1d
add eax, 0x6c
or ecx, 0xffffffff
lock xadd dword [eax], ecx
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x18
ret 0x18
cmp dword [esp + 0x3c], 1
je 0x3428ca80
mov ecx, 1
test dl, dl
jne 0x342b8e4b
mov ecx, dword [eax + 0x18]
add esi, ecx
jmp 0x3428ca82
Function at 0x3428ed85
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x343a76a1
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x34234fcc]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
mov ebp, dword [esp + 0x38]
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push 0
push 0
push ebp
push 0
push eax
push edi
push ecx
mov ecx, esi
call fcn.341ff330
lea ebx, [esi + 0x1f0]
mov dword [esi], 0x34228b5c
mov dword [esp + 0x20], 0
mov dword [ebx], 0x3422821c
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
mov dword [esi + 0x1cc], eax
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 4]
mov dword [esi + 0x1d0], eax
mov eax, dword [esp + 0x34]
push eax
mov ecx, edi
mov byte [esp + 0x24], 1
mov dword [esi + 0x1d4], 0
mov dword [esi + 0x1d8], edi
mov dword [esi + 0x1dc], edx
mov dword [esi + 0x1e0], eax
mov dword [esi + 0x1e4], 3
call fcn.3420c4ea
mov eax, dword [eax + 8]
mov ecx, dword [eax + 0x2c]
add ecx, dword [eax + 0x28]
mov edx, dword [esp + 0x34]
mov dword [esi + 0x1e8], ecx
push edx
mov ecx, edi
call fcn.3420c4ea
mov eax, dword [eax + 8]
mov ecx, dword [eax + 0x34]
add ecx, dword [eax + 0x30]
mov dword [esi + 0x24], ebx
mov dword [esi + 0x1ec], ecx
test byte [ebp], 8
jne 0x3428ef25
push 0x82c
call fcn.341f21e0
add esp, 4
mov dword [esp + 0x30], eax
xor ebx, ebx
mov byte [esp + 0x20], 2
cmp eax, ebx
je 0x3428ef3d
mov edx, dword [esi + 0x1d0]
mov edx, dword [edx + 0x10]
push ebp
push edx
mov ecx, eax
call fcn.341fb404
mov edi, eax
mov byte [esp + 0x20], 1
mov dword [esi + 0x1d4], edi
cmp edi, ebx
je 0x342b6966
test byte [ebp], 8
jne 0x342b6979
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0xc]
push ebp
push ecx
mov ecx, dword [esi + 0x1d4]
call fcn.342063da
test byte [ebp], 8
jne 0x3428ef25
mov edi, 0x3428ef50
test byte [ebp], 8
jne 0x342b6994
mov eax, dword [edi]
mov ecx, dword [esi + 0x1d0]
push ebp
lea edx, [edi + 4]
push edx
push eax
push ecx
mov ecx, dword [esi + 0x1d4]
call fcn.341fc9f5
add edi, 0x24
cmp edi, 0x3428ef74
jl 0x3428eee3
test byte [ebp], 8
jne 0x342b6994
mov eax, dword [esi + 0x1d4]
inc dword [eax + 0x50]
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x14
xor edi, edi
jmp 0x3428eea7
test byte [ebp], 8
jne 0x3428ef25
jmp 0x3428eec4
push 1
push 0xfffffc0d
mov ecx, ebp
call fcn.341f8dac
jmp 0x3428ef44
mov ecx, edi
call fcn.34200dc5
push edi
call fcn.341f5892
add esp, 4
mov dword [esi + 0x1d4], ebx
jmp 0x3428ef44
mov edi, dword [esi + 0x1d4]
cmp edi, ebx
je 0x342b69ae
mov ecx, edi
call fcn.34200dc5
push edi
call fcn.341f5892
add esp, 4
mov dword [esi + 0x1d4], ebx
jmp 0x3428ef25
Function at 0x342ea887
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x3439fea4
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x34234fcc]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
mov dword [esi + 4], ecx
lea ecx, [esi + 0xc]
mov dword [esi], eax
mov dword [esi + 8], edx
call fcn.341f1990
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x24]
push eax
push ecx
xor ebx, ebx
lea ecx, [esi + 0x24]
mov dword [esp + 0x20], ebx
call fcn.34306da0
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov dword [esi + 0x74], edx
lea edx, [esi + 0x80]
push edx
mov dword [esi + 0x78], eax
mov dword [esi + 0x7c], ecx
mov byte [esi + 0x90], bl
mov byte [esi + 0x91], bl
mov byte [esi + 0x92], bl
call dword [sym.imp.ole32.dll_CoCreateGuid]
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret 0x20
Function at 0x342f9224
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x343a0d20
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x34234fcc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
push 1
push 0x34
call dword [sym.imp.MSO.dll_Ordinal_6306]
mov esi, eax
mov dword [ebp - 0x18], esi
test esi, esi
jne 0x342f9277
push 0x343aaa10
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x14], 0x7d4
call sub.MSVCR90.dll__CxxThrowException
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], esi
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov dword [esi + 8], eax
mov eax, dword [ebp + 0x14]
mov dword [esi], ecx
mov dword [esi + 4], edx
mov ecx, dword [eax]
add eax, 4
mov dword [esi + 0xc], ecx
lea ecx, [esi + 0x10]
push eax
mov byte [ebp - 4], 1
call fcn.342f78f5
mov dl, byte [ebp + 0x18]
mov byte [esi + 0x30], dl
mov byte [esi + 0x31], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14

Function at 0x342f9f14
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x343a0e80
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x34234fcc]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, dword [edi + 0x18]
mov eax, dword [ecx + 4]
cmp byte [eax + 0x31], 0
mov ebx, dword [esp + 0x70]
mov ebp, ecx
jne 0x342f9f67
mov ecx, dword [ebx]
lea ecx, [ecx]
cmp dword [eax + 0xc], ecx
jae 0x342f9f5d
mov eax, dword [eax + 8]
jmp 0x342f9f61
mov ebp, eax
mov eax, dword [eax]
cmp byte [eax + 0x31], 0
je 0x342f9f53
mov esi, dword [edi]
mov eax, dword [edi + 0x18]
mov dword [esp + 0x18], eax
test esi, esi
jne 0x342fa01a
jmp 0x342fa01e
lea edx, [esp + 0x70]
push edx
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x24]
call fcn.342f70e6
mov ecx, dword [ebx]
lea edx, [esp + 0x1c]
mov dword [esp + 0x3c], ecx
push edx
lea ecx, [esp + 0x44]
mov dword [esp + 0x6c], 0
call fcn.342f78f5
lea eax, [esp + 0x3c]
push eax
push ebp
push esi
lea ecx, [esp + 0x20]
push ecx
mov ecx, edi
mov byte [esp + 0x78], 1
call fcn.342f9d3e
mov esi, dword [eax]
mov ebp, dword [eax + 4]
lea ecx, [esp + 0x40]
mov byte [esp + 0x68], 0
call fcn.342f79b2
lea ecx, [esp + 0x1c]
mov dword [esp + 0x68], 0xffffffff
call fcn.342f79b2
test esi, esi
jne 0x342fa016
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp ebp, dword [esi + 0x18]
jne 0x342f9ffd
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
lea eax, [ebp + 0x10]
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 4
mov esi, dword [esi]
jmp 0x342f9ff2
cmp esi, esi
je 0x342fa024
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp ebp, dword [esp + 0x18]
je 0x342f9f7d
mov ecx, dword [ebx]
cmp ecx, dword [ebp + 0xc]
jb 0x342f9f7d
jmp 0x342f9fe8
Function at 0x342ffc63
Capabilities:
Identify system language via api

Disassembly:
sub esp, 0x14
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 4]
lea esi, [edi + 4]
and eax, 0x7fff
cmp eax, 8
je 0x342ffd26
cmp eax, 1
je 0x342ffd2b
lea eax, [esp + 8]
push eax
call fcn.341fcf7f
mov eax, dword [0x343e4890]
test eax, eax
jne 0x342ffcb1
push 0x34282fd4
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x28], 0xffffb09a
call sub.MSVCR90.dll__CxxThrowException
push ebx
mov ebx, dword [eax]
push 8
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov ecx, dword [0x343e4890]
movzx edx, ax
push edx
mov edx, dword [ebx + 0x74]
push esi
lea eax, [esp + 0x18]
push eax
push ecx
call edx
pop ebx
test eax, eax
jl 0x342ffd0b
push esi
call fcn.342ff8ef
push esi
lea eax, [esp + 0xc]
push eax
call fcn.342ff870
lea ecx, [esp + 8]
push ecx
mov esi, eax
call fcn.342ff8ef
test esi, esi
jge 0x342ffd35
push 0x34282fd4
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x28], esi
call sub.MSVCR90.dll__CxxThrowException
lea eax, [esp + 8]
push eax
call fcn.342ff8ef
mov ecx, dword [esp + 0x20]
push 0xffffdf2a
push ecx
mov ecx, edi
call fcn.342ffbd7
cmp eax, 1
jne 0x342ffd35
pop edi
xor eax, eax
pop esi
add esp, 0x14
ret 4
mov eax, dword [edi + 0x10]
pop edi
pop esi
add esp, 0x14
ret 4

Function at 0x342ffd40
Capabilities:
Identify system language via api

Disassembly:
sub esp, 0x20
push esi
mov esi, ecx
cmp dword [esi], 0
je 0x342ffd9f
mov eax, dword [esi + 4]
and eax, 0x7fff
cmp eax, 8
je 0x342ffd9f
cmp eax, 2
jne 0x342ffd68
movsx eax, word [esi + 0x10]
pop esi
add esp, 0x20
ret 4
cmp eax, 3
jne 0x342ffd77
mov eax, dword [esi + 0x10]
pop esi
add esp, 0x20
ret 4
cmp eax, 4
jne 0x342ffd8b
fld dword [esi + 0x10]
call fcn.341f64c1
pop esi
add esp, 0x20
ret 4
cmp eax, 5
jne 0x342ffe08
fld qword [esi + 0x10]
call fcn.341f64c1
pop esi
add esp, 0x20
ret 4
mov eax, dword [esi + 4]
and eax, 0x7fff
cmp eax, 8
jne 0x342ffe08
push edi
mov edi, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea ecx, [esp + 8]
push ecx
call edi
lea edx, [esp + 0x18]
push edx
call edi
mov ecx, dword [esi + 0x10]
push 3
mov eax, 8
push 0
mov word [esp + 0x10], ax
mov dword [esp + 0x18], ecx
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx edx, ax
push edx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x28]
push ecx
call dword [sym.imp.OLEAUT32.dll_SafeArrayPtrOfIndex]
pop edi
test eax, eax
jl 0x342ffe08
cmp word [esp + 0x14], 3
jne 0x342ffe08
mov eax, dword [esp + 0x1c]
pop esi
add esp, 0x20
ret 4
mov edx, dword [esp + 0x28]
push 0xffffdf2b
push edx
mov ecx, esi
call fcn.342ffbd7
int3
Function at 0x34308a39
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x343a8f3c
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x34234fcc]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
mov eax, dword [esi + 0x58]
mov ecx, dword [eax + 0x10]
mov ebx, dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp dword [eax + 0xc], ecx
jbe 0x34308a79
call ebx
lea ecx, [esp + 0x18]
call fcn.341f1990
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x18]
push ecx
push eax
mov dword [esp + 0x40], 0
mov dword [esp + 0x48], eax
call fcn.34306f0c
test al, al
je 0x34308ab7
mov edx, dword [esp + 0x28]
sub edx, dword [esp + 0x24]
sar edx, 1
jne 0x34308aaf
call ebx
mov eax, dword [esp + 0x24]
mov dword [esp + 0x40], eax
mov esi, dword [esi + 0x58]
mov edi, dword [esi + 0xc]
cmp edi, dword [esi + 0x10]
jbe 0x34308ac4
call ebx
mov ebx, dword [esi]
mov ebp, edi
nop
mov ecx, dword [esp + 0x14]
mov esi, dword [ecx + 0x58]
mov edi, dword [esi + 0x10]
cmp dword [esi + 0xc], edi
jbe 0x34308ade
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov esi, dword [esi]
test ebx, ebx
je 0x34308ae8
cmp ebx, esi
je 0x34308af2
mov esi, dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
call esi
jmp 0x34308af8
mov esi, dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp ebp, edi
je 0x34308b82
test ebx, ebx
jne 0x34308b3a
call esi
xor eax, eax
cmp ebp, dword [eax + 0x10]
jb 0x34308b0f
call esi
mov edx, dword [ebp]
mov ecx, dword [esp + 0x40]
mov eax, dword [edx]
push 1
push ecx
push eax
call dword [sym.imp.MSO.dll_Ordinal_5098]
test eax, eax
jne 0x34308b42
test ebx, ebx
jne 0x34308b3e
call esi
xor eax, eax
cmp ebp, dword [eax + 0x10]
jb 0x34308b35
call esi
add ebp, 4
jmp 0x34308ac9
mov eax, dword [ebx]
jmp 0x34308b08
mov eax, dword [ebx]
jmp 0x34308b2e
xor edi, edi
cmp ebx, edi
jne 0x34308b7e
call esi
xor ebx, ebx
cmp ebp, dword [ebx + 0x10]
jb 0x34308b53
call esi
mov eax, dword [esp + 0x24]
mov esi, dword [ebp]
mov ebx, dword [sym.imp.MSO.dll_Ordinal_1449]
cmp eax, edi
je 0x34308b67
push eax
call ebx
mov edx, dword [esp + 0x18]
push edx
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
call ebx
mov eax, esi
jmp 0x34308baa
mov ebx, dword [ebx]
jmp 0x34308b4c
mov eax, dword [esp + 0x24]
mov esi, dword [sym.imp.MSO.dll_Ordinal_1449]
test eax, eax
je 0x34308b93
push eax
call esi
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x18]
push eax
call esi
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 4
Function at 0x3430feda
Capabilities:
Get geographical location

Disassembly:
mov eax, dword [esp + 8]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
push 2
push eax
push 0xf
call esi
push eax
call sub.KERNEL32.dll_GetLocaleInfoW
mov ecx, dword [esp + 8]
push 2
push ecx
push 0xe
call esi
push eax
call sub.KERNEL32.dll_GetLocaleInfoW
pop esi
ret 8

Function at 0x3430ff4f
Capabilities:
Delete file

Disassembly:
sub esp, 0x108
mov eax, dword [0x34234fcc]
xor eax, esp
mov dword [esp + 0x104], eax
mov eax, dword [esp + 0x10c]
push esi
push 0x104
lea ecx, [esp + 8]
push ecx
push eax
mov esi, 0xfffff8ed
call fcn.3439746f
test eax, eax
jl 0x3430ffad
lea edx, [esp + 4]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x3430ffad
xor eax, eax
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.341f1dd1
add esp, 0x108
ret 4
mov ecx, dword [esp + 0x108]
mov eax, esi
pop esi
xor ecx, esp
call fcn.341f1dd1
add esp, 0x108
ret 4

Function at 0x3431155e
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword [esp + 4]
push eax
call sub.KERNEL32.dll_GetFileAttributesW
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
ret 4
Function at 0x3431298b
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x25c
mov eax, dword [0x34234fcc]
xor eax, esp
mov dword [esp + 0x258], eax
mov edx, dword [esp + 0x264]
mov eax, dword [esp + 0x26c]
push ebp
push esi
mov esi, dword [esp + 0x278]
push edi
mov edi, dword [esp + 0x26c]
push 1
push 0x3c
lea ecx, [esp + 0x30]
push ecx
xor ebp, ebp
push ebp
push edx
push edi
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], esi
mov dword [esp + 0x28], ebp
call fcn.3424ff64
test eax, eax
jge 0x343129ea
mov dword [esi], ebp
xor eax, eax
jmp 0x34312b80
push ebx
mov ebx, dword [esp + 0x30]
push ebp
push SysReAllocString
push ebx
push edi
call fcn.34209c8c
mov esi, eax
test esi, esi
jl 0x34312b4d
mov edx, dword [esp + 0x54]
push 0
push 0
lea eax, [esp + 0x18]
push eax
push 4
lea ecx, [esp + 0x30]
push ecx
push edx
push ebx
push edi
call fcn.34206bf8
mov esi, eax
cmp esi, 0x3ec
jne 0x34312a36
mov dword [esp + 0x20], 0
jmp 0x34312a3e
test esi, esi
jl 0x34312b4d
mov eax, dword [esp + 0x20]
cmp eax, dword [esp + 0x278]
jne 0x34312b38
mov eax, dword [esp + 0x50]
push 0
push 0
lea ecx, [esp + 0x18]
push ecx
push 4
lea edx, [esp + 0x2c]
push edx
push eax
push ebx
push edi
call fcn.34206bf8
mov esi, eax
cmp esi, 0x3ec
jne 0x34312a7f
mov dword [esp + 0x1c], 0
jmp 0x34312a87
test esi, esi
jl 0x34312b4d
cmp dword [esp + 0x1c], 0
jne 0x34312b38
mov eax, dword [esp + 0x4c]
push 0
push 0
lea ecx, [esp + 0x18]
push ecx
push 4
lea edx, [esp + 0x28]
push edx
push eax
push ebx
push edi
call fcn.34206bf8
mov esi, eax
cmp esi, 0x3ec
jne 0x34312ac2
mov dword [esp + 0x18], 0
jmp 0x34312aca
test esi, esi
jl 0x34312b4d
cmp dword [esp + 0x18], 1
ja 0x34312b38
mov eax, dword [esp + 0x38]
push 0
push 0
lea ecx, [esp + 0x18]
push ecx
push 0x200
lea edx, [esp + 0x78]
push edx
push eax
push ebx
push edi
call fcn.34206bf8
mov esi, eax
test esi, esi
jl 0x34312b4d
mov eax, dword [esp + 0x10]
cmp eax, 0x1fe
jb 0x34312b06
mov eax, 0x1fe
xor ecx, ecx
lea edx, [esp + 0x68]
mov word [esp + eax + 0x68], cx
mov eax, dword [esp + 0x24]
push edx
push eax
call fcn.3420508c
add esp, 8
test eax, eax
jne 0x34312b2b
mov dword [esp + 0x14], 1
inc ebp
cmp ebp, 1
jbe 0x34312b38
cmp dword [esp + 0x14], 0
jne 0x34312b4d
push 0
push 1
push ebx
push edi
call fcn.34209c8c
mov esi, eax
test esi, esi
jge 0x34312a06
pop ebx
cmp esi, 0xfffff9bd
jne 0x34312b58
xor esi, esi
mov ecx, dword [esp + 0x2c]
push ecx
push edi
call fcn.34207940
cmp ebp, 1
ja 0x34312b73
cmp dword [esp + 0x10], 0
je 0x34312b73
xor eax, eax
jmp 0x34312b78
mov eax, 1
mov edx, dword [esp + 0x24]
mov dword [edx], eax
mov eax, esi
mov ecx, dword [esp + 0x264]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.341f1dd1
add esp, 0x25c
ret 0x14