joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10093269
Capabilities:
Get keyboard layout

Disassembly:
push 0x14
mov eax, 0x100b7a16
call fcn.100b4d71
and dword [ebp - 4], 0
call fcn.100b022b
call fcn.100afef1
mov edi, dword [ebp + 8]
mov eax, dword [edi]
lea ecx, [ebp - 0x13]
push ecx
push dword [ebp + 0x10]
push edi
call dword [eax + 0x2a4]
mov ebx, eax
mov dword [ebp - 0x1c], ebx
test ebx, ebx
je 0x10093337
movzx eax, word [0x100ffb2c]
push eax
call sub.java.dll_getJavaIDFromLangID
mov esi, eax
pop ecx
test esi, esi
je 0x100932e5
push ebx
push esi
call sub.MSVCR100.dll_strcmp
pop ecx
pop ecx
test eax, eax
jne 0x100932dd
mov eax, dword [edi]
push ebx
push dword [ebp + 0x10]
push edi
call dword [eax + 0x2a8]
push esi
call dword [sym.imp.MSVCR100.dll_free]
pop ecx
mov al, 1
jmp 0x10093339
push esi
call dword [sym.imp.MSVCR100.dll_free]
pop ecx
mov ebx, dword [sym.imp.USER32.dll_GetKeyboardLayoutList]
push 0
push 0
call ebx
mov edi, eax
inc edi
js 0x100933e8
cmp edi, 0xffffffff
ja 0x100933e8
test edi, edi
je 0x10093313
cmp edi, 0x3fffffff
ja 0x100933e8
mov eax, edi
shl eax, 2
push eax
call fcn.100afef1
mov esi, eax
pop ecx
test esi, esi
jne 0x10093341
push dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
push dword [ebp + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2a8]
xor al, al
call fcn.100b4e16
ret 0x10
lea eax, [esi + 4]
push eax
lea eax, [edi - 1]
push eax
call ebx
call fcn.100afef1
and dword [ebp - 0x18], 0
mov dword [esi], eax
mov byte [ebp - 0x11], 0
mov eax, dword [ebp - 0x18]
cmp eax, edi
jge 0x100933b4
lea ebx, [esi + eax*4]
movzx eax, word [ebx]
push eax
call sub.java.dll_getJavaIDFromLangID
pop ecx
mov dword [ebp - 0x20], eax
test eax, eax
je 0x100933e0
push dword [ebp - 0x1c]
push eax
call sub.MSVCR100.dll_strcmp
pop ecx
pop ecx
test eax, eax
jne 0x100933d6
push dword [ebx]
movzx eax, byte [ebp + 0x14]
push eax
push 0x9823
mov ecx, 0x101004d8
call fcn.10019d20
test eax, eax
je 0x100933aa
push dword [ebx]
call fcn.100a4130
pop ecx
mov byte [ebp - 0x11], 1
push dword [ebp - 0x20]
call dword [sym.imp.MSVCR100.dll_free]
pop ecx
push dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
push dword [ebp + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2a8]
push esi
call dword [sym.imp.MSVCR100.dll_free]
mov al, byte [ebp - 0x11]
pop ecx
jmp 0x10093339
push dword [ebp - 0x20]
call dword [sym.imp.MSVCR100.dll_free]
pop ecx
inc dword [ebp - 0x18]
jmp 0x1009335a
xor eax, eax
lea edi, [ebp + 0x17]
stosb byte es:[edi], al
mov al, byte [ebp + 0x17]
mov byte [ebp - 0x12], al
push 0x100da640
lea eax, [ebp - 0x12]
push eax
call sub.MSVCR100.dll__CxxThrowException
call fcn.100b024a
mov eax, 0x1009340d
ret
Function at 0x10093418
Capabilities:
Get keyboard layout

