joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401a50
Capabilities:
Terminate process

Disassembly:
push 0xc
push 0x401f78
call fcn.00401d98
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, ebx
mov edx, 0x403f68
mov ecx, esi
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
je 0x401878
cmp eax, esi
jne 0x40186b
xor esi, esi
inc esi
mov edi, esi
jmp 0x40187b
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x40184f
xor esi, esi
inc esi
cmp dword [0x403f6c], esi
jne 0x40188d
push 0x1f
call fcn.0057a000
pop ecx
jmp 0x4018c7
cmp dword [0x403f6c], ebx
jne 0x4018c1
mov dword [0x403f6c], esi
push 0x4010cc
push 0x4010c0
call fcn.004019ac
pop ecx
pop ecx
test eax, eax
je 0x4018c7
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x40199c
mov dword [0x402014], esi
cmp dword [0x403f6c], esi
jne 0x4018ea
push 0x4010bc
push 0x4010b4
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x403f6c], 2
test edi, edi
jne 0x4018f7
xor eax, eax
mov ecx, 0x403f68
xchg dword [ecx], eax
cmp dword [0x403f70], 0
je 0x401923
push 0x403f70
call fcn.00401bf0
pop ecx
test eax, eax
je 0x401923
push ebx
push 2
push ebx
mov esi, dword [0x403f70]
mov ecx, esi
call dword [0x4040cc]
call esi
push dword [0x402020]
push dword [0x40201c]
push dword [0x402018]
call fcn.00401390
add esp, 0xc
mov dword [0x402010], eax
cmp dword [0x402028], 0
jne 0x401981
push eax
call dword [sym.imp.msvcrt.dll_exit]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
push ecx
push eax
call sub.msvcrt.dll__XcptFilter
pop ecx
pop ecx
ret
cmp dword [0x402014], 0
jne 0x401995
call dword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x402010]
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
call fcn.00401ce5
jmp 0x401833

Function at 0x401ad4
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x401f98
call fcn.00401d98
xor ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x401b34
cmp eax, 0xffffffff
je 0x401b34
mov dword [ebp - 4], ecx
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x401b2d
mov edx, dword [eax + 0x3c]
test edx, edx
js 0x401b2d
cmp edx, 0x10000000
jae 0x401b2d
add eax, edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
sub ecx, 0x4550
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
jmp 0x401b2a
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x401ba0
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x401bde
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x401bd6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x401be0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x401bc6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x404a7b
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x404aba
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x404aba
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x404aba
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x404aba
cmp dword [ecx + 0x74], 0xe
jbe 0x404aba
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x406319
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x414038]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x406364
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.00406536
test al, al
jne 0x40635e
sub edx, 2
cmp edx, edi
jne 0x406344
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x406386
lea eax, [edi + 2]
cmp edx, eax
je 0x406386
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00406265
add esp, 0x10
jmp 0x406480
push esi
lea ecx, [ebp - 0x255]
call fcn.00406536
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4063c9
push dword [ebp - 0x25c]
jmp 0x406376
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x406406
cmp word [ebp - 0x226], 0
je 0x406427
cmp word [ebp - 0x226], ax
jne 0x406406
cmp word [ebp - 0x224], 0
je 0x406427
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00406265
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x406473
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x4063e0
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x40645b
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x406480
push 0x406095
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.004090e0
add esp, 0x10
jmp 0x406450
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401c32
leave
ret

