joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46eff0
Capabilities:
Create process memory minidump
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49188b
mov eax, dword fs:[0]
push eax
sub esp, 0xa28
mov eax, dword [0x4b6798]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
xor esi, esi
xor eax, eax
mov edi, ecx
mov dword [ebp - 0xa20], 7
mov dword [ebp - 0xa24], esi
mov word [ebp - 0xa34], ax
lea ecx, [ebp - 0x218]
push ecx
push esi
push esi
push 0x1c
push esi
mov dword [ebp - 4], esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x46f185
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x46f064
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x218]
lea esi, [ebp - 0xa34]
call fcn.00409bc0
mov edx, esi
push edx
call fcn.0046ee30
add esp, 4
push 8
push str.IE_Tab_
mov eax, esi
call fcn.004046f0
test ebx, ebx
je 0x46f0ff
cmp dword [ebp - 0xa20], 8
mov eax, dword [ebp - 0xa34]
jae 0x46f0b3
mov eax, esi
lea ecx, [ebp - 0xa18]
push ecx
push 0
push 0x4a5e40
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x46f185
lea eax, [ebp - 0xa18]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x46f0e0
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0xa18]
mov esi, edi
call fcn.00409bc0
jmp 0x46f120
push 0
lea edx, [ebp - 0xa34]
push edx
or eax, 0xffffffff
mov ecx, edi
call fcn.004097e0
push 0xd
push str.lastcrash.dmp
mov eax, edi
call fcn.004046f0
cmp dword [edi + 0x14], 8
jb 0x46f12a
mov eax, dword [edi]
jmp 0x46f12c
mov eax, edi
push 0
push 0
push 2
push 0
push 3
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
test ebx, ebx
je 0x46f158
push ebx
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
jmp 0x46f166
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0
push 0
push 0
push 1
push edi
mov esi, eax
push ebx
push esi
call dword [sym.imp.dbghelp.dll_MiniDumpWriteDump]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push esi
call edi
cmp dword [ebp - 0xa20], 8
jb 0x46f19d
mov eax, dword [ebp - 0xa34]
push eax
call fcn.004736d0
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004736db
mov esp, ebp
pop ebp
ret
Function at 0x46fdc0
Capabilities:
Check for time delay via gettickcount
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [0x4e1a5c], 0
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
jne 0x46fde8
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x46fde7
call edi
add eax, esi
mov dword [0x4e1a5c], eax
pop esi
call edi
pop edi
cmp eax, dword [0x4e1a5c]
jb 0x46fe1f
lea eax, [ebp - 8]
push eax
push 0x46fcb0
mov byte [ebp - 8], 0
mov dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_EnumWindows]
cmp byte [ebp - 8], 0
jne 0x46fe1f
push 0x12
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov esp, ebp
pop ebp
ret
mov eax, dword [0x4e1a60]
test eax, eax
je 0x46fe31
push eax
push 0
call dword [sym.imp.USER32.dll_KillTimer]
push 0x46fd70
push 0x2710
push 0
push 0
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [0x4e1a60], eax
mov esp, ebp
pop ebp
ret
Function at 0x470110
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x491799
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x4b6798]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0xc]
xor eax, eax
mov dword [ebp - 0x18], eax
mov edi, dword [ebp + 8]
xor ecx, ecx
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], eax
mov word [edi], cx
push eax
mov dword [ebp - 4], eax
push ebx
mov dword [ebp - 0x18], 1
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
test esi, esi
je 0x470233
lea edx, [esi + 2]
push edx
call fcn.00472e2e
mov edi, eax
add esp, 4
test edi, edi
je 0x47022e
push 0
lea eax, [ebp - 0x1c]
push eax
push 2
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x470225
movsx ecx, byte [edi]
cmp ecx, 0xfe
jne 0x4701ba
movsx edx, byte [edi + 1]
mov byte [ebp - 0x11], 1
cmp edx, 0xff
je 0x4701be
mov byte [ebp - 0x11], 0
push 0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [esi - 2]
push ecx
lea edx, [edi + 2]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x470225
cmp byte [ebp - 0x11], 0
mov word [esi + edi], 0
jne 0x47021a
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [eax + 1]
cmp esi, 0x3fffffff
jle 0x4701fd
mov ecx, dword [ebp + 8]
xor eax, eax
push ecx
jmp 0x470220
lea eax, [esi + esi]
call fcn.00486070
mov ecx, esp
mov edx, esi
push 3
mov eax, edi
mov esi, ecx
call fcn.004572f0
mov ecx, dword [ebp + 8]
push ecx
jmp 0x470220
mov edx, dword [ebp + 8]
push edx
mov eax, edi
call fcn.0040f150
push edi
call fcn.004736d0
add esp, 4
mov eax, dword [ebp + 8]
jmp 0x470235
mov eax, edi
lea esp, [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004736db
mov esp, ebp
pop ebp
ret

Function at 0x470260
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x4b6798]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
test ebx, ebx
je 0x4702f0
cmp ebx, 0xffffffff
je 0x4702f0
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4702cc
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x4702b4
xor eax, eax
jmp 0x4702cc
lea edi, [eax + eax]
mov eax, edi
call fcn.00486070
mov eax, dword [ebp + 0xc]
mov esi, esp
push 3
mov ecx, edi
call fcn.0046b3b0
mov ecx, eax
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x4702d1
push 0
lea edx, [ebp - 8]
push edx
sub ecx, esi
push ecx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004736db
mov esp, ebp
pop ebp
ret
Function at 0x470310
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov ebx, eax
mov dword [ebp - 4], ebx
call edi
sub eax, ebx
cmp eax, esi
jae 0x4703b1
mov ebx, dword [sym.imp.USER32.dll_MsgWaitForMultipleObjectsEx]
mov edi, dword [sym.imp.USER32.dll_PeekMessageW]
lea ecx, [ecx]
push 4
push 0x4ff
mov ecx, esi
sub ecx, eax
push ecx
push 0
push 0
call ebx
test eax, eax
jne 0x4703a4
push 1
push eax
push eax
push eax
lea edx, [ebp - 0x20]
push edx
call edi
test eax, eax
je 0x4703a4
cmp dword [ebp - 0x1c], 0x12
je 0x4703bc
push 0x5300
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_CallMsgFilterW]
test eax, eax
jne 0x470392
lea ecx, [ebp - 0x20]
push ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea edx, [ebp - 0x20]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call edi
test eax, eax
jne 0x470365
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 4]
cmp eax, esi
jb 0x470340
pop edi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.USER32.dll_PostQuitMessage]
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4716d0
Capabilities:
Enumerate gui resources
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49422b
mov eax, dword fs:[0]
push eax
mov eax, 0x1028
call fcn.0047f210
mov eax, dword [0x4b6798]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x1018], 7
mov dword [ebp - 0x101c], 0
mov word [ebp - 0x102c], ax
lea edx, [ebp - 0x1010]
push edx
push eax
push eax
push 0x1c
mov dword [ebp - 4], eax
push eax
mov dword [ebp - 0x1030], 0xffffffff
mov dword [ebp - 0x1034], ecx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x4717d1
lea eax, [ebp - 0x1010]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x471753
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x1010]
lea esi, [ebp - 0x102c]
call fcn.00409bc0
mov eax, esi
push eax
call fcn.0046ee30
add esp, 4
push 0x13
push str.IE_Tabwindows.csv
mov eax, esi
call fcn.004046f0
cmp dword [ebp - 0x1018], 8
mov eax, dword [ebp - 0x102c]
jae 0x47179e
mov eax, esi
push 0
push 0
push 2
push 0
push 0
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x1030], eax
cmp eax, 0xffffffff
je 0x4717e7
lea ecx, [ebp - 0x1034]
push ecx
push 0x471690
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [ebp - 0x1030]
test eax, eax
je 0x4717e7
cmp eax, 0xffffffff
je 0x4717e7
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x1018], 8
jb 0x4717ff
mov edx, dword [ebp - 0x102c]
push edx
call fcn.004736d0
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004736db
mov esp, ebp
pop ebp
ret