Disassembly:
push 0x1c
mov eax, 0x100b7a31
call fcn.100b4d71
xor edi, edi
mov dword [ebp - 4], edi
call fcn.100b022b
call fcn.100afef1
mov esi, dword [sym.imp.USER32.dll_GetKeyboardLayoutList]
push edi
push edi
call esi
mov ebx, eax
cmp ebx, edi
jl 0x100935cc
cmp ebx, 0xffffffff
ja 0x100935cc
cmp ebx, edi
je 0x10093460
cmp ebx, 0x3fffffff
ja 0x100935cc
mov edi, ebx
shl edi, 2
push edi
call fcn.100afef1
pop ecx
mov dword [ebp - 0x28], eax
test eax, eax
je 0x100934aa
push eax
push ebx
call esi
xor esi, esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x18], esi
cmp ebx, esi
je 0x10093492
cmp ebx, 0x3fffffff
ja 0x100935b2
push edi
call fcn.100afef1
pop ecx
mov dword [ebp - 0x1c], eax
cmp eax, esi
jne 0x100934b4
push dword [ebp - 0x28]
call dword [sym.imp.MSVCR100.dll_free]
pop ecx
xor eax, eax
call fcn.100b4e16
ret 8
cmp dword [ebp - 0x24], ebx
jge 0x1009350a
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
movzx eax, word [eax + ecx*4]
push eax
call sub.java.dll_getJavaIDFromLangID
mov edi, eax
pop ecx
test edi, edi
je 0x10093502
xor esi, esi
cmp esi, dword [ebp - 0x20]
jge 0x100934f4
mov eax, dword [ebp - 0x1c]
push edi
push dword [eax + esi*4]
call sub.MSVCR100.dll_strcmp
pop ecx
pop ecx
test eax, eax
jne 0x10093507
push edi
call dword [sym.imp.MSVCR100.dll_free]
cmp esi, dword [ebp - 0x20]
pop ecx
jne 0x10093502
mov eax, dword [ebp - 0x1c]
inc dword [ebp - 0x18]
inc dword [ebp - 0x20]
mov dword [eax + esi*4], edi
inc dword [ebp - 0x24]
jmp 0x100934b4
inc esi
jmp 0x100934d2
mov esi, dword [ebp + 8]
mov eax, dword [esi]
and dword [ebp - 0x20], 0
push str.java_util_Locale
push esi
call dword [eax + 0x18]
xor edi, edi
mov dword [ebp + 8], eax
cmp eax, edi
je 0x10093572
mov ecx, dword [esi]
push edi
push eax
push dword [ebp - 0x18]
push esi
call dword [ecx + 0x2b0]
mov dword [ebp - 0x20], eax
cmp eax, edi
je 0x10093569
cmp edi, dword [ebp - 0x18]
jge 0x10093569
mov eax, dword [ebp - 0x1c]
push dword [eax + edi*4]
push esi
call fcn.1009310c
pop ecx
pop ecx
mov ebx, eax
mov eax, dword [esi]
push esi
call dword [eax + 0x390]
test al, al
mov eax, dword [esi]
je 0x10093589
push dword [ebp - 0x20]
push esi
call dword [eax + 0x5c]
and dword [ebp - 0x20], 0
push dword [ebp + 8]
mov eax, dword [esi]
push esi
call dword [eax + 0x5c]
xor esi, esi
cmp esi, dword [ebp - 0x18]
jge 0x10093598
mov eax, dword [ebp - 0x1c]
push dword [eax + esi*4]
call dword [sym.imp.MSVCR100.dll_free]
pop ecx
inc esi
jmp 0x10093574
push ebx
push edi
push dword [ebp - 0x20]
push esi
call dword [eax + 0x2b8]
inc edi
jmp 0x1009353a
push dword [ebp - 0x28]
mov esi, dword [sym.imp.MSVCR100.dll_free]
call esi
push dword [ebp - 0x1c]
call esi
mov eax, dword [ebp - 0x20]
pop ecx
pop ecx
jmp 0x100934ac
xor eax, eax
lea edi, [ebp + 0xb]
stosb byte es:[edi], al
mov al, byte [ebp + 0xb]
mov byte [ebp - 0x11], al
push 0x100da640
lea eax, [ebp - 0x11]
push eax
call sub.MSVCR100.dll__CxxThrowException
xor eax, eax
lea edi, [ebp + 0xb]
stosb byte es:[edi], al
mov al, byte [ebp + 0xb]
mov byte [ebp - 0x12], al
push 0x100da640
lea eax, [ebp - 0x12]
jmp 0x100935c6
Function at 0x10098ab6
Capabilities:
Query environment variable

