joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10034390
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x100705a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x6c]
push esi
mov esi, ecx
mov ecx, dword [esp + 0x74]
push edi
push eax
mov eax, dword [esp + 0x74]
push ecx
push edx
lea ecx, [esp + 0x14]
push eax
push ecx
mov ecx, esi
call fcn.10034f10
lea edx, [esp + 0x18]
push eax
push edx
call dword [0x10072508]
mov eax, dword [esp + 0x18]
xor edi, edi
xor ecx, ecx
cmp eax, edi
setl cl
dec ecx
xor edx, edx
and ecx, eax
mov eax, dword [esp + 0x1c]
cmp eax, edi
mov dword [esp + 0x18], ecx
setl dl
dec edx
and edx, eax
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x20], edx
call dword [0x10072434]
test eax, eax
je 0x10034439
mov eax, dword [esp + 0x6c]
push ebx
mov ebx, eax
xor ecx, ecx
xor edx, edx
xor esi, esi
mov dword [ebx], ecx
mov dword [ebx + 4], edx
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], edi
pop ebx
pop edi
pop esi
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
add esp, 0x60
ret 0x14
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.10034020
mov edx, eax
mov eax, dword [edx]
mov ecx, dword [edx + 4]
push ecx
push eax
lea eax, [esp + 0x20]
push eax
call dword [0x10072604]
push edi
lea ecx, [esp + 0x4c]
call fcn.1006a116
mov ecx, dword [esi + 0x5c]
mov edx, dword [esi + 0x58]
push ecx
lea eax, [esp + 0x4c]
push edx
push eax
mov dword [esp + 0x70], edi
call fcn.10043620
mov edx, dword [esp + 0x5c]
add esp, 0xc
lea ecx, [esp + 0x18]
push 2
push ecx
push edx
call dword [0x100720f4]
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x38]
push eax
push ecx
call dword [0x1007240c]
lea edx, [esp + 0x38]
lea eax, [esp + 0x18]
push edx
lea ecx, [esp + 0x2c]
push eax
push ecx
call dword [0x100725f8]
mov esi, dword [esp + 0x6c]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, esi
mov dword [esp + 0x64], 0xffffffff
mov dword [edx], eax
mov eax, dword [esp + 0x30]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x34]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
lea ecx, [esp + 0x48]
call fcn.1006a188
mov ecx, dword [esp + 0x5c]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x60
ret 0x14
Function at 0x10034970
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100705d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push esi
push edi
mov esi, ecx
call fcn.10032570
mov ebx, eax
test ebx, ebx
mov dword [esp + 0xc], ebx
jne 0x100349c9
mov eax, dword [esp + 0x68]
xor ecx, ecx
mov ebx, eax
xor edx, edx
xor esi, esi
xor edi, edi
mov dword [ebx], ecx
mov dword [ebx + 4], edx
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
add esp, 0x58
ret 0xc
push ebp
mov ecx, ebx
call fcn.1002f9d0
mov ebp, dword [esp + 0x70]
mov edi, eax
add edi, ebp
mov ecx, ebx
mov dword [esp + 0x28], edi
call fcn.1002f9c0
mov edx, dword [esp + 0x74]
mov ecx, esi
add eax, edx
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x20]
push eax
call fcn.10034020
mov ebp, dword [eax]
lea edx, [esp + 0x38]
push edx
mov ecx, dword [eax + 4]
mov eax, dword [esi + 0x1c]
push eax
mov dword [esp + 0x24], ecx
call dword [0x1007240c]
push 0
lea ecx, [esp + 0x4c]
call fcn.1006a116
mov ecx, dword [esi + 0x5c]
mov edx, dword [esi + 0x58]
push ecx
lea eax, [esp + 0x4c]
push edx
push eax
mov dword [esp + 0x70], 0
call fcn.10043620
add esp, 0xc
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x18]
call fcn.10031fd0
mov eax, dword [esp + 0x50]
lea edx, [esp + 0x38]
push 2
push edx
push eax
mov byte [esp + 0x70], 1
call dword [0x100720f8]
mov ecx, ebx
call fcn.1002f940
mov ebx, eax
mov eax, edi
cmp eax, ebx
jge 0x10034a94
push edi
mov ecx, esi
call fcn.100320e0
push eax
push ebp
mov ecx, esi
call fcn.100322a0
cmp eax, dword [esp + 0x40]
jg 0x10034a90
inc edi
mov ebp, eax
cmp edi, ebx
jl 0x10034a6e
mov eax, ebx
jmp 0x10034a9a
cmp edi, ebx
jl 0x10034a98
mov eax, ebx
jmp 0x10034a9a
mov eax, edi
lea ecx, [eax - 1]
mov eax, dword [esp + 0x28]
cmp eax, ecx
jle 0x10034aab
mov dword [esp + 0x30], eax
jmp 0x10034ab6
cmp edi, ebx
jl 0x10034ab1
mov edi, ebx
dec edi
mov dword [esp + 0x30], edi
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
call fcn.1002f900
mov ebp, eax
mov eax, dword [esp + 0x2c]
cmp eax, ebp
mov edi, eax
jge 0x10034afd
push edi
mov ecx, esi
call fcn.10032000
push eax
push ebx
mov ecx, esi
call fcn.100323d0
cmp eax, dword [esp + 0x44]
jg 0x10034af5
inc edi
mov ebx, eax
cmp edi, ebp
jl 0x10034acf
mov eax, dword [esp + 0x2c]
mov ecx, ebp
jmp 0x10034b07
cmp edi, ebp
jl 0x10034b01
mov eax, dword [esp + 0x2c]
mov ecx, ebp
jmp 0x10034b07
mov eax, dword [esp + 0x2c]
mov ecx, edi
dec ecx
cmp eax, ecx
jle 0x10034b10
mov ecx, eax
jmp 0x10034b19
cmp edi, ebp
jl 0x10034b16
mov edi, ebp
lea ecx, [edi - 1]
mov esi, dword [esp + 0x6c]
mov edi, dword [esp + 0x28]
mov edx, esi
mov dword [edx], edi
mov dword [edx + 4], eax
mov eax, dword [esp + 0x30]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
lea ecx, [esp + 0x14]
call fcn.10031ff0
lea ecx, [esp + 0x48]
mov dword [esp + 0x64], 0xffffffff
call fcn.1006a188
mov ecx, dword [esp + 0x5c]
pop ebp
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x58
ret 0xc
Function at 0x10043c80
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x100710b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [0x1007240c]
push 0
lea ecx, [esp + 0x20]
call fcn.1006a116
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.10043620
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.1006a044
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.100668f3
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.100668f3
push 1
push 0
push 0
mov ecx, esi
call fcn.1006689b
push 1
push 0
push 1
mov ecx, esi
call fcn.1006689b
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.1006a188
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x10043e00
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x100710d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.1006a116
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.10043620
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.1006a044
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [0x1007240c]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x10043ec4
cmp dword [esp + 0x40], 1
jne 0x10043ec2
cmp ecx, eax
jge 0x10043ec4
mov eax, ecx
cmp eax, 0xc8
jge 0x10043ed0
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.10043c80
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [0x10072410]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.1006a188
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x10044650
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x10071143
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.10064d0b
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], 0x100d9b28
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], 0x100d8bc0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [0x100720c0]
push eax
mov ecx, edi
call fcn.1006a3be
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.1006b8da
test eax, eax
je 0x1004476c
mov ecx, dword [esp + 0x3c]
call fcn.1006a3eb
mov ecx, dword [esi + 0x1c]
mov ebp, dword [0x100723ec]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x10044730
push edi
mov ecx, esi
call fcn.10067a3d
mov ecx, esi
call fcn.100448d0
cmp dword [esp + 0x38], 1
jne 0x10044765
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.10067b78
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28

