joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41291c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd4c
mov dword [ebp - 0x2b4], 0
lea eax, [ebp - 0x2a1]
push eax
lea eax, [ebp - 0x2b4]
push eax
push str.DWB_Temp_File_Temp_u.tmp
call fcn.0041671e
cmp eax, 0xffffffff
je 0x4129ff
mov dword [ebp - 0x38], eax
push 0x14
lea eax, [ebp - 0x2c]
push eax
call sub.KERNEL32.dll_RtlZeroMemory
push dword [ebp + 0x10]
push 5
call fcn.00406277
mov dword [ebp - 0x1c], eax
push dword [ebp + 0x10]
push 6
call fcn.00406277
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x2ac], eax
push dword [ebp + 0xc]
pop dword [ebp - 0x2c]
lea eax, [ebp - 0xa1]
push eax
push 2
push 0
push dword [ebp + 8]
call fcn.00415fc1
push eax
or eax, eax
jne 0x4129d7
push dword [ebp + 0x10]
push 7
call fcn.00406277
mov dword [ebp - 0x2a8], eax
lea eax, [ebp - 0x2a1]
mov dword [ebp - 0x2b0], eax
lea eax, [ebp - 0x2b0]
push eax
push 0x412a03
push dword [ebp + 0xc]
push str.PostPrgsDlg
push dword [0x41f044]
call sub.USER32.dll_DialogBoxParamA
lea eax, [ebp - 0x2a1]
push eax
call sub.KERNEL32.dll_DeleteFileA
pop eax
or eax, eax
je 0x4129ff
push 0
push 0x41f9bd
push str.The_DNL_reader_need_to_install_extensions_to_properly_run_this_Digital_Web_r_nBook._It_is_unable_to_do_this_at_present._Some_of_the_possible_reasons_are:_r_n_r_n1._This_computer_may_not_be_connected_to_the_Internet_or_you_may_be_r_nexperiencing_network_problems._r_n_r_n2._Your_firewall_software_may_not_be_prompting_you_to_give_you_a_choice_to_r_ndownload_the_extension_the_DNL_reader_requires_to_use_this_Digital_Web_Book._r_n_r_nPossible_solution:_r_nA._Temporarily_switch_off_the_firewall_to_allow_this_program_to_access_the_r_nInternet._r_nB._Configure_your_firewall_to_allow_the_DNL_reader_to_access_the_Internet._r_n_r_n3._If_you_are_using_a_proxy_server_or_external_gateway__please_ensure_that_r_nit_is_correctly_configured._If_you_are_connecting_to_the_internet_using_a_r_ncorporate_network__please_ask_your_network_administrator_for_help._r_n
push dword [0x41f048]
call sub.USER32.dll_MessageBoxA
leave
ret 0xc

Function at 0x412b4f
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
cmp dword [ebp + 0x18], 2
je 0x412b9c
push 0
push 0x80
push dword [ebp + 0xc]
push 0
push 0
push 0x40000000
push dword [ebp + 8]
call sub.KERNEL32.dll_CreateFileA
cmp eax, 0xffffffff
je 0x412bd8
mov dword [ebp - 4], eax
cmp dword [ebp + 0x18], 3
jne 0x412b92
push eax
push dword [ebp - 4]
call sub.KERNEL32.dll_CloseHandle
pop eax
jmp 0x412bd8
cmp dword [ebp + 0x18], 4
jne 0x412ba2
jmp 0x412bd8
push dword [ebp + 0xc]
pop dword [ebp - 4]
cmp dword [ebp + 0x18], 1
jne 0x412bb6
push 0
push 0
push 1
push dword [ebp - 4]
call sub.KERNEL32.dll_SetNamedPipeHandleState
push 0
lea eax, [ebp - 8]
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 4]
call sub.KERNEL32.dll_WriteFile
cmp dword [ebp + 0x18], 2
je 0x412bd8
push dword [ebp - 4]
call sub.KERNEL32.dll_CloseHandle
leave
ret 0x14
Function at 0x418a35
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x420b10
cmp edx, dword [eax]
je 0x418a57
add eax, 8
inc ecx
cmp eax, 0x420ba0
jl 0x418a48
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x420b10]
jne 0x418b85
mov eax, dword [0x42512c]
cmp eax, 1
je 0x418b5f
test eax, eax
jne 0x418a88
cmp dword [0x420a60], 1
je 0x418b5f
cmp edx, 0xfc
je 0x418b85
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x418abf
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00419020
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004191d0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x418b02
lea eax, [ebp - 0x1a4]
push eax
call fcn.004191d0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x41d788
push edi
call fcn.0041a870
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00419020
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00419030
lea eax, [ebp - 0xa0]
push 0x41d768
push eax
call fcn.00419030
push dword [esi + 0x420b14]
lea eax, [ebp - 0xa0]
push eax
call fcn.00419030
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0041a7e4
add esp, 0x2c
pop edi
jmp 0x418b85
lea eax, [ebp + 8]
lea esi, [esi + 0x420b14]
push 0
push eax
push dword [esi]
call fcn.004191d0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x41cde4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffffc
push str.Debug_Window_for_MASM32
push 0
call sub.USER32.dll_FindWindowA
or eax, eax
jne 0x41ce12
push 1
push str.masm32_bindbgwin.exe
call sub.KERNEL32.dll_WinExec
push str.Debug_Window_for_MASM32
push 0
call sub.USER32.dll_FindWindowA
or eax, eax
je 0x41ce89
mov dword [ebp - 4], eax
push 0
push 0x4230a6
push 0
push dword [ebp - 4]
call sub.USER32.dll_FindWindowExA
mov dword [ebp - 4], eax
push 0
push 0
push 0xe
push dword [ebp - 4]
call sub.USER32.dll_SendMessageA
push eax
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xb1
push dword [ebp - 4]
call sub.USER32.dll_SendMessageA
pop eax
or eax, eax
je 0x41ce66
push 0x4230a3
push 0
push 0xc2
push dword [ebp - 4]
call sub.USER32.dll_SendMessageA
push dword [ebp + 8]
push 0
push 0xc2
push dword [ebp - 4]
call sub.USER32.dll_SendMessageA
push 0
push 0
push 0xb7
push dword [ebp - 4]
call sub.USER32.dll_SendMessageA
leave
ret 4
Function at 0x402d28
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0xa75008], 0x8088405
inc edx
mov dword [ebx + 0xa75008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x42ec60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push ebp
mov edi, ecx
mov ecx, dword [ebp + 8]
mov esi, ecx
shr esi, 2
je 0x42ec8d
lea edi, [edi + esi*4]
lea edx, [edx + esi*4]
lea eax, [eax + esi*4]
neg esi
mov ebx, dword [eax + esi*4]
mov ebp, dword [edx + esi*4]
mov dword [edi + esi*4], ebx
xor dword [eax + esi*4], ebp
inc esi
jne 0x42ec7e
and ecx, 3
je 0x42eca5
mov bl, byte [ecx + eax - 1]
mov bh, byte [ecx + edx - 1]
mov byte [ecx + edi - 1], bl
xor byte [ecx + eax - 1], bh
dec ecx
jne 0x42ec92
pop ebp
pop esi
pop edi
pop ebx
pop ebp
ret 4

Function at 0x42ecb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push ebp
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push esi
shr esi, 2
je 0x42ece9
lea ecx, [ecx + esi*4]
lea edi, [edi + esi*4]
lea edx, [edx + esi*4]
lea eax, [eax + esi*4]
neg esi
mov ebp, dword [eax + esi*4]
mov ebx, dword [edi + esi*4]
xor ebx, dword [edx + esi*4]
mov dword [edx + esi*4], ebx
xor ebx, dword [ecx + esi*4]
mov dword [edi + esi*4], ebp
mov dword [eax + esi*4], ebx
inc esi
jne 0x42ecd1
pop esi
and esi, 3
je 0x42ed0e
mov bl, byte [esi + eax - 1]
mov bh, byte [esi + edx - 1]
xor bh, byte [esi + edi - 1]
mov byte [esi + edx - 1], bh
xor bh, byte [esi + ecx - 1]
mov byte [esi + edi - 1], bl
mov byte [esi + eax - 1], bh
dec esi
jne 0x42ecef
pop ebp
pop esi
pop edi
pop ebx
pop ebp
ret 8

Function at 0x42ed18
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov edi, ecx
mov ecx, dword [ebp + 8]
mov esi, ecx
shr esi, 2
je 0x42ed44
lea edi, [edi + esi*4]
lea edx, [edx + esi*4]
lea eax, [eax + esi*4]
neg esi
mov ebx, dword [edx + esi*4]
xor ebx, dword [eax + esi*4]
mov dword [edi + esi*4], ebx
mov dword [eax + esi*4], ebx
inc esi
jne 0x42ed35
and ecx, 3
je 0x42ed5c
mov bl, byte [ecx + edx - 1]
xor bl, byte [ecx + eax - 1]
mov byte [ecx + edi - 1], bl
mov byte [ecx + eax - 1], bl
dec ecx
jne 0x42ed49
pop esi
pop edi
pop ebx
pop ebp
ret 4

Function at 0x42ed64
Capabilities:
Encode data using xor

Disassembly:
push ebx
push edi
shr ecx, 1
lea edi, [eax + ecx*8]
lea edx, [edx + ecx*8]
neg ecx
mov ebx, dword [edx + ecx*8]
mov eax, dword [edx + ecx*8 + 4]
xor dword [edi + ecx*8], ebx
xor dword [edi + ecx*8 + 4], eax
inc ecx
jne 0x42ed70
pop edi
pop ebx
ret
Function at 0x42f68c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call dword [eax + 0x20]
mov esi, eax
mov eax, esi
shr eax, 2
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
call fcn.0042f2e4
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x9917cb
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, esi
add eax, eax
push eax
mov eax, dword [ebp - 8]
pop edx
mov ecx, edx
cdq
idiv ecx
mov edi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov dword [ebp - 0x14], eax
dec edi
test edi, edi
jl 0x42f73a
inc edi
mov edx, dword [ebp - 0x10]
mov eax, ebx
mov ecx, esi
call fcn.00402910
mov edx, ebx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov edx, dword [ebp - 0x14]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
call fcn.0042ed64
lea eax, [ebx + esi]
mov ebx, eax
mov edx, dword [ebp - 0x14]
mov eax, ebx
mov ecx, esi
call fcn.00402910
mov edx, ebx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov edx, dword [ebp - 0x10]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
call fcn.0042ed64
lea eax, [ebx + esi]
mov ebx, eax
dec edi
jne 0x42f6e7
mov eax, esi
add eax, eax
push eax
mov eax, dword [ebp - 8]
pop edx
mov ecx, edx
cdq
idiv ecx
mov edi, edx
cmp esi, edi
jg 0x42f788
mov edx, dword [ebp - 0x10]
mov eax, ebx
mov ecx, esi
call fcn.00402910
mov edx, ebx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov edx, dword [ebp - 0x14]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
call fcn.0042ed64
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 0x10]
mov ecx, esi
call fcn.00402910
lea eax, [ebx + esi]
mov ebx, eax
sub edi, esi
test edi, edi
jle 0x42f7b2
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x5c]
dec edi
test edi, edi
jl 0x42f7b2
inc edi
xor eax, eax
mov edx, dword [ebp - 4]
mov edx, dword [edx + 8]
mov dl, byte [edx + eax]
xor byte [ebx + eax], dl
inc eax
dec edi
jne 0x42f7a2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x9917d2
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.0042f480
ret

Function at 0x43df94
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
xor ebx, ebx
mov bl, dl
dec ebx
test ebx, ebx
jl 0x43dfe8
inc ebx
xor edx, edx
mov ecx, edx
shl ecx, 2
movzx esi, byte [eax + ecx]
lea esi, [esi*4 + 0xa75814]
mov esi, dword [esi]
movzx edi, byte [eax + ecx + 1]
lea edi, [edi*4 + 0xa75c14]
xor esi, dword [edi]
movzx edi, byte [eax + ecx + 2]
lea edi, [edi*4 + 0xa76014]
xor esi, dword [edi]
movzx edi, byte [eax + ecx + 3]
lea edi, [edi*4 + 0xa76414]
xor esi, dword [edi]
lea ecx, [eax + ecx]
mov dword [ecx], esi
inc edx
dec ebx
jne 0x43dfa3
pop edi
pop esi
pop ebx
ret
Function at 0x49efd0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, ecx
mov dword [ebp - 4], eax
mov esi, dword [0xa96c70]
mov eax, dword [ebp - 4]
mov byte [eax + 0x210], 1
xor eax, eax
push ebp
push 0xa011a9
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004971a0
add dword [ebp - 0xc], 4
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.004983c8
mov eax, dword [esi]
call fcn.00485ca0
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4c]
add edx, dword [ebp - 0x14]
cmp eax, edx
jge 0x49f042
mov eax, dword [esi]
call fcn.00485ca0
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x4c]
mov dword [ebp - 0x14], eax
mov eax, dword [esi]
call fcn.00485cac
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x48]
add edx, dword [ebp - 0x18]
cmp eax, edx
jge 0x49f066
mov eax, dword [esi]
call fcn.00485cac
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x48]
mov dword [ebp - 0x18], eax
mov eax, dword [esi]
call fcn.00485c94
cmp eax, dword [ebp - 0x18]
jle 0x49f07c
mov eax, dword [esi]
call fcn.00485c94
mov dword [ebp - 0x18], eax
mov eax, dword [esi]
call fcn.00485c88
cmp eax, dword [ebp - 0xc]
jle 0x49f092
mov eax, dword [esi]
call fcn.00485c88
mov dword [ebp - 0xc], eax
push 0x10
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
call fcn.0049d958
push eax
call fcn.004078d4
call fcn.00406e14
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x214]
cmp eax, 0xfa
jbe 0x49f159
mov eax, ebx
call fcn.00404534
cmp eax, 0x64
jge 0x49f159
cmp dword [0xa8426c], 0
je 0x49f159
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0x1016
call fcn.00407924
cmp dword [ebp - 8], 0
je 0x49f159
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0x1018
call fcn.00407924
cmp dword [ebp - 8], 0
je 0x49f11c
mov bl, 2
jmp 0x49f137
lea edx, [ebp - 0x20]
mov eax, dword [0xa9e830]
call fcn.004a2268
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x14]
jle 0x49f135
xor ebx, ebx
jmp 0x49f137
mov bl, 1
xor eax, eax
mov al, bl
mov eax, dword [eax*4 + 0xa84374]
or eax, 0x40000
push eax
push 0x64
mov eax, dword [ebp - 4]
call fcn.0049d958
push eax
call dword [0xa8426c]
mov eax, dword [0xa96a7c]
mov eax, dword [eax]
mov edx, dword [eax + 0x30]
mov eax, dword [ebp - 4]
call fcn.0049b08c
push 4
mov eax, dword [ebp - 4]
call fcn.0049d958
push eax
call fcn.0040791c
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x7c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xa011b0
call fcn.00406e14
mov edx, dword [ebp - 4]
mov dword [edx + 0x214], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x210], 0
ret
Function at 0x4d31c4
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
test dl, dl
je 0x4d31d7
add esp, 0xfffffff0
call fcn.004036f0
mov esi, ecx
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0040335c
mov byte [ebx + 4], 0
cmp dword [esi + 0x5c], 0
jne 0x4d31fd
cmp dword [esi + 0x58], 0x40
jb 0x4d33e3
jmp 0x4d3203
jl 0x4d33e3
lea eax, [ebx + 0xc]
mov edx, 0x40
call fcn.004079c8
push 0
push 0
push 0
push 0x40
lea edx, [ebx + 0xc]
mov eax, esi
call fcn.004d2ac8
cmp word [ebx + 0xc], 0x5a4d
jne 0x4d33e3
mov ecx, dword [ebx + 0x48]
test ecx, ecx
jle 0x4d33e3
cmp ecx, 0x10000
jge 0x4d33e3
mov eax, ecx
add eax, 4
add eax, 0x14
cdq
cmp edx, dword [esi + 0x5c]
jne 0x4d325e
cmp eax, dword [esi + 0x58]
ja 0x4d33e3
jmp 0x4d3264
jg 0x4d33e3
lea eax, [ebx + 0x4c]
mov edx, 4
call fcn.004079c8
mov eax, dword [ebx + 0x48]
cdq
push edx
push eax
push 0
push 4
lea edx, [ebx + 0x4c]
mov eax, esi
call fcn.004d2ac8
cmp dword [ebx + 0x4c], 0x4550
jne 0x4d33e3
lea eax, [ebx + 0x50]
mov edx, 0x14
call fcn.004079c8
mov eax, dword [ebx + 0x48]
add eax, 4
cdq
push edx
push eax
push 0
push 0x14
lea edx, [ebx + 0x50]
mov eax, esi
call fcn.004d2ac8
mov ax, word [ebx + 0x50]
cmp ax, 0x8664
jne 0x4d331b
mov eax, dword [ebx + 0x48]
add eax, 4
add eax, 0x14
add eax, 0xf0
cdq
cmp edx, dword [esi + 0x5c]
jne 0x4d32df
cmp eax, dword [esi + 0x58]
ja 0x4d336c
jmp 0x4d32e5
jg 0x4d336c
lea eax, [ebx + 0x144]
mov edx, 0xf0
call fcn.004079c8
mov eax, dword [ebx + 0x48]
add eax, 4
add eax, 0x14
cdq
push edx
push eax
push 0
push 0xf0
lea edx, [ebx + 0x144]
mov eax, esi
call fcn.004d2ac8
mov byte [ebx + 4], 1
jmp 0x4d336c
cmp ax, 0x14c
jne 0x4d336c
mov eax, dword [ebx + 0x48]
add eax, 4
add eax, 0x14
add eax, 0xe0
cdq
cmp edx, dword [esi + 0x5c]
jne 0x4d333c
cmp eax, dword [esi + 0x58]
ja 0x4d336c
jmp 0x4d333e
jg 0x4d336c
lea eax, [ebx + 0x64]
mov edx, 0xe0
call fcn.004079c8
mov eax, dword [ebx + 0x48]
add eax, 4
add eax, 0x14
cdq
push edx
push eax
push 0
push 0xe0
lea edx, [ebx + 0x64]
mov eax, esi
call fcn.004d2ac8
mov byte [ebx + 4], 1
cmp byte [ebx + 4], 0
je 0x4d33e3
mov eax, dword [ebx + 0x48]
add eax, 4
add eax, 0x14
movzx edx, word [ebx + 0x60]
add eax, edx
mov di, word [ebx + 0x52]
movzx edx, di
shl edx, 3
lea edx, [edx + edx*4]
add eax, edx
cdq
cmp edx, dword [esi + 0x5c]
jne 0x4d339d
cmp eax, dword [esi + 0x58]
ja 0x4d33e3
jmp 0x4d339f
jg 0x4d33e3
movzx eax, di
push eax
lea eax, [ebx + 8]
mov ecx, 1
mov edx, dword [0xa34550]
call fcn.0040599c
add esp, 4
mov eax, dword [ebx + 0x48]
add eax, 4
add eax, 0x14
movzx edx, word [ebx + 0x60]
add eax, edx
cdq
push edx
push eax
movzx eax, word [ebx + 0x52]
shl eax, 3
lea eax, [eax + eax*4]
xor edx, edx
push edx
push eax
mov edx, dword [ebx + 8]
mov eax, esi
call fcn.004d2ac8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4d33fa
call fcn.00403748
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4d40e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0xa3619f
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov ecx, ebx
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [ecx + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x78]
test edx, edx
je 0x4d4191
add edx, ebx
mov eax, edx
mov esi, dword [eax + 0x18]
mov edx, dword [eax + 0x1c]
add edx, ebx
mov dword [ebp - 0x10], edx
mov edi, dword [eax + 0x20]
add edi, ebx
mov edx, dword [eax + 0x24]
add edx, ebx
mov dword [ebp - 0xc], edx
mov edx, dword [ebp - 4]
cmp edx, 0xffff
jbe 0x4d417a
test esi, esi
jbe 0x4d4191
mov eax, dword [edi]
add eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040a644
test eax, eax
jne 0x4d416c
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x4d4191
add dword [ebp - 0xc], 2
add edi, 4
dec esi
test esi, esi
ja 0x4d4149
jmp 0x4d4191
mov ecx, edx
sub ecx, dword [eax + 0x10]
cmp ecx, dword [eax + 0x14]
jae 0x4d4191
mov eax, ecx
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xa361a6
ret
Function at 0x4d4bc0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ecx
mov word [ebp - 2], dx
xor eax, eax
push ebp
push 0xa36d6f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404980
xor ebx, ebx
mov eax, ebx
and eax, 0x80000001
jns 0x4d4bfb
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x4d4c14
lea eax, [ebp - 0x10]
mov edx, dword [0xa96c48]
mov edx, dword [edx]
mov edx, dword [edx + 0x10]
call fcn.004049e0
jmp 0x4d4c27
lea eax, [ebp - 0x10]
mov edx, dword [0xa96c48]
mov edx, dword [edx]
mov edx, dword [edx + 0x14]
call fcn.004049e0
lea eax, [ebp - 0x10]
mov edx, ebx
sar edx, 1
jns 0x4d4c33
adc edx, 0
mov edx, dword [edx*4 + 0xa848ac]
call fcn.00404bec
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 0x10]
call fcn.00404bd0
push eax
call fcn.00406b4c
mov esi, eax
cmp esi, 0xffffffff
je 0x4d4d41
mov eax, 0x40
call fcn.00402714
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0x40
push edi
push esi
call fcn.00406f5c
test eax, eax
je 0x4d4d34
mov eax, edi
cmp word [eax], 0x5a4d
jne 0x4d4d34
push 0
push 0
mov eax, dword [eax + 0x3c]
push eax
push esi
call fcn.00406fcc
mov eax, edi
call fcn.00402734
mov eax, 0x18
call fcn.00402714
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0x18
push edi
push esi
call fcn.00406f5c
test eax, eax
je 0x4d4d34
mov eax, edi
cmp dword [eax], 0x4550
jne 0x4d4d34
add eax, 4
mov dx, word [eax]
cmp dx, 0x14c
jb 0x4d4d34
cmp dx, 0x150
ja 0x4d4d34
mov eax, edi
call fcn.00402734
mov eax, 0xe0
call fcn.00402714
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0xe0
push edi
push esi
call fcn.00406f5c
test eax, eax
je 0x4d4d34
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 2]
jne 0x4d4d34
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 8]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.004049bc
mov eax, edi
call fcn.00402734
push esi
call fcn.00406b04
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor edx, edx
call fcn.00404cf8
jne 0x4d4d59
inc ebx
cmp ebx, 0x19
jne 0x4d4bed
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xa36d76
lea eax, [ebp - 0x10]
call fcn.00404980
ret
Function at 0x509568
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0xaa3594
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x50958a
shr eax, 1
xor eax, 0xedb88320
jmp 0x50958c
shr eax, 1
dec edx
jne 0x509578
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x509571
mov byte [0xaa3994], 1
pop esi
pop ebx
ret

Function at 0x5095a8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0xaa3994], 0
jne 0x5095bf
call fcn.00509568
mov eax, edi
dec eax
test eax, eax
jl 0x5095e8
inc eax
xor edx, edx
xor ecx, ecx
mov cl, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0xaa3594]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x5095c9
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x84f360
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x331000]
push edi
or ebp, 0xffffffff
jmp 0x84f382
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x84f389
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x84f378
mov eax, 1
add ebx, ebx
jne 0x84f39b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x84f3ac
jne 0x84f3cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x84f3cb
dec eax
add ebx, ebx
jne 0x84f3b8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x84f390
add ebx, ebx
jne 0x84f3c7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x84f41d
xor ecx, ecx
sub eax, 3
jb 0x84f3e3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x84f452
sar eax, 1
mov ebp, eax
jmp 0x84f3ee
add ebx, ebx
jne 0x84f3ee
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x84f3bc
inc ecx
add ebx, ebx
jne 0x84f3fc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x84f3bc
add ebx, ebx
jne 0x84f409
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x84f3fe
jne 0x84f41a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x84f3fe
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x84f43c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x84f42e
jmp 0x84f37e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x84f43c
add edi, ecx
jmp 0x84f37e
pop esi
mov edi, esi
mov ecx, 0x3fab
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x84f45a
cmp byte [edi], 0x14
jne 0x84f45a
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 0x84f45f
lea edi, [esi + 0x44c000]
mov eax, dword [edi]
or eax, eax
je 0x84f4ce
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x4605d4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x4606b4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x84f48c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x4606bc]
or eax, eax
je 0x84f4c8
mov dword [ebx], eax
add ebx, 4
jmp 0x84f4a9
call dword [esi + 0x4606b8]
mov ebp, dword [esi + 0x4606c0]
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 0x84f502
sub esp, 0xffffff80
jmp 0x47daf4