joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402120
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41f0c8]
jne 0x40212a
repz ret
jmp fcn.00404fee

Function at 0x404c0f
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040316b
and dword [ebp - 4], 0
cmp dword [0x423ee4], 0
mov ebx, eax
jne 0x404cc0
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x404d71
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x404d71
push eax
call fcn.004030f9
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x423ee4], eax
call esi
push eax
call fcn.004030f9
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x423ee8], eax
call esi
push eax
call fcn.004030f9
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x423eec], eax
call esi
push eax
call fcn.004030f9
pop ecx
mov dword [0x423ef4], eax
test eax, eax
je 0x404cc0
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004030f9
pop ecx
mov dword [0x423ef0], eax
mov eax, dword [0x423ef0]
cmp eax, ebx
je 0x404d18
cmp dword [0x423ef4], ebx
je 0x404d18
push eax
call fcn.00403174
push dword [0x423ef4]
mov esi, eax
call fcn.00403174
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x404d18
test edi, edi
je 0x404d18
call esi
test eax, eax
je 0x404d0f
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x404d0f
test byte [ebp - 0xc], 1
jne 0x404d18
or dword [ebp + 0x10], 0x200000
jmp 0x404d51
mov eax, dword [0x423ee8]
cmp eax, ebx
je 0x404d51
push eax
call fcn.00403174
pop ecx
test eax, eax
je 0x404d51
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x404d51
mov eax, dword [0x423eec]
cmp eax, ebx
je 0x404d51
push eax
call fcn.00403174
pop ecx
test eax, eax
je 0x404d51
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x423ee4]
call fcn.00403174
pop ecx
test eax, eax
je 0x404d71
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x404d73
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401266
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4a1004]
jne 0x401270
repz ret
jmp fcn.004017cd

Function at 0x408850
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4a1004]
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.00403efb
and dword [ebp - 0x14], 0
cmp dword [0x4a3d9c], 0
mov dword [ebp - 0x18], eax
jne 0x408903
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4089ab
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4089ab
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4a3d9c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4a3da0], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4a3da4], eax
call edi
push eax
call esi
mov dword [0x4a3dac], eax
test eax, eax
je 0x408903
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4a3da8], eax
mov eax, dword [0x4a3da8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40895c
cmp dword [0x4a3dac], ecx
je 0x40895c
push eax
call esi
push dword [0x4a3dac]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40895c
test ebx, ebx
je 0x40895c
call edi
test eax, eax
je 0x408953
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x408953
test byte [ebp - 8], 1
jne 0x40895c
or dword [ebp + 0x10], 0x200000
jmp 0x40898f
mov eax, dword [0x4a3da0]
cmp eax, dword [ebp - 0x18]
je 0x40898f
push eax
call esi
test eax, eax
je 0x40898f
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40898f
mov eax, dword [0x4a3da4]
cmp eax, dword [ebp - 0x18]
je 0x40898f
push eax
call esi
test eax, eax
je 0x40898f
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4a3d9c]
call esi
test eax, eax
je 0x4089ab
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4089ad
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401266
leave
ret
Function at 0x494260
Capabilities:
Create pipe

Disassembly:
sub esp, 0x41c
mov eax, dword [0x4a1004]
xor eax, esp
mov dword [esp + 0x418], eax
mov eax, dword [esp + 0x420]
mov eax, dword [eax]
push ebx
mov ebx, dword [0x4a5b34]
push edi
mov edi, dword [0x4a7fb4]
call fcn.004941d0
cmp dword [0x4a7fb4], 0x2f
jne 0x4942f4
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
push 0
lea eax, [esp + 0x2c]
push eax
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_ReadEventLogA]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
call fcn.00494200
mov ecx, dword [esp + 0x420]
pop edi
pop ebx
xor ecx, esp
call fcn.00401266
add esp, 0x41c
ret
Function at 0x494790
Capabilities:
Get disk information
Write file on windows

Disassembly:
sub esp, 0x41c
mov eax, dword [0x4a1004]
xor eax, esp
mov dword [esp + 0x418], eax
mov eax, dword [0x4a7fb4]
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetSystemTimes]
push edi
mov ebx, 0x1519a5
mov edi, 0x8e46a7b8
lea esp, [esp]
mov dword [0x4a7c1c], edi
cmp eax, 0x3dc
jne 0x4947da
push 0
push 0
push 0
call esi
mov eax, dword [0x4a7fb4]
dec ebx
jne 0x4947c0
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
mov ebx, dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
xor esi, esi
jmp 0x4947f0
cmp eax, 0xa5f
jne 0x494837
xor eax, eax
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x24]
push edx
push eax
lea ecx, [esp + 0x30]
push ecx
push eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
call edi
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call ebx
mov eax, dword [0x4a7fb4]
cmp esi, 0x846143
jne 0x49484e
mov eax, dword [0x4a2bf0]
add eax, 0xa231
mov dword [0x4a7fb4], eax
cmp eax, 0x141
jne 0x494869
mov dword [0x4a42c0], 0xec58acac
mov dword [0x4a42c4], 0xffffffff
inc esi
cmp esi, 0x12d12ba
jl 0x4947f0
call fcn.00494310
mov ecx, dword [esp + 0x424]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00401266
add esp, 0x41c
ret 0x10

Function at 0x402496
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push ecx
push edx
push esi
push edi
enter 0x84, 0
sub ebp, 0x82
mov esi, eax
mov edx, dword [0x404080]
or dl, 1
imul edx, eax
mov eax, dword [0x404080]
sub eax, edx
mov ebx, esi
mov edx, eax
mov eax, 0x404084
call fcn.004023df
xor eax, eax
mov dword [ebp + 0x7e], eax
lea eax, [ebp + 0x7e]
push eax
mov eax, esi
or al, 0x40
mov edi, 0x40365c
push eax
sub edi, fcn.00402e06
push edi
push fcn.00402e06
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
cmp dword [ebp + 0x7e], 0
je 0x402512
mov eax, fcn.00402e06
mov ebx, esi
mov edx, edi
call fcn.004023df
mov edx, 0x1c000
mov eax, 0x404084
mov ebx, esi
call fcn.004019bc
lea edx, [ebp - 2]
mov eax, esi
mov dword [ebp - 2], 1
call fcn.00401250
lea edx, [esi + 0x1c000]
add edx, esi
lea eax, [esi - 1]
lea ebx, [ebp - 2]
and eax, 0x404084
call fcn.00402e06
lea esp, [ebp + 0x82]
pop ebp
pop edi
pop esi
pop edx
pop ecx
pop ebx
ret
Function at 0x57d100
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x126000]
push edi
jmp 0x57d11a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x57d121
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x57d110
mov eax, 1
add ebx, ebx
jne 0x57d133
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x57d144
jne 0x57d163
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x57d163
dec eax
add ebx, ebx
jne 0x57d150
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x57d128
add ebx, ebx
jne 0x57d15f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x57d1b5
xor ecx, ecx
sub eax, 3
jb 0x57d17b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x57d1ea
sar eax, 1
mov ebp, eax
jmp 0x57d186
add ebx, ebx
jne 0x57d186
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x57d154
inc ecx
add ebx, ebx
jne 0x57d194
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x57d154
add ebx, ebx
jne 0x57d1a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x57d196
jne 0x57d1b2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x57d196
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x57d1d4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x57d1c6
jmp 0x57d116
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x57d1d4
add edi, ecx
jmp 0x57d116
pop esi
mov edi, esi
mov ecx, 0x3ea9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x57d1f2
cmp byte [edi], 0x11
jne 0x57d1f2
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 0x57d1f7
lea edi, [esi + 0x176000]
mov eax, dword [edi]
or eax, eax
je 0x57d26f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x221cf4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x221e70]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x57d224
mov ecx, edi
jns 0x57d253
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x221e74]
or eax, eax
je 0x57d269
mov dword [ebx], eax
add ebx, 4
jmp 0x57d241
call dword [esi + 0x221e84]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x57d2a0
cmp al, 0xef
ja 0x57d293
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x57d275
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x57d282
mov ebp, dword [esi + 0x221e78]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
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 0x57d2d4
sub esp, 0xffffff80
jmp 0x42800a
Function at 0x427707
Capabilities:
Accept command line arguments
Parse pe header
Terminate process

Disassembly:
push 0x18
push 0x436b28
call fcn.004285dc
mov edi, 0x94
mov eax, edi
call fcn.00425970
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov ecx, dword [esi + 0x10]
mov dword [0x476cc8], ecx
mov eax, dword [esi + 4]
mov dword [0x476cd4], eax
mov edx, dword [esi + 8]
mov dword [0x476cd8], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x476ccc], esi
cmp ecx, 2
je 0x427767
or esi, 0x8000
mov dword [0x476ccc], esi
shl eax, 8
add eax, edx
mov dword [0x476cd0], eax
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp word [eax], 0x5a4d
jne 0x4277a0
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4277a0
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x4277b8
cmp eax, 0x20b
je 0x4277a5
mov dword [ebp - 0x1c], edi
jmp 0x4277cc
cmp dword [ecx + 0x84], 0xe
jbe 0x4277a0
xor eax, eax
cmp dword [ecx + 0xf8], edi
jmp 0x4277c6
cmp dword [ecx + 0x74], 0xe
jbe 0x4277a0
xor eax, eax
cmp dword [ecx + 0xe8], edi
setne al
mov dword [ebp - 0x1c], eax
push 1
call fcn.00427a65
pop ecx
test eax, eax
jne 0x4277e0
push 0x1c
call fcn.004276e3
pop ecx
call fcn.004298fa
test eax, eax
jne 0x4277f1
push 0x10
call fcn.004276e3
pop ecx
call fcn.0042bc04
mov dword [ebp - 4], edi
call fcn.0042ae51
test eax, eax
jge 0x42780a
push 0x1b
call fcn.004276be
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x477544], eax
call fcn.0042f5fd
mov dword [0x476d30], eax
call fcn.0042f55b
test eax, eax
jge 0x427830
push 8
call fcn.004276be
pop ecx
call fcn.0042f328
test eax, eax
jge 0x427841
push 9
call fcn.004276be
pop ecx
push 1
call fcn.00426148
pop ecx
mov dword [ebp - 0x24], eax
cmp eax, edi
je 0x427857
push eax
call fcn.004276be
pop ecx
mov eax, dword [0x476ce8]
mov dword [0x476cec], eax
push eax
push dword [0x476ce0]
push dword [0x476cdc]
call fcn.00424330
add esp, 0xc
mov esi, eax
mov dword [ebp - 0x28], esi
cmp dword [ebp - 0x1c], edi
jne 0x427886
push esi
call fcn.00426275
call fcn.00426297
jmp 0x4278b8
or dword [ebp - 4], 0xffffffff
mov eax, esi
lea esp, [ebp - 0x34]
call fcn.00428617
ret
Function at 0x40ad16
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
xor eax, eax
mov edx, eax
push esi
mov esi, dword [ebp + 8]
and ecx, 0xfffffffc
jbe 0x40ad5a
rol eax, 5
xor eax, dword [edx + esi]
add edx, 4
imul eax, eax, 0x9e3779b9
rol eax, 5
xor eax, 4
imul eax, eax, 0x9e3779b9
cmp edx, ecx
jb 0x40ad29
jmp 0x40ad5a
movsx ecx, byte [edx + esi]
rol eax, 5
xor eax, ecx
imul eax, eax, 0x9e3779b9
inc edx
cmp edx, dword [ebp + 0xc]
jb 0x40ad4a
pop esi
pop ebp
ret

Function at 0x40bab2
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 1
lea esi, [ebx - 1]
push 0x2000
not esi
push ebx
and esi, 0xf0deafff
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
cmp edi, esi
jne 0x40bae7
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp esi, dword [ebp - 0x18]
jb 0x40bb11
lea eax, [esi + ebx]
cmp eax, dword [ebp - 0x18]
jb 0x40bb11
test edi, edi
je 0x40bade
push 0x8000
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x40bade
test edi, edi
je 0x40bb19
mov eax, edi
jmp 0x40bae0
push 1
push 0x2000
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x40bae0
mov esi, 0xc3
push esi
push str.c:_builds_moz2_slave_m_in_w32_d_0000000000000000000_build_src_mfbt_Poison.cpp
push str.no_usable_poison_region_identified
call fcn.0040e81b
add esp, 0xc
int3
Function at 0x40e84f
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 8]
push eax
mov dword [sym.TestArguments.exe_gMozillaPoisonSize], eax
call fcn.0040bab2
pop ecx
mov ecx, dword [sym.TestArguments.exe_gMozillaPoisonSize]
mov dword [sym.TestArguments.exe_gMozillaPoisonBase], eax
test ecx, ecx
je 0x40e887
shr ecx, 1
dec ecx
add eax, ecx
mov dword [sym.TestArguments.exe_gMozillaPoisonValue], eax
mov esp, ebp
pop ebp
ret
Function at 0x4035ac
Capabilities:
Generate random numbers using the delphi lcg

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

Function at 0x41cf44
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push ebp
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
cld
mov dl, 0x80
mov al, byte [esi]
add esi, 1
mov byte [edi], al
add edi, 1
mov ebx, 2
add dl, dl
jne 0x41cf75
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cf5d
add dl, dl
jne 0x41cf80
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cfd1
xor eax, eax
add dl, dl
jne 0x41cf8d
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41d06e
add dl, dl
jne 0x41cf9c
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cfa7
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cfb2
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cfbd
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x41cfc7
mov ebx, edi
sub ebx, eax
mov al, byte [ebx]
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x41cf6c
mov eax, 1
add dl, dl
jne 0x41cfdf
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cfea
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cfd6
sub eax, ebx
mov ebx, 1
jne 0x41d01d
mov ecx, 1
add dl, dl
jne 0x41d003
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41d00e
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cffa
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cf6c
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x41d034
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41d03f
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41d02b
cmp eax, 0x7d00
sbb ecx, 0xffffffff
cmp eax, 0x500
sbb ecx, 0xffffffff
cmp eax, 0x80
adc ecx, 0
cmp eax, 0x80
adc ecx, 0
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cf6c
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x41d08f
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 0x41cf6c
pop ebp
sub edi, dword [ebp - 8]
mov dword [ebp - 0xc], edi
pop edi
pop esi
pop ebx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x41f0a0
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], ecx
mov ebx, edx
xor edx, edx
push ebp
push 0x4bf58e
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
mov dword [ebp - 8], edx
mov esi, ebx
xor ecx, ecx
cmp byte [eax + 0x6a], 0
je 0x41f0ef
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [esi + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x88]
test edx, edx
je 0x41f10e
mov ecx, edx
add ecx, ebx
jmp 0x41f10e
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [esi + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x78]
test edx, edx
je 0x41f10e
mov ecx, edx
add ecx, ebx
test ecx, ecx
je 0x41f180
mov esi, dword [ecx + 0x18]
mov eax, dword [ecx + 0x1c]
add eax, ebx
mov dword [ebp - 0x10], eax
mov edi, dword [ecx + 0x20]
add edi, ebx
mov eax, dword [ecx + 0x24]
add eax, ebx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
cmp eax, 0xffff
jbe 0x41f169
test esi, esi
jbe 0x41f180
mov eax, dword [edi]
add eax, ebx
mov edx, dword [ebp - 4]
call fcn.004088ec
test eax, eax
jne 0x41f15b
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 0x41f180
add dword [ebp - 0xc], 2
add edi, 4
dec esi
test esi, esi
ja 0x41f138
jmp 0x41f180
mov edx, eax
sub edx, dword [ecx + 0x10]
cmp edx, dword [ecx + 0x14]
jae 0x41f180
mov eax, edx
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 0x4bf595
ret
Function at 0x4202d8
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 word [ebp - 4], cx
mov byte [ebp - 1], dl
xor eax, eax
push ebp
push 0x4c08f3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404cd0
xor ebx, ebx
mov eax, ebx
and eax, 0x80000001
jns 0x420313
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x42032c
lea eax, [ebp - 0x10]
mov edx, dword [0x4dd54c]
mov edx, dword [edx]
mov edx, dword [edx + 0xc]
call fcn.00404d30
jmp 0x42033f
lea eax, [ebp - 0x10]
mov edx, dword [0x4dd54c]
mov edx, dword [edx]
mov edx, dword [edx + 0x10]
call fcn.00404d30
lea eax, [ebp - 0x10]
mov edx, ebx
sar edx, 1
jns 0x42034b
adc edx, 0
mov edx, dword [edx*4 + 0x4dc378]
call fcn.00404f20
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 0x10]
call fcn.00404f04
push eax
call fcn.00406b1c
mov esi, eax
cmp esi, 0xffffffff
je 0x4204c5
mov eax, 0x40
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x40
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x4204b8
mov eax, edi
cmp word [eax], 0x5a4d
jne 0x4204b8
push 0
push 0
mov eax, dword [eax + 0x3c]
push eax
push esi
call fcn.00406ddc
mov eax, edi
call fcn.00403288
mov eax, 0x18
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x18
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x4204b8
mov eax, edi
cmp dword [eax], 0x4550
jne 0x4204b8
add eax, 4
mov dword [ebp - 0xc], eax
cmp byte [ebp - 1], 0
je 0x420456
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x8664
jne 0x420456
mov eax, edi
call fcn.00403288
mov eax, 0xf0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xf0
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x420456
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x420456
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
cmp byte [ebp - 1], 0
jne 0x4204b8
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x14c
jb 0x4204b8
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x150
ja 0x4204b8
mov eax, edi
call fcn.00403288
mov eax, 0xe0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xe0
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x4204b8
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x4204b8
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
mov eax, edi
call fcn.00403288
push esi
call fcn.00406ad4
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor edx, edx
call fcn.0040502c
jne 0x4204dd
inc ebx
cmp ebx, 0x19
jne 0x420305
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c08fa
lea eax, [ebp - 0x10]
call fcn.00404cd0
ret
Function at 0x42332f
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x423335
ret
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
mov ecx, 0x69b51b81
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x42e04e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x42e024
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x115972b3
nop
test eax, eax
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
popal
nop
jmp 0x401219