joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10097727
Capabilities:
Parse credit card information

Disassembly:
mov edi, edi
push ecx
push ebx
push esi
mov esi, ecx
xor cl, cl
mov eax, dword [esi + 0x40]
cmp eax, 0xffff
je 0x100978bd
mov edx, sym.PrintConfig.dll_Ordinal_276
cmp eax, 0x7c
je 0x100978bd
cmp eax, 0x29
jne 0x10097771
cmp dword [esi + 0x10], 0
jne 0x100978bd
test dword [esi + 0x44], edx
jne 0x10097881
push 5
call fcn.10162e99
pop ecx
jmp 0x100978a1
cmp eax, 0x2e
jne 0x1009778c
push 5
lea ecx, [esi + 0x18]
call fcn.100979bf
mov ecx, esi
call fcn.100976fc
jmp 0x100978a1
cmp eax, 0x5c
jne 0x100977e1
mov ecx, esi
call fcn.100976fc
test byte [esi + 0x44], 0x80
je 0x100977d5
movzx eax, word [esi + 0x3e]
cmp eax, 0x62
jne 0x100977bd
push 4
lea ecx, [esi + 0x18]
call fcn.100979bf
mov ecx, esi
call fcn.100976fc
jmp 0x100978a8
cmp eax, 0x42
jne 0x100977d5
push 4
lea ecx, [esi + 0x18]
call fcn.100979bf
mov eax, dword [esi + 0x1c]
xor dword [eax + 8], 1
jmp 0x100977b1
mov ecx, esi
call fcn.10097c81
jmp 0x100978a1
cmp eax, 0x5b
jne 0x10097807
mov ecx, esi
call fcn.100976fc
mov ecx, esi
call fcn.10097c33
cmp dword [esi + 0x40], 0x5d
je 0x10097780
push 4
call fcn.10162e99
pop ecx
jmp 0x10097780
cmp eax, 0x28
jne 0x10097833
mov ecx, esi
call fcn.100976fc
mov ecx, esi
call fcn.10097d60
cmp dword [esi + 0x40], 0x29
mov bl, al
je 0x1009782a
push 5
call fcn.10162e99
pop ecx
mov ecx, esi
call fcn.100976fc
jmp 0x1009789d
cmp eax, 0x5e
jne 0x1009783f
push 2
jmp 0x100977a9
cmp eax, 0x24
jne 0x1009784b
push 3
jmp 0x100977a9
cmp eax, 0x2a
je 0x10097893
cmp eax, 0x2b
je 0x10097893
cmp eax, 0x3f
je 0x10097893
cmp eax, 0x7b
je 0x10097893
cmp eax, 0x7d
jne 0x10097870
test dword [esi + 0x44], edx
jne 0x10097881
push 6
jmp 0x10097766
cmp eax, 0x5d
jne 0x10097881
test dword [esi + 0x44], edx
jne 0x10097881
push 4
jmp 0x10097766
movzx eax, word [esi + 0x3e]
lea ecx, [esi + 0x18]
push eax
call fcn.10097f12
jmp 0x10097780
push 0xa
call fcn.10162e99
pop ecx
mov bl, 1
test bl, bl
je 0x100978a8
mov ecx, esi
call fcn.10097e2f
mov eax, dword [esi + 0x40]
mov cl, 1
mov edx, sym.PrintConfig.dll_Ordinal_276
cmp eax, 0xffff
jne 0x10097743
pop esi
mov al, cl
pop ebx
pop ecx
ret

Function at 0x100a25b7
Capabilities:
Create thread

