joyce8/EMBER2024-capa huggingface dataset:
Function at 0xa58058
Capabilities:
Decompress data using aplib

Disassembly:
call 0xa581a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xa5807e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xa5806a
add dl, dl
jne 0xa58089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xa580dc
xor eax, eax
add dl, dl
jne 0xa58096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xa5817d
add dl, dl
jne 0xa580a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xa580b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xa580bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xa580c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xa580d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xa58075
mov eax, 1
add dl, dl
jne 0xa580ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xa580f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xa580e1
sub eax, ebx
mov ebx, 1
jne 0xa58128
mov ecx, 1
add dl, dl
jne 0xa5810e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xa58119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xa58105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xa58075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xa5813f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xa5814a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xa58136
cmp eax, 0x7d00
jae 0xa5816d
cmp eax, 0x500
jb 0xa58168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xa58075
cmp eax, 0x7f
ja 0xa58170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xa58075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xa5819e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xa58075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x401710
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xe0
mov edi, dword [0x407094]
mov esi, dword [ebp + 8]
test edi, edi
je 0x4018d0
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call dword [0x407094]
movzx eax, al
bt eax, esi
jae 0x401930
mov ecx, dword [0x407084]
xor eax, eax
mov edx, dword fs:[0x18]
cmp dword [edx + 0x24], ecx
je 0x4017d5
test byte [0x402074], 8
jne 0x401870
lea ebx, [ebp - 0xd4]
mov edi, ebx
test byte [0x402084], 8
jne 0x401820
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
mov dword [esp + 4], str._04x:
mov dword [esp], edi
mov dword [esp + 8], eax
call sym._sprintf
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x4017a4
cmp esi, 3
jbe 0x4017e0
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp], ebx
mov esi, eax
call dword [sym.imp.ucrtbase.dll_strlen]
mov dword [esp + 0xc], esi
mov dword [esp + 8], eax
mov dword [esp + 4], 1
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0xe0
pop ebx
pop esi
pop edi
pop ebp
ret
add eax, edi
mov edi, dword [ebp + 0x10]
mov dword [esp + 8], str._s:_s:_s
mov dword [esp], eax
mov dword [esp + 0x14], edi
mov edi, dword [ebp + 0xc]
lea edx, [edi + 1]
mov dword [esp + 0x10], edx
mov edx, dword [esi*4 + 0x4041c4]
mov dword [esp + 0xc], edx
mov edx, ebx
sub edx, eax
add edx, 0xc8
mov dword [esp + 4], edx
call sym._snprintf.constprop.0
jmp 0x4017a4
mov ecx, dword [0x407094]
test ecx, ecx
je 0x401910
mov dword [esp], 0x402084
call dword [0x407094]
test al, 8
je 0x40177b
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x20]
mov dword [esp], edi
mov dword [esp + 4], str._04x:
mov dword [esp + 8], eax
call sym._sprintf
add edi, eax
jmp 0x40177b
mov ebx, dword [0x407094]
test ebx, ebx
je 0x4018f0
mov dword [esp], 0x402074
call dword [0x407094]
test al, 8
je 0x401766
call dword [sym.imp.kernel32.dll_GetTickCount]
mov edx, 0x10624dd3
lea ebx, [ebp - 0xd4]
mov dword [esp + 4], str._3u._03u:
mov ecx, eax
mul edx
mov dword [esp], ebx
shr edx, 6
imul eax, edx, 0x3e8
mov dword [esp + 8], edx
sub ecx, eax
mov dword [esp + 0xc], ecx
call sym._sprintf
lea edi, [ebx + eax]
jmp 0x40176e
mov ecx, sym._fallback__wine_dbg_get_channel_flags
mov edx, str.__wine_dbg_get_channel_flags
mov eax, 0x407094
call sym._load_func.part.0
jmp 0x40172d
mov ecx, sym._fallback__wine_dbg_get_channel_flags
mov edx, str.__wine_dbg_get_channel_flags
mov eax, 0x407094
call sym._load_func.part.0
jmp 0x40187a
mov ecx, sym._fallback__wine_dbg_get_channel_flags
mov edx, str.__wine_dbg_get_channel_flags
mov eax, 0x407094
call sym._load_func.part.0
jmp 0x40182e
mov eax, 0xffffffff
jmp 0x4017d5
Function at 0x401940
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x401998
cmp byte [esi + ebx - 1], 0xa
je 0x40196c
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x407084], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0x10
pop ebx
pop esi
pop ebp
ret