Disassembly:
push ebp
lea ebp, [esp - 0x38c]
sub esp, 0x40c
mov eax, dword [0x100fd640]
xor eax, ebp
mov dword [ebp + 0x388], eax
push esi
mov esi, ecx
mov ecx, dword [esi + 0xc08]
push edi
call fcn.100a9f93
mov edi, eax
test edi, edi
je 0x10098c87
push ebx
push 0xc
push edi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov ecx, dword [esi + 0xc08]
push edi
mov ebx, eax
call fcn.100a9f9d
cmp ebx, 8
jne 0x10098b53
mov ecx, dword [esi + 0xc08]
call fcn.100a9f93
mov ebx, eax
lea eax, [ebp - 0x78]
push eax
push ebx
call fcn.1009892f
pop ecx
pop ecx
mov ecx, dword [esi + 0xc08]
push ebx
mov edi, eax
call fcn.100a9f9d
cmp edi, dword [esi + 0xc00]
jne 0x10098b5a
mov eax, edi
shl eax, 2
push eax
lea eax, [esi + 0x800]
push eax
lea eax, [ebp - 0x78]
push eax
call sub.MSVCR100.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x10098b5a
xor eax, eax
jmp 0x10098c86
mov eax, 0x100
cmp edi, eax
jle 0x10098b65
mov edi, eax
mov eax, edi
shl eax, 2
push eax
lea eax, [ebp - 0x78]
push eax
lea ebx, [esi + 0x800]
push ebx
call sub.MSVCR100.dll_memcpy
and dword [ebp - 0x80], 0
add esp, 0xc
lea eax, [edi - 1]
push ebx
mov ecx, esi
mov dword [esi + 0xc00], edi
mov dword [ebp - 0x7c], eax
call fcn.100afef1
cmp eax, 1
jne 0x10098b9f
push 2
jmp 0x10098be2
cmp eax, 2
jne 0x10098ba8
push 3
jmp 0x10098be2
push str.FORCEGRAY
call dword [sym.imp.MSVCR100.dll_getenv]
pop ecx
test eax, eax
je 0x10098be0
push 0xa
pop edx
lea eax, [esi + 0x7d8]
mov ecx, edx
and dword [eax - 0x3d8], 0
and dword [eax], 0
add eax, 4
dec ecx
jne 0x10098bc3
sub edi, 0x14
sub dword [ebp - 0x7c], edx
mov dword [ebp - 0x80], edx
push 1
jmp 0x10098be2
push 0
mov ecx, dword [esi + 0xc08]
call fcn.100aa544
mov ecx, dword [ebp - 0x80]
cmp ecx, dword [ebp - 0x7c]
jg 0x10098c26
lea eax, [esi + ecx*4 + 0x400]
movzx edx, byte [ebp + ecx*4 - 0x78]
movzx ebx, byte [ebp + ecx*4 - 0x77]
or edx, 0xffffff00
shl edx, 8
or edx, ebx
movzx ebx, byte [ebp + ecx*4 - 0x76]
shl edx, 8
or edx, ebx
mov dword [eax], edx
inc ecx
add eax, 4
cmp ecx, dword [ebp - 0x7c]
jle 0x10098bfc
push 0x20
lea ebx, [esi + 0x400]
push edi
push ebx
call fcn.100afef1
mov dword [esi + 0xc0c], eax
mov eax, dword [esi + 0xc08]
mov edi, dword [eax + 8]
mov eax, dword [eax]
mov eax, dword [eax]
add esp, 0xc
cmp eax, 3
je 0x10098c55
cmp eax, 1
jne 0x10098c83
test edi, edi
je 0x10098c83
mov eax, dword [edi + 0x10]
test eax, eax
je 0x10098c6c
push eax
call dword [sym.imp.MSVCR100.dll_free]
and dword [edi + 0x10], 0
pop ecx
mov eax, dword [esi + 0xc08]
push dword [eax + 8]
push 0x100
push ebx
call fcn.100afef1
add esp, 0xc
xor eax, eax
inc eax
pop ebx
mov ecx, dword [ebp + 0x388]
pop edi
xor ecx, ebp
pop esi
call fcn.100b4c22
add ebp, 0x38c
leave
ret
Function at 0x100a5c50
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b8cb0
mov eax, dword fs:[0]
push eax
sub esp, 0x108
mov eax, dword [0x100fd640]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], 0
call fcn.100b022b
call fcn.100afef1
mov esi, dword [sym.imp.kernel32.dll_GetVersion]
call esi
push eax
push eax
push str.0x_x___ld
lea eax, [ebp - 0x114]
push 0x80
push eax
call fcn.100a3e5f
add esp, 0x14
lea ecx, [ebp - 0x114]
push ecx
call dword [sym.imp.kernel32.dll_lstrlenW]
mov edi, eax
call esi
cmp al, 5
jb 0x100a5d17
call esi
cmp al, 5
jb 0x100a5cdc
call esi
shr eax, 8
cmp al, 1
jae 0x100a5ce2
call esi
cmp al, 5
jbe 0x100a5d03
call esi
cmp al, 6
jb 0x100a5cef
push str.__Windows_Vista_
jmp 0x100a5d1c
push str.__Windows_XP_
push 0x80
lea eax, [ebp + edi*2 - 0x114]
push eax
jmp 0x100a5d29
push str.__Windows_2000_
push 0x80
lea ecx, [ebp + edi*2 - 0x114]
push ecx
jmp 0x100a5d29
push str.__Unknown_
push 0x80
lea edx, [ebp + edi*2 - 0x114]
push edx
call fcn.100a3e5f
lea eax, [ebp - 0x114]
add esp, 0xc
push eax
call dword [sym.imp.MSVCR100.dll_wcslen]
mov ecx, dword [ebx]
add esp, 4
push eax
mov eax, dword [ecx + 0x28c]
lea edx, [ebp - 0x114]
push edx
push ebx
call eax
jmp 0x100a5d63
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100b4c22
mov esp, ebp
pop ebp
ret 8
Function at 0x100ab4e3
Capabilities:
Check os version