Function at 0x47334d
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x4e03ec], 0
push esi
push edi
jne 0x4732c3
call fcn.0047322f
test eax, eax
je 0x473308
mov eax, dword [0x4e03ec]
cmp eax, 1
jne 0x4732e4
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x473308
jmp 0x47334a
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x47334a
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x47330c
xor eax, eax
jmp 0x47334a
mov eax, dword [esi]
push dword [0x4e03ec]
call edi
mov edi, eax
test edi, edi
je 0x47332e
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x47334a
lea edi, [esi + 0xff0]
push esi
push dword [0x4e03ec]
call dword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x473334
mov eax, esi
pop edi
pop esi
ret
jmp 0x4732af

Function at 0x4736db
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4b6798]
jne 0x4736e5
repz ret
jmp fcn.0047ccaa
Function at 0x48260e
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4b6798]
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.0047ed42
and dword [ebp - 0x14], 0
cmp dword [0x4e0e80], 0
mov dword [ebp - 0x18], eax
jne 0x4826c1
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x482769
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x49a438
push ebx
call edi
test eax, eax
je 0x482769
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x49a428
push ebx
mov dword [0x4e0e80], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4e0e84], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4e0e88], eax
call edi
push eax
call esi
mov dword [0x4e0e90], eax
test eax, eax
je 0x4826c1
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4e0e8c], eax
mov eax, dword [0x4e0e8c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x48271a
cmp dword [0x4e0e90], ecx
je 0x48271a
push eax
call esi
push dword [0x4e0e90]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x48271a
test ebx, ebx
je 0x48271a
call edi
test eax, eax
je 0x482711
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x482711
test byte [ebp - 8], 1
jne 0x48271a
or dword [ebp + 0x10], 0x200000
jmp 0x48274d
mov eax, dword [0x4e0e84]
cmp eax, dword [ebp - 0x18]
je 0x48274d
push eax
call esi
test eax, eax
je 0x48274d
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x48274d
mov eax, dword [0x4e0e88]
cmp eax, dword [ebp - 0x18]
je 0x48274d
push eax
call esi
test eax, eax
je 0x48274d
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4e0e80]
call esi
test eax, eax
je 0x482769
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x48276b
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004736db
leave
ret
Function at 0x402c80
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, ecx
mov ecx, dword [ebp + 0x10]
push 0x80
lea eax, [esi + 0x18]
push ecx
push eax
mov dword [ebp - 4], eax
call fcn.0059a570
mov edx, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
lea edi, [esi + 4]
add esp, 0xc
cmp dword [edi], 0
mov dword [esi + 0xc], edx
jne 0x402cc1
push ebx
push edi
call fcn.00402920
mov eax, dword [edi]
add esp, 8
mov dword [esi + 8], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 4]
push ecx
push ebx
push edx
lea edi, [esi + 0x9c]
push str._MemoryPooltempl__s_
push edi
mov dword [esi + 0x98], ebx
call fcn.0059a4c2
add esp, 0x14
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [esi + 0x98]
mov edx, dword [esi + 0x14]
lea ecx, [eax*4]
push ecx
mov ecx, dword [ebp - 4]
push eax
mov eax, dword [esi + 0xc]
push edx
push eax
push ebx
push ecx
push str.__s__Init_t_d_t_d_t_d_t_d_t_d_n
push edi
call fcn.0059a4c2
push edi
call fcn.00594970
add esp, 0x24
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x403060
Capabilities:
Print debug messages

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
jne 0x402d3c
pop esi
ret
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x402d55
dec ecx
mov dword [eax + 0x10], ecx
mov eax, dword [eax + 4]
mov eax, dword [eax + ecx*4]
test eax, eax
jne 0x402e38
mov ecx, dword [esi + 8]
mov eax, dword [ecx + 0x14]
push ebx
push edi
test eax, eax
jne 0x402dca
mov edx, dword [esi + 0xc]
push edx
lea edi, [esi + 4]
push edi
call fcn.00402920
mov eax, dword [edi]
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0xc]
inc dword [esi + 0x10]
push ecx
push edx
mov dword [esi + 8], eax
mov eax, dword [esi + 0x10]
push eax
lea ebx, [esi + 0x18]
push ebx
lea edi, [esi + 0x9c]
push str.___s_alloc_Band
push edi
call fcn.0059a4c2
add esp, 0x20
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [esi + 0xc]
add dword [esi + 0x98], eax
mov ecx, dword [esi + 0x98]
lea edx, [ecx*4]
push edx
mov edx, dword [esi + 0x10]
push ecx
mov ecx, dword [esi + 0x14]
push ecx
push eax
push edx
push ebx
push str.__s__Increse_t_d_t_d_t_d_t_d_t_d_n
jmp 0x402e1f
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 0x10]
mov dword [esi + 8], eax
mov eax, dword [esi + 0x14]
push eax
push ecx
push edx
lea ebx, [esi + 0x18]
push ebx
lea edi, [esi + 0x9c]
push 0x5c791c
push edi
call fcn.0059a4c2
add esp, 0x18
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [esi + 0xc]
sub dword [esi + 0x98], eax
mov ecx, dword [esi + 0x98]
lea edx, [ecx*4]
push edx
mov edx, dword [esi + 0x10]
push ecx
mov ecx, dword [esi + 0x14]
push ecx
push eax
push edx
push ebx
push str.__s__Decrese_t_d_t_d_t_d_t_d_t_d_n
push edi
call fcn.0059a4c2
push edi
call fcn.00594970
add esp, 0x24
pop edi
pop ebx
mov ecx, esi
pop esi
jmp 0x402d30
inc dword [esi + 0x14]
pop esi
ret
mov ecx, dword [ecx]
jmp 0x402d30
Function at 0x403120
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 8
cmp dword [eax], 0x10
je 0x40329f
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, dword [edi]
push 0x94
mov dword [ebp + 8], esi
add esi, 0x36c
push 0
push esi
call fcn.00599ee0
add esp, 0xc
mov ecx, edi
call fcn.00401670
push 0
mov ecx, edi
call fcn.00401680
test eax, eax
je 0x403287
push ebx
jmp 0x403170
mov edi, dword [eax]
mov ecx, eax
call fcn.004012e0
mov ecx, dword [ebp + 8]
mov bl, al
add bl, byte [ecx + 0x58d]
mov ecx, 0x6ad908
mov byte [ebp - 4], bl
mov edx, dword [ebp - 4]
push edx
call fcn.00402880
test eax, eax
je case.0x4031b4.10
movzx ecx, word [edi + 0x2c]
add ecx, 0xfffffffd
cmp ecx, 0x75
ja case.0x4031b4.10
movzx ecx, byte [ecx + 0x4032ec]
jmp dword [ecx*4 + 0x4032a8]
movzx edx, word [edi + 0x30]
mov eax, dword [eax]
mov dword [esi + edx*4 - 4], eax
jmp case.0x4031b4.10
movzx ecx, word [edi + 0x30]
fld dword [eax + 8]
fstp dword [ebp - 8]
test cx, cx
je case.0x4031b4.10
fld dword [eax + 4]
fstp dword [esi + ecx*4 + 0x24]
fld dword [ebp - 8]
fstp dword [esi + ecx*4 + 0x3c]
jmp case.0x4031b4.10
mov ecx, dword [eax + 0xc]
mov dword [esi + 0x5c], ecx
jmp case.0x4031b4.10
mov edx, dword [eax + 0x10]
mov dword [esi + 0x58], edx
jmp case.0x4031b4.10
mov eax, dword [eax + 0x14]
mov dword [esi + 0x60], eax
jmp case.0x4031b4.10
mov ecx, dword [eax + 0x18]
mov dword [esi + 0x64], ecx
jmp case.0x4031b4.10
mov edx, dword [eax + 0x1c]
mov dword [esi + 0x68], edx
jmp case.0x4031b4.10
mov eax, dword [eax + 0x20]
mov dword [esi + 0x6c], eax
jmp case.0x4031b4.10
mov ecx, dword [eax + 0x20]
mov dword [esi + 0x70], ecx
jmp case.0x4031b4.10
mov edx, dword [eax + 0x20]
mov dword [esi + 0x74], edx
jmp case.0x4031b4.10
mov eax, dword [eax + 0x20]
mov dword [esi + 0x78], eax
jmp case.0x4031b4.10
fld dword [eax + 0x24]
movzx ecx, bl
fstp dword [esi + 0x7c]
mov word [esi + 0x80], cx
jmp case.0x4031b4.10
fld dword [eax + 0x28]
fstp dword [esi + 0x84]
jmp case.0x4031b4.10
mov edx, dword [eax + 0x2c]
mov dword [esi + 0x88], edx
jmp case.0x4031b4.10
mov eax, dword [eax + 0x30]
mov dword [esi + 0x8c], eax
jmp case.0x4031b4.10
mov ecx, dword [eax + 0x34]
mov dword [esi + 0x90], ecx
mov ecx, dword [ebp + 0x10]
push 0
call fcn.00401680
test eax, eax
jne 0x403170
pop ebx
mov ecx, dword [0x6d4218]
call fcn.00443450
mov ecx, dword [0x6d4218]
call fcn.004430a0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x409290
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x730
mov eax, dword [0x6ac30c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x72c], eax
mov dword [ebp - 0x730], ecx
test eax, eax
jne 0x4092cf
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00599821
mov esp, ebp
pop ebp
ret 0x10
test ecx, ecx
je 0x4092bc
push ebx
push edi
push eax
push 1
lea eax, [ebp - 0x720]
push 1
push eax
call fcn.0059b2f7
push 0x200
xor ebx, ebx
lea ecx, [ebp - 0x604]
push ebx
push ecx
add esi, 0x10
call fcn.00599ee0
lea edx, [ebp - 0x728]
push edx
push str._02X
push esi
call fcn.0059aeba
add esp, 0x28
test eax, eax
jle 0x409348
cmp ebx, 0x200
jge 0x409348
mov al, byte [ebp - 0x728]
lea ecx, [ebp - 0x728]
push ecx
add esi, 2
push str._02X
mov byte [ebp + ebx - 0x604], al
push esi
inc ebx
call fcn.0059aeba
add esp, 0xc
test eax, eax
jg 0x409316
push 0x100
lea edx, [ebp - 0x604]
push edx
lea eax, [ebp - 0x71c]
push eax
call fcn.00409c80
mov cl, byte [ebp + 0x14]
xor edi, edi
add esp, 0xc
mov byte [ebp - 0x71d], cl
cmp dword [ebp + 0x10], edi
jle 0x409435
mov edx, dword [ebp - 0x72c]
push edx
push 0x10
lea eax, [ebp - 0x404]
push 1
push eax
call fcn.0059b2f7
add esp, 0x10
cmp eax, 0x10
jne 0x40947d
lea ecx, [ebp - 0x404]
push ecx
mov edx, ecx
push edx
lea eax, [ebp - 0x71c]
push 0
push eax
call fcn.00409ea0
mov ecx, dword [ebp - 0x730]
xor eax, eax
add esp, 0x10
xor dl, dl
mov byte [ebp - 0x71f], al
mov byte [ebp - 0x71e], al
lea esi, [ecx + edi + 1]
nop
mov cl, byte [ebp + eax - 0x404]
add byte [ebp - 0x71d], cl
mov byte [esi + eax - 1], cl
mov cl, byte [ebp + eax - 0x403]
add byte [ebp - 0x71e], cl
mov byte [esi + eax], cl
mov cl, byte [ebp + eax - 0x402]
add byte [ebp - 0x71f], cl
mov byte [esi + eax + 1], cl
mov cl, byte [ebp + eax - 0x401]
mov byte [esi + eax + 2], cl
add eax, 4
add dl, cl
cmp eax, 0x10
jl 0x4093d0
add dl, byte [ebp - 0x71f]
add edi, 0x10
add dl, byte [ebp - 0x71e]
add byte [ebp - 0x71d], dl
cmp edi, dword [ebp + 0x10]
jl 0x409377
mov edx, dword [ebp - 0x72c]
push edx
push 1
lea eax, [ebp - 0x721]
push 1
push eax
call fcn.0059b2f7
mov al, byte [ebp - 0x720]
add esp, 0x10
cmp al, byte [ebp - 0x721]
jne 0x40947d
cmp al, byte [ebp - 0x71d]
jne 0x40947d
pop edi
pop ebx
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00599821
mov esp, ebp
pop ebp
ret 0x10
push 0
push str.Error__
push str.Header_Version_Error__
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [ebp - 4]
pop edi
pop ebx
xor ecx, ebp
xor eax, eax
pop esi
call fcn.00599821
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4094e0
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa
Manually build aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x6ac30c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor ecx, ecx
mov eax, 1
push edi
lea ecx, [ecx]
mov edx, eax
and dl, 0x80
movsx edx, dl
neg edx
sbb edx, edx
lea esi, [eax + eax]
and edx, 0x1b
mov dword [ebp + ecx*4 - 0x804], eax
mov dword [ebp + eax*4 - 0x404], ecx
xor edx, esi
xor eax, edx
inc ecx
and eax, 0xff
cmp ecx, 0x100
jl 0x409500
mov eax, 1
mov ecx, 0x6adc10
lea esp, [esp]
mov edx, eax
and dl, 0x80
movsx edx, dl
neg edx
sbb edx, edx
mov dword [ecx], eax
add eax, eax
and edx, 0x1b
xor eax, edx
add ecx, 4
and eax, 0xff
cmp ecx, 0x6adc38
jl 0x409540
mov byte [0x6afd38], 0x63
mov byte [0x6aec9b], 0
mov ebx, 1
jmp 0x409580
mov ecx, dword [ebp + ebx*4 - 0x404]
add ecx, ecx
add ecx, ecx
lea edx, [ebp - 0x408]
sub edx, ecx
mov eax, dword [edx]
mov ecx, eax
sar ecx, 7
lea edx, [eax + eax]
or ecx, edx
and ecx, 0xff
xor eax, ecx
mov edx, ecx
sar edx, 7
add ecx, ecx
or edx, ecx
and edx, 0xff
xor eax, edx
mov ecx, edx
add edx, edx
sar ecx, 7
or ecx, edx
and ecx, 0xff
xor eax, ecx
mov edx, ecx
sar edx, 7
add ecx, ecx
or edx, ecx
xor edx, 0x63
and edx, 0xff
xor eax, edx
mov byte [ebx + 0x6afd38], al
mov byte [eax + 0x6aec38], bl
inc ebx
cmp ebx, 0x100
jl 0x409580
xor ecx, ecx
movzx esi, byte [ecx + 0x6afd38]
mov edx, esi
and dl, 0x80
movsx edx, dl
neg edx
sbb edx, edx
and edx, 0x1b
lea eax, [esi + esi]
xor edx, eax
and edx, 0xff
mov eax, edx
xor eax, esi
shl eax, 8
xor eax, esi
shl eax, 8
xor eax, esi
shl eax, 8
xor eax, edx
mov dword [ecx*4 + 0x6af938], eax
rol eax, 8
mov dword [ecx*4 + 0x6af538], eax
rol eax, 8
mov dword [ecx*4 + 0x6af138], eax
rol eax, 8
mov dword [ecx*4 + 0x6aed38], eax
movzx eax, byte [ecx + 0x6aec38]
test eax, eax
je 0x4096c2
mov esi, dword [ebp + eax*4 - 0x404]
mov edx, dword [ebp - 0x3cc]
lea eax, [esi + edx]
cdq
mov edi, 0xff
idiv edi
mov eax, dword [ebp + edx*4 - 0x804]
mov edx, dword [ebp - 0x3e0]
mov dword [ebp - 0x808], eax
lea eax, [esi + edx]
cdq
idiv edi
mov eax, dword [ebp - 0x3d0]
add eax, esi
mov ebx, dword [ebp + edx*4 - 0x804]
cdq
idiv edi
mov edi, dword [ebp + edx*4 - 0x804]
mov edx, dword [ebp - 0x3d8]
lea eax, [esi + edx]
cdq
mov esi, 0xff
idiv esi
mov eax, dword [ebp - 0x808]
mov edx, dword [ebp + edx*4 - 0x804]
jmp 0x4096ca
xor eax, eax
xor ebx, ebx
xor edi, edi
xor edx, edx
shl edx, 8
xor edx, edi
shl edx, 8
xor edx, ebx
shl edx, 8
xor edx, eax
mov dword [ecx*4 + 0x6ae838], edx
rol edx, 8
mov dword [ecx*4 + 0x6ae438], edx
rol edx, 8
mov dword [ecx*4 + 0x6ae038], edx
rol edx, 8
mov dword [ecx*4 + 0x6adc38], edx
inc ecx
cmp ecx, 0x100
jl 0x4095f4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00599821
mov esp, ebp
pop ebp
ret