Function at 0x401a40
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, eax
lea eax, [ebp - 0x7c]
push ebx
sub esp, 0x88
mov dword [esp + 4], eax
mov dword [esp], str.browseui.dll
call dword [0x4091dc]
sub esp, 8
test eax, eax
jne 0x401a80
mov dword [esp], str.Native_IE_detected__not_doing_registration_n
call sym._wine_dbg_printf.constprop.0
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword fs:[0x18]
mov dword [esp + 8], eax
mov edi, eax
mov dword [esp + 4], 0
mov eax, dword [edx + 0x30]
mov dword [ebp - 0x80], edx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov ebx, eax
mov dword [esp + 8], edi
lea edi, [ebp - 0x74]
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0
mov dword [esp], str.browseui.dll
call dword [0x4091e0]
lea eax, [ebp - 0x70]
sub esp, 0x10
mov dword [esp + 8], eax
mov eax, dword [0x4091e4]
mov dword [esp + 0xc], edi
mov dword [esp + 4], str.VarFileInfoTranslation
mov dword [esp], ebx
mov dword [ebp - 0x84], eax
call eax
sub esp, 0x10
test eax, eax
jne 0x401b28
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
jmp 0x401a69
mov eax, dword [ebp - 0x70]
movzx ecx, word [eax + 2]
mov dword [esp + 0xc], ecx
movzx eax, word [eax]
lea ecx, [ebp - 0x6c]
mov dword [esp], ecx
mov dword [esp + 8], eax
mov dword [esp + 4], str.StringFileInfo_04x_04xFileDescription
call dword [0x4091d0]
lea eax, [ebp - 0x78]
lea ecx, [ebp - 0x6c]
mov dword [esp + 0xc], edi
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x84]
mov dword [esp + 4], ecx
mov dword [esp], ebx
call eax
sub esp, 0x10
test eax, eax
je 0x401af9
mov eax, dword [ebp - 0x78]
mov dword [esp + 4], 0x4040e6
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_wcsstr]
mov edx, dword [ebp - 0x80]
test eax, eax
je 0x401af9
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov edx, str.UnregisterIE
mov eax, str.RegisterIE
sub esp, 0xc
test esi, esi
cmove eax, edx
mov dword [esp + 8], 0
mov dword [esp], 0
mov dword [esp + 4], eax
call sym._RegInstallA_12
sub esp, 0xc
lea esp, [ebp - 0xc]
shr eax, 0x1f
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x401d60
Capabilities:
Accept command line arguments
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x58
call dword [sym.imp.kernel32.dll_GetCommandLineW]
mov ebx, eax
movzx eax, word [eax]
test ax, ax
je 0x401deb
cmp ax, 9
je 0x401dd8
cmp ax, 0x20
je 0x401dd8
mov dword [ebp - 0x54], 0
xor esi, esi
nop
cmp ax, 0x5c
je 0x401e40
cmp ax, 0x22
je 0x401e50
mov dword [ebp - 0x54], 0
movzx eax, word [ebx + 2]
add ebx, 2
test ax, ax
je 0x401deb
cmp ax, 9
sete dl
cmp ax, 0x20
sete cl
or dl, cl
je 0x401d90
test esi, 1
jne 0x401d90
lea esi, [esi]
movzx eax, word [ebx + 2]
add ebx, 2
cmp ax, 9
je 0x401dd8
cmp ax, 0x20
je 0x401dd8
lea eax, [ebp - 0x50]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetStartupInfoW]
sub esp, 4
test byte [ebp - 0x24], 1
je 0x401e68
movzx esi, word [ebp - 0x20]
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
sub esp, 4
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._wWinMain_16
sub esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
add dword [ebp - 0x54], 1
jmp 0x401dab
and dword [ebp - 0x54], 1
jne 0x401da4
xor esi, 1
jmp 0x401dab
mov eax, 1
mov esi, 1
mov word [ebp - 0x20], ax
jmp 0x401e04