Function at 0x407fb3
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41007c
push 0x410074
push str.FlsAlloc
push 0x1f
call fcn.00407eee
mov esi, eax
add esp, 0x10
test esi, esi
je 0x407fe7
push dword [ebp + 8]
mov ecx, esi
call dword [0x40e14c]
call esi
jmp 0x407fed
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4
Function at 0x408033
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41008c
push 0x410084
push str.FlsGetValue
push 0x21
call fcn.00407eee
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40806a
push dword [ebp + 8]
mov ecx, esi
call dword [0x40e14c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x408072
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x410094
push 0x41008c
push str.FlsSetValue
push 0x22
call fcn.00407eee
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4080ac
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x40e14c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
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 0x42e090
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1c000]
push edi
jmp 0x42e0aa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x42e0b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x42e0a0
mov eax, 1
add ebx, ebx
jne 0x42e0c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x42e0b8
jne 0x42e0d4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42e0b8
xor ecx, ecx
sub eax, 3
jb 0x42e0e8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42e15a
mov ebp, eax
add ebx, ebx
jne 0x42e0f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x42e100
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x42e124
inc ecx
add ebx, ebx
jne 0x42e110
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x42e105
jne 0x42e121
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42e105
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x42e144
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x42e135
jmp 0x42e0a6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x42e144
add edi, ecx
jmp 0x42e0a6
pop esi
mov edi, esi
mov ecx, 0x3ba
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x42e162
cmp byte [edi], 5
jne 0x42e162
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 0x42e167
lea edi, [esi + 0x2b000]
mov eax, dword [edi]
or eax, eax
je 0x42e1d6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2e000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2e050]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x42e194
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2e058]
or eax, eax
je 0x42e1d0
mov dword [ebx], eax
add ebx, 4
jmp 0x42e1b1
call dword [esi + 0x2e054]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x42e207
cmp al, 0xef
ja 0x42e1fa
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x42e1dc
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x42e1e9
mov ebp, dword [esi + 0x2e05c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x42e23b
sub esp, 0xffffff80
jmp 0x401612
Function at 0x42db8f
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0042da63
Function at 0x42e68a
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x454004]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x42e6d5
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0042eb32
test al, al
jne 0x42e6cf
sub edx, 2
cmp edx, edi
jne 0x42e6b5
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x42e6f7
lea eax, [edi + 2]
cmp edx, eax
je 0x42e6f7
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0042e351
add esp, 0x10
jmp 0x42e7f1
push esi
lea ecx, [ebp - 0x255]
call fcn.0042eb32
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x42e73a
push dword [ebp - 0x25c]
jmp 0x42e6e7
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x42e777
cmp word [ebp - 0x226], 0
je 0x42e798
cmp word [ebp - 0x226], ax
jne 0x42e777
cmp word [ebp - 0x224], 0
je 0x42e798
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0042e351
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x42e7e4
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x42e751
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x42e7cc
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x42e7f1
push 0x42dda1
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.004399a0
add esp, 0x10
jmp 0x42e7c1
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00402572
leave
ret
Function at 0x43016d
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x43020a
push ebx
push esi
call fcn.00430129
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0043001b
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x4301b7
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x430209
push edi
push eax
call fcn.00432995
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x4301d7
call fcn.0042dd4f
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x430208
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0043001b
add esp, 0x20
test eax, eax
jne 0x4301f6
push edi
call fcn.0042dd4f
jmp 0x4301fe
push ebx
call fcn.0042dd4f
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x43020d
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x43021e
pop esi
ret
push ebx
push edi
push esi
call fcn.00430129
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00432995
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x430246
push ebx
push esi
push edi
call fcn.0040ad70
add esp, 0xc
push 0
call fcn.0042dd4f
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x430b27
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004304b9

Function at 0x4358bb
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x44deec
push 0x44dee4
push str.FlsAlloc
push 0x1e
call fcn.0043558b
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4358ef
push dword [ebp + 8]
mov ecx, esi
call dword [0x44a1e0]
call esi
jmp 0x4358f5
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x435939
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x44defc
push 0x44def4
push str.FlsGetValue
push 0x20
call fcn.0043558b
mov esi, eax
add esp, 0x10
test esi, esi
je 0x435970
push dword [ebp + 8]
mov ecx, esi
call dword [0x44a1e0]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x441d45
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x455930]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x441d85
cmp byte [ebx], 0xa
jne 0x441d85
or byte [eax + edi + 0x28], 4
jmp 0x441d8a
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x441e88
mov al, byte [edx]
cmp al, 0x1a
je 0x441e6a
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x441db9
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x441dde
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x441de8
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x441d9b
jmp 0x441e88
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x441e65
cmp dword [ebp - 0xc], 0
je 0x441e65
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x455930]
test byte [eax + edi + 0x28], 0x48
je 0x441e3f
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x441e2a
mov byte [esi], dl
jmp 0x441e3b
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x455930]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x441e88
cmp byte [ebp - 1], 0xa
jne 0x441e4e
cmp esi, ebx
jne 0x441e4e
mov byte [esi], 0xa
jmp 0x441e87
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00441b97
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x441e88
mov byte [esi], 0xd
jmp 0x441e87
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x455930]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x441e84
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x441e88
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x441e91
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x455930]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x441ed4
cmp word [esi], dx
jne 0x441ed4
or byte [edi + eax + 0x28], 4
jmp 0x441ed9
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x44202c
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x44200c
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x441f1b
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x441f51
cmp eax, edx
jae 0x441f5d
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x441ef3
jmp 0x44202c
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x442008
cmp dword [ebp - 0x14], 0
je 0x442008
mov eax, dword [ebx*4 + 0x455930]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x441fe0
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x441fa9
mov word [esi], cx
jmp 0x441fdc
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x455930]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x455930]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x455930]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x44202c
pop ebx
cmp word [ebp - 4], bx
jne 0x441ff1
cmp esi, dword [ebp + 0xc]
jne 0x441ff1
mov word [esi], bx
jmp 0x442029
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00441b97
add esp, 0x10
cmp word [ebp - 4], bx
je 0x44202c
push 0xd
jmp 0x442025
mov ecx, dword [ebx*4 + 0x455930]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x442023
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x44202c
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x401b70
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42bad0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov eax, dword [ebp + 8]
xor ecx, ecx
push ebx
push esi
mov eax, dword [eax]
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], 0
mov cx, word [eax + 0x14]
lea edi, [ecx + eax + 0x18]
mov dword [ebp - 0x14], edi
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, dword [edx]
mov cx, word [eax + 6]
mov eax, dword [ebp - 0x20]
cmp eax, ecx
jge 0x401cf1
mov eax, dword [edi + 0x24]
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 0x401c17
lea edx, [ebp - 0x24]
push 0x433658
push edx
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], 0x4b
call fcn.0040a6ba
mov eax, dword [ebp - 0x14]
push 0x4000
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 8]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, 0x401cd5
ret
lea ecx, [edx + ecx*2]
test eax, 0x4000000
lea edx, [esi + ecx*2]
mov ecx, dword [edx*4 + 0x56b0c0]
mov dword [ebp - 0x1c], ecx
je 0x401c36
mov eax, ecx
or ah, 2
mov dword [ebp - 0x1c], eax
mov eax, dword [edi + 0x10]
test eax, eax
mov dword [ebp - 0x18], eax
jne 0x401c98
lea edx, [ebp - 0x28]
push 0x433658
push edx
mov dword [ebp - 4], 2
mov dword [ebp - 0x28], 0x10
call fcn.0040a6ba
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x24]
test al, 0x40
je 0x401c77
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x20]
mov dword [ebp - 0x18], eax
mov eax, 0x401c8c
ret
test al, 0x80
je 0x401c86
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x24]
mov dword [ebp - 0x18], eax
mov eax, 0x401c8c
ret
jbe 0x401cdc
lea ecx, [ebp - 0x2c]
push 0x433658
push ecx
mov dword [ebp - 4], 4
mov dword [ebp - 0x2c], 0xf
call fcn.0040a6ba
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x30]
push edx
push eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 8]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, 0x401cd5
ret
mov ecx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x14]
inc ecx
add edi, 0x28
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x14], edi
jmp 0x401baa
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4020e0
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
push 0x56b928
push 0x132000
push 0x4390c0
call fcn.00402090
push 0x4390c0
call fcn.004015f0
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x402125
mov eax, dword [esp + 0x10]
push eax
push ebx
call fcn.00401410
add esp, 8
test eax, eax
jne 0x402129
push ebx
call fcn.004012b0
add esp, 4
pop edi
pop esi
pop ebx
ret
sub esp, 0x848
mov ecx, 0x212
mov esi, str.23.224.239.91
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call eax
push ebx
call fcn.004012b0
add esp, 4
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]