Disassembly:
push 0xc
mov eax, 0x100b92f3
call fcn.100b4d71
mov eax, dword [0x100fd620]
cmp eax, 0xfffffffe
jne 0x100ab568
call dword [sym.imp.kernel32.dll_GetVersion]
cmp al, 6
jae 0x100ab50e
and dword [0x100fd620], 0
xor eax, eax
jmp 0x100ab568
lea eax, [ebp - 0x14]
xor ebx, ebx
push eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], ebx
call fcn.100afef1
pop ecx
cmp eax, ebx
jl 0x100ab532
mov ebx, dword [ebp - 0x14]
jmp 0x100ab532
push 0x10002
push dword [0x101004d4]
mov dword [0x100fd620], ebx
call sub.java.dll__JNU_GetEnv_8
movzx ecx, bl
push ecx
push str._Z_V
push str.dwmCompositionChanged
push str.sun_awt_Win32GraphicsEnvironment
push 0
push eax
call sub.java.dll_JNU_CallStaticMethodByName
add esp, 0x18
mov eax, ebx
call fcn.100b4e16
ret
Function at 0x406291
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4261d0]
jne 0x40629b
repz ret
jmp fcn.0040871c

Function at 0x40adfc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4261d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004074b2
and dword [ebp - 0x14], 0
cmp dword [0x427a30], 0
mov dword [ebp - 0x18], eax
jne 0x40aeaf
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40af57
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x40af57
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x427a30], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x427a34], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x427a38], eax
call edi
push eax
call esi
mov dword [0x427a40], eax
test eax, eax
je 0x40aeaf
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x427a3c], eax
mov eax, dword [0x427a3c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40af08
cmp dword [0x427a40], ecx
je 0x40af08
push eax
call esi
push dword [0x427a40]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40af08
test ebx, ebx
je 0x40af08
call edi
test eax, eax
je 0x40aeff
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40aeff
test byte [ebp - 8], 1
jne 0x40af08
or dword [ebp + 0x10], 0x200000
jmp 0x40af3b
mov eax, dword [0x427a34]
cmp eax, dword [ebp - 0x18]
je 0x40af3b
push eax
call esi
test eax, eax
je 0x40af3b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40af3b
mov eax, dword [0x427a38]
cmp eax, dword [ebp - 0x18]
je 0x40af3b
push eax
call esi
test eax, eax
je 0x40af3b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x427a30]
call esi
test eax, eax
je 0x40af57
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40af59
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00406291
leave
ret

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x408ecc
nop
nop
mov ecx, 0x1411373e
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x6505a86
nop
nop
nop
test eax, eax
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43006c
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x401cd0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0x40
push 0x1000
mov eax, dword [ebp + 8]
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
pop ebp
ret

