joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100133b0
Capabilities:
Packed with generic packer

Disassembly:
sub esp, 0x1c
mov eax, dword [esp + 0x24]
push ebx
push ebp
push esi
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x18], ecx
push edi
xor esi, esi
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov ebp, dword [eax + 0x10]
mov dword [esp + 0x14], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x30]
mov ecx, 8
xor eax, eax
lea edi, [edx + 0xb34]
mov dword [esp + 0x10], esi
rep stosd dword es:[edi], eax
mov eax, dword [edx + 0x144c]
mov dword [esp + 0x28], ebp
mov ecx, dword [edx + eax*4 + 0xb54]
mov word [ebx + ecx*4 + 2], si
mov esi, dword [edx + 0x144c]
inc esi
cmp esi, 0x23d
jge 0x100135c9
lea eax, [edx + esi*4 + 0xb54]
mov dword [esp + 0x30], eax
mov eax, 0x23d
sub eax, esi
add esi, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x34], esi
mov ecx, dword [esp + 0x30]
xor eax, eax
xor edi, edi
mov ecx, dword [ecx]
mov ax, word [ebx + ecx*4 + 2]
mov di, word [ebx + eax*4 + 2]
mov eax, edi
inc eax
cmp eax, ebp
jle 0x10013462
mov edi, dword [esp + 0x10]
mov eax, ebp
inc edi
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x1c]
mov word [ebx + ecx*4 + 2], ax
cmp ecx, edi
jg 0x100134cf
mov esi, dword [esp + 0x20]
inc word [edx + eax*2 + 0xb34]
xor edi, edi
cmp ecx, esi
jl 0x1001348c
mov edi, ecx
sub edi, esi
mov esi, dword [esp + 0x24]
mov edi, dword [esi + edi*4]
mov si, word [ebx + ecx*4]
add eax, edi
and esi, 0xffff
imul eax, esi
add dword [edx + 0x16a0], eax
mov eax, dword [esp + 0x14]
test eax, eax
je 0x100134cb
mov ebp, dword [esp + 0x14]
xor eax, eax
mov ax, word [ebp + ecx*4 + 2]
mov ecx, dword [edx + 0x16a4]
add eax, edi
mov ebp, dword [esp + 0x28]
imul eax, esi
add ecx, eax
mov dword [edx + 0x16a4], ecx
mov esi, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x18]
add ecx, 4
dec eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x18], eax
jne 0x1001343c
mov edi, dword [esp + 0x10]
test edi, edi
je 0x100135c9
lea eax, [ebp - 1]
cmp word [edx + eax*2 + 0xb34], 0
lea ecx, [edx + eax*2 + 0xb34]
jne 0x10013514
sub ecx, 2
dec eax
cmp word [ecx], 0
je 0x1001350a
dec word [edx + eax*2 + 0xb34]
add word [edx + eax*2 + 0xb36], 2
dec word [edx + ebp*2 + 0xb34]
sub edi, 2
test edi, edi
jg 0x100134f5
test ebp, ebp
mov edi, ebp
jmp 0x100228e8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret

Function at 0x100135e0
Capabilities:
Packed with generic packer

