joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4dd3b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x51c8a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov ecx, dword [ebx + 8]
xor edi, edi
xor esi, esi
xor eax, eax
cmp ecx, edi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ecx
jle 0x4dd3fb
mov edx, dword [ebx + 4]
inc eax
cmp eax, ecx
mov edx, dword [edx + eax*4 - 4]
mov dword [edx + 0x234], edi
jl 0x4dd3e9
mov edx, dword [ebp + 8]
xor eax, eax
mov dword [esp + 0x14], eax
cmp dword [edx + 8], edi
jle 0x4dd5a8
jmp 0x4dd411
xor edi, edi
mov edx, dword [edx + 4]
mov esi, dword [edx + eax*4]
xor eax, eax
cmp ecx, edi
mov dword [esp + 0x18], eax
mov dword [esi + 0x234], edi
jle 0x4dd4f2
mov edx, dword [ebx + 4]
mov edi, dword [edx + eax*4]
mov edx, dword [edi + 0x234]
test edx, edx
jne 0x4dd4ba
lea eax, [esp + 0x20]
lea ecx, [esi + 8]
push eax
call fcn.00474450
mov ebx, eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0
push ecx
lea ecx, [edi + 8]
call fcn.00474450
mov ebx, dword [ebx]
mov eax, dword [eax]
push ebx
push eax
nop
call 0x609247
add esp, 8
lea ecx, [esp + 0x1c]
test eax, eax
sete bl
call fcn.0050b22e
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 0xffffffff
call fcn.0050b22e
test bl, bl
je 0x4dd4af
push 0x3ff00000
push 0
push edi
push esi
call fcn.004ee250
fcomp qword [0x524fc0]
add esp, 0x10
fnstsw ax
test ah, 0x41
je 0x4dd4c9
mov eax, dword [esp + 0x18]
mov ebx, dword [ebp + 0xc]
mov ecx, dword [esp + 0x10]
inc eax
cmp eax, ecx
mov dword [esp + 0x18], eax
jl 0x4dd42b
jmp 0x4dd4f2
mov edx, dword [ebp + 8]
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x234], edi
mov ebx, dword [ebp + 0xc]
mov eax, dword [edx + 4]
mov edx, dword [eax + ecx*4]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
inc eax
mov dword [edi + 0x234], edx
mov dword [esp + 0xc], eax
mov eax, dword [esi + 0x234]
test eax, eax
jne 0x4dd57b
xor edi, edi
mov dword [esp + 0x24], 0
test ecx, ecx
mov dword [esp + 0x28], 0x3fe80000
jle 0x4dd553
mov eax, dword [ebx + 4]
push 0x3ff00000
push 0
mov ecx, dword [eax + edi*4]
push ecx
push esi
call fcn.004ee250
fcom qword [esp + 0x34]
add esp, 0x10
fnstsw ax
test ah, 0x41
jne 0x4dd546
mov edx, dword [ebx + 4]
fstp qword [esp + 0x24]
mov eax, dword [edx + edi*4]
mov dword [esi + 0x234], eax
jmp 0x4dd548
fstp st(0)
mov eax, dword [esp + 0x10]
inc edi
cmp edi, eax
jl 0x4dd512
mov ecx, eax
mov esi, dword [esi + 0x234]
test esi, esi
je 0x4dd57b
mov eax, dword [esp + 0xc]
mov edx, dword [ebp + 8]
inc eax
mov edi, dword [edx + 4]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x14]
mov edi, dword [edi + eax*4]
mov dword [esi + 0x234], edi
jmp 0x4dd582
mov edx, dword [ebp + 8]
mov eax, dword [esp + 0x14]
mov esi, dword [edx + 8]
inc eax
cmp eax, esi
mov dword [esp + 0x14], eax
jl 0x4dd40f
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x30]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4e1dc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x51cdf8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov dword [esp], ecx
push esi
push edi
lea ecx, [esp + 0xc]
call fcn.00407c00
xor edi, edi
push 0xa
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], edi
mov dword [esp + 0x14], 0x520da8
call fcn.004de680
mov esi, dword [esp + 0x30]
push 0xffffffffffffffff
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 1
mov eax, dword [esi + 0x24c]
push eax
call fcn.004de680
mov eax, dword [esi + 0x24c]
mov esi, dword [esi + 0x248]
mov ecx, dword [esp + 0x10]
mov edx, eax
dec eax
test edx, edx
je 0x4e1e44
inc eax
mov edx, dword [esi]
add esi, 4
mov dword [ecx], edx
add ecx, 4
dec eax
jne 0x4e1e37
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x34]
cmp ecx, 0xffffffff
je 0x4e1e54
mov dword [esi + 0x10], ecx
mov eax, dword [esi + 4]
cmp eax, edi
je 0x4e1e6b
push eax
call fcn.0050b204
mov ecx, dword [esp + 0x18]
add esp, 4
mov dword [esi + 4], edi
cmp ecx, edi
mov dword [esi + 0xc], edi
mov dword [esi + 8], edi
jle 0x4e1eae
push ebx
push ebp
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov ebx, dword [esi + 8]
push 0xffffffffffffffff
mov ecx, dword [eax + edi*4]
mov eax, dword [edx + 0xb0]
mov ebp, dword [eax + ecx*4]
lea ecx, [ebx + 1]
push ecx
mov ecx, esi
call fcn.004de680
mov edx, dword [esi + 4]
inc edi
mov dword [edx + ebx*4], ebp
mov eax, dword [esp + 0x1c]
cmp edi, eax
jl 0x4e1e77
pop ebp
xor edi, edi
pop ebx
mov dword [esp + 0xc], 0x5205a4
mov eax, dword [esp + 0x10]
mov dword [esp + 0x28], 2
cmp eax, edi
pop edi
pop esi
je 0x4e1ed1
push eax
call fcn.0050b204
add esp, 4
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 8
Function at 0x4e4f20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x51d33f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push esi
mov esi, ecx
mov dword [esp + 4], 0
lea ecx, [esi + 0x8b8]
call fcn.0048e7d0
push eax
lea ecx, [esp + 0xc]
call fcn.0047dc60
lea ecx, [esi + 0x338]
mov dword [esp + 0x30], 1
call fcn.0048e7b0
test eax, eax
je 0x4e4f81
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0x40590000
jmp 0x4e4fb2
mov ecx, esi
call fcn.004e4c90
fcomp qword [0x520dc8]
fnstsw ax
test ah, 1
je 0x4e4fa7
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0x40240000
jmp 0x4e4fb2
mov ecx, esi
call fcn.004e4c90
fstp qword [esp + 0x18]
mov esi, dword [esp + 0x38]
lea eax, [esp + 8]
push eax
mov ecx, esi
call fcn.0047dc60
mov dword [esp + 4], 1
lea ecx, [esp + 8]
mov byte [esp + 0x30], 0
call fcn.00507a00
mov ecx, dword [esp + 0x28]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x30
ret 4
Function at 0x4f3d90
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x51dd78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x70
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x28]
lea edi, [esi + 0x450]
push edi
call fcn.0047fb60
lea ecx, [esp + 0x28]
mov dword [esp + 0x80], 0
call fcn.0047fe90
lea eax, [esp + 8]
mov ecx, edi
push eax
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0x40590000
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0x40590000
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0x40590000
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0x40590000
call fcn.00480620
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x2c]
call fcn.00480620
fld qword [esp + 0x10]
fsub qword [esp + 0x20]
sub esp, 8
lea ecx, [esp + 0x30]
sub esp, 8
fstp qword [esp + 8]
fld qword [esp + 0x18]
fsub qword [esp + 0x28]
fstp qword [esp]
call fcn.004804a0
mov edx, dword [esi]
lea eax, [esp + 0x28]
push eax
mov ecx, esi
call dword [edx + 0x18]
lea ecx, [esp + 0x28]
mov dword [esp + 0x80], 0xffffffff
call fcn.00507a00
mov ecx, dword [esp + 0x78]
pop edi
mov al, 1
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4f5e40
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x51dee6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
lea ecx, [esi + 8]
call fcn.0050b234
xor ebx, ebx
lea ecx, [esi + 0xc]
mov dword [esp + 0x18], ebx
call fcn.0050b234
lea ecx, [esi + 0x10]
mov byte [esp + 0x18], 1
call fcn.0050b234
mov dword [esi + 0x18], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x30], ebx
mov ecx, 0xc
xor eax, eax
lea edi, [esi + 0x58]
mov dword [esi], 0x52a068
mov dword [esi + 0x1c], 0x3ff00000
mov dword [esi + 0x20], 1
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
rep stosd dword es:[edi], eax
mov ecx, 0xc
lea edi, [esi + 0x88]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x38], 0x9999999a
mov dword [esi + 0x40], ebx
mov dword [esi + 0x3c], 0x3fb99999
mov dword [esi + 0x44], 0x40240000
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4f65a6
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x51df56
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.00477db0
lea edi, [esi + 0x88]
mov dword [esp + 0x14], 0
mov ecx, edi
call fcn.0050b234
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
lea eax, [esi + 0x68]
mov byte [esp + 0x14], 1
mov dword [esi], 0x52a080
mov dword [eax], ecx
mov ecx, dword [esp + 0x24]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x28]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x30]
lea eax, [esi + 0x78]
mov dword [esi + 0x78], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x38]
mov dword [eax + 8], ecx
mov ecx, edi
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x3c]
push eax
call fcn.0050b2e2
mov ecx, dword [esp + 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x24
Function at 0x4f6e20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x51e010
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push ebp
xor ebp, ebp
push esi
push edi
mov ebx, ecx
mov dword [esp + 0x20], 0x522c78
mov dword [esp + 0x24], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], ebp
mov esi, dword [esp + 0x44]
lea eax, [ebx + 0x240]
mov ecx, 0x10
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov esi, dword [eax]
mov edi, dword [eax + 4]
mov dword [esp + 0x18], ecx
push 0xffffffffffffffff
push 1
lea ecx, [esp + 0x28]
mov dword [esp + 0x44], ebp
mov dword [esp + 0x24], edx
call fcn.004ed930
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
push 0xffffffffffffffff
mov dword [eax], esi
mov dword [eax + 4], edi
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov esi, dword [esp + 0x2c]
lea eax, [ebx + 0x250]
mov edi, dword [ebx + 0x250]
mov ecx, dword [eax + 4]
mov dword [esp + 0x18], ecx
lea ecx, [esi + 1]
mov edx, dword [eax + 8]
push ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], edx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x24], eax
call fcn.004ed930
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
shl esi, 4
add esi, eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
push 0xffffffffffffffff
mov dword [esi], edi
mov dword [esi + 4], edx
lea edx, [ebx + 0x260]
mov dword [esi + 8], eax
mov dword [esi + 0xc], ecx
mov edi, dword [edx]
mov esi, dword [esp + 0x2c]
mov eax, dword [edx + 4]
mov dword [esp + 0x18], eax
lea eax, [esi + 1]
mov ecx, dword [edx + 8]
push eax
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x28]
mov edx, dword [edx + 0xc]
mov dword [esp + 0x24], edx
call fcn.004ed930
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
shl esi, 4
add esi, edx
mov edx, dword [esp + 0x18]
mov dword [esi], edi
mov dword [esi + 4], ecx
mov dword [esi + 8], edx
mov eax, dword [esp + 0x1c]
lea ecx, [ebx + 0x270]
mov dword [esi + 0xc], eax
mov esi, dword [esp + 0x28]
mov edi, dword [ecx]
push 0xffffffffffffffff
mov edx, dword [ecx + 4]
mov dword [esp + 0x18], edx
lea edx, [esi + 1]
mov eax, dword [ecx + 8]
push edx
mov dword [esp + 0x20], eax
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x28]
call fcn.004ed930
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
shl esi, 4
add esi, eax
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
push 2
mov dword [esi], edi
mov dword [esi + 4], eax
lea eax, [esp + 0x24]
push eax
mov dword [esi + 8], ecx
mov ecx, ebx
mov dword [esi + 0xc], edx
call fcn.0048fbf0
mov dword [esp + 0x20], 0x522c78
mov eax, dword [esp + 0x24]
pop edi
pop esi
cmp eax, ebp
pop ebp
mov dword [esp + 0x30], 1
pop ebx
je 0x4f6fcd
push eax
call fcn.0050b204
add esp, 4
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret 4
Function at 0x4fa0d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x51e287
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
lea eax, [esp + 0xc]
push edi
push eax
push 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], 0
call fcn.004fb560
mov ecx, dword [esp + 0x10]
push ecx
call fcn.0050b264
add esp, 4
lea edx, [esp + 0x10]
mov edi, eax
push edx
push edi
call fcn.004fb560
lea ecx, [esp + 0xc]
mov esi, edi
call fcn.0050b234
mov ebx, 1
test edi, edi
mov dword [esp + 0x24], ebx
je 0x4fa189
mov eax, dword [esi + 0x190]
lea ecx, [esi + 0x194]
push eax
lea edx, [esp + 0x18]
push ecx
push edx
call fcn.004fa010
add esp, 0xc
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 2
call fcn.0050b2e2
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], bl
call fcn.0050b22e
mov eax, dword [esp + 0xc]
mov esi, dword [esi]
cmp dword [eax - 8], 0xa
jg 0x4fa189
lea ecx, [esp + 0xc]
call fcn.0050b52e
test esi, esi
jne 0x4fa139
push edi
call fcn.0050b204
mov esi, dword [esp + 0x30]
add esp, 4
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call fcn.0050b33c
mov dword [esp + 0x18], ebx
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 0
call fcn.0050b22e
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret

Function at 0x4fbdb0
Capabilities:
Encode data using xor
Encrypt data using blowfish

Disassembly:
sub esp, 0xc
xor eax, eax
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov ecx, dword [edi]
mov edx, dword [eax + 0x5481e0]
mov dword [eax + ecx], edx
add eax, 4
cmp eax, 0x48
jl 0x4fbdbb
xor eax, eax
mov ecx, 0x100
mov edx, dword [edi + 4]
mov esi, dword [eax + 0x548228]
mov dword [eax + edx], esi
add eax, 4
dec ecx
jne 0x4fbdd5
cmp eax, 0x1000
jl 0x4fbdd0
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
xor esi, esi
xor eax, eax
mov dword [esp + 0x18], eax
mov edx, dword [edi]
xor ebx, ebx
add eax, edx
mov dword [esp + 0x24], eax
lea eax, [esi + 1]
cdq
idiv ebp
lea eax, [esi + 2]
mov bl, byte [edx + ecx]
cdq
idiv ebp
mov bh, byte [esi + ecx]
xor eax, eax
shl ebx, 8
mov al, byte [edx + ecx]
or ebx, eax
lea eax, [esi + 3]
cdq
idiv ebp
xor eax, eax
shl ebx, 8
mov al, byte [edx + ecx]
or ebx, eax
mov eax, dword [esp + 0x24]
mov edx, dword [eax]
xor edx, ebx
mov dword [eax], edx
lea eax, [esi + 4]
cdq
idiv ebp
mov eax, dword [esp + 0x18]
add eax, 4
cmp eax, 0x48
mov dword [esp + 0x18], eax
mov esi, edx
jl 0x4fbdfe
xor esi, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
lea ecx, [esp + 0x14]
lea edx, [esp + 0x10]
push ecx
push edx
mov ecx, edi
call fcn.004fb5b0
mov eax, dword [edi]
mov ecx, dword [esp + 0x10]
mov dword [esi + eax], ecx
mov edx, dword [edi]
mov eax, dword [esp + 0x14]
mov dword [esi + edx + 4], eax
add esi, 8
cmp esi, 0x48
jl 0x4fbe60
mov esi, 4
mov ebx, 0x80
lea ecx, [esp + 0x14]
lea edx, [esp + 0x10]
push ecx
push edx
mov ecx, edi
call fcn.004fb5b0
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x10]
mov dword [esi + eax - 4], ecx
mov edx, dword [edi + 4]
mov eax, dword [esp + 0x14]
mov dword [esi + edx], eax
add esi, 8
dec ebx
jne 0x4fbe96
cmp esi, 0x1004
jl 0x4fbe91
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
Function at 0x4fce10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x51e60b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], 0x52a724
mov eax, dword [esi + 0x30]
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0x1c], 1
je 0x4fcea0
mov edx, dword [esi + 0x24]
mov eax, dword [esi + 0x2c]
mov edi, dword [esi + 0x20]
mov ecx, edx
push ebx
sub eax, ecx
mov ecx, dword [esi + 0x28]
mov ebx, edi
sub ecx, ebx
mov ebx, dword [esi + 0x1c]
cmp esi, ebp
je 0x4fce67
mov ebp, dword [esi + 4]
push 0xcc0020
push edx
push edi
push ebp
push eax
mov eax, dword [ebx + 4]
push ecx
push edx
push edi
push eax
nop
call 0x6099a0
mov eax, dword [esi + 0x18]
pop ebx
test eax, eax
jne 0x4fce91
mov ecx, dword [esi + 4]
push eax
push ecx
call fcn.0050b38a
jmp 0x4fcea6
mov eax, dword [eax + 4]
mov ecx, dword [esi + 4]
push eax
push ecx
call fcn.0050b38a
jmp 0x4fcea6
mov dword [esi + 8], ebp
mov dword [esi + 4], ebp
lea edi, [esi + 0x10]
mov dword [esp + 0x10], edi
mov dword [edi], 0x52125c
mov ecx, edi
mov byte [esp + 0x1c], 2
call fcn.0050b384
mov ecx, esi
mov dword [edi], 0x520384
mov dword [esp + 0x1c], 0xffffffff
call fcn.0050b360
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x404be7
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.00404d97
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x404ce5
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x404c88
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x404ccb
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x404c9f
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x404cba
test al, 0x40
je 0x404cb1
mov ecx, dword [edi + 0x20]
jmp 0x404cb8
test al, 0x80
je 0x404ccb
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x404ccb
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x404c57
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x424ce0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4abb9b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0049fdb3
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x424d62
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0049d7b0
mov eax, dword [eax]
push 0x102e210
push eax
call fcn.0048f954
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004a003e
test bl, bl
je 0x424d62
push 0x102e210
lea ecx, [esp + 0xc]
call fcn.004a03ce
push 0x1031dc8
lea ecx, [esp + 0xc]
call fcn.004a03ce
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x424d9e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004a003e
jmp 0x424e69
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x424e22
lea edx, [esp + 0x7c]
push 0x1031dc4
push edx
call fcn.0048f954
add esp, 8
test eax, eax
je 0x424e22
lea eax, [esp + 0x7c]
push 0x1031dc0
push eax
call fcn.0048f954
add esp, 8
test eax, eax
je 0x424e22
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x424db2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.004a003e
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4
Function at 0x425660
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4abc1b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x103fcb0]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x425798
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4256c6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004a003e
xor eax, eax
jmp 0x42580f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004a017b
push esi
lea ecx, [esp + 0xc]
call fcn.004a040a
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x1031e00
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x4257ed
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push 0x1031df8
push accept
call fcn.0047cf00
test eax, eax
jne 0x4257ed
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push 0x1031de4
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push accept
mov ecx, edi
call fcn.0047cf00
test eax, eax
jne 0x4257ed
lea eax, [esp + 0x14]
push 0x1031ddc
push eax
call fcn.00490aa0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4257cc
lea ecx, [esp + 0x14]
push 0x1031dd8
push ecx
call fcn.00490a20
mov esi, eax
add esp, 8
test esi, esi
jne 0x4257cc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x4257cf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004a012b
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4256de
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004a003e
xor eax, eax
jmp 0x42580f
mov byte [esi], 0
push 0x1031dd4
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.004a003e
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4