Function at 0x401cf0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
mov eax, dword [ebp + 8]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
pop ebp
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x40169e
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov dword [0x4042cb], ebp
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x404772], eax
xor eax, eax
push eax
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x404706], eax
mov dword [0x4042c3], eax
mov dword [0x4046f2], 0x30
mov dword [0x4046f6], 2
jmp 0x4016df
xor eax, eax
mov dword [0x4046fa], 0x403290
mov dword [0x4046fe], eax
mov dword [0x404702], eax
mov eax, 0x4041c7
mov dword [0x404712], 0xe
mov dword [0x40471a], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x40470e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x40470a], eax
mov dword [0x40471e], eax
push 0x4046f2
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x4042c3]
push 0
push 0
push 0x1e0
push 0x1fe
push 0xfffff862
push 0xfffff8f8
push 0xcf0000
push 0x4046c8
push 0x4041c7
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x404766], eax
push 5
push eax
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x404766]
call dword [sym.imp.user32.dll_UpdateWindow]
xor edi, edi
lea ebx, [0x404722]
jmp 0x4017a6
push ebx
call dword [sym.imp.user32.dll_TranslateMessage]
push ebx
call dword [sym.imp.user32.dll_DispatchMessageA]
push edi
push edi
push edi
push ebx
call dword [sym.imp.user32.dll_GetMessageA]
test al, al
jne 0x401798
mov eax, dword [0x40472a]
jmp 0x4017c1
call 0x402a9e
ret

Function at 0x10001822
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [section..data]
jne 0x1000182c
repz ret
jmp fcn.10001bc2
Function at 0xd41cc0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x214
mov eax, dword [0xd72c20]
xor eax, esp
mov dword [esp + 0x210], eax
push edi
push 0x206
xor edi, edi
lea ecx, [esp + 0x12]
xor eax, eax
push edi
push ecx
mov word [esp + 0x18], ax
call fcn.00d56cc0
add esp, 0xc
mov dword [esp + 4], edi
cmp esi, edi
je 0xd41d8f
mov eax, 0xd6c894
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0xd41d05
sub eax, edx
sar eax, 1
je 0xd41d8f
lea edx, [esp + 0xc]
push edx
push 0x104
call dword [fcn.00d69234]
push 0xd6c894
lea eax, [esp + 0x10]
push 0x104
push eax
call fcn.00d548ea
push 0xd6c8b0
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.00d54e3b
mov eax, dword [esp + 0x1c]
add esp, 0x18
cmp eax, edi
je 0xd41d8f
push eax
push 1
push 0x200
push esi
call fcn.00d5512e
mov eax, dword [esp + 0x14]
push eax
call fcn.00d551c2
add esp, 0x14
mov eax, 1
pop edi
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.00d548db
add esp, 0x214
ret
mov ecx, dword [esp + 0x214]
mov eax, edi
pop edi
xor ecx, esp
call fcn.00d548db
add esp, 0x214
ret