Disassembly:
mov edx, dword [esp + 0xc]
sub esp, 0x20
xor eax, eax
lea ecx, [esp + 2]
push esi
lea esi, [esp + 6]
sub edx, esi
push edi
jmp loc.1002255f
Function at 0x10014f00
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x100
mov ecx, dword [esp + 0x104]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x114]
push edi
xor edi, edi
mov edx, esi
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], edi
mov dword [esp + 0x7c], edi
mov dword [esp + 0x80], edi
mov dword [esp + 0x84], edi
mov dword [esp + 0x88], edi
mov dword [esp + 0x8c], edi
mov dword [esp + 0x90], edi
mov eax, dword [ecx]
add ecx, 4
mov ebp, dword [esp + eax*4 + 0x54]
lea eax, [esp + eax*4 + 0x54]
inc ebp
dec edx
mov dword [eax], ebp
jne 0x10014f6b
cmp dword [esp + 0x54], esi
jne 0x10014fa3
mov ecx, dword [esp + 0x128]
mov edx, dword [esp + 0x12c]
mov dword [ecx], edi
mov dword [edx], edi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x100
ret
mov ebx, dword [esp + 0x12c]
mov ecx, 1
lea eax, [esp + 0x58]
mov ebp, dword [ebx]
mov dword [esp + 0x10], ebp
cmp dword [eax], edi
jne 0x10014fc6
inc ecx
add eax, 4
cmp ecx, 0xf
jbe 0x10014fb9
mov eax, ecx
cmp ebp, ecx
mov dword [esp + 0x14], eax
jae 0x10014fd6
mov dword [esp + 0x10], ecx
mov ebp, ecx
mov edx, 0xf
lea esi, [esp + 0x90]
cmp dword [esi], edi
jne 0x10014fee
dec edx
sub esi, 4
cmp edx, edi
jne 0x10014fe2
cmp ebp, edx
mov dword [esp + 0x2c], edx
jbe 0x10014ffc
mov dword [esp + 0x10], edx
mov ebp, edx
jmp loc.10023363
Function at 0x2e49a0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x328e10
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x342014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 1
lea eax, [ebp + 0x20]
cmp dword [ebp + 0x34], 0x10
mov ecx, 0x3430ec
push dword [ebp + 0x30]
cmovae eax, dword [ebp + 0x20]
push eax
call fcn.002f80c0
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
mov ecx, 0x342a8c
push eax
call fcn.002f80c0
mov esi, dword [0x3430fc]
xor ebx, ebx
mov edi, dword [0x343100]
nop word [eax + eax]
cmp edi, 0x10
mov byte [ebx + 0x346390], bl
mov eax, ebx
mov ecx, 0x3430ec
cmovae ecx, dword [0x3430ec]
cdq
idiv esi
mov al, byte [edx + ecx]
mov byte [ebx + 0x3464a0], al
inc ebx
cmp ebx, 0x100
jl 0x2e4a20
xor edi, edi
xor esi, esi
mov dl, byte [esi + 0x346390]
movzx eax, byte [esi + 0x3464a0]
add edi, eax
movzx ecx, dl
add edi, ecx
and edi, 0x800000ff
jns 0x2e4a74
dec edi
or edi, 0xffffff00
inc edi
mov al, byte [edi + 0x346390]
mov byte [esi + 0x346390], al
inc esi
mov byte [edi + 0x346390], dl
cmp esi, 0x100
jl 0x2e4a50
mov esi, dword [ebp - 0x10]
mov ecx, esi
call fcn.002e4690
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x2e4ac9
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x2e4abf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x2e4b1f
push edx
push ecx
call fcn.002fd663
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0x2e4b0b
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x2e4b01
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x2e4b1f
push edx
push ecx
call fcn.002fd663
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00316c6a
int3
Function at 0x2e70a0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x188
mov eax, dword [0x342014]
xor eax, esp
mov dword [esp + 0x184], eax
push esi
push edi
push 0x104
lea eax, [esp + 0x84]
mov esi, ecx
push eax
push 0
call 0x220092b
nop
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x2e7289
mov edi, dword [esi + 0x3c]
add edi, esi
cmp dword [edi], 0x4550
jne 0x2e7289
push 0x44
lea eax, [esp + 0x3c]
push 0
push eax
call fcn.003140f0
add esp, 0xc
lea eax, [esp + 0x20]
xorps xmm0, xmm0
movaps xmmword [esp + 0x20], xmm0
push eax
lea eax, [esp + 0x3c]
push eax
push 0
push 0
push 4
push 0
push 0
push 0
push 0
lea eax, [esp + 0xa4]
push eax
call 0x2200a41
nop
test eax, eax
je 0x2e7289
push 4
push 0x1000
push 4
push 0
call 0x2200233
nop
push eax
mov dword [esp + 0x1c], eax
mov dword [eax], 0x10007
push dword [esp + 0x28]
call 0x20e010a
nop
test eax, eax
je 0x2e7289
push 0
push 4
lea eax, [esp + 0x24]
push eax
push 0x338df8
push dword [esp + 0x30]
call 0x20e0543
nop
mov eax, dword [edi + 0x34]
cmp dword [esp + 0x1c], eax
jne 0x2e71ac
push 0x338dfc
push 0x338e14
call 0x21b0d65
nop
push eax
call 0x20e02ee
nop
push dword [esp + 0x1c]
push dword [esp + 0x24]
call eax
mov eax, dword [edi + 0x34]
push 0x40
push 0x3000
push dword [edi + 0x50]
push eax
push dword [esp + 0x30]
call 0x20e03b8
nop
mov dword [esp + 0x14], eax
test eax, eax
je 0x2e7289
push 0
push dword [edi + 0x54]
push esi
push eax
push dword [esp + 0x30]
call 0x2200877
nop
xor eax, eax
mov dword [esp + 0x10], 0
cmp ax, word [edi + 6]
jae 0x2e7243
mov dword [esp + 0xc], eax
call fcn.002e6ef0
push eax
call 0x2160769
nop
mov ecx, dword [esp + 0xc]
add ecx, esi
add ecx, dword [esi + 0x3c]
push 0
push dword [ecx + 0x108]
mov eax, dword [ecx + 0x10c]
add eax, esi
push eax
mov eax, dword [ecx + 0x104]
add eax, dword [esp + 0x20]
push eax
push dword [esp + 0x30]
call 0x2200877
nop
mov ecx, dword [esp + 0x10]
movzx eax, word [edi + 6]
inc ecx
add dword [esp + 0xc], 0x28
mov dword [esp + 0x10], ecx
cmp ecx, eax
jl 0x2e71f2
push 0
push 4
lea eax, [edi + 0x34]
push eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0xa4]
add eax, 8
push eax
push dword [esp + 0x30]
call 0x2200877
nop
mov ecx, dword [esp + 0x18]
mov eax, dword [edi + 0x28]
add eax, dword [esp + 0x14]
push ecx
mov dword [ecx + 0xb0], eax
push dword [esp + 0x28]
call 0x20e07f8
nop
push dword [esp + 0x24]
call 0x21b0e00
nop
push 0x8000
push 0
push esi
call 0x220080f
nop
mov ecx, dword [esp + 0x18c]
mov al, 1
pop edi
pop esi
xor ecx, esp
call fcn.002fcff1
mov esp, ebp
pop ebp
ret
Function at 0x2eaf20
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x329726
mov eax, dword fs:[0]
push eax
sub esp, 0x438
mov eax, dword [0x342014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x414], ebx
push 0
mov dword [ebp - 0x414], ebx
call fcn.00318b63
push eax
call fcn.00316660
add esp, 8
call fcn.0031663f
cdq
mov ecx, 0x3313
idiv ecx
mov edi, edx
call fcn.0031663f
mov ecx, eax
mov eax, 0x55555556
imul ecx
mov esi, edx
shr esi, 0x1f
add esi, edx
imul esi, edi
call fcn.0031663f
imul edx, eax, 0x4d
lea ecx, [ebp - 0x444]
add edx, 0x64
add edx, esi
call fcn.002e45b0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x444]
cmp dword [ebp - 0x430], 0x10
lea edx, [ebp - 0x410]
cmovae eax, dword [ebp - 0x444]
sub edx, eax
nop
mov cl, byte [eax]
lea eax, [eax + 1]
mov byte [edx + eax - 1], cl
test cl, cl
jne 0x2eafd0
lea esi, [ebp - 0x410]
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x2eafe6
push 0x40
push 0
push 0x348560
sub esi, ecx
call fcn.003140f0
add esp, 0xc
mov dword [0x348554], 0
mov edx, esi
mov dword [0x348550], 0
lea ecx, [ebp - 0x410]
mov dword [0x348540], 0x67452301
mov dword [0x348544], 0xefcdab89
mov dword [0x348548], 0x98badcfe
mov dword [0x34854c], 0x10325476
call fcn.002e5530
call fcn.002e55f0
mov ecx, 0x3465a0
mov dword [ebp - 0x41c], 0
mov dword [ebp - 0x418], 0xf
mov byte [ebp - 0x42c], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x2eb071
sub ecx, edx
push ecx
push 0x3465a0
lea ecx, [ebp - 0x42c]
call fcn.002f80c0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x430]
cmp edx, 0x10
jb 0x2eb0cc
mov ecx, dword [ebp - 0x444]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x2eb0c2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x2eb18c
push edx
push ecx
call fcn.002fd663
add esp, 8
mov dword [ebp - 0x434], 0
mov dword [ebp - 0x430], 0xf
mov byte [ebp - 0x444], 0
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x41c]
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0xf
mov byte [ebx], 0
cmp eax, 1
jb 0x2eb187
dec eax
mov ecx, 0xa
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp - 0x418], 0x10
lea eax, [ebp - 0x42c]
cmovae eax, dword [ebp - 0x42c]
push ecx
inc eax
mov ecx, ebx
push eax
call fcn.002f80c0
mov edx, dword [ebp - 0x418]
cmp edx, 0x10
jb 0x2eb169
mov ecx, dword [ebp - 0x42c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x2eb15f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x2eb18c
push edx
push ecx
call fcn.002fd663
add esp, 8
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.002fcff1
mov esp, ebp
pop ebp
ret
call fcn.002f8200
call fcn.00316c6a
int3
Function at 0x2fdcc7
Capabilities:
Parse pe header

Disassembly:
push 0
call 0x2381611
nop
test eax, eax
je 0x2fdd07
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x2fdd07
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x2fdd07
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x2fdd07
cmp dword [ecx + 0x74], 0xe
jbe 0x2fdd07
cmp dword [ecx + 0xe8], 0
je 0x2fdd07
mov al, 1
ret
xor al, al
ret

Function at 0x52290c
Capabilities:
Execute anti-debugging instructions

Disassembly:
jns 0x522928
jmp 0x522928
push eax
push eax
push edx
push edi
jmp 0x522938
pop edi
rdtsc
jmp 0x522947
pop edx
pop eax
mov eax, dword [esp + 4]
push esi
push esi
jl 0x522955
pop esi
pop esi
mov eax, dword [eax]
jmp 0x52296b
mov dword [esp + 4], eax
push ecx
push eax
push edx
jmp 0x522989
rdtsc
jmp 0x5229a2
pop edx
pop eax
pop ecx
pop eax
jmp 0x5229b9
push dword [ebp + 0x122d1771]
jmp 0x5229d3
lea eax, [ebp + 0x12470578]
pushal
jmp 0x5229f2
popal
call eax
push 0
push ebx
call 0x522a00
and byte [ebx - 0x3d], bl
pop ebx
mov dword [esp + 4], ebx
add dword [esp + 4], 0x17
inc ebx
push ebx
ret
Function at 0x448f90
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0xa6e7d8]
xor edx, edx
cmp eax, edx
jne 0x448fb6
xor eax, eax
mov byte [eax + 0xa6e6d8], al
inc eax
cmp eax, 0x100
jl 0x448f9e
mov dword [0xa6e7d8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0xa6e6d8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x449047
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x44901a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x448fe8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4490c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x449113
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x4490fa
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44d480
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x68
mov eax, dword [esp + 0x78]
push ebx
push esi
cmp eax, 1
push edi
mov dword [esp + 0x14], ecx
jl 0x44d6a1
cmp eax, 8
jg 0x44d6a1
cmp dword [esp + 0x8c], 2
jl 0x44d6a1
mov eax, dword [esp + 0x7c]
mov esi, dword [eax]
mov edi, dword [eax + 4]
mov ecx, dword [eax + 8]
mov dword [esp + 0x6c], ecx
sub ecx, esi
mov ebx, dword [eax + 0xc]
mov dword [esp + 0x7c], ecx
test ecx, ecx
mov dword [esp + 0x70], ebx
jle 0x44d6a1
sub ebx, edi
test ebx, ebx
mov dword [esp + 0x20], ebx
jle 0x44d6a1
mov eax, dword [esp + 0x80]
test eax, eax
je 0x44d507
mov edx, dword [eax]
mov dword [esp + 0x44], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x48], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x4c], edx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x50], eax
xor edx, edx
push ebp
test ebx, ebx
mov dword [esp + 0x1c], 1
mov dword [esp + 0x14], edx
jle 0x44d68a
mov ebp, dword [0x4ba5c8]
mov eax, ebx
mov dword [esp + 0x10], 0x32
sub eax, edx
cmp eax, 0x32
jg 0x44d539
mov dword [esp + 0x10], eax
xor eax, eax
test ecx, ecx
jle 0x44d671
mov ebx, dword [esp + 0x10]
add ebx, edx
mov dword [esp + 0x20], ebx
sub ecx, eax
cmp ecx, 0x32
jle 0x44d559
mov ecx, 0x32
lea ebx, [ecx + eax]
mov ecx, dword [esp + 0x20]
push ecx
push ebx
push edx
lea edx, [esp + 0x34]
push eax
push edx
call dword [0x4ba5b4]
push edi
lea eax, [esp + 0x2c]
push esi
push eax
call ebp
mov eax, dword [esp + 0x84]
test eax, eax
je 0x44d598
lea ecx, [esp + 0x48]
lea edx, [esp + 0x28]
push ecx
lea eax, [esp + 0x2c]
push edx
push eax
call dword [0x4ba5bc]
lea ecx, [esp + 0x28]
push ecx
call dword [0x4ba5fc]
test eax, eax
jne 0x44d658
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x40], ecx
mov eax, edi
mov ecx, esi
mov dword [esp + 0x44], edx
neg eax
neg ecx
push eax
lea edx, [esp + 0x3c]
push ecx
push edx
call ebp
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x60], edx
lea edx, [esp + 0x58]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x94]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x74]
push edx
mov edx, dword [esp + 0x94]
sub ecx, edi
sub eax, esi
push edx
push ecx
mov ecx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x9c]
push eax
call fcn.0044ca90
cmp eax, 1
jne 0x44d682
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x80]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x28]
call fcn.0044d340
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x14]
mov eax, ebx
cmp eax, ecx
jl 0x44d54d
mov ebx, dword [esp + 0x24]
add edx, dword [esp + 0x10]
cmp edx, ebx
mov dword [esp + 0x14], edx
jge 0x44d68a
jmp 0x44d524
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x18]
call fcn.0044c690
mov eax, dword [esp + 0x1c]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x68
ret 0x1c
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x68
ret 0x1c
Function at 0x450120
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
xor esi, esi
xor ecx, ecx
mov si, word [eax + 8]
mov cx, word [eax + 4]
xor ebp, ebp
xor edx, edx
mov bp, word [eax + 0xa]
mov dx, word [eax + 6]
sub esi, ecx
sub ebp, edx
inc esi
xor ebx, ebx
inc ebp
cmp esi, ebx
mov dword [esp + 0x14], esi
jle 0x4502b8
cmp ebp, ebx
jle 0x4502b8
mov eax, esi
push edi
cdq
and edx, 7
add eax, edx
mov edi, eax
mov eax, esi
sar edi, 3
and eax, 0x80000007
mov dword [esp + 0x10], edi
jns 0x45017e
dec eax
or eax, 0xfffffff8
inc eax
je 0x450185
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, 0x80000001
jns 0x450194
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x45019b
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.004aa687
add esp, 4
cmp eax, ebx
je 0x4501bc
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov ebx, eax
mov eax, edi
mov dword [esp + 0x14], ebx
imul eax, ebp
push eax
mov dword [ebx], 7
mov dword [ebx + 4], esi
mov dword [ebx + 8], ebp
mov dword [ebx + 0x14], eax
call fcn.004aa687
mov ecx, dword [ebx + 0x14]
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 0x10], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
test ebp, ebp
lea edx, [eax + 0x80]
jle 0x4502ae
xor eax, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], eax
mov ebp, dword [ebx + 0x10]
xor ecx, ecx
add ebp, eax
mov dword [esp + 0x2c], ecx
test esi, esi
jle 0x450295
mov al, byte [edx]
cmp al, 0xc0
jbe 0x450281
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x450276
xor eax, eax
mov ecx, esi
mov al, byte [edx]
mov edx, ecx
mov bl, al
mov edi, ebp
mov bh, bl
dec esi
mov eax, ebx
shl eax, 0x10
mov ax, bx
mov ebx, dword [esp + 0x14]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x24]
and ecx, 3
add ebp, esi
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
lea ecx, [eax + esi*8]
mov esi, dword [esp + 0x18]
jmp 0x450284
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x450284
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x450220
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
add eax, edi
dec ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jne 0x450211
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x18
ret
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
Function at 0x457cc0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4b7b18
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.00458840
lea edx, [esp + 0x18]
push eax
push edx
call dword [0x4ba588]
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 [0x4ba5fc]
test eax, eax
je 0x457d69
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.00457950
mov edx, eax
mov eax, dword [edx]
mov ecx, dword [edx + 4]
push ecx
push eax
lea eax, [esp + 0x20]
push eax
call dword [0x4ba5c8]
push edi
lea ecx, [esp + 0x4c]
call fcn.004b12ca
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.0046e720
mov edx, dword [esp + 0x5c]
add esp, 0xc
lea ecx, [esp + 0x18]
push 2
push ecx
push edx
call dword [0x4ba11c]
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x38]
push eax
push ecx
call dword [0x4ba624]
lea edx, [esp + 0x38]
lea eax, [esp + 0x18]
push edx
lea ecx, [esp + 0x2c]
push eax
push ecx
call dword [0x4ba5bc]
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.004b133c
mov ecx, dword [esp + 0x5c]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x60
ret 0x14