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

Disassembly:
mov eax, 0x411a97
call fcn.004111a0
push ecx
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [ebp - 0x14], esi
or dword [esi + 8], 0xffffffff
mov dword [esi], 0x41380c
mov dword [esi + 4], 1
mov dword [esi + 0xc], ebx
mov al, byte [ebp - 0xd]
lea ecx, [esi + 0x10]
push ebx
mov dword [ebp - 4], ebx
mov byte [ecx], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov al, byte [ebp - 0xd]
lea ecx, [esi + 0x20]
mov byte [ebp - 4], 1
mov byte [ecx], al
mov al, byte [ebp - 0xd]
mov byte [ecx + 1], al
mov byte [ecx + 8], bl
call fcn.0040592b
mov al, byte [ebp - 0xd]
lea edi, [esi + 0x30]
push ebx
push ebx
mov ecx, edi
mov byte [ebp - 4], 2
mov byte [edi], al
call fcn.00401558
mov ecx, dword [ebp - 0xc]
mov dword [edi + 4], eax
mov dword [edi + 8], ebx
mov dword [esi], 0x413814
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x405db6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x411e98
call fcn.004111a0
sub esp, 0x2c
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
call sub.MFC42.DLL_AfxGetModuleState
mov esi, dword [eax + 0xc]
push 0x419194
movzx eax, word [ebp + 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
je 0x405dfe
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x405e02
xor eax, eax
jmp 0x405e2e
push 0
push ebx
push eax
lea ecx, [ebp - 0x38]
call fcn.00410f92
mov ecx, dword [ebp - 0x10]
and dword [ebp - 4], 0
lea eax, [ebp - 0x38]
push eax
call fcn.00405ea7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
mov esi, eax
call sub.MFC42.DLL_CMemFile::CMemFile
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x407ad7
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x407ae5
xor eax, eax
pop ebp
ret
mov eax, dword [ebp + 8]
cmp dword [ebp + 0x10], 8
push esi
push edi
not eax
mov ecx, 0xff
jb 0x407bc6
mov edi, dword [ebp + 0x10]
push ebx
shr edi, 3
movzx ebx, byte [edx]
mov esi, eax
sub dword [ebp + 0x10], 8
and esi, ecx
xor esi, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [esi*4 + 0x414cec]
xor eax, ebx
inc edx
mov esi, eax
movzx ebx, byte [edx]
and esi, ecx
xor esi, ebx
movzx ebx, byte [edx + 1]
mov esi, dword [esi*4 + 0x414cec]
shr eax, 8
xor esi, eax
inc edx
mov eax, esi
and eax, ecx
xor eax, ebx
movzx ebx, byte [edx + 1]
mov eax, dword [eax*4 + 0x414cec]
shr esi, 8
xor eax, esi
inc edx
mov esi, eax
and esi, ecx
xor esi, ebx
movzx ebx, byte [edx + 1]
mov esi, dword [esi*4 + 0x414cec]
shr eax, 8
xor esi, eax
inc edx
mov eax, esi
and eax, ecx
xor eax, ebx
movzx ebx, byte [edx + 1]
mov eax, dword [eax*4 + 0x414cec]
shr esi, 8
xor eax, esi
inc edx
mov esi, eax
and esi, ecx
xor esi, ebx
movzx ebx, byte [edx + 1]
mov esi, dword [esi*4 + 0x414cec]
shr eax, 8
xor esi, eax
inc edx
mov eax, esi
and eax, ecx
xor eax, ebx
movzx ebx, byte [edx + 1]
mov eax, dword [eax*4 + 0x414cec]
shr esi, 8
xor eax, esi
inc edx
mov esi, eax
and esi, ecx
xor esi, ebx
shr eax, 8
mov esi, dword [esi*4 + 0x414cec]
xor eax, esi
inc edx
dec edi
jne 0x407b02
pop ebx
cmp dword [ebp + 0x10], 0
je 0x407be7
movzx edi, byte [edx]
mov esi, eax
and esi, ecx
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x414cec]
xor eax, esi
inc edx
dec dword [ebp + 0x10]
jne 0x407bcc
pop edi
pop esi
not eax
pop ebp
ret