Function at 0xd41db0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x214
mov eax, dword [0xd72c20]
xor eax, esp
mov dword [esp + 0x210], eax
push edi
push 0x206
xor edi, edi
lea ecx, [esp + 0x12]
xor eax, eax
push edi
push ecx
mov word [esp + 0x18], ax
call fcn.00d56cc0
add esp, 0xc
mov dword [esp + 4], edi
cmp esi, edi
je 0xd41eb5
mov eax, 0xd6c7e0
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0xd41df5
sub eax, edx
sar eax, 1
je 0xd41eb5
cmp dword [0xd73fbc], 3
jne 0xd41e3c
push 0x104
lea edx, [esp + 0x10]
push edx
call dword [fcn.00d69214]
push 0xd6c8b8
lea eax, [esp + 0x10]
push 0x104
push eax
call fcn.00d548ea
add esp, 0xc
jmp 0xd41e4c
lea ecx, [esp + 0xc]
push ecx
push 0x104
call dword [fcn.00d69234]
push 0xd6c7e0
lea edx, [esp + 0x10]
push 0x104
push edx
call fcn.00d548ea
push 0xd6c8b0
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.00d54e3b
mov eax, dword [esp + 0x1c]
add esp, 0x18
cmp eax, edi
je 0xd41eb5
push eax
push 1
push 0x200
push esi
call fcn.00d5512e
mov edx, dword [esp + 0x14]
push edx
call fcn.00d551c2
add esp, 0x14
mov eax, 1
pop edi
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.00d548db
add esp, 0x214
ret
mov ecx, dword [esp + 0x214]
mov eax, edi
pop edi
xor ecx, esp
call fcn.00d548db
add esp, 0x214
ret
Function at 0xd425c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x70
or eax, 0xffffffff
push ebx
mov ebx, 1
push ebp
push esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x74], eax
push edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x78], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x18], ebx
call fcn.00d549e8
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fmul qword [0xd6e4b0]
fadd qword [0xd6e4c8]
call fcn.00d589e0
mov ebp, eax
xor esi, esi
xor edi, edi
test ebp, ebp
jle 0xd426e0
call fcn.00d549e8
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fmul qword [0xd6e4b0]
fmul qword [0xd6e4c0]
fadd qword [0xd6e4b8]
call fcn.00d589e0
mov ecx, eax
mov eax, dword [esp + ecx*4 + 0x18]
add eax, esi
cdq
xor eax, edx
sub eax, edx
cmp eax, ebx
jle 0xd426c8
lea esp, [esp]
add ecx, ebx
cmp ecx, 0x1a
jne 0xd426b9
xor ecx, ecx
mov eax, dword [esp + ecx*4 + 0x18]
add eax, esi
cdq
xor eax, edx
sub eax, edx
cmp eax, ebx
jg 0xd426b0
add esi, dword [esp + ecx*4 + 0x18]
mov eax, dword [esp + 0x84]
add ecx, 0x61
mov word [eax + edi*2], cx
add edi, ebx
cmp edi, ebp
jl 0xd42677
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret

Function at 0xd42780
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x214
mov eax, dword [0xd72c20]
xor eax, esp
mov dword [esp + 0x210], eax
push esi
push 0x206
xor esi, esi
lea ecx, [esp + 0x12]
xor eax, eax
push esi
push ecx
mov word [esp + 0x18], ax
call fcn.00d56cc0
add esp, 0xc
cmp edi, esi
je 0xd42868
mov eax, 0xd6c790
mov dword [esp + 4], esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0xd427c5
sub eax, edx
sar eax, 1
je 0xd427ef
push 0xd6c924
lea edx, [esp + 8]
push 0xd6c790
push edx
call fcn.00d54e3b
add esp, 0xc
jmp 0xd4282a
lea eax, [esp + 0xc]
push eax
push 0x104
call dword [fcn.00d69234]
push 0xd6c894
lea ecx, [esp + 0x10]
push 0x104
push ecx
call fcn.00d548ea
push 0xd6c924
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x18]
push eax
call fcn.00d54e3b
add esp, 0x18
mov eax, dword [esp + 4]
cmp eax, esi
je 0xd4284d
push eax
push 1
push 0x200
push edi
call fcn.00d55401
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00d551c2
add esp, 0x14
mov eax, 1
pop esi
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.00d548db
add esp, 0x214
ret
mov ecx, dword [esp + 0x214]
mov eax, esi
pop esi
xor ecx, esp
call fcn.00d548db
add esp, 0x214
ret
Function at 0xd42880
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ecx
push 0xd6c8b0
push eax
lea ecx, [esp + 8]
push ecx
mov dword [esp + 0xc], 0
call fcn.00d54e3b
add esp, 0xc
test eax, eax
je 0xd428a4
xor eax, eax
pop ecx
ret
mov edx, dword [esp]
push ebx
push ebp
push esi
push edi
push 2
push 0
push edx
call fcn.00d5550d
mov eax, dword [esp + 0x1c]
push eax
call fcn.00d5572f
mov ecx, dword [esp + 0x20]
push 0
push 0
push ecx
mov esi, eax
call fcn.00d5550d
lea ebp, [esi + 0x32]
push ebp
call fcn.00d557ec
mov edx, dword [esp + 0x30]
push edx
push 1
mov edi, eax
push esi
push edi
call fcn.00d5512e
mov eax, dword [esp + 0x40]
push eax
call fcn.00d551c2
lea ebx, [edi + esi]
mov eax, 0x32
call fcn.00d42950
mov ecx, dword [esp + 0x4c]
push 0xd6c924
push ecx
lea edx, [esp + 0x4c]
push edx
call fcn.00d54e3b
add esp, 0x40
test eax, eax
je 0xd42922
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
mov eax, dword [esp + 0x10]
push eax
push 1
push ebp
push edi
call fcn.00d55401
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00d551c2
add esp, 0x14
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret

Function at 0xd44570
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x100c
call fcn.00d59170
mov eax, dword [0xd72c20]
xor eax, esp
mov dword [esp + 0x1008], eax
mov edx, dword [edi]
mov eax, dword [esp + 0x1010]
push ebx
push ebp
mov ebp, dword [0xd693d4]
xor ebx, ebx
push ebx
push 4
lea ecx, [esp + 0x10]
push ecx
push edx
mov dword [esp + 0x1c], eax
call ebp
cmp eax, 4
je 0xd445c8
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x1008]
xor ecx, esp
call fcn.00d548db
add esp, 0x100c
ret
cmp dword [esp + 8], ebx
jbe 0xd44607
push esi
nop
mov ecx, dword [edi]
push 0
push 0x1000
lea eax, [esp + 0x1c]
push eax
push ecx
call ebp
mov esi, eax
test esi, esi
je 0xd44606
mov edx, dword [esp + 0x10]
mov eax, dword [edx]
push eax
push esi
lea ecx, [esp + 0x1c]
push 1
push ecx
call fcn.00d55401
add ebx, esi
add esp, 0x10
cmp ebx, dword [esp + 0xc]
jb 0xd445d0
pop esi
mov edx, dword [esp + 0xc]
mov eax, dword [edx]
push eax
call fcn.00d551c2
mov ecx, dword [esp + 0x1014]
add esp, 4
cmp ebx, dword [esp + 8]
pop ebp
sbb eax, eax
pop ebx
xor ecx, esp
inc eax
call fcn.00d548db
add esp, 0x100c
ret