Disassembly:
push 8
mov eax, 0x1016c7c2
call fcn.10163eac
mov edi, ecx
mov dword [ebp - 0x14], edi
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov dword [edi], eax
mov dword [edi + 4], ebx
mov dword [ebp - 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [ebp - 0x10], ebx
mov byte [ebp - 4], 2
mov ecx, dword [edi]
test ecx, ecx
je 0x100a25f8
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x101a27b8]
call esi
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call fcn.100a26e4
test eax, eax
js 0x100a2633
push dword [ebp - 0x10]
mov ecx, edi
call fcn.100a280e
test eax, eax
js 0x100a2633
push ebx
push ebx
push edi
push 0x100a28b0
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0xc], eax
test eax, eax
jne 0x100a2633
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x10]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, edi
call fcn.10163e7a
ret 8
Function at 0x100bb404
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x10020694]
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], 1
push 4
mov esi, 0x10020690
mov dword [edi], eax
mov eax, dword [0x10020698]
mov dword [edi + 4], eax
lea eax, [ebp - 4]
push eax
push 0x2000100a
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x100bb462
mov ecx, dword [ebp - 4]
xor eax, eax
cmp dword [esi], ecx
je 0x100bb457
inc eax
add esi, 0xc
cmp eax, 0x74
jb 0x100bb448
jmp 0x100bb462
mov eax, dword [esi + 4]
mov dword [edi], eax
mov eax, dword [esi + 8]
mov dword [edi + 4], eax
pop edi
pop esi
leave
ret
Function at 0x100bd150
Capabilities:
Write file on windows

Disassembly:
push 0x34
mov eax, 0x1016b35c
call fcn.10163edf
mov esi, ecx
mov dword [ebp - 0x34], esi
or ebx, 0xffffffff
cmp dword [ebp + 8], ebx
jne 0x100bd170
xor eax, eax
jmp 0x100bd2d2
mov eax, dword [esi + 0x24]
mov ecx, dword [eax]
test ecx, ecx
je 0x100bd19e
mov edx, dword [esi + 0x34]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x100bd19e
mov eax, dword [ebp + 8]
lea ecx, [edi - 1]
mov dword [edx], ecx
mov edx, dword [esi + 0x24]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], al
jmp 0x100bd2d2
xor edi, edi
cmp dword [esi + 0x54], edi
je 0x100bd2d0
mov ecx, esi
call fcn.100940c9
mov eax, dword [ebp + 8]
cmp dword [esi + 0x44], edi
jne 0x100bd1d7
push dword [esi + 0x54]
movsx eax, al
push eax
call dword [sym.imp.msvcrt.dll_fputc]
pop ecx
cmp eax, ebx
mov eax, dword [ebp + 8]
pop ecx
jne 0x100bd2d2
jmp 0x100bd2d0
push edi
push 8
lea ecx, [ebp - 0x2c]
mov byte [ebp - 0x2d], al
call fcn.10072334
lea eax, [esi + 0x4c]
mov dword [ebp - 4], edi
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x18]
mov edx, ecx
cmp eax, 0x10
jae 0x100bd200
lea edx, [ebp - 0x2c]
mov ecx, edx
mov edi, dword [esi + 0x44]
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x1c]
add eax, edx
mov esi, dword [edi]
push eax
push ecx
lea eax, [ebp - 0x40]
mov ecx, dword [esi + 0x14]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x2d]
push eax
push dword [ebp - 0x38]
call dword [0x101a27b8]
mov ecx, edi
call dword [esi + 0x14]
test eax, eax
js 0x100bd2c4
cmp eax, 1
jg 0x100bd2a5
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x2c]
mov edx, ecx
cmp eax, 0x10
jae 0x100bd24a
lea edx, [ebp - 0x2c]
mov edi, dword [ebp - 0x3c]
sub edi, edx
je 0x100bd278
cmp eax, 0x10
jae 0x100bd259
lea ecx, [ebp - 0x2c]
mov esi, dword [ebp - 0x34]
push dword [esi + 0x54]
push edi
push 1
push ecx
call dword [sym.imp.msvcrt.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x100bd2c4
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x2c]
jmp 0x100bd27b
mov esi, dword [ebp - 0x34]
lea edx, [ebp - 0x2d]
mov byte [esi + 0x49], 1
cmp dword [ebp - 0x40], edx
jne 0x100bd2c1
test edi, edi
jne 0x100bd1f4
cmp dword [ebp - 0x1c], 0x20
jae 0x100bd2c4
push edi
push 8
lea ecx, [ebp - 0x2c]
call fcn.10055f57
jmp 0x100bd1ee
cmp eax, 3
jne 0x100bd2c4
mov eax, dword [ebp - 0x34]
push dword [eax + 0x54]
movsx eax, byte [ebp - 0x2d]
push eax
call dword [sym.imp.msvcrt.dll_fputc]
pop ecx
pop ecx
cmp eax, ebx
je 0x100bd2c4
mov ebx, dword [ebp + 8]
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.10057988
mov eax, ebx
call fcn.10163e8e
ret 4
Function at 0x100bd540
Capabilities:
Write file on windows

Disassembly:
push 0x24
mov eax, 0x1016b389
call fcn.10163edf
mov ebx, ecx
cmp dword [ebx + 0x44], 0
je 0x100bd63a
cmp byte [ebx + 0x49], 0
je 0x100bd63a
push 0xffffffffffffffff
call fcn.100bd150
cmp eax, 0xffffffff
jne 0x100bd575
xor al, al
jmp 0x100bd63c
push 0
push 8
lea ecx, [ebp - 0x2c]
call fcn.10072334
and dword [ebp - 4], 0
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x18]
mov edx, ecx
cmp eax, 0x10
jae 0x100bd597
lea edx, [ebp - 0x2c]
mov ecx, edx
mov edi, dword [ebx + 0x44]
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x1c]
add eax, edx
mov esi, dword [edi]
push eax
push ecx
lea eax, [ebx + 0x4c]
mov ecx, dword [esi + 0x18]
push eax
call dword [0x101a27b8]
mov ecx, edi
call dword [esi + 0x18]
sub eax, 0
je 0x100bd5cd
sub eax, 1
je 0x100bd5d1
dec eax
sub eax, 1
je 0x100bd628
xor bl, bl
jmp 0x100bd62a
mov byte [ebx + 0x49], 0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x2c]
mov edx, ecx
cmp eax, 0x10
jae 0x100bd5e1
lea edx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, edx
je 0x100bd60a
cmp eax, 0x10
jae 0x100bd5f0
lea ecx, [ebp - 0x2c]
push dword [ebx + 0x54]
push esi
push 1
push ecx
call dword [sym.imp.msvcrt.dll_fwrite]
add esp, 0x10
cmp esi, eax
jne 0x100bd5c9
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x2c]
cmp byte [ebx + 0x49], 0
je 0x100bd628
test esi, esi
jne 0x100bd58b
push esi
push 8
lea ecx, [ebp - 0x2c]
call fcn.10055f57
jmp 0x100bd585
mov bl, 1
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.10057988
mov al, bl
jmp 0x100bd63c
mov al, 1
call fcn.10163e8e
ret
Function at 0x100d8bf3
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
je 0x100d8d15
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x100d8d15
xor edi, edi
cmp dword [esi + 8], edi
jne 0x100d8c23
xor eax, eax
inc eax
jmp 0x100d8d1f
push edi
xor edx, edx
call fcn.100e0f10
mov ebx, eax
test ebx, ebx
jne 0x100d8c38
push 0x66
jmp 0x100d8d17
mov eax, dword [ebx + 0x24]
cmp dword [eax + 0x128], edi
jne 0x100d8d08
mov edx, ebx
mov ecx, esi
call fcn.100d8e0f
test eax, eax
je 0x100d8d03
mov edx, ebx
mov ecx, esi
call fcn.100d8f70
test eax, eax
je 0x100d8d03
mov eax, dword [ebx + 0x28]
mov dword [ebp - 4], 1
mov ecx, dword [eax + 4]
lea edi, [eax + 0x14]
test ecx, ecx
je 0x100d8d08
dec ecx
cmp dword [edi + 0x10], 0
mov dword [ebp - 8], ecx
je 0x100d8cf1
cmp dword [edi + 0x24], 0
je 0x100d8cb8
push dword [edi + 0x1c]
mov edx, ebx
mov ecx, edi
push dword [ebx + 0x2c]
push esi
call fcn.100d71df
cmp eax, 0x80004001
je 0x100d8cee
xor ecx, ecx
test eax, eax
setns cl
mov dword [ebp - 4], ecx
test eax, eax
js 0x100d8cfe
jmp 0x100d8cee
test byte [edi + 0x3c], 0x20
je 0x100d8cc3
mov eax, dword [edi + 0x54]
jmp 0x100d8cd0
push 5
pop edx
mov ecx, edi
call fcn.1010e691
mov ecx, dword [ebp - 8]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x100d8cf1
push dword [edi + 0x1c]
mov ecx, eax
push dword [ebx + 0x2c]
push esi
push ebx
call dword [0x101a27b8]
call dword [ebp - 0xc]
test eax, eax
je 0x100d8cfa
mov ecx, dword [ebp - 8]
add edi, 0x78
test ecx, ecx
jne 0x100d8c81
jmp 0x100d8cfe
and dword [ebp - 4], 0
mov esi, dword [ebp - 4]
jmp 0x100d8d0b
mov dword [ebp - 4], edi
jmp 0x100d8cfe
xor esi, esi
inc esi
push ebx
call fcn.100e0eb0
mov eax, esi
jmp 0x100d8d1f
push 0x65
push esi
call fcn.100d8d26
pop ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x100dc64c
Capabilities:
Create directory
Delete file
Get common file path
Move file
Read file on windows
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, ecx
push ebx
push esi
mov dword [ebp - 8], eax
xor esi, esi
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 8]
call fcn.100dc4d9
mov ebx, eax
test ebx, ebx
je 0x100dc760
push edi
push 0x1000
push esi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
test edi, edi
je 0x100dc74d
mov eax, dword [ebp - 8]
push esi
push dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dword [ebp - 4], esi
push esi
push 0x8100000
push 2
push esi
push esi
push 0x40000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
jne 0x100dc71a
mov eax, dword [ebp - 4]
test eax, eax
jne 0x100dc6f4
mov eax, dword [ebp - 8]
push edi
push esi
push 0x100253c0
push dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x100dc74d
push 1
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x100dc74d
push 4
push esi
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x100dc74d
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp eax, 2
jb 0x100dc699
jmp 0x100dc74d
cmp dword [ebp - 4], esi
je 0x100dc736
push esi
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push edi
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x100dc739
push esi
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 8]
push 0x1000
push edi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x100dc6ff
jmp 0x100dc739
xor esi, esi
inc esi
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
jne 0x100dc74d
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
test edi, edi
je 0x100dc75f
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x100e10d3
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
xor ebx, ebx
push edi
mov edi, dword [ebp + 0xc]
inc ebx
test edi, edi
je 0x100e1285
cmp dword [ebp + 8], ebx
je 0x100e10fb
cmp dword [ebp + 8], 2
jne 0x100e1285
mov edx, dword [edi]
xor ecx, ecx
push 0x104c
call fcn.100e0f10
mov esi, eax
mov dword [ebp - 0xc], esi
test esi, esi
je 0x100e128d
mov ecx, esi
call fcn.100dc304
mov ecx, dword [esi + 0x10]
lea edx, [ebp - 8]
call fcn.10126845
mov dword [ebp - 4], eax
test eax, eax
je 0x100e1145
push dword [ebp - 8]
mov ecx, dword [esi + 0x10]
mov edx, eax
call fcn.101269de
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, esi
call fcn.100e1296
mov ecx, dword [esi + 0x10]
call fcn.100e0d1a
cmp dword [ebp + 8], 2
jne 0x100e1163
mov edx, edi
mov ecx, esi
call fcn.100ef45d
mov ecx, esi
call fcn.100e0408
test eax, eax
je 0x100e118c
mov ecx, esi
call fcn.100e04f3
test eax, eax
je 0x100e118c
mov eax, dword [esi + 0x24]
cmp dword [eax + 0x134], 0
je 0x100e118c
mov edx, esi
call fcn.100ef3de
cmp dword [esi + 0x38], 0
je 0x100e1196
or dword [esi + 0x48], 0xc
mov eax, dword [esi + 0x28]
lea edi, [eax + 0x14]
mov eax, dword [eax + 4]
test eax, eax
je 0x100e1255
mov esi, dword [ebp + 0xc]
dec eax
cmp dword [edi + 0x10], 0
mov dword [ebp - 4], eax
je 0x100e1243
cmp dword [edi + 0x24], 0
je 0x100e11d9
mov edx, dword [ebp + 8]
mov ecx, edi
push esi
call fcn.100d72ae
cmp eax, 0x80004001
je 0x100e1240
xor ebx, ebx
test eax, eax
setns bl
jmp 0x100e1240
cmp byte [edi + 0x3c], 0
jge 0x100e11e4
mov eax, dword [edi + 0x5c]
jmp 0x100e11ee
push 7
pop edx
mov ecx, edi
call fcn.1010e691
mov dword [ebp - 8], eax
test eax, eax
je 0x100e120a
push esi
push dword [ebp + 8]
mov ecx, eax
call dword [0x101a27b8]
call dword [ebp - 8]
neg eax
sbb eax, eax
and ebx, eax
test byte [edi + 0x3d], 4
je 0x100e1215
mov eax, dword [edi + 0x68]
jmp 0x100e121f
push 0xa
pop edx
mov ecx, edi
call fcn.1010e691
mov dword [ebp - 8], eax
test eax, eax
je 0x100e1240
push fcn.100e1980
push esi
push dword [ebp + 8]
mov ecx, eax
call dword [0x101a27b8]
call dword [ebp - 8]
neg eax
sbb eax, eax
and ebx, eax
mov eax, dword [ebp - 4]
add edi, 0x78
test eax, eax
jne 0x100e11aa
mov esi, dword [ebp - 0xc]
test ebx, ebx
je 0x100e127b
test dword [esi + 0x48], 0x100
je 0x100e127b
mov edx, dword [esi + 0x18]
mov eax, dword [edx + 0xc]
mov edx, dword [edx + 0x14]
and eax, 0x100000
push eax
push ecx
push dword [esi + 0x34]
mov ecx, dword [esi + 0x10]
call fcn.1010b411
mov ebx, eax
push esi
call fcn.100e0eb0
mov eax, ebx
jmp 0x100e128f
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x100e1442
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
xor edx, edx
push edi
mov dword [ebp - 0xc], edx
mov ecx, dword [esi + 0x4fc]
mov eax, dword [esi + 0x4f8]
mov dword [ebp - 4], ecx
test ecx, ecx
jne 0x100e146f
mov dword [esi + 0x4d4], eax
jmp 0x100e147b
cmp dword [esi + 0x4d4], eax
jne 0x100e1586
mov ebx, dword [esi + 0x28]
mov eax, dword [ebx + 4]
test eax, eax
je 0x100e15da
add ebx, 0x14
dec eax
cmp dword [ebx + 0x10], 0
mov dword [ebp - 8], eax
je 0x100e15cf
cmp dword [ebx + 0x24], 0
jne 0x100e14c8
test byte [ebx + 0x3c], 4
je 0x100e14ab
mov edx, dword [ebx + 0x48]
jmp 0x100e14bd
push 2
pop edx
mov ecx, ebx
call fcn.1010e691
mov ecx, dword [ebp - 4]
mov edx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], edx
test edx, edx
je 0x100e15cf
mov edi, dword [ebx + 0x14]
test edi, edi
jne 0x100e1529
test ecx, ecx
jne 0x100e15cf
push 0x3c
push 8
push dword [esi + 0x44]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
je 0x100e1586
mov dword [ebx + 0x14], edi
mov dword [edi], 0x3c
mov ecx, dword [esi + 0x28]
mov ecx, dword [ecx]
mov dword [edi + 4], ecx
mov ecx, dword [esi + 0x10]
mov dword [edi + 8], ecx
mov eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [ebx + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [esi + 0x44]
mov dword [edi + 0x14], eax
mov eax, dword [esi + 0x2c]
mov dword [edi + 0x18], eax
mov eax, dword [ebx + 0x1c]
mov dword [edi + 0x1c], eax
mov eax, dword [esi + 0x5c]
mov dword [edi + 0x20], eax
mov eax, dword [esi + 0x4d8]
mov dword [edi + 0x24], eax
mov eax, dword [esi + 0x4d4]
mov dword [edi + 0x28], eax
mov eax, dword [ebp - 4]
mov dword [edi + 0x2c], eax
cmp dword [ebx + 0x24], 0
mov eax, dword [edi + 0x30]
mov ecx, dword [esi + 0x58]
mov dword [ebp - 0x10], eax
push edi
je 0x100e158d
xor edx, edx
test ecx, ecx
mov ecx, ebx
setne dl
inc edx
call fcn.100d7184
cmp eax, 0x80004001
jne 0x100e157c
push edi
push 0
push dword [esi + 0x44]
call dword [sym.imp.KERNEL32.dll_HeapFree]
and dword [ebx + 0x14], 0
mov ecx, dword [ebp - 4]
jmp 0x100e15cc
test eax, eax
jns 0x100e15a6
cmp dword [ebp - 4], 0
je 0x100e1567
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
xor eax, eax
test ecx, ecx
mov ecx, dword [ebp - 0xc]
setne al
inc eax
push eax
call dword [0x101a27b8]
call dword [ebp - 0xc]
test eax, eax
je 0x100e1580
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x100e15c3
mov eax, dword [edi + 0x30]
cmp dword [ebp - 0x10], eax
jne 0x100e1586
imul eax, eax, 0x34
add ecx, eax
add dword [esi + 0x4fc], eax
mov dword [ebp - 4], ecx
mov eax, dword [edi + 0x30]
add dword [esi + 0x4f8], eax
mov eax, dword [ebp - 8]
add ebx, 0x78
test eax, eax
jne 0x100e148c
xor eax, eax
inc eax
jmp 0x100e1588
Function at 0x100e1764
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, ecx
mov dword [ebp - 8], edx
push esi
push edi
mov edi, dword [ebx + 0x28]
mov eax, dword [edi + 4]
test eax, eax
je 0x100e184f
add edi, 0x14
dec eax
cmp dword [edi + 0x10], 0
mov dword [ebp - 4], eax
je 0x100e1844
cmp dword [edi + 0x24], 0
mov ecx, dword [ebx + 0x58]
je 0x100e17ad
test ecx, ecx
jne 0x100e17a6
mov esi, 0x100e1670
jmp 0x100e17df
mov esi, 0x100e16f0
jmp 0x100e17df
mov dl, byte [edi + 0x3c]
test ecx, ecx
jne 0x100e17c2
test dl, 8
je 0x100e17be
mov esi, dword [edi + 0x4c]
jmp 0x100e17db
push 3
jmp 0x100e17ce
test dl, 0x10
je 0x100e17cc
mov esi, dword [edi + 0x50]
jmp 0x100e17db
push 4
pop edx
mov ecx, edi
call fcn.1010e691
mov esi, eax
mov eax, dword [ebp - 4]
test esi, esi
je 0x100e1844
push 0x2c
push 8
push dword [ebx + 0x44]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
test edx, edx
je 0x100e1857
mov dword [edx], 0x2c
mov ecx, dword [ebx + 0x28]
push edx
push esi
push 5
mov ecx, dword [ecx]
mov dword [edx + 4], ecx
mov ecx, dword [ebx + 0x10]
mov dword [edx + 8], ecx
mov eax, dword [ebx + 0xc]
mov dword [edx + 0xc], eax
mov eax, dword [edi + 0x10]
mov dword [edx + 0x10], eax
mov eax, dword [ebx + 0x44]
mov dword [edx + 0x14], eax
mov eax, dword [ebx + 0x2c]
mov dword [edx + 0x18], eax
mov eax, dword [edi + 0x1c]
mov dword [edx + 0x1c], eax
mov eax, dword [ebp - 8]
mov dword [edx + 0x24], eax
mov dword [edx + 0x28], edi
mov esi, dword [ebx + 0x70]
mov ecx, esi
push dword [ebx + 0x74]
call dword [0x101a27b8]
call esi
mov eax, dword [ebp - 4]
add edi, 0x78
test eax, eax
jne 0x100e1784
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret
xor eax, eax
jmp 0x100e1852
Function at 0x100e721f
Capabilities:
Get file version info

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, edx
mov ebx, ecx
xor ecx, ecx
mov dword [ebp - 4], esi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], ecx
mov dword [esi], ecx
push edi
mov edi, ecx
test ebx, ebx
je 0x100e73f0
mov eax, dword [ebx + 0x18]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x100e73f0
cmp dword [eax + 4], ecx
je 0x100e73f0
lea ecx, [ebp - 0xc]
push ecx
push dword [eax + 0x14]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x100e72ed
push eax
xor eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
test edi, edi
jne 0x100e72ae
mov esi, 0x8007000e
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
je 0x100e729c
push dword [ebx]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
xor eax, eax
mov dword [ebx], eax
test edi, edi
je 0x100e72a7
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, esi
jmp 0x100e73f5
push edi
push dword [ebp - 0x10]
xor eax, eax
push eax
mov eax, dword [ebx + 0x18]
mov eax, dword [eax + 0x10]
push dword [eax + 0x14]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x100e72ed
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 8]
push eax
push 0x10018fc0
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x100e72ed
cmp dword [ebp - 0x14], 0x14
jae 0x100e7309
mov esi, 0x8000ffff
jmp 0x100e7288
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x100e7304
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x100e7288
mov esi, dword [ebp - 4]
mov eax, dword [ebx + 0x18]
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + 4]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x18]
jne 0x100e7315
sub ecx, edx
sar ecx, 1
lea eax, [ecx + 0x59]
push eax
mov dword [ebp - 0x18], eax
xor eax, eax
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov dword [ebp - 0x10], eax
mov dword [esi], eax
test eax, eax
je 0x100e7283
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0x10]
movzx eax, cx
push eax
shr ecx, 0x10
push ecx
movzx eax, dx
push eax
mov eax, dword [ebx + 0x18]
shr edx, 0x10
push edx
mov eax, dword [eax + 0x10]
push dword [eax + 4]
mov eax, dword [ebp - 0x18]
push 0x10026708
push 0x10026448
inc eax
push eax
push dword [ebp - 0x10]
call fcn.1003fd37
mov esi, eax
add esp, 0x24
test esi, esi
js 0x100e7288
mov ecx, dword [ebx + 0x18]
xor ebx, ebx
mov ecx, dword [ecx + 0x10]
mov ecx, dword [ecx + 4]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x100e7396
mov ebx, dword [ebp - 4]
sub ecx, edx
sar ecx, 1
mov eax, dword [ebx]
add eax, 0x74
xor ebx, ebx
jmp 0x100e73e6
test ecx, ecx
je 0x100e729c
movzx edx, word [eax]
cmp edx, 0x41
jb 0x100e73c6
cmp edx, 0x5a
jbe 0x100e73e0
cmp edx, 0x61
jb 0x100e73d0
cmp edx, 0x7a
jbe 0x100e73e0
cmp edx, 0x30
jb 0x100e73da
cmp edx, 0x39
jbe 0x100e73e0
push 0x5f
pop edx
mov word [eax], dx
add eax, 2
sub ecx, 2
cmp word [eax], bx
jne 0x100e73b1
jmp 0x100e729c
mov eax, 0x80070057
pop edi
pop esi
pop ebx
leave
ret