joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4fe172
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
pushal
mov edx, dword [ebp + 8]
mov ax, word [edx]
cmp ax, 0x5a4d
jne 0x4fe1a1
mov eax, dword [edx + 0x3c]
add edx, eax
mov eax, dword [edx]
cmp eax, 0x4550
jne 0x4fe1a1
add edx, 4
mov dword [ebp - 4], edx
popal
mov eax, dword [ebp - 4]
leave
ret 8
popal
sub eax, eax
leave
ret 8

Function at 0x4fedff
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov ecx, 3
mov edx, 1
push ecx
push dword [ebp + 8]
call fcn.004fef04
rol eax, 8
push dword [ebp + 0xc]
push eax
call fcn.004fef20
push edx
push dword [ebp + 0x10]
push eax
call fcn.004feeec
inc edx
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.004fef04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.004feecb
push ecx
push dword [ebp + 8]
call fcn.004fef04
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.004fef04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.004feecb
push ecx
push dword [ebp + 8]
call fcn.004fef04
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.004fef04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.004feecb
push ecx
push dword [ebp + 8]
call fcn.004fef04
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.004fef04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.004feecb
cmp ecx, 0x2b
jne 0x4fee0f
leave
ret 0xc

Function at 0x5004b4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
pushal
mov byte [ebp - 0x118], 0x42
mov byte [ebp - 0x117], 0x72
mov byte [ebp - 0x116], 0x75
mov byte [ebp - 0x115], 0x74
mov byte [ebp - 0x114], 0x65
mov byte [ebp - 0x113], 0x66
mov byte [ebp - 0x112], 0x6f
mov byte [ebp - 0x111], 0x72
mov byte [ebp - 0x110], 0x63
mov byte [ebp - 0x10f], 0x69
mov byte [ebp - 0x10e], 0x6e
mov byte [ebp - 0x10d], 0x67
mov byte [ebp - 0x10c], 0x20
mov byte [ebp - 0x10b], 0x4b
mov byte [ebp - 0x10a], 0x65
mov byte [ebp - 0x109], 0x79
mov byte [ebp - 0x108], 0
mov eax, 1
lea edi, [ebp - 0x14]
mov ecx, 0x10
mov al, 0
mov byte [edi], al
inc edi
dec ecx
jne 0x500544
mov eax, dword [ebp + 8]
push 4
push 0x3000
push 0x7b590
push 0
call dword [eax + 0x20]
test eax, eax
je 0x5005d6
mov dword [ebp - 4], eax
mov edi, eax
mov esi, dword [ebp + 0xc]
mov ecx, 0x7b590
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0xc]
push dword [ebp + 0xc]
push 0x7b590
call fcn.005003fa
push 0x7b590
push dword [ebp + 0xc]
call fcn.004fe1a8
test eax, eax
jne 0x5005b8
mov esi, dword [ebp - 4]
mov edi, dword [ebp + 0xc]
mov ecx, 0x7b590
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x14]
push eax
call fcn.005005dd
test eax, eax
je 0x5005d6
jmp 0x500574
mov eax, dword [ebp + 8]
push 0x8000
push 0
push dword [ebp - 4]
call dword [eax + 0x28]
test eax, eax
je 0x5005d6
popal
mov eax, 1
leave
ret 8
popal
sub eax, eax
leave
ret 8
Function at 0x50060b
Capabilities:
Terminate process

Disassembly:
call fcn.00500618
push 0
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
Function at 0x4282a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x17000]
push edi
jmp 0x4282ba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4282c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4282b0
mov eax, 1
add ebx, ebx
jne 0x4282d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4282c8
jne 0x4282e4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4282c8
xor ecx, ecx
sub eax, 3
jb 0x4282f8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42836a
mov ebp, eax
add ebx, ebx
jne 0x428303
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x428310
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x428334
inc ecx
add ebx, ebx
jne 0x428320
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x428315
jne 0x428331
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x428315
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x428354
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x428345
jmp 0x4282b6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x428354
add edi, ecx
jmp 0x4282b6
pop esi
mov edi, esi
mov ecx, 0x115
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x428372
cmp byte [edi], 3
jne 0x428372
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 0x428377
lea edi, [esi + 0x26000]
mov eax, dword [edi]
or eax, eax
je 0x4283e6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x28000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x280c4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4283a4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x280cc]
or eax, eax
je 0x4283e0
mov dword [ebx], eax
add ebx, 4
jmp 0x4283c1
call dword [esi + 0x280c8]
mov ebp, dword [esi + 0x280d0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ef]
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 0x42841a
sub esp, 0xffffff80
jmp 0x409ac0

Function at 0x4a169c
Capabilities:
Encode data using xor

Disassembly:
add ch, 0xae
retf 0x5d1e
les ecx, [ebx]
push edx
inc byte [esi - 0x4b8676e2]
add bl, byte [edi - 0x440766c6]
jnp 0x4a16ff
js 0x4a166b
inc esi
aam 0x65
Function at 0x401ac1
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x445090]
jne 0x401acb
repz ret
jmp fcn.00402c38

Function at 0x40c165
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.00404aa9
and dword [ebp - 4], 0
cmp dword [0x447304], 0
mov ebx, eax
jne 0x40c216
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40c2c7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40c2c7
push eax
call fcn.00404a37
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x447304], eax
call esi
push eax
call fcn.00404a37
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x447308], eax
call esi
push eax
call fcn.00404a37
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x44730c], eax
call esi
push eax
call fcn.00404a37
pop ecx
mov dword [0x447314], eax
test eax, eax
je 0x40c216
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404a37
pop ecx
mov dword [0x447310], eax
mov eax, dword [0x447310]
cmp eax, ebx
je 0x40c26e
cmp dword [0x447314], ebx
je 0x40c26e
push eax
call fcn.00404ab2
push dword [0x447314]
mov esi, eax
call fcn.00404ab2
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40c26e
test edi, edi
je 0x40c26e
call esi
test eax, eax
je 0x40c265
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40c265
test byte [ebp - 0xc], 1
jne 0x40c26e
or dword [ebp + 0x10], 0x200000
jmp 0x40c2a7
mov eax, dword [0x447308]
cmp eax, ebx
je 0x40c2a7
push eax
call fcn.00404ab2
pop ecx
test eax, eax
je 0x40c2a7
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40c2a7
mov eax, dword [0x44730c]
cmp eax, ebx
je 0x40c2a7
push eax
call fcn.00404ab2
pop ecx
test eax, eax
je 0x40c2a7
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x447304]
call fcn.00404ab2
pop ecx
test eax, eax
je 0x40c2c7
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40c2c9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40da2b
Capabilities:
Set console window title

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x820
mov eax, dword [0x445090]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
cmp dword [0x17ed02c], 0x930
jne 0x40da60
push str.farowufa
push esi
call dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
cmp dword [0x17ed02c], 0x114e
mov eax, dword [ebp + 8]
mov dword [0x17ecd48], eax
jne 0x40da97
push esi
lea eax, [ebp - 0x804]
push eax
push esi
call sub.KERNEL32.dll_VerLanguageNameW
lea eax, [ebp - 0x820]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_BuildCommDCBW]
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00401ac1
leave
ret
Function at 0x40dab3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
xor esi, esi
cmp dword [ebp + 0xc], esi
jle 0x40daf4
and dword [ebp - 4], 0
and dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
call fcn.0040daa4
pop ecx
mov eax, dword [ebp - 8]
add eax, 0x46
mov dword [ebp - 4], eax
sub dword [ebp - 4], 0xa
nop
sub dword [ebp - 4], 0x3c
mov eax, dword [ebp + 8]
mov cl, byte [ebp - 4]
add eax, esi
xor byte [eax], cl
inc esi
cmp esi, dword [ebp + 0xc]
jl 0x40dac0
cmp dword [ebp + 0xc], 0x2d
pop esi
jne 0x40db0c
or dword [0x17ed03c], 0xffffffff
mov dword [0x17ed038], 0xa62e7790
leave
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
pop eax
nop
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
jl 0x433030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43301e
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x10028f9
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x28
push 0x1001668
call fcn.01002af8
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp word [eax], 0x5a4d
jne 0x1002934
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1002934
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x100294c
cmp eax, 0x20b
je 0x1002939
mov dword [ebp - 0x1c], edi
jmp 0x1002960
cmp dword [ecx + 0x84], 0xe
jbe 0x1002934
xor eax, eax
cmp dword [ecx + 0xf8], edi
jmp 0x100295a
cmp dword [ecx + 0x74], 0xe
jbe 0x1002934
xor eax, eax
cmp dword [ecx + 0xe8], edi
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], edi
push 1
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x1004048], 0xffffffff
or dword [0x100404c], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x1004044]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x1004040]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x1004050], eax
call fcn.01002af0
cmp dword [0x1004030], edi
jne 0x10029bb
push fcn.01002af0
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.01002ad9
push 0x1004010
push 0x100400c
call sub.msvcrt.dll__initterm
mov eax, dword [0x100403c]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [0x1004038]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.msvcrt.dll___getmainargs]
mov dword [ebp - 0x34], eax
push 0x1004008
push section..data
call sub.msvcrt.dll__initterm
mov eax, dword [ebp - 0x20]
mov ecx, dword [sym.imp.msvcrt.dll___initenv]
mov dword [ecx], eax
push dword [ebp - 0x20]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call fcn.0100252f
add esp, 0x30
mov esi, eax
mov dword [ebp - 0x38], esi
cmp dword [ebp - 0x1c], edi
jne 0x1002a32
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x1002a67
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.01002b33
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x402029
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4060e0
cmp edx, dword [eax]
je 0x40204b
add eax, 8
inc ecx
cmp eax, 0x406170
jl 0x40203c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4060e0]
jne 0x402179
mov eax, dword [0x40648c]
cmp eax, 1
je 0x402153
test eax, eax
jne 0x40207c
cmp dword [0x406034], 1
je 0x402153
cmp edx, 0xfc
je 0x402179
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4020b3
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004026e0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00402850
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4020f6
lea eax, [ebp - 0x1a4]
push eax
call fcn.00402850
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4053a0
push edi
call fcn.00401160
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004026e0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004026f0
lea eax, [ebp - 0xa0]
push 0x405380
push eax
call fcn.004026f0
push dword [esi + 0x4060e4]
lea eax, [ebp - 0xa0]
push eax
call fcn.004026f0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00403b61
add esp, 0x2c
pop edi
jmp 0x402179
lea eax, [ebp + 8]
lea esi, [esi + 0x4060e4]
push 0
push eax
push dword [esi]
call fcn.00402850
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 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x4035ac
Capabilities:
Generate random numbers using the delphi lcg

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

Function at 0x41cb8c
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 0x41cbbd
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cba5
add dl, dl
jne 0x41cbc8
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cc19
xor eax, eax
add dl, dl
jne 0x41cbd5
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41ccb6
add dl, dl
jne 0x41cbe4
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cbef
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cbfa
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cc05
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x41cc0f
mov ebx, edi
sub ebx, eax
mov al, byte [ebx]
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x41cbb4
mov eax, 1
add dl, dl
jne 0x41cc27
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cc32
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cc1e
sub eax, ebx
mov ebx, 1
jne 0x41cc65
mov ecx, 1
add dl, dl
jne 0x41cc4b
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41cc56
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cc42
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cbb4
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x41cc7c
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41cc87
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cc73
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 0x41cbb4
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x41ccd7
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 0x41cbb4
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 0x41e004
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 0x30df4c3
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 0x41e0b5
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 0x41e09e
test esi, esi
jbe 0x41e0b5
mov eax, dword [edi]
add eax, ebx
mov edx, dword [ebp - 4]
call fcn.004088ac
test eax, eax
jne 0x41e090
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 0x41e0b5
add dword [ebp - 0xc], 2
add edi, 4
dec esi
test esi, esi
ja 0x41e06d
jmp 0x41e0b5
mov ecx, edx
sub ecx, dword [eax + 0x10]
cmp ecx, dword [eax + 0x14]
jae 0x41e0b5
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 0x30df4ca
ret
Function at 0x41e8f8
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 0x30dfea7
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 0x41e933
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x41e94c
lea eax, [ebp - 0x10]
mov edx, dword [0x30f7250]
mov edx, dword [edx]
mov edx, dword [edx + 0xc]
call fcn.00404d30
jmp 0x41e95f
lea eax, [ebp - 0x10]
mov edx, dword [0x30f7250]
mov edx, dword [edx]
mov edx, dword [edx + 0x10]
call fcn.00404d30
lea eax, [ebp - 0x10]
mov edx, ebx
sar edx, 1
jns 0x41e96b
adc edx, 0
mov edx, dword [edx*4 + 0x30f60dc]
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.00406af4
mov esi, eax
cmp esi, 0xffffffff
je 0x41ea79
mov eax, 0x40
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0x40
push edi
push esi
call fcn.00406d44
test eax, eax
je 0x41ea6c
mov eax, edi
cmp word [eax], 0x5a4d
jne 0x41ea6c
push 0
push 0
mov eax, dword [eax + 0x3c]
push eax
push esi
call fcn.00406d9c
mov eax, edi
call fcn.00403288
mov eax, 0x18
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0x18
push edi
push esi
call fcn.00406d44
test eax, eax
je 0x41ea6c
mov eax, edi
cmp dword [eax], 0x4550
jne 0x41ea6c
add eax, 4
mov dx, word [eax]
cmp dx, 0x14c
jb 0x41ea6c
cmp dx, 0x150
ja 0x41ea6c
mov eax, edi
call fcn.00403288
mov eax, 0xe0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0xe0
push edi
push esi
call fcn.00406d44
test eax, eax
je 0x41ea6c
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 2]
jne 0x41ea6c
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.00404d0c
mov eax, edi
call fcn.00403288
push esi
call fcn.00406aac
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor edx, edx
call fcn.0040502c
jne 0x41ea91
inc ebx
cmp ebx, 0x19
jne 0x41e925
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x30dfeae
lea eax, [ebp - 0x10]
call fcn.00404cd0
ret
Function at 0x4b32a0
Capabilities:
Encode data using xor

Disassembly:
pushal
call 0x4b32a6
pop ebp
sub ebp, 0x49f54c
lea edi, [ebp + 0x4a1155]
mov esi, edi
mov ecx, 0x92
xor ebx, ebx
lodsb al, byte [esi]
xor al, 0x44
sub al, bl
rol al, 2
stosb byte es:[edi], al
inc ebx
loop 0x4b32bc
mov eax, dword [esp + 0x20]
inc eax
js 0x4b32d9
mov dword [ebp + 0x4a1159], 1
cmp dword [ebp + 0x4a1159], 0
jne 0x4b32e4
jmp 0x4b32fa
push ebp
lea eax, [ebp + 0x49f5c2]
push eax
mov eax, 0x30
push eax
call fcn.004b3389
pop ebp
jmp 0x4b330e
push ebp
lea eax, [ebp + 0x49f5c2]
push eax
mov eax, 0x30
push eax
call fcn.004b3616
pop ebp
mov ecx, 0x17a7
lea edi, [ebp + 0x49f9ae]
mov esi, edi
lodsb al, byte [esi]
xchg ecx, eax
imul eax, dword [ecx], 0xffffffa2
stc
call 0xcc4daee
mov dword [0x15b960c6], eax
sub byte [ecx - 0x10], 0x54
mov ecx, 0x483bd6e8
mov al, byte [0x6c6b8438]
jge 0x4b32fb
sbb byte [eax + eax*2], al
sub al, 0x40
stosb byte es:[edi], al
xlatb
and dh, cl
xchg ebx, eax
out dx, eax
push edi
inc ecx
out dx, al
or ah, cl
mov ch, byte [edx - 0x427c331e]
pop ecx
adc dword [edx], ecx
add byte [ebp + 2], dh
jmp 0x4b3370
push ebp
lea eax, [ebp + 0x4a01ce]
push eax
mov eax, 0x30
push eax
call fcn.004b3616
pop ebp
jmp 0x4b3708
mov edi, dword [ebp + 0xc]
lea edi, [edi + 0x4a11aa]
push edi
push dword fs:[0]
mov dword fs:[0], esp
mov edi, dword [ebp + 0xc]
lea edi, [edi + 0x4a1155]
mov dword [edi], 1
pushfd
or dword [esp], 0x100
popfd
xor edi, edi
add cl, byte [edx + 0x7d8b0306]
or al, 6
lea edi, [edi + 0x4a1155]
push es
mov dword [edi], 0
pop es
add byte [eax], al
add byte [eax], al
pop dword fs:[0]
add esp, 4
push ebx
push ecx
mov cl, 0
xor ebx, ebx
mov bx, dx
and bx, 1
shl bl, cl
xor al, bl
shl dx, 1
mov bx, dx
and bx, 0x8000
mov ch, 0x80
cmp bh, ch
jne 0x4b36ed
xor dx, 0x8003
inc cl
mov ch, 8
cmp cl, ch
jne 0x4b36ca
pop ecx
pop ebx
mov byte [esi], al
inc esi
inc ebx
cmp ecx, ebx
jne 0x4b3675
mov esp, ebp
ret 8
aam 0xd1
dec ebp
mov word [esi], cs
adc dword [ebx - 0x76e0bf6c], ebp
sub edx, dword [esi]
xchg dword [0x3b3c1494], edx
test byte [ecx + 6], 0x61
std
jecxz 0x4b3792
pop edi
fimul word [esp + 0x45cdc6d]
inc ebx
jecxz 0x4b36b7
jmp [ecx + 0x31]
salc
cmp dword [ebx], 0xdcd4eb36
ret 0x7a7d