Function at 0x10047190
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x100471c3
push esi
call fcn.1004a280
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x100471bc
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x10047249
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x10047232
mov eax, dword [esi + 8]
test eax, eax
je 0x100471e7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x1004722e
cmp eax, 2
je 0x10047232
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x100471da
cmp eax, 3
je 0x1004720d
cmp eax, 1
jne 0x100471da
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x100471da
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x100471da
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.10047270
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x10047258
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.10047270
add esp, 4
pop esi
ret
Function at 0x403594
Capabilities:
Generate random numbers using the delphi lcg

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

Function at 0x41c6d0
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 0x41c701
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41c6e9
add dl, dl
jne 0x41c70c
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41c75d
xor eax, eax
add dl, dl
jne 0x41c719
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41c7fa
add dl, dl
jne 0x41c728
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41c733
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41c73e
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41c749
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x41c753
mov ebx, edi
sub ebx, eax
mov al, byte [ebx]
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x41c6f8
mov eax, 1
add dl, dl
jne 0x41c76b
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41c776
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41c762
sub eax, ebx
mov ebx, 1
jne 0x41c7a9
mov ecx, 1
add dl, dl
jne 0x41c78f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41c79a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41c786
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41c6f8
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x41c7c0
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41c7cb
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41c7b7
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 0x41c6f8
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x41c81b
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 0x41c6f8
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 0x41d398
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
test dl, dl
je 0x41d3ab
add esp, 0xfffffff0
call fcn.00403d90
mov esi, ecx
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00403b18
mov byte [ebx + 4], 0
cmp dword [esi + 0x5c], 0
jne 0x41d3d1
cmp dword [esi + 0x58], 0x40
jb 0x41d5b7
jmp 0x41d3d7
jl 0x41d5b7
lea eax, [ebx + 0xc]
mov edx, 0x40
call fcn.00406e68
push 0
push 0
push 0
push 0x40
lea edx, [ebx + 0xc]
mov eax, esi
call fcn.0041cf50
cmp word [ebx + 0xc], 0x5a4d
jne 0x41d5b7
mov ecx, dword [ebx + 0x48]
test ecx, ecx
jle 0x41d5b7
cmp ecx, 0x10000
jge 0x41d5b7
mov eax, ecx
add eax, 4
add eax, 0x14
cdq
cmp edx, dword [esi + 0x5c]
jne 0x41d432
cmp eax, dword [esi + 0x58]
ja 0x41d5b7
jmp 0x41d438
jg 0x41d5b7
lea eax, [ebx + 0x4c]
mov edx, 4
call fcn.00406e68
mov eax, dword [ebx + 0x48]
cdq
push edx
push eax
push 0
push 4
lea edx, [ebx + 0x4c]
mov eax, esi
call fcn.0041cf50
cmp dword [ebx + 0x4c], 0x4550
jne 0x41d5b7
lea eax, [ebx + 0x50]
mov edx, 0x14
call fcn.00406e68
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.0041cf50
mov ax, word [ebx + 0x50]
cmp ax, 0x8664
jne 0x41d4ef
mov eax, dword [ebx + 0x48]
add eax, 4
add eax, 0x14
add eax, 0xf0
cdq
cmp edx, dword [esi + 0x5c]
jne 0x41d4b3
cmp eax, dword [esi + 0x58]
ja 0x41d540
jmp 0x41d4b9
jg 0x41d540
lea eax, [ebx + 0x144]
mov edx, 0xf0
call fcn.00406e68
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.0041cf50
mov byte [ebx + 4], 1
jmp 0x41d540
cmp ax, 0x14c
jne 0x41d540
mov eax, dword [ebx + 0x48]
add eax, 4
add eax, 0x14
add eax, 0xe0
cdq
cmp edx, dword [esi + 0x5c]
jne 0x41d510
cmp eax, dword [esi + 0x58]
ja 0x41d540
jmp 0x41d512
jg 0x41d540
lea eax, [ebx + 0x64]
mov edx, 0xe0
call fcn.00406e68
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.0041cf50
mov byte [ebx + 4], 1
cmp byte [ebx + 4], 0
je 0x41d5b7
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 0x41d571
cmp eax, dword [esi + 0x58]
ja 0x41d5b7
jmp 0x41d573
jg 0x41d5b7
movzx eax, di
push eax
lea eax, [ebx + 8]
mov ecx, 1
mov edx, dword [0x4bae68]
call fcn.00405b5c
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.0041cf50
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x41d5ce
call fcn.00403de8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x41e2cc
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 0x4bc78b
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 0x41e37d
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 0x41e366
test esi, esi
jbe 0x41e37d
mov eax, dword [edi]
add eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040888c
test eax, eax
jne 0x41e358
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 0x41e37d
add dword [ebp - 0xc], 2
add edi, 4
dec esi
test esi, esi
ja 0x41e335
jmp 0x41e37d
mov ecx, edx
sub ecx, dword [eax + 0x10]
cmp ecx, dword [eax + 0x14]
jae 0x41e37d
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 0x4bc792
ret
Function at 0x41ebdc
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 0x4bd18b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404cb8
xor ebx, ebx
mov eax, ebx
and eax, 0x80000001
jns 0x41ec17
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x41ec30
lea eax, [ebp - 0x10]
mov edx, dword [0x4d3194]
mov edx, dword [edx]
mov edx, dword [edx + 0x10]
call fcn.00404d18
jmp 0x41ec43
lea eax, [ebp - 0x10]
mov edx, dword [0x4d3194]
mov edx, dword [edx]
mov edx, dword [edx + 0x14]
call fcn.00404d18
lea eax, [ebp - 0x10]
mov edx, ebx
sar edx, 1
jns 0x41ec4f
adc edx, 0
mov edx, dword [edx*4 + 0x4d1cac]
call fcn.00404f08
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 0x10]
call fcn.00404eec
push eax
call fcn.00406adc
mov esi, eax
cmp esi, 0xffffffff
je 0x41ed5d
mov eax, 0x40
call fcn.00403250
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0x40
push edi
push esi
call fcn.00406d24
test eax, eax
je 0x41ed50
mov eax, edi
cmp word [eax], 0x5a4d
jne 0x41ed50
push 0
push 0
mov eax, dword [eax + 0x3c]
push eax
push esi
call fcn.00406d7c
mov eax, edi
call fcn.00403270
mov eax, 0x18
call fcn.00403250
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0x18
push edi
push esi
call fcn.00406d24
test eax, eax
je 0x41ed50
mov eax, edi
cmp dword [eax], 0x4550
jne 0x41ed50
add eax, 4
mov dx, word [eax]
cmp dx, 0x14c
jb 0x41ed50
cmp dx, 0x150
ja 0x41ed50
mov eax, edi
call fcn.00403270
mov eax, 0xe0
call fcn.00403250
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0xe0
push edi
push esi
call fcn.00406d24
test eax, eax
je 0x41ed50
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 2]
jne 0x41ed50
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.00404cf4
mov eax, edi
call fcn.00403270
push esi
call fcn.00406a94
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor edx, edx
call fcn.00405014
jne 0x41ed75
inc ebx
cmp ebx, 0x19
jne 0x41ec09
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bd192
lea eax, [ebp - 0x10]
call fcn.00404cb8
ret
Function at 0x424d65
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.00424ce1
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x424ed4
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x424ed4
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x424e89
jg 0x424dc1
test eax, eax
je 0x424e7f
push 1
push 0x1000
call fcn.0041eda6
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x424de4
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x424e76
push 0x8000
push ebx
call fcn.00418277
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x424e0d
jg 0x424e08
cmp ecx, 0x1000
jb 0x424e0d
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.0041df25
add esp, 0x10
cmp eax, 0xffffffff
je 0x424e52
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x424e08
jl 0x424e39
test ecx, ecx
jne 0x424dfa
push dword [ebp - 0xc]
push ebx
call fcn.00418277
push esi
call fcn.0041ab69
add esp, 0xc
xor ebx, ebx
jmp 0x424ee2
cmp byte [edi + 0x24], 0
je 0x424e69
cmp dword [edi + 0x20], 5
jne 0x424e69
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x424e74
mov ebx, dword [edi + 0x18]
jmp 0x424e76
xor ebx, ebx
push esi
call fcn.0041ab69
pop ecx
jmp 0x424ee2
test ecx, ecx
jg 0x424e4b
jl 0x424e89
test eax, eax
jae 0x424e4b
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0041d5dd
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x424ea9
cmp byte [edi + 0x1c], 0
je 0x424e4b
jmp 0x424eda
push ebx
call fcn.00420213
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x424e4b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x424ee2
cmp byte [edi + 0x1c], 0
je 0x424edf
mov ebx, dword [edi + 0x18]
jmp 0x424ee2
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.0041d5dd
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43300c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x433030
nop
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
popal
nop
nop
jmp fcn.00431219