joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401a32
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
ror ah, 5
rcr eax, 0x57
xadd ebp, ebp
mov ebp, esp
rol eax, cl
shrd ax, di, 0x37
sub esp, 0xc
mov eax, 0x717e26ef
movzx eax, dx
push 0xa
bswap eax
mov eax, 0x2e8e6b33
cwde
movzx eax, word [ebp + 8]
jmp 0x40267f
push eax
push 0
jmp loc.004099c9

Function at 0x402480
Capabilities:
Check if file exists

Disassembly:
push ebp
sub eax, eax
dec ah
mov ebp, esp
rcl al, cl
sub esp, 0x214
sar al, cl
mov eax, dword [0x408040]
test ch, 0xf
cmp ebx, edi
cmc
xor eax, ebp
jmp 0x40261f

Function at 0x404c44
Capabilities:
Terminate process

Disassembly:
call 0x4053c9
jmp 0x404ac8
push 0x14
push 0x406aa0
call fcn.00405300
push 1
call fcn.004047f7
pop ecx
test al, al
je 0x404c2e
xor bl, bl
mov byte [ebp - 0x19], bl
and dword [ebp - 4], 0
call fcn.004047c5
mov byte [ebp - 0x24], al
mov eax, dword [0x408130]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x404c2e
test eax, eax
jne 0x404b52
mov dword [0x408130], ecx
push 0x406160
push 0x406154
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x404b35
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x404c1e
push 0x406150
push 0x406144
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
pop ecx
pop ecx
mov dword [0x408130], 2
jmp 0x404b57
mov bl, cl
mov byte [ebp - 0x19], bl
push dword [ebp - 0x24]
call fcn.0040494b
pop ecx
call fcn.00405491
mov esi, eax
xor edi, edi
cmp dword [esi], edi
je 0x404b88
push esi
call fcn.004048b7
pop ecx
test al, al
je 0x404b88
mov esi, dword [esi]
push edi
push 2
push edi
mov ecx, esi
call dword [0x40613c]
call esi
call fcn.00405497
mov esi, eax
cmp dword [esi], edi
je 0x404ba6
push esi
call fcn.004048b7
pop ecx
test al, al
je 0x404ba6
push dword [esi]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__register_thread_local_exe_atexit_callback
pop ecx
call fcn.00405215
movzx esi, ax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__get_narrow_winmain_command_line
push esi
push eax
push edi
push 0x400000
call fcn.004025c0
mov esi, eax
call fcn.0040524e
test al, al
je 0x404c35
test bl, bl
jne 0x404bd4
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
push edi
push 1
call fcn.00404968
pop ecx
pop ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x404c1e
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
push 7
call fcn.00405100
push esi
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
push dword [ebp - 0x20]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__exit
int3
jmp 0x40246b

Function at 0x40524e
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40528d
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40528d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40528d
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40528d
cmp dword [ecx + 0x74], 0xe
jbe 0x40528d
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x40975f
Capabilities:
Create process on windows
Execute anti-debugging instructions
Link function at runtime on windows
Link many functions at runtime
Parse pe header
Resume thread

Disassembly:
call dword [sym.imp.KERNEL32.dll_VirtualFree]
nop
mov ecx, dword [ebp - 4]
jmp loc.004099c2
push 0x8000
xchg ch, cl
mov cx, sp
push 0
setb cl
movsx cx, bh
bswap ecx
mov ecx, dword [ebp + 0xc]
push ecx
jmp 0x401605
mov dword [ebp - 0x4c], ecx
rdtsc
cmovl ecx, edi
cwd
lea edx, [ebp - 0x58]
cbw
movsx eax, bx
xchg cl, ah
push edx
bswap cx
setb ch
mov ax, di
lea eax, [ebp - 0x48]
not cl
movzx cx, bh
bswap ecx
push eax
push 0
cmovl ecx, ebp
bswap ecx
setl ch
push 0
not ch
setnp ch
bswap ecx
push 4
mov cx, di
xchg ecx, ecx
push 0
movsx ecx, si
push 0
movzx cx, ah
setg cl
push 0
push 0
jmp loc.00401969
push ebp
mov ebp, esp
add ax, 0x28dc
clc
rcl dh, cl
lea esp, [esp - 0x1b4]
mov eax, dword [0x408040]
xor eax, ebp
sub dl, 0xc4
mov dword [ebp - 4], eax
shr cl, 0x68
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x7c], eax
sbb dl, bh
cmc
mov ecx, dword [ebp - 0x7c]
adc dh, dl
movzx edx, word [ecx]
cmp edx, 0x5a4d
jne 0x40194b
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp + 0xc]
bt edx, 0xd4
add ecx, dword [eax + 0x3c]
dec dx
shr dl, cl
clc
mov dword [ebp - 0x60], ecx
cwd
sbb dl, 0xeb
mov edx, dword [ebp - 0x60]
cmp dword [edx], 0x4550
jne 0x40194b
push 0x44
push 0
cmovb eax, esi
mov ah, 0x2e
lea eax, [ebp - 0x48]
push eax
jmp 0x40981c
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
neg dx
xor ecx, ecx
rdtsc
mov dword [ebp - 0x58], ecx
movsx eax, dx
cdq
mov dword [ebp - 0x54], ecx
setns dl
xchg edx, edx
mov dword [ebp - 0x50], ecx
jmp 0x4095c0
Function at 0x401f40
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x418adc]
push esi
mov esi, ecx
test eax, eax
je 0x401f6d
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [0x418adc], 0
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [0x418adc], eax
mov eax, 2
mov word [ebp - 0x14], ax
mov eax, dword [0x418ad0]
mov dword [ebp - 0x10], eax
movzx eax, word [0x418ad4]
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x12], ax
lea eax, [ebp - 0x14]
push 0x10
push eax
push dword [0x418adc]
call dword [sym.imp.WS2_32.dll_connect]
push 0x23
push 0x8001
push esi
push dword [0x418adc]
call dword [sym.imp.WS2_32.dll_WSAAsyncSelect]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00402dfa
mov esp, ebp
pop ebp
ret

Function at 0x401fe0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 8]
push esi
movzx eax, bx
movzx esi, ax
push edi
add esi, 0x10
mov dword [ebp - 8], edx
push esi
mov dword [ebp - 4], ecx
mov dword [ebp + 8], eax
call fcn.00406a53
mov edi, eax
add esp, 4
test edi, edi
je 0x402126
push dword [ebp - 4]
call dword [sym.imp.WS2_32.dll_htons]
push 0
mov word [edi], ax
call dword [sym.imp.WS2_32.dll_htons]
push 0xffffffffffffffff
mov word [edi + 2], ax
call dword [sym.imp.WS2_32.dll_ntohl]
push 0
mov dword [edi + 4], eax
mov word [edi + 8], 1
call dword [sym.imp.WS2_32.dll_htons]
push 0
mov word [edi + 0xa], ax
call dword [sym.imp.WS2_32.dll_htons]
mov word [edi + 0xc], ax
mov eax, dword [ebp + 8]
add eax, 2
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
push ebx
push dword [ebp - 8]
mov word [edi + 0xe], ax
lea eax, [edi + 0x10]
push eax
call fcn.00404b00
lea edx, [esi + 0xa]
mov eax, 8
mov ecx, edx
and ecx, 7
sub eax, ecx
test ecx, ecx
cmove eax, ecx
add eax, edx
mov dword [ebp + 8], eax
add eax, 0x12
push eax
call fcn.00406a53
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x402126
lea eax, [ebp + 8]
mov edx, esi
push eax
lea ecx, [ebx + 0x12]
push ecx
push ecx
mov ecx, edi
call fcn.00401140
mov esi, dword [ebp + 8]
push edi
add esi, 0x12
call fcn.00406a38
add esp, 0x10
push esi
call dword [sym.imp.WS2_32.dll_htonl]
push 0x74
mov dword [ebx], eax
call dword [sym.imp.WS2_32.dll_ntohs]
push 0
mov word [ebx + 4], ax
call dword [sym.imp.WS2_32.dll_htons]
mov edi, dword [sym.imp.WS2_32.dll_ntohl]
push 0
mov word [ebx + 6], ax
call edi
push 0
mov dword [ebx + 8], eax
call edi
mov dword [ebx + 0xc], eax
mov edi, ebx
mov word [ebx + 0x10], 1
test esi, esi
jle 0x40211d
push 0
push esi
push edi
push dword [0x418adc]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jle 0x40211d
sub esi, eax
add edi, eax
test esi, esi
jg 0x402101
push ebx
call fcn.00406a38
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x402280
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.0040f840
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
movzx eax, word [ebp + 8]
mov dword [ebp - 0x100c], ecx
sub eax, 1
jne 0x402486
push ebx
push esi
push eax
lea ebx, [ebp - 0x1004]
push 0x1000
mov eax, ebx
push eax
push edx
call dword [sym.imp.WS2_32.dll_recv]
mov esi, eax
test esi, esi
jle 0x402484
mov ecx, dword [0x418ac4]
mov eax, dword [sym.imp.WS2_32.dll_ntohl]
push edi
test ecx, ecx
je 0x402416
cmp dword [0x418acc], 4
jae 0x402335
mov ebx, dword [0x418acc]
lea eax, [ebp - 0x1004]
mov edi, 4
sub edi, ebx
cmp esi, edi
cmovl edi, esi
push edi
push eax
lea eax, [ebx + ecx]
push eax
call fcn.00404b00
add ebx, edi
add esp, 0xc
mov dword [0x418acc], ebx
cmp ebx, 4
jb 0x402483
mov eax, dword [sym.imp.WS2_32.dll_ntohl]
lea ebx, [ebp - 0x1004]
mov ecx, dword [0x418ac4]
add ebx, edi
sub esi, edi
push dword [ecx]
call eax
mov edx, dword [0x418acc]
mov ecx, eax
sub eax, edx
mov dword [ebp - 0x1010], ecx
mov dword [ebp - 0x1008], eax
cmp ecx, dword [0x418ac8]
jle 0x40238a
push ecx
push dword [0x418ac4]
mov dword [0x418ac8], ecx
call fcn.00406a2d
mov edi, eax
add esp, 8
test edi, edi
je 0x402483
mov eax, dword [ebp - 0x1008]
mov edx, dword [0x418acc]
mov dword [0x418ac4], edi
jmp 0x402390
mov edi, dword [0x418ac4]
test eax, eax
js 0x4023f0
cmp esi, eax
cmovl eax, esi
push eax
mov dword [ebp - 0x1008], eax
lea eax, [edx + edi]
push ebx
push eax
call fcn.00404b00
mov ecx, dword [0x418acc]
add esp, 0xc
add ecx, dword [ebp - 0x1008]
mov eax, dword [ebp - 0x1010]
mov dword [0x418acc], ecx
cmp ecx, eax
jl 0x402483
mov ecx, dword [ebp - 0x100c]
mov edx, edi
push eax
call fcn.00402130
add ebx, dword [ebp - 0x1008]
add esp, 4
sub esi, dword [ebp - 0x1008]
mov edi, dword [0x418ac4]
push edi
call fcn.00406a38
add esp, 4
mov dword [0x418ac4], 0
mov dword [0x418acc], 0
test esi, esi
jle 0x402483
mov eax, dword [sym.imp.WS2_32.dll_ntohl]
cmp esi, 4
jae 0x402422
mov edi, 4
jmp 0x402428
push dword [ebx]
call eax
mov edi, eax
push edi
cmp edi, esi
jg 0x40245b
mov ecx, dword [ebp - 0x100c]
mov edx, ebx
call fcn.00402130
mov eax, dword [sym.imp.WS2_32.dll_ntohl]
sub esi, edi
add esp, 4
add ebx, edi
test esi, esi
jg 0x402416
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00402dfa
mov esp, ebp
pop ebp
ret
mov dword [0x418ac8], edi
call fcn.00406a53
add esp, 4
test eax, eax
je 0x402483
push esi
push ebx
push eax
mov dword [0x418ac4], eax
call fcn.00404b00
add esp, 0xc
mov dword [0x418acc], esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00402dfa
mov esp, ebp
pop ebp
ret
Function at 0x403748
Capabilities:
Parse pe header

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

Function at 0x408ed6
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [section..data]
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 0x408f21
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.00409071
test al, al
jne 0x408f1b
sub edx, 2
cmp edx, edi
jne 0x408f01
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x408f43
lea eax, [edi + 2]
cmp edx, eax
je 0x408f43
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00408e22
add esp, 0x10
jmp 0x40903d
push esi
lea ecx, [ebp - 0x255]
call fcn.00409071
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 0x408f86
push dword [ebp - 0x25c]
jmp 0x408f33
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 0x408fc3
cmp word [ebp - 0x226], 0
je 0x408fe4
cmp word [ebp - 0x226], ax
jne 0x408fc3
cmp word [ebp - 0x224], 0
je 0x408fe4
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00408e22
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x409030
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x408f9d
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x409018
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x40903d
push 0x408c52
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.0040baa0
add esp, 0x10
jmp 0x40900d
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.00402dfa
leave
ret

Function at 0x40aaa0
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41233c
push 0x412334
push str.FlsAlloc
push 0x1f
call fcn.0040a9db
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40aad4
push dword [ebp + 8]
mov ecx, esi
call dword [0x410248]
call esi
jmp 0x40aada
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4
Function at 0x40f750
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40f77d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40f77d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
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 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
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 + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
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 0x40810b
sub esp, 0xffffff80
jmp 0x402130
Function at 0x10004769
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x30
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 0x10]
test edi, edi
jne 0x10004783
xor al, al
jmp 0x1000492e
mov ax, word [esi + 2]
xor ecx, ecx
mov word [ebp - 0x1c], ax
add edi, 0xa
mov al, byte [esi + 4]
push ebx
mov byte [ebp - 0x1a], al
mov bh, cl
xor eax, eax
mov dword [ebp - 0x18], ecx
mov word [ebp - 0x14], ax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], ecx
mov byte [ebp - 1], bh
jmp 0x100047d9
push dword [ebp + 0xc]
lea ecx, [ebp - 0x1c]
push dword [ebp + 8]
call fcn.10003f64
test eax, eax
js 0x1000488e
lea eax, [ebp - 0x1c]
mov ecx, esi
je 0x10004868
push dword [ebp - 8]
push eax
call fcn.100046d8
mov edi, eax
push dword [esi + 0x14]
lea eax, [ebp - 8]
mov dword [ebp - 8], edi
push eax
lea ecx, [ebp - 0x1c]
call fcn.100040be
mov bl, al
test bl, bl
jne 0x100047ad
mov edi, dword [ebp - 8]
mov dword [esi + 0x14], edi
xor edx, edx
test bh, bh
jne 0x1000481e
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x1c]
and dword [ebp - 0x10], edx
mov word [ebp - 0x14], ax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], 1
mov dword [ebp - 0xc], eax
call fcn.10003fcc
mov edx, eax
mov ax, word [esi + 6]
lea ecx, [ebp - 0x30]
and dword [ebp - 0x24], 0
mov word [ebp - 0x30], ax
mov al, byte [esi + 8]
mov byte [ebp - 0x2e], al
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x14]
mov word [ebp - 0x28], ax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x20], eax
call fcn.10003fcc
mov ecx, dword [esi + 0x14]
lea ebx, [edx + eax]
mov edx, dword [esi + 0x18]
sub edx, ecx
cmp ecx, dword [esi + 0x18]
sbb ecx, ecx
and ecx, edx
cmp ecx, ebx
jae 0x1000489e
xor al, al
jmp 0x1000492d
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 8]
push eax
call fcn.10011003
mov edi, eax
mov dword [ebp - 8], edi
test edi, edi
je 0x1000492b
mov bh, 1
mov byte [ebp - 1], bh
jmp 0x10004891
mov dword [ebp - 8], edi
test bl, bl
jne 0x100047f7
jmp 0x100047f4
mov ecx, dword [esi + 0x18]
lea edx, [ebx + edi]
mov eax, dword [esi + 0x14]
sub ecx, ebx
sub ecx, edi
sub eax, edi
je 0x100048e8
test edx, edx
jne 0x100048c6
call dword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__errno]
mov dword [eax], 0x16
call sub.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo
jmp 0x100048e8
test edi, edi
je 0x100048b3
cmp ecx, eax
jae 0x100048dc
call dword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__errno]
mov dword [eax], 0x22
jmp 0x100048bf
push eax
push edi
push edx
call dword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_memmove]
add esp, 0xc
mov eax, dword [esi + 0x14]
add eax, ebx
cmp byte [ebp - 1], 0
mov dword [esi + 0x14], eax
jne 0x10004905
push eax
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x1c]
call fcn.10003ff0
jmp 0x10004918
cmp byte [ebp - 0x1a], 0
je 0x10004918
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x1c]
inc eax
push eax
call fcn.10003f8b
push dword [esi + 0x14]
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0x30]
call fcn.10003ff0
mov byte [esi + 0x20], 1
mov al, 1
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14
Function at 0x1000667d
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
lea edx, [ecx + 0x18]
add edx, eax
movzx eax, word [ecx + 6]
imul esi, eax, 0x28
add esi, edx
cmp edx, esi
je 0x100066ba
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [edx + 0xc]
jb 0x100066b3
mov eax, dword [edx + 8]
add eax, dword [edx + 0xc]
cmp ecx, eax
jb 0x100066bf
add edx, 0x28
cmp edx, esi
jne 0x100066a4
xor eax, eax
pop esi
pop ebp
ret
mov eax, edx
jmp 0x100066bc

Function at 0x1000b53d
Capabilities:
Encode data using xor

Disassembly:
call 0x1000b4b6
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x1000b4e6
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x1000b502
xor edx, 0
jmp 0x1000b50d
xor edx, edx
jmp 0x1000b524
jmp 0x1000b530
xor eax, eax
push 0x8427d7c0
call 0x1000b53d
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x1000b579
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x1000b552
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x1000b590
add eax, 0
jno 0x1000b595
add esi, 0
ret 0x10
Function at 0x1000c2fe
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x1000c320
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x1000c4c2
cmp edi, dword [ebp + 0x10]
jb 0x1000c4c2
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.1000bdea
inc edi
jmp 0x1000c3a9
jmp 0x1000c3b6
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.1000bdea
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.1000bdea
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x1000c40a
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x1000c3ee
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.1000c438
add dword [eax], 0x39
jle 0x1000c414
sub al, 0xf5
mov ch, al
call fcn.1000c44d
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10

Function at 0x1000e125
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0x1000e13b
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0x1000e14c
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.1000e18d
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx