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

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x3b000]
push edi
or ebp, 0xffffffff
jmp 0x44fe62
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x44fe69
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x44fe58
mov eax, 1
add ebx, ebx
jne 0x44fe7b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x44fe70
jne 0x44fe8c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x44fe70
xor ecx, ecx
sub eax, 3
jb 0x44fea0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x44ff12
mov ebp, eax
add ebx, ebx
jne 0x44feab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x44feb8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x44fedc
inc ecx
add ebx, ebx
jne 0x44fec8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x44febd
jne 0x44fed9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x44febd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x44fefc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x44feed
jmp 0x44fe5e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x44fefc
add edi, ecx
jmp 0x44fe5e
pop esi
mov edi, esi
mov ecx, 0xa6e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x44ff1a
cmp byte [edi], 1
jne 0x44ff1a
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 0x44ff1f
lea edi, [esi + 0x4c000]
mov eax, dword [edi]
or eax, eax
je 0x44ff97
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x53bfc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x53cc8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x44ff4c
mov ecx, edi
jns 0x44ff7b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x53cd0]
or eax, eax
je 0x44ff91
mov dword [ebx], eax
add ebx, 4
jmp 0x44ff69
call dword [esi + 0x53ccc]
mov ebp, dword [esi + 0x53cd4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x237]
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 0x44ffcb
sub esp, 0xffffff80
jmp 0x409623
Function at 0x54d971
Capabilities:
Encrypt data using rc4 prga

Disassembly:
lea esp, [esp + 4]
push ebp
mov al, dh
jmp 0x54d9bf
mov ebp, esp
sete ah
mov eax, dword [esp]
sub esp, 6
lea esp, [esp + 2]
jmp 0x54d9a9
lea esp, [esp + 4]
push ecx
jmp 0x54da73
lea eax, [ecx + esi]
jmp 0x54d97a
push ebx
not ebx
rol bx, cl
and ah, bh
jmp 0x54d9e2
push ecx
and dword [ebp - 4], 0
neg eax
mov eax, edx
jmp 0x54d9f8

Function at 0x61023e
Capabilities:
Access peb ldr_data
Parse pe header