Function at 0x407bed
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 4]
push esi
push edi
mov edx, 0xff
mov esi, dword [ecx]
movzx edi, byte [esp + 0x10]
mov eax, esi
and eax, edx
xor eax, edi
shr esi, 8
mov eax, dword [eax*4 + 0x414cec]
xor eax, esi
mov esi, dword [ecx + 8]
mov dword [ecx], eax
and eax, edx
add eax, dword [ecx + 4]
mov edi, esi
and edi, edx
imul eax, eax, 0x8088405
inc eax
mov dword [ecx + 4], eax
shr eax, 0x18
xor eax, edi
pop edi
shr esi, 8
mov eax, dword [eax*4 + 0x414cec]
xor eax, esi
pop esi
mov dword [ecx + 8], eax
ret

Function at 0x408442
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0xc]
imul edi, dword [ebp + 0x10]
cmp byte [esi], 0
je 0x408476
lea eax, [ebp + 8]
push 0
push eax
push edi
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x408471
mov byte [esi + 8], 1
mov eax, dword [ebp + 8]
jmp 0x40849e
mov ecx, dword [esi + 0x1c]
mov eax, dword [esi + 0x18]
lea edx, [ecx + edi]
cmp edx, eax
jbe 0x408487
sub eax, ecx
mov edi, eax
mov eax, dword [esi + 0x14]
push edi
add eax, ecx
push eax
push dword [ebp + 8]
call sub.MSVCRT.dll_memcpy
add esp, 0xc
add dword [esi + 0x1c], edi
mov eax, edi
xor edx, edx
pop edi
div dword [ebp + 0xc]
pop esi
pop ebp
ret
Function at 0x409249
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x4092f1
cmp dword [esi + 4], 0xffffffff
jne 0x4092f1
push edi
lea edi, [esi + 0x140]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push edi
call sub.MSVCRT.dll_strlen
mov al, byte [eax + esi + 0x13f]
pop ecx
cmp al, 0x5c
je 0x409299
cmp al, 0x2f
je 0x409299
push 0x419020
push edi
call sub.MSVCRT.dll_strcat
pop ecx
pop ecx
cmp dword [ebp + 0x10], 1
pop edi
jne 0x4092bb
push 1
push 0
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x4092bb
mov eax, 0x2000000
jmp 0x4092f6
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00408266
add esp, 0x10
test eax, eax
jne 0x4092d9
mov eax, dword [ebp - 4]
jmp 0x4092f6
push eax
call fcn.0040869a
mov dword [esi], eax
pop ecx
neg eax
sbb eax, eax
and ax, 0xfe00
add eax, 0x200
jmp 0x4092f6
mov eax, 0x1000000
pop esi
leave
ret 0xc