Function at 0x401e80
Capabilities:
Get process heap flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov dword [esp], 1
call sym.__configure_wide_argv
call sym.__initialize_wide_environment
call sym.___p___argc
mov esi, dword [eax]
call sym.___p___wargv
mov edi, dword [eax]
call sym.__get_initial_wide_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
add eax, 1
mov dword [esp], eax
call sym.__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call sym._wmain
mov dword [esp], eax
call sym._exit
nop
nop
nop
Function at 0x10005480
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x10009018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
push ebx
push 4
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
test esi, esi
je 0x100054f1
lea eax, [ebp - 0x20]
push eax
push esi
mov dword [ebp - 0x20], 0x1c
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x100054f1
push edi
mov edi, dword [sym.imp.KERNEL32.dll_Thread32Next]
cmp dword [ebp - 0x14], ebx
je 0x100054d6
lea ecx, [ebp - 0x20]
push ecx
push esi
call edi
test eax, eax
jne 0x100054c6
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x18]
push edx
push 1
push 0x1a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov dword [0x10faa3b8], eax
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.1000565a
mov esp, ebp
pop ebp
ret

Function at 0x1000565a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10009018]
jne 0x10005664
repz ret
jmp fcn.10005b71

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

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x405076], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x405258], eax
mov dword [0x4051e0], 0x402b80
mov dword [0x4051dc], 2
jmp 0x4032d0
mov dword [0x4051e4], 0
mov dword [0x4051e8], 0
mov dword [0x4051d8], 0x30
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x4051ec], eax
mov dword [0x405200], 0x404080
mov dword [0x4051f8], 0xf
mov dword [0x40506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x4051f0], eax
mov dword [0x405204], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x4051f4], eax
push 0x4051d8
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x40506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push str.wait
push str.aroka
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x405250], eax
push 5
push dword [0x405250]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x405250]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x4033a3
push 0
push 0
push 0
push 0x405208
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x4033d0
push 0x405208
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x405208
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x4033a3
mov eax, dword [0x405210]
jmp 0x4033dd
call 0x402474
ret
Function at 0x401c63
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
lea edx, [ecx + 0x18]
add edx, eax
movzx eax, word [ecx + 6]
imul esi, eax, 0x28
add esi, edx
jmp 0x401c98
mov ecx, dword [edx + 0xc]
cmp dword [ebp + 0xc], ecx
jb 0x401c95
mov eax, dword [edx + 8]
add eax, ecx
cmp dword [ebp + 0xc], eax
jb 0x401ca1
add edx, 0x28
cmp edx, esi
jne 0x401c83
xor eax, eax
pop esi
pop ebp
ret
mov eax, edx
jmp 0x401c9e

Function at 0x40214b
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40218a
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40218a
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40218a
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40218a
cmp dword [ecx + 0x74], 0xe
jbe 0x40218a
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x40a0cd
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x41d040]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x40a118
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0040a266
test al, al
jne 0x40a112
sub edx, 2
cmp edx, edi
jne 0x40a0f8
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x40a13a
lea eax, [edi + 2]
cmp edx, eax
je 0x40a13a
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0040a019
add esp, 0x10
jmp 0x40a232
push esi
lea ecx, [ebp - 0x255]
call fcn.0040a266
sub edx, edi
xor ecx, ecx
sar edx, 1
inc edx
test al, al
lea eax, [ebp - 0x254]
cmovne ecx, edx
xor ebx, ebx
push ebx
push ebx
push ebx
push eax
push ebx
push edi
mov dword [ebp - 0x260], ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40a17b
push dword [ebp - 0x25c]
jmp 0x40a12a
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x40a1b8
cmp word [ebp - 0x226], 0
je 0x40a1d9
cmp word [ebp - 0x226], ax
jne 0x40a1b8
cmp word [ebp - 0x224], 0
je 0x40a1d9
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0040a019
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x40a225
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x40a192
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x40a20d
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x40a232
push 0x409e49
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.0040f1e0
add esp, 0x10
jmp 0x40a202
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004025ce
leave
ret
Function at 0x40d965
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.004087c8
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x40d9d4
cmp esi, dword [ebp - 4]
je 0x40d9cf
cmp dword [ebp + 0xc], 0
je 0x40d9cf
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x40d9ac
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.0040d4ba
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x40d9d6
xor eax, eax
inc eax
jmp 0x40d9d6
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x40da41
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x41d040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.004087c8
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.004087c8
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x40dab8
cmp word [ecx], dx
je 0x40dab8
mov eax, dword [0x41790c]
push edi
dec eax
push eax
push 0x4177f8
call fcn.0040d9da
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x40db2b
cmp word [eax], dx
je 0x40db2b
mov eax, dword [edi]
test eax, eax
je 0x40dadc
cmp word [eax], dx
je 0x40dadc
lea eax, [ebp - 0x10]
push eax
call fcn.0040d3c0
jmp 0x40dae5
lea eax, [ebp - 0x10]
push eax
call fcn.0040d45b
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x40db55
mov eax, dword [0x4177f4]
push dword [ebp - 0x14]
dec eax
push eax
push 0x4174e8
call fcn.0040d9da
add esp, 0xc
test al, al
je 0x40db55
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x40db20
cmp word [eax], di
je 0x40db20
lea eax, [ebp - 0x10]
push eax
call fcn.0040d3c0
pop ecx
jmp 0x40db57
lea eax, [ebp - 0x10]
push eax
call fcn.0040d45b
jmp 0x40db1d
mov eax, dword [edi]
test eax, eax
je 0x40db42
cmp word [eax], dx
je 0x40db42
lea eax, [ebp - 0x10]
push eax
call fcn.0040d375
pop ecx
jmp 0x40db55
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x40dc20
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.0040d85f
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x40dc20
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x40dc20
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x40dc20
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x40dbad
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.004096b5
test ebx, ebx
je 0x40dc1b
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.004096b5
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x40dc20
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x40dc20
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.0040fb00
add esp, 0x10
xor eax, eax
inc eax
jmp 0x40dc22
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004025ce
leave
ret
Function at 0x413740
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41376d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41376d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x427020
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.GBbNmguG
lea edi, [esi - 0x10000]
mov dword [edi + 0x1c708], 0x14a5a61e
push edi
or ebp, 0xffffffff
jmp 0x42704a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x427051
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x427040
mov eax, 1
add ebx, ebx
jne 0x427063
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x427058
jne 0x427074
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x427058
xor ecx, ecx
sub eax, 3
jb 0x427088
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4270fa
mov ebp, eax
add ebx, ebx
jne 0x427093
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4270a0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4270c4
inc ecx
add ebx, ebx
jne 0x4270b0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4270a5
jne 0x4270c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4270a5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4270e4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4270d5
jmp 0x427046
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4270e4
add edi, ecx
jmp 0x427046
pop esi
lea edi, [esi + 0x25000]
mov eax, dword [edi]
or eax, eax
je 0x427143
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x27218]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x27284]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x427101
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2728c]
or eax, eax
je 0x42713d
mov dword [ebx], eax
add ebx, 4
jmp 0x42711e
call dword [esi + 0x27288]
mov ebp, dword [esi + 0x27290]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x427177
sub esp, 0xffffff80
jmp section.SDBsyVcp