Disassembly:
call 0x61000a
jmp 0x6102a5
pushal
push dword [esp + 0x18]
push dword [esp + 0x16]
push dword [esp + 0x24]
jmp 0x61024c
push dword [esp + 5]
lea esp, [esp + 2]
mov dword [esp + 4], esp
jmp 0x610228
lea esp, [esp + 0x25]
lea esp, [esp + 3]
mov dword [esp + 4], ebp
pushal
mov dword [esp + 0x20], esi
jmp 0x6102d3
push eax
jmp 0x610005
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
mov eax, dword [eax + 8]
jmp 0x61026f
pop eax
xor ax, ax
mov dword [esp + 0x1c], edi
lea esp, [esp + 0x1c]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
jmp 0x610285

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 0x406dd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
inc dx
imul ecx, dword [ecx - 0x7699efa2], 0xff2285e
push edi
call dword [sym.imp.WSOCK32.dll_htons]
sbb al, byte [esi + 0x2a]
mov word [esi + 0xc], di
cmp ebx, 2
jne 0x406e17
dec ebp
adc byte [edx], dl
invalid
pop edi
pop esi
pop ebx
pop ebp
mov byte [0x90906790], al
push ebp
mov edi, dword [ebx + ecx*4 + 0x45]
or byte [ebx + 0x558b0c4d], cl
adc byte [ebx - 0x75], dl
pop ebp
adc al, 0x56
mov dword [eax], 0x41000000
push edi
mov dword [ecx], 0x32000190
mov edi, ebx
or ecx, 0x65
xor eax, eax
mov word [edx], 0
repne scasb al, byte es:[edi]
not ecx
dec ecx
insb byte es:[edi], dx
je 0x406e6b
adc al, 0x3b
mov edx, eax
mov dword [0xc174a13c], eax
inc eax
add byte [ebx + 0x7d7ea538], al
mov eax, dword [sym.imp.MSVCRT.dll___mb_cur_max]
cmp dword [eax], 0xffffffa5
jle 0x406ee0
xor ecx, ecx
add al, 0x8a
sqrtps xmm7, xmm7
push 0x83004074
les ecx, [eax]
jmp 0x406e86
test dword [eax + 0x3b280774], edi
clc
jae 0x406e59
cdq
add al, 0x3b
sti
jae 0x406eec
push ebx
call [edi + 0x40e46c]
cmp dword [edx], 4
arpl sp, bx
push ebx
jl 0x406ec7
cmp eax, 0x7300ffff
jg 0x406ec7
not byte [ebp + 0x10]
bound ebx, qword [esi + 0x5b]
pop edi
pop esi
mov eax, 0x5fdb
xor dword [ebp - 0x75], ebx
adc al, 0
cld
inc edi
add dword [eax - 1], edx
lahf
insb byte es:[edi], dx
rol dword [eax], 0x83
les eax, [ebx + eax*4]
or byte [ecx], al
or dword [eax], 1
jl 0x406ec7
cmp eax, 0xffff
jg 0x406ec7
dec ebp
adc byte [ebp - 0x76990089], cl
add dword [ebx], ebp
mov eax, dword [ebp + 0x18]
inc esi
mov ebx, esi
lea edx, [ebx + 1]
push edx
push eax
call fcn.00404a60
mov edx, dword [ebp + 0x61]
mov esi, dword [ebp + 0x14]
mov ecx, ebx
mov edi, eax
mov cl, 2
mov esp, dword [edi - 0x3f]
jae 0x406f1a
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
cmp edi, 3
inc ebp
sal bl, 0xa4
mov ecx, dword [edx]
mov bh, 0x5e
mov byte [ebx + ecx], 0
mov bl, byte [ebp - 0x3e]
adc al, 0xb9
cmp al, 0x8b
in al, dx
mov esp, dword [ebx + 0x8558b18]
mov eax, ecx
push esi
mov esi, dword [ebp - 0x71]
and eax, 3
push edi
mov dword [edx], 0x5500
je 0x406f76
aad 0xf6
cli
xor edx, dword [edx + ebx*2 + 0x751585c7]
adc eax, 0x7403f883
fcompi st(6)
rol dword [edx], 0x74
sbb eax, 0x1187b85f
add dword [eax], eax
pop esi
pop ebp
ret 0x18
mov eax, dword [eax + 0x75c08510]
add eax, 0x2b8
add byte [ebx + 0x5132febd], cl
imul edx, edx, 0x14
push ecx
push eax
push esi
push edx
call 0xdb4070a0
add esp, 0x6b
pop edi
pop esi
ret 0x18
Function at 0x40add0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jnp 0x40ade0
add bh, al
add byte [edi], bh
daa
push ebx
add byte [ebx], dh
rcr byte [ebp - 0x3d], 0x8b
inc ebp
adc al, 0x8b
dec ebp
adc byte [ebx + 0x51500c55], cl
das
call fcn.0040add0
or dword [ecx], 0x22
pop ebp
ret
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
sbb edx, 0xffffffe1
jae 0x40adee
call esi
sub al, 0xc1
inc eax
add bh, al
add byte [eax + eax], bl
add byte [eax], al
xor eax, 0x53c3a0c0
push ebx
push esi
mov ebx, dword [ebx]
fst qword [edi - 0x41]
mov ebp, 0xe2000032
popal
inc esi
cmp al, 0x63
mov byte [ebp + 0x10], al
jbe 0x40ae2c
mov esi, 0x9bbbb975
add byte [eax], al
add byte [0xe9], ah
cdq
neg dword [ebx]
jns 0x40ad9e
push ebp
adc byte [ecx + eax + 0x3c04eb22], bh
stosb byte es:[edi], al
jbe 0x40ae38
mov eax, dword [ebp + 0x10]
mov ebx, 0xa
and eax, 0xff
add byte [eax], al
cdq
test al, 0xfb
add al, 0x30
sbb byte [ecx], al
mov dh, 0x8a
add eax, 0x1143004
add al, 0x30
adc al, 1
invalid
Function at 0x10007e20
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
mov eax, dword [0x1005a894]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x8c], ecx
lea eax, [ebp - 0x98]
push eax
mov ecx, dword [ebp - 0x8c]
call fcn.10008580
push 0xff
push 0x81
push 0x81
push 0x81
lea ecx, [ebp - 0x9c]
call fcn.100073b0
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp - 0x8c]
mov eax, dword [edx + 0x10]
push eax
mov ecx, dword [ebp - 0x8c]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [ebp - 0x94]
push eax
mov ecx, dword [ebp - 0x98]
push ecx
call fcn.100387f0
add esp, 0x14
movzx edx, byte [ebp + 8]
test edx, edx
je 0x10007ef4
push 0x50
push 0xff
push 0xff
push 0xff
lea ecx, [ebp - 0xa0]
call fcn.100073b0
mov eax, dword [eax]
push eax
mov ecx, dword [ebp - 0x8c]
mov edx, dword [ecx + 0x10]
sub edx, 4
push edx
mov eax, dword [ebp - 0x8c]
mov ecx, dword [eax + 0xc]
sub ecx, 4
push ecx
mov edx, dword [ebp - 0x94]
add edx, 2
push edx
mov eax, dword [ebp - 0x98]
add eax, 2
push eax
call fcn.10037f40
add esp, 0x14
mov byte [ebp - 0x85], 0
mov dword [ebp - 0x90], 0x10049718
mov ecx, dword [ebp - 0x8c]
movzx edx, byte [ecx + 0x3c]
test edx, edx
je 0x10007f1f
mov dword [ebp - 0x90], str._Press_A_Key_
jmp 0x10007f9b
mov eax, dword [ebp - 0x8c]
cmp dword [eax + 0x38], 0
jl 0x10007f86
mov ecx, dword [ebp - 0x8c]
mov edx, dword [ecx + 0x38]
mov eax, dword [edx*4 + 0x1005a008]
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0
je 0x10007f53
mov byte [ebp - 0x85], 1
jmp 0x10007f86
push 0x7f
lea ecx, [ebp - 0x84]
push ecx
mov edx, dword [ebp - 0x8c]
mov eax, dword [edx + 0x38]
shl eax, 0x10
push eax
call dword [sym.imp.USER32.dll_GetKeyNameTextA]
test eax, eax
je 0x10007f86
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x90], ecx
mov byte [ebp - 0x85], 1
movzx edx, byte [ebp - 0x85]
test edx, edx
jne 0x10007f9b
mov dword [ebp - 0x90], str.No_Key_Bound
mov eax, dword [ebp - 0x90]
push eax
mov ecx, dword [0x10060a94]
push ecx
push 0xff
push 0xff
push 0xff
push 0xff
lea ecx, [ebp - 0xa4]
call fcn.100073b0
mov edx, dword [eax]
push edx
mov eax, dword [ebp - 0x94]
add eax, 2
push eax
mov ecx, dword [ebp - 0x98]
add ecx, 2
push ecx
call fcn.10038a40
add esp, 0x14
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10041701
mov esp, ebp
pop ebp
ret 4

Function at 0x10009660
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
jmp 0x10009685
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
cmp edx, dword [ebp + 0xc]
jae 0x100096bc
mov eax, dword [ebp - 4]
shr eax, 8
and eax, 0xffffff
mov ecx, dword [ebp - 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp - 4]
and edx, 0xff
xor eax, dword [edx*4 + 0x1005a400]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
jmp 0x1000967c
mov eax, dword [ebp - 4]
xor eax, 0xffffffff
mov esp, ebp
pop ebp
ret
Function at 0x100096d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 0x3a
mov dword [ebp - 4], 0
jmp 0x100096f2
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x4d
jge 0x10009731
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 4]
movsx edx, byte [ecx + 0x2a5e6147]
xor edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 4]
mov byte [eax], dl
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
and edx, 0x800000ff
jns 0x1000972c
dec edx
or edx, 0xffffff00
inc edx
mov dword [ebp - 8], edx
jmp 0x100096e9
mov eax, 1
imul ecx, eax, 0x4d
mov edx, dword [ebp - 0xc]
mov byte [edx + ecx], 0
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4

Function at 0x10009750
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 0xb2
mov dword [ebp - 4], 0
jmp 0x10009772
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x18
jge 0x100097b1
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 4]
movsx edx, byte [ecx - 0x7ef30988]
xor edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 4]
mov byte [eax], dl
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
and edx, 0x800000ff
jns 0x100097ac
dec edx
or edx, 0xffffff00
inc edx
mov dword [ebp - 8], edx
jmp 0x10009769
mov eax, 1
imul ecx, eax, 0x18
mov edx, dword [ebp - 0xc]
mov byte [edx + ecx], 0
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4

Function at 0x100097d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 0xce
mov dword [ebp - 4], 0
jmp 0x100097f2
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 8
jge 0x10009831
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 4]
movsx edx, byte [ecx + 0x9d7e1df]
xor edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 4]
mov byte [eax], dl
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
and edx, 0x800000ff
jns 0x1000982c
dec edx
or edx, 0xffffff00
inc edx
mov dword [ebp - 8], edx
jmp 0x100097e9
mov eax, 1
shl eax, 3
mov ecx, dword [ebp - 0xc]
mov byte [ecx + eax], 0
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4
Function at 0x10009850
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 0xd8
mov dword [ebp - 4], 0
jmp 0x10009872
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xa
jge 0x100098b1
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 4]
movsx edx, byte [ecx - 0x190e3235]
xor edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 4]
mov byte [eax], dl
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
and edx, 0x800000ff
jns 0x100098ac
dec edx
or edx, 0xffffff00
inc edx
mov dword [ebp - 8], edx
jmp 0x10009869
mov eax, 1
imul ecx, eax, 0xa
mov edx, dword [ebp - 0xc]
mov byte [edx + ecx], 0
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4

Function at 0x100098d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 0xfe
mov dword [ebp - 4], 0
jmp 0x100098f2
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xa
jge 0x10009931
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 4]
movsx edx, byte [ecx - 0x528052e7]
xor edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 4]
mov byte [eax], dl
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
and edx, 0x800000ff
jns 0x1000992c
dec edx
or edx, 0xffffff00
inc edx
mov dword [ebp - 8], edx
jmp 0x100098e9
mov eax, 1
imul ecx, eax, 0xa
mov edx, dword [ebp - 0xc]
mov byte [edx + ecx], 0
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4