Function at 0x40976b
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
push edi
je 0x409792
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x409792
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov edi, dword [ebp + 0xc]
mov al, byte [edi]
test al, al
je 0x40982d
push esi
mov esi, edi
mov ecx, edi
cmp al, 0x2f
je 0x4097ac
cmp al, 0x5c
jne 0x4097ae
mov esi, ecx
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x4097a4
cmp esi, edi
je 0x4097e2
sub esi, edi
lea eax, [ebp - 0x208]
push esi
push edi
push eax
call sub.MSVCRT.dll_memcpy
and byte [ebp + esi - 0x208], 0
lea eax, [ebp - 0x208]
push eax
push ebx
call fcn.0040976b
add esp, 0x14
and byte [ebp - 0x104], 0
pop esi
test ebx, ebx
je 0x4097fd
lea eax, [ebp - 0x104]
push ebx
push eax
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
lea eax, [ebp - 0x104]
push edi
push eax
call sub.MSVCRT.dll_strcat
pop ecx
lea eax, [ebp - 0x104]
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x40982d
lea eax, [ebp - 0x104]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
pop edi
pop ebx
leave
ret
Function at 0x40b350
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
xor ebx, ebx
cmp edi, ebx
mov dword [esi + 0x10], ebx
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
jne 0x40b3e3
lea eax, [ebp - 4]
push eax
push str.PPStream.FDS
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x40b3de
lea eax, [ebp - 8]
mov dword [ebp + 8], ebx
push eax
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp + 8]
push eax
push ebx
push ebx
mov dword [ebp - 8], 0x104
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40b3d1
cmp dword [ebp + 8], 2
je 0x40b3c1
cmp dword [ebp + 8], 1
jne 0x40b3d1
mov eax, dword [ebp - 8]
lea edi, [ebp - 0x10c]
mov byte [ebp + eax - 0x10c], bl
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, ebx
jne 0x40b3e3
mov edi, str.fds.dll
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
mov dword [esi + 0x10], eax
je 0x40b401
push str.Initialize
push eax
call edi
mov dword [esi], eax
mov eax, dword [esi + 0x10]
cmp eax, ebx
je 0x40b413
push str.Uninitialize
push eax
call edi
mov dword [esi + 4], eax
mov eax, dword [esi + 0x10]
cmp eax, ebx
je 0x40b425
push str.getfile
push eax
call edi
mov dword [esi + 8], eax
mov eax, dword [esi + 0x10]
cmp eax, ebx
je 0x40b437
push str.getdil
push eax
call edi
mov dword [esi + 0xc], eax
mov eax, dword [esi]
cmp eax, ebx
je 0x40b43f
call eax
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x40c9a7
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x41238c
call fcn.004111a0
sub esp, 0x110
push ebx
push esi
push edi
mov ebx, ecx
and dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString_2
push dword [ebp + 8]
mov byte [ebp - 4], 2
push 0
push str.ShowWelcomeWindow
push str.Welcome_Page
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push dword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 0x18], eax
mov edi, 0x100
lea eax, [ebp - 0x11c]
push edi
push eax
push 0x419810
push str.Caption
push str.Update_Page
call esi
lea eax, [ebp - 0x11c]
lea ecx, [ebp - 0x14]
push eax
call fcn.00410f80
push dword [ebp + 8]
lea eax, [ebp - 0x11c]
push edi
push eax
push str.leftad.gif
push str.LeftPicture
push str.Picture
call esi
lea eax, [ebp - 0x11c]
lea ecx, [ebp - 0x10]
push eax
call fcn.00410f80
push 0x5c
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::ReverseFind
inc eax
lea ecx, [ebp + 8]
push eax
lea eax, [ebp - 0x1c]
push eax
call sub.MFC42.DLL_CString::Left
push dword [eax]
xor edi, edi
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
push edi
call sub.MFC42.DLL_CString::Insert
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
push dword [ebp - 0x10]
lea esi, [ebx + 0x574]
mov ecx, esi
call fcn.00405e3f
test eax, eax
jne 0x40caa6
push 0x87
mov ecx, esi
call fcn.00405db6
push dword [ebp - 0x14]
mov ecx, ebx
call sub.MFC42.DLL_CWnd::SetWindowTextA
push dword [ebp + 8]
push edi
push str.DefaultAction
push str.Main
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, 1
jne 0x40caeb
push ecx
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call sub.MFC42.DLL_CString::CString_1
mov ecx, ebx
call fcn.0040cdef
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xcc]
jmp 0x40cb1b
cmp dword [ebp - 0x18], edi
push ecx
mov ecx, esp
je 0x40cb08
lea eax, [ebp + 8]
mov dword [ebp - 0x18], esp
push eax
call sub.MFC42.DLL_CString::CString_1
mov ecx, ebx
call fcn.0040cb5e
jmp 0x40cb1b
lea eax, [ebp + 8]
mov dword [ebp - 0x18], esp
push eax
call sub.MFC42.DLL_CString::CString_1
mov ecx, ebx
call fcn.0040cdef
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
push 1
pop eax
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
Function at 0x40e50a
Capabilities:
Download and write a file
Get http content length
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1019c
call fcn.004112f0
push ebx
push esi
push edi
mov esi, str.Accept:___r_n_r_n
lea edi, [ebp - 0x34]
xor ebx, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push ebx
lea eax, [ebp - 0x34]
push 9
push eax
movsd dword es:[edi], dword [esi]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [ebp - 0x34]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
cmp eax, ebx
mov dword [ebp + 0xc], eax
jne 0x40e551
push 1
jmp 0x40e597
push 4
mov edi, dword [sym.imp.WININET.dll_HttpQueryInfoA]
pop esi
lea ecx, [ebp - 0x14]
push ebx
push ecx
lea ecx, [ebp - 0xc]
mov dword [ebp - 0xc], ebx
push ecx
push 0x20000013
push eax
mov dword [ebp - 0x14], esi
call edi
test eax, eax
je 0x40e595
cmp dword [ebp - 0xc], 0x12c
ja 0x40e595
push 0x419a84
push dword [ebp + 0x10]
call dword [sym.imp.MSVCRT.dll_fopen]
pop ecx
cmp eax, ebx
pop ecx
mov dword [ebp + 8], eax
jne 0x40e59d
push 2
pop eax
jmp 0x40e6ce
lea eax, [ebp - 0x10]
push ebx
push eax
lea eax, [ebp - 8]
push eax
push 0x20000005
push dword [ebp + 0xc]
mov dword [ebp - 0x10], esi
mov dword [ebp - 8], ebx
xor esi, esi
call edi
test eax, eax
jne 0x40e5bf
mov dword [ebp - 8], ebx
push 0xa
pop edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp + 0x10], eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x1019c]
push 0x4000
push eax
push dword [ebp + 0xc]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x40e6b6
cmp dword [ebp - 4], ebx
push dword [ebp + 8]
je 0x40e6bb
push dword [ebp - 4]
lea eax, [ebp - 0x1019c]
push 1
push eax
call dword [sym.imp.MSVCRT.dll_fwrite]
mov ecx, dword [ebp - 8]
add esi, dword [ebp - 4]
add esp, 0x10
cmp ecx, ebx
je 0x40e644
cmp dword [ebp + 0x14], ebx
je 0x40e644
mov eax, esi
xor edx, edx
imul eax, eax, 0x64
div ecx
push ebx
push eax
push 0x402
push dword [ebp + 0x1c]
push dword [ebp + 0x14]
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
push dword [ebp + 0x14]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, dword [ebp - 8]
cmp dword [ebp + 0x20], ebx
je 0x40e69d
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], ebx
fild qword [ebp - 0x24]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], ebx
fild qword [ebp - 0x1c]
push ecx
push ecx
fmul dword [0x415788]
mov eax, esi
shr ecx, 0xa
fdivp st(1)
shr eax, 0xa
fmul dword [0x415670]
fstp qword [esp]
push ecx
push eax
lea eax, [ebp - 0x19c]
push 0x419a5c
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x18
lea eax, [ebp - 0x19c]
push eax
push dword [ebp + 0x20]
call dword [sym.imp.USER32.dll_SetWindowTextA]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
sub edi, dword [ebp + 0x10]
jne 0x40e5cb
push 0xa
pop edi
jmp 0x40e5cb
push 3
pop ebx
jmp 0x40e6c2
call dword [sym.imp.MSVCRT.dll_fflush]
pop ecx
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll_fclose]
pop ecx
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40e6d3
Capabilities:
Check internet connectivity via wininet
Create http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push esi
xor esi, esi
push edi
lea eax, [ebp - 4]
push esi
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x40e74b
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea eax, [ebp - 0x44]
push str.Agent_ld
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
test byte [ebp - 4], 4
push esi
push esi
push esi
jne 0x40e712
push 4
jmp 0x40e713
push esi
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
mov edi, eax
cmp edi, esi
je 0x40e74b
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push edi
call fcn.0040e50a
add esp, 0x1c
mov esi, eax
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, esi
jmp 0x40e74e
push 4
pop eax
pop edi
pop esi
leave
ret
Function at 0x40f987
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
lea eax, [ebp + 0xc]
push esi
push eax
push 1
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x40f9e0
lea eax, [ebp + 8]
mov dword [ebp + 8], 0x104
push eax
lea eax, [ebp - 0x104]
push eax
push esi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
lea eax, [ebp - 0x104]
push eax
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret
Function at 0x45c690
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x435015
lea edi, [esi - 0x34015]
push edi
jmp 0x45c6aa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x45c6b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45c6a0
mov eax, 1
add ebx, ebx
jne 0x45c6c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x45c6d4
jne 0x45c6f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45c6f3
dec eax
add ebx, ebx
jne 0x45c6e0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x45c6b8
add ebx, ebx
jne 0x45c6ef
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x45c745
xor ecx, ecx
sub eax, 3
jb 0x45c70b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x45c77a
sar eax, 1
mov ebp, eax
jmp 0x45c716
add ebx, ebx
jne 0x45c716
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45c6e4
inc ecx
add ebx, ebx
jne 0x45c724
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45c6e4
add ebx, ebx
jne 0x45c731
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x45c726
jne 0x45c742
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x45c726
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x45c764
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x45c756
jmp 0x45c6a6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x45c764
add edi, ecx
jmp 0x45c6a6
pop esi
mov edi, esi
mov ecx, 0x18
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x45c782
cmp byte [edi], 0x73
jne 0x45c782
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x45c787
lea edi, [esi + 0x5a000]
mov eax, dword [edi]
or eax, eax
je 0x45c7f6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x5c244]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x5c2cc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x45c7b4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x5c2d4]
or eax, eax
je 0x45c7f0
mov dword [ebx], eax
add ebx, 4
jmp 0x45c7d1
call dword [esi + 0x5c2d0]
mov ebp, dword [esi + 0x5c2d8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x45c82a
sub esp, 0xffffff80
jmp 0x434330
Function at 0x436710
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [ebp - 4], eax
cmp dword [0x439724], 0
jne 0x43673c
push 0x1019
push 0
call dword [sym.imp.USER32.dll_LoadIconA]
test eax, eax
je 0x43673c
xor eax, eax
jmp 0x436770
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp eax, 0xfffffffe
je 0x43674b
xor eax, eax
jmp 0x436770
push 0x10022
call dword [ebp - 4]
test eax, eax
jne 0x436768
mov ecx, section..text
sub ecx, 0x51615
mov dword [0x439728], ecx
mov eax, dword [0x439728]
add eax, 4
mov esp, ebp
pop ebp
ret

Function at 0x4368e0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
jmp 0x4368f8
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jae 0x43699c
mov edx, dword [ebp - 4]
sub edx, 0x231d
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
movzx edx, word [ecx + eax*2 + 0x463a]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
shr eax, 0xc
cmp eax, 3
jne 0x436997
mov ecx, dword [ebp - 8]
push ecx
call fcn.00436e40
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 4], 0
jne 0x436956
push 0x154b
push 0
call dword [sym.imp.USER32.dll_LoadIconA]
test eax, eax
je 0x436956
xor eax, eax
jmp 0x43699c
mov edx, dword [ebp + 0x18]
mov eax, dword [edx]
mov ecx, dword [ebp - 8]
lea edx, [ecx + eax - 0x4c3f8]
mov eax, dword [ebp + 0x18]
mov dword [eax], edx
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + edx]
add ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
mov eax, dword [edx]
mov edx, dword [ebp + 0x10]
mov dword [edx + eax], ecx
mov eax, dword [ebp - 8]
sub eax, 0x4c3f8
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx]
sub edx, eax
mov eax, dword [ebp + 0x18]
mov dword [eax], edx
jmp 0x4368ef
mov esp, ebp
pop ebp
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40de38
nop
nop
mov ecx, 0x4a7d38d4
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
mov ecx, 0x34479ef
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43306c
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219