Function at 0x10009a10
Capabilities:
Hide thread from debugger

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push str.NtSetInformationThread
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10009a3a
xor al, al
jmp 0x10009a73
cmp dword [ebp + 8], 0
jne 0x10009a55
push 0
push 0
push 0x11
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [ebp - 4]
mov dword [ebp - 8], eax
jmp 0x10009a65
push 0
push 0
push 0x11
mov eax, dword [ebp + 8]
push eax
call dword [ebp - 4]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10009a71
xor al, al
jmp 0x10009a73
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x10009d00
Capabilities:
Create thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10042dc8
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
mov eax, dword [0x1005a894]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xc0], 1
je 0x10009d42
jmp 0x10009f4e
push 0x6284eba7
lea ecx, [ebp - 0x34]
call fcn.100098d0
mov dword [ebp - 0xc4], eax
mov ecx, dword [ebp - 0xc4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
jne 0x10009d72
mov dword [ebp - 0xb4], 1
jmp 0x10009d7c
mov dword [ebp - 0xb4], 0
mov dl, byte [ebp - 0xb4]
mov byte [ebp - 0xad], dl
lea ecx, [ebp - 0x34]
call fcn.100099e0
movzx eax, byte [ebp - 0xad]
test eax, eax
je 0x10009da6
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x2912cb01
lea ecx, [ebp - 0x40]
call fcn.10009850
mov dword [ebp - 0xc8], eax
mov ecx, dword [ebp - 0xc8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
jne 0x10009dd6
mov dword [ebp - 0xb8], 1
jmp 0x10009de0
mov dword [ebp - 0xb8], 0
mov dl, byte [ebp - 0xb8]
mov byte [ebp - 0xae], dl
lea ecx, [ebp - 0x40]
call fcn.100099e0
movzx eax, byte [ebp - 0xae]
test eax, eax
je 0x10009e0a
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call fcn.10009a10
add esp, 4
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
mov edx, 0x62cb6f9
push edx
lea ecx, [ebp - 0x1c]
call fcn.100097d0
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xcc]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0xd0], eax
lea ecx, [ebp - 0x1c]
call fcn.100099b0
cmp dword [ebp - 0xd0], 0
je 0x10009e79
mov ecx, dword [ebp + 8]
mov dword [0x1005bb5c], ecx
push 0
push 0
push 0
push 0x10009a80
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
jmp 0x10009f4e
mov edx, 0x62cb705
push edx
lea ecx, [ebp - 0x28]
call fcn.100097d0
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xd4]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
jne 0x10009eaa
mov dword [ebp - 0xbc], 1
jmp 0x10009eb4
mov dword [ebp - 0xbc], 0
mov cl, byte [ebp - 0xbc]
mov byte [ebp - 0xaf], cl
lea ecx, [ebp - 0x28]
call fcn.100099b0
movzx edx, byte [ebp - 0xaf]
test edx, edx
je 0x10009f4e
push 0
push 0x8ef7a278
lea ecx, [ebp - 0x5c]
call fcn.10009750
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0xdc], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0xdc]
push ecx
mov edx, 0xe5a637e1
push edx
lea ecx, [ebp - 0xac]
call fcn.100096d0
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xe0]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [ebp - 0xac]
call fcn.10009950
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.10009980
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov al, 1
jmp 0x10009f50
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10041701
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1003bf70
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
call fcn.1003aa00
push 0
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgetc]
add esp, 4
cmp eax, 0xffffffff
jne 0x1003bfce
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ferror]
add esp, 4
test eax, eax
je 0x1003bfce
push 0
push 0
push 5
mov ecx, dword [ebp - 4]
call fcn.1003d9e0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
jmp 0x1003c0d1
push 2
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
add esp, 4
mov dword [ebp - 8], eax
push 0
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
cmp dword [ebp - 8], 0xffffffff
jne 0x1003c01f
push 0
push 0
push 5
mov ecx, dword [ebp - 4]
call fcn.1003d9e0
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x30]
jmp 0x1003c0d1
cmp dword [ebp - 8], 0xffffffff
jb 0x1003c03e
push 0
push 0
push 5
mov ecx, dword [ebp - 4]
call fcn.1003d9e0
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x30]
jmp 0x1003c0d1
cmp dword [ebp - 8], 0
jne 0x1003c05a
push 0
push 0
push 0xf
mov ecx, dword [ebp - 4]
call fcn.1003d9e0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
jmp 0x1003c0d1
mov ecx, dword [ebp - 8]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
add edx, 1
push edx
call fcn.1004202a
add esp, 4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
mov dword [eax + 0x40], ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0xc]
push eax
push 1
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x40]
push edx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0xc]
je 0x1003c0b6
push 0
push 0
push 5
mov ecx, dword [ebp - 4]
call fcn.1003d9e0
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x30]
jmp 0x1003c0d1
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x40]
mov ecx, dword [ebp - 0xc]
mov byte [eax + ecx], 0
mov ecx, dword [ebp - 4]
call fcn.1003c6a0
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x30]
mov esp, ebp
pop ebp
ret 4
Function at 0x4014b4
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.00401664
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 0x4015b2
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 0x401555
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x401598
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x40156c
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x401587
test al, 0x40
je 0x40157e
mov ecx, dword [edi + 0x20]
jmp 0x401585
test al, 0x80
je 0x401598
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x401598
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 0x401524
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret