joyce8/EMBER2024-capa huggingface dataset:
Function at 0x454990
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x584378]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x454b26
sub esp, 0x28
movzx eax, byte [esp + 0x2c]
movzx ebx, al
add ebx, dword [edx + 4]
movzx ebp, byte [ebx]
movzx esi, byte [ebx + 1]
mov edi, esi
shl esi, 8
or ebp, esi
shr edi, 0x18
movzx esi, byte [ebx + 2]
mov ecx, esi
shr esi, 0x10
or esi, edi
shl ecx, 0x10
or ecx, ebp
movzx ebp, byte [ebx + 3]
mov edi, ebp
shr ebp, 8
or ebp, esi
shl edi, 0x18
movzx esi, byte [ebx + 4]
or esi, ebp
movzx ebp, byte [ebx + 5]
shl ebp, 8
or esi, ebp
movzx ebp, byte [ebx + 6]
shl ebp, 0x10
or esi, ebp
movzx ebx, byte [ebx + 7]
shl ebx, 0x18
or edi, ecx
or ebx, esi
movzx ebp, byte [esp + 0x2d]
xchg ebp, eax
cmp al, 8
xchg ebp, eax
jae 0x454ab3
mov dword [esp + 0x24], edx
mov dword [esp + 0x1c], edi
shl ebp, 3
lea ecx, [ebp - 0x40]
neg ecx
mov byte [esp + 9], cl
shl ebx, cl
mov esi, edi
shl esi, cl
add ebp, 0xffffffe0
xchg ebp, eax
mov byte [esp + 0xb], al
xchg ebp, eax
mov ecx, ebp
shr edi, cl
mov dword [esp + 0x18], edi
neg ecx
mov byte [esp + 0xa], cl
mov eax, dword [esp + 0x1c]
shl eax, cl
movzx edx, byte [esp + 9]
cmp dl, 0x20
sbb edi, edi
mov dword [esp + 0x1c], edi
and ebx, edi
and esi, edi
mov ecx, edx
shr esi, cl
and esi, edi
mov dword [esp + 0x14], esi
movzx esi, byte [esp + 0xa]
xchg esi, eax
cmp al, 0x20
xchg esi, eax
sbb edi, edi
and eax, edi
xchg ebp, eax
cmp al, 0x20
xchg ebp, eax
sbb ebp, ebp
mov edx, dword [esp + 0x18]
and edx, ebp
or ebx, edx
or ebx, eax
mov eax, ecx
mov ecx, esi
mov edx, ebx
shr edx, cl
and edi, edx
mov ecx, eax
mov eax, ebx
shr eax, cl
movzx ecx, byte [esp + 0xb]
shl ebx, cl
and ebx, ebp
mov edx, dword [esp + 0x14]
or ebx, edx
mov edx, dword [esp + 0x1c]
and eax, edx
or edi, ebx
mov edx, dword [esp + 0x24]
mov ebx, eax
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], ebx
mov eax, dword [edx + 8]
mov dword [esp + 0x20], eax
call sym.runtime.printlock
mov eax, dword [esp + 0x10]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xc]
mov dword [esp], eax
call sym.runtime.printhex
call sym.runtime.printunlock
mov edx, dword [esp + 0x20]
mov eax, dword [edx]
movzx ecx, byte [esp + 0x2c]
mov byte [esp], cl
movzx ecx, byte [esp + 0x2e]
mov byte [esp + 1], cl
call eax
movzx eax, byte [esp + 4]
test al, al
jne 0x454b22
call sym.runtime.printlock
lea eax, [0x4e2070]
mov dword [esp], eax
mov dword [esp + 4], 1
call sym.runtime.printstring
call sym.runtime.printunlock
add esp, 0x28
ret
call sym.runtime.morestack
jmp sym.runtime.printArgs.func2
Function at 0x456270
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword [0x584378]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x45630b
sub esp, 0x30
lea ecx, [esp + 0x34]
mov dword [esp + 4], ecx
mov edx, dword [0x584378]
mov edx, dword fs:[edx]
mov edx, dword [edx]
mov dword [esp + 8], 0
lea edi, [esp + 0xc]
xor eax, eax
call fcn.0045eea7
lea ecx, [sym.runtime.callers.func1]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 4]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
lea ecx, [esp + 8]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0xc]
mov dword [esp], ecx
call sym.runtime.systemstack
mov ecx, dword [esp + 8]
mov dword [esp + 0x44], ecx
add esp, 0x30
ret
call sym.runtime.morestack_noctxt
jmp sym.runtime.callers
Function at 0x45b9f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x584378]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x45bb50
sub esp, 0x1c
mov eax, dword [esp + 0x20]
test byte [eax], al
lea ecx, [eax + 0x18]
mov dword [esp + 0x18], ecx
nop
mov dword [esp], ecx
call sym.runtime.lock2
mov eax, dword [esp + 0x20]
movzx ecx, byte [eax + 0x1c]
test cl, cl
jne 0x45bb39
mov byte [eax + 0x1c], 1
inc dword [eax + 0x24]
inc dword [eax + 0x60]
mov dword [esp], eax
call sym.runtime._pollDesc_.publishInfo
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], 0x72
mov byte [esp + 8], 0
call sym.runtime.netpollunblock
mov eax, dword [esp + 0xc]
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x20]
mov dword [esp], ecx
mov dword [esp + 4], 0x77
mov byte [esp + 8], 0
call sym.runtime.netpollunblock
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x3c]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x10], edx
test ecx, ecx
je 0x45bac0
lea ecx, [eax + 0x28]
mov dword [esp], ecx
call sym.runtime.deltimer
mov eax, dword [0x584470]
test eax, eax
jne 0x45baa7
mov eax, dword [esp + 0x20]
jmp 0x45bab5
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x3c]
call sym.runtime.gcWriteBarrier1
mov dword [edi], ecx
mov dword [eax + 0x3c], 0
mov edx, dword [esp + 0x10]
mov ecx, dword [eax + 0x78]
test ecx, ecx
je 0x45baf7
lea ecx, [eax + 0x64]
mov dword [esp], ecx
call sym.runtime.deltimer
mov eax, dword [0x584470]
test eax, eax
jne 0x45bae2
mov eax, dword [esp + 0x20]
jmp 0x45baf0
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x78]
call sym.runtime.gcWriteBarrier1
mov dword [edi], ecx
mov dword [eax + 0x78], 0
nop
nop
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call sym.runtime.unlock2
mov eax, dword [esp + 0x14]
test eax, eax
je 0x45bb1d
mov dword [esp], eax
mov dword [esp + 4], 3
call sym.runtime.netpollgoready
mov eax, dword [esp + 0x10]
test eax, eax
je 0x45bb35
mov dword [esp], eax
mov dword [esp + 4], 3
call sym.runtime.netpollgoready
add esp, 0x1c
ret
lea eax, [0x4c7126]
mov dword [esp], eax
mov dword [esp + 4], 0x24
call sym.runtime.throw
nop
call sym.runtime.morestack_noctxt
jmp sym.internal_poll.runtime_pollUnblock

Function at 0x45eb70
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp byte [0x584247], 0
je 0x45eb8a
mov eax, dword [esp + 4]
mov ebx, dword [esp + 0xc]
lea edx, [esp + 0x10]
jmp sym.aeshashbody
jmp sym.runtime.memhashFallback

Function at 0x45eb90
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp byte [0x584247], 0
je 0x45ebab
mov eax, dword [esp + 4]
mov ebx, dword [eax + 4]
mov eax, dword [eax]
lea edx, [esp + 0xc]
jmp sym.aeshashbody
jmp sym.runtime.strhashFallback

Function at 0x45fa40
Capabilities:
Allocate thread local storage

Disassembly:
mov ebp, esp
mov eax, dword [sym.imp.kernel32.dll_TlsAlloc]
call eax
mov esp, ebp
mov ecx, eax
cmp ecx, 0x40
jb 0x45fa5a
mov ecx, 0x14
jmp 0x45fa63
shl ecx, 2
add ecx, 0xe10
mov dword [0x584378], ecx
ret
Function at 0x48a370
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x584378]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x48a55a
sub esp, 0x48
mov eax, dword [0x55b064]
mov ecx, dword [esp + 0x50]
movzx edx, word [ecx + 0xa]
movzx ebx, word [ecx + 0xc]
movzx ebp, word [ecx + 2]
movzx esi, word [ecx + 8]
mov edi, dword [esp + 0x4c]
mov dword [esp], edi
mov dword [esp + 4], ebp
mov dword [esp + 8], 1
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], eax
call sym.time.Date
lea edi, [esp + 0x34]
lea esi, [esp + 0x20]
call fcn.0045f38e
lea edi, [esp]
lea esi, [esp + 0x34]
call fcn.0045f38e
call sym.time.Time.abs
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
add eax, 0x15180
adc ecx, 0
mov dword [esp + 4], ecx
mov dword [esp], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x93a80
call sym.runtime.uint64mod
mov eax, dword [esp + 0x50]
movzx ecx, word [eax + 4]
mov edx, dword [esp + 0x10]
mov ebx, eax
mov eax, 0xc22e4507
mov ebp, edx
imul edx
lea eax, [ebp + edx]
sar eax, 0x10
sar ebp, 0x1f
sub eax, ebp
sub ecx, eax
test ecx, ecx
jge 0x48a447
add ecx, 7
movzx edx, word [ebx + 6]
lea ebp, [edx - 1]
cmp ebp, 4
jge 0x48a461
lea ebx, [edx + edx*2]
lea edx, [edx + ebx*2]
lea ecx, [ecx + edx - 6]
mov edx, ecx
jmp 0x48a4d8
movzx eax, word [ebx + 2]
cmp eax, 2
jne 0x48a4ae
mov edx, dword [esp + 0x4c]
test edx, 3
jne 0x48a4aa
mov ebx, edx
sar edx, 0x1f
mov ebp, eax
mov eax, 0x51eb851f
mov esi, edx
imul ebx
mov edi, edx
sar edx, 5
sub edx, esi
imul edx, edx, 0x64
cmp ebx, edx
jne 0x48a4a3
sar edi, 7
sub edi, esi
imul edx, edi, 0x190
cmp ebx, edx
jne 0x48a4b0
mov ebx, 0x1d
jmp 0x48a4ce
mov ebp, eax
jmp 0x48a4b0
mov ebp, eax
cmp ebp, 0xd
jae 0x48a54d
lea eax, [ebp - 1]
lea edx, [0x554600]
mov ebx, dword [edx + ebp*4]
cmp eax, 0xd
jae 0x48a543
sub ebx, dword [edx + ebp*4 - 4]
lea edx, [ecx + 0x1d]
cmp ebx, edx
jge 0x48a4d8
lea edx, [ecx + 0x16]
mov ecx, dword [esp + 0x38]
test ecx, 0x80000000
je 0x48a50a
mov ebx, dword [esp + 0x34]
shl ecx, 1
mov ebp, ebx
shl ebx, 1
shr ebp, 0x1f
or ebp, ecx
mov ecx, ebp
shl ebp, 1
shr ecx, 0x1f
shr ebx, 0x1f
or ebp, ebx
add ebp, 0xd7b17f80
adc ecx, 0xd
jmp 0x48a512
mov ebp, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
lea eax, [edx - 1]
mov edx, eax
sar edx, 0x1f
mov ebx, 0x15180
mov esi, edx
mul ebx
imul ebx, esi, 0x15180
add edx, ebx
add eax, ebp
adc edx, ecx
add eax, 0x886e0900
adc edx, 0xfffffff1
mov dword [esp + 0x58], edx
mov dword [esp + 0x54], eax
add esp, 0x48
ret
mov ecx, 0xd
call sym.runtime.panicIndex
mov eax, ebp
mov ecx, 0xd
call sym.runtime.panicIndex
nop
call sym.runtime.morestack_noctxt
jmp sym.time.pseudoUnix
Function at 0x49bae0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x584378]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x49bb81
sub esp, 0x10
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [esp + 0x18]
cmp dword [edx], ecx
jne 0x49bb77
movzx ecx, byte [eax + 4]
cmp byte [edx + 4], cl
jne 0x49bb77
movzx ecx, byte [eax + 5]
cmp byte [edx + 5], cl
jne 0x49bb77
movzx ecx, byte [eax + 6]
cmp byte [edx + 6], cl
jne 0x49bb77
movzx ecx, byte [eax + 7]
cmp byte [edx + 7], cl
jne 0x49bb77
movzx ecx, byte [eax + 8]
cmp byte [edx + 8], cl
jne 0x49bb77
movzx ecx, byte [eax + 9]
cmp byte [edx + 9], cl
jne 0x49bb77
movzx ecx, byte [eax + 0xa]
cmp byte [edx + 0xa], cl
jne 0x49bb77
movzx ecx, byte [eax + 0xb]
cmp byte [edx + 0xb], cl
jne 0x49bb77
movzx ecx, byte [eax + 0xc]
cmp byte [edx + 0xc], cl
jne 0x49bb77
add eax, 0x10
mov dword [esp], eax
lea eax, [edx + 0x10]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x4c
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
jmp 0x49bb79
xor eax, eax
mov byte [esp + 0x1c], al
add esp, 0x10
ret
call sym.runtime.morestack_noctxt
jmp sym.type:.eq.fmt.fmt
Function at 0x402270
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push 0
push 0
push 2
push 0
push 1
push 0x40000000
push eax
xor bl, bl
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x402295
lea ecx, [esp + 0xc]
push 0
push ecx
push 0xa4000
push 0x42a50c
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4022b3
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
pop esi
pop ebx
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x42e030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
nop
popal
nop
jmp fcn.00401219
Function at 0x408f95
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x410cd0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00407065
mov dword [ebp - 0x14], eax
cmp dword [0x411bf4], esi
jne 0x409088
push 0x800
push esi
push 0x4021ec
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x409015
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x409168
push esi
push esi
push 0x4021ec
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x409168
push 0x402204
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x409168
push eax
call ebx
push 0x402210
push edi
mov dword [0x411bf4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x402220
push edi
mov dword [0x411bf8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x402234
push edi
mov dword [0x411bfc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x411c04], eax
test eax, eax
je 0x409085
push 0x402250
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x411c00], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4090ad
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4090a0
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x4090c2
push 4
pop eax
jmp 0x40916a
cmp dword [ebp - 0x14], esi
je 0x4090c2
push dword [0x411bf4]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x4090a7
mov eax, dword [0x411c00]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x409120
cmp dword [0x411c04], edi
je 0x409120
push eax
call ebx
push dword [0x411c04]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x409120
test eax, eax
je 0x409120
call ecx
test eax, eax
je 0x409115
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x409115
test byte [ebp - 8], 1
jne 0x409120
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x409150
mov eax, dword [0x411bf8]
cmp eax, edi
je 0x40914d
push eax
call ebx
test eax, eax
je 0x40914d
call eax
mov esi, eax
test esi, esi
je 0x40914d
mov eax, dword [0x411bfc]
cmp eax, edi
je 0x40914d
push eax
call ebx
test eax, eax
je 0x40914d
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x411bf4]
call ebx
test eax, eax
je 0x409168
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40916a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040917b
mov esp, ebp
pop ebp
ret

Function at 0xa14000
Capabilities:
Decompress data using aplib

Disassembly:
jmp 0xa1400a
jmp 0xa1600f
jmp fcn.007d80b0
Function at 0x40320e
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0xc2a658]
mov ecx, dword [0xc295a8]
sub esp, 0x400
push esi
shr eax, 3
xor esi, esi
cmp eax, esi
jbe 0x4032b1
push ebx
push edi
mov edi, ecx
mov ebx, eax
cmp dword [0xc2a658], 0x959
jne 0x4032a3
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SleepEx]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateJobObjectA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsExA]
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetFileShortNameA]
push esi
lea eax, [ebp - 0x400]
push eax
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_LCMapStringA]
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push esi
call dword [sym.imp.KERNEL32.dll_HeapLock]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push edi
call fcn.00403061
add edi, 8
dec ebx
jne 0x403236
pop edi
pop ebx
pop esi
leave
ret
Function at 0x4041bc
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x80a168]
jne 0x4041c6
repz ret
jmp fcn.00407f7c

Function at 0x4096bc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040682e
and dword [ebp - 4], 0
cmp dword [0x80c310], 0
mov ebx, eax
jne HeapSize
push 0x40248c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40981e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402480
push edi
call esi
test eax, eax
je 0x40981e
push eax
call fcn.004067bc
mov dword [esp], 0x402470
push edi
mov dword [0x80c310], eax
call esi
push eax
call fcn.004067bc
mov dword [esp], 0x40245c
push edi
mov dword [0x80c314], eax
call esi
push eax
call fcn.004067bc
mov dword [esp], 0x402440
push edi
mov dword [0x80c318], eax
call esi
push eax
call fcn.004067bc
pop ecx
mov dword [0x80c320], eax
test eax, eax
je 0x40976d
push 0x402428
push edi
call esi
push eax
call fcn.004067bc
pop ecx
mov dword [0x80c31c], eax
mov eax, dword [0x80c31c]
cmp eax, ebx
je 0x4097c5
cmp dword [0x80c320], ebx
je 0x4097c5
push eax
call fcn.00406837
push dword [SetHandleCount]
mov esi, eax
call fcn.00406837
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4097c5
test edi, edi
je 0x4097c5
call esi
test eax, eax
je 0x4097bc
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4097bc
test byte [ebp - 0xc], 1
jne 0x4097c5
or dword [ebp + 0x10], 0x200000
jmp 0x4097fe
mov eax, dword [0x80c314]
cmp eax, ebx
je 0x4097fe
push eax
call fcn.00406837
pop ecx
test eax, eax
je 0x4097fe
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4097fe
mov eax, dword [0x80c318]
cmp eax, ebx
je 0x4097fe
push eax
call fcn.00406837
pop ecx
test eax, eax
je 0x4097fe
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x80c310]
call fcn.00406837
pop ecx
test eax, eax
je 0x40981e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x409820
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x403160
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x42c
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, dword [eax]
mov eax, dword [eax + 4]
xor esi, esi
cmp dword [0xc28080], 0x594
mov dword [ebp - 0xc], eax
jne 0x403195
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomW]
mov ecx, dword [0x808ef8]
mov edx, dword [0x808efc]
push ebx
lea eax, [ebp - 8]
mov dword [ebp - 8], esi
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x20], edx
call fcn.00403150
mov ebx, dword [ebp - 8]
mov eax, dword [0x808f00]
mov ecx, dword [0x808f04]
add ebx, 0x23f
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x18], 0x20
jmp 0x4031e2
xor esi, esi
mov dword [ebp - 8], 2
add dword [ebp - 8], 3
mov ecx, dword [0xc28080]
mov eax, edi
shl eax, 4
mov dword [ebp - 4], eax
cmp ecx, 0xc
jne 0x403244
push esi
lea edx, [ebp - 0x42c]
push edx
push 0x4025c0
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsW]
xor eax, eax
xor ecx, ecx
mov word [ebp - 0x14], ax
mov word [ebp - 0x12], cx
mov edx, dword [ebp - 0x14]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
mov eax, dword [ebp - 4]
mov ecx, dword [0xc28080]
add eax, dword [ebp - 0x1c]
mov dword [ebp - 4], eax
cmp ecx, 0xfa9
jne 0x40325e
mov dword [0xc2761c], 0xedeb2e40
jmp 0x40326c
cmp ecx, 0x3eb
jne 0x40326c
mov dword [0xc26fd0], esi
mov ecx, dword [ebp - 8]
mov edx, edi
shr edx, cl
lea eax, [ebx + edi]
mov dword [ebp - 0x10], eax
mov dword [0xc27618], 0xf4ea3dee
add edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x10]
xor dword [ebp - 4], eax
xor edx, dword [ebp - 4]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
add dword [ebp - 0xc], 0x64
sub dword [ebp - 0xc], eax
sub dword [ebp - 0xc], 0x64
cmp dword [0xc28080], 0xc
jne 0x4032bf
lea ecx, [ebp - 0x10]
push ecx
push esi
push esi
lea edx, [ebp - 0x2c]
push edx
push esi
push esi
push esi
mov dword [ebp - 0x10], esi
call dword [sym.imp.KERNEL32.dll_BackupRead]
mov eax, dword [ebp - 0xc]
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x28]
add dword [ebp - 4], eax
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov eax, edx
shr eax, cl
mov ecx, dword [ebp - 4]
lea esi, [ebx + edx]
add ebx, 0x61c88647
add eax, dword [ebp - 0x20]
xor eax, esi
xor ecx, eax
sub edi, ecx
sub dword [ebp - 0x18], 1
mov dword [ebp - 4], ecx
jne 0x4031e0
cmp dword [0xc28080], 0xa6d
mov esi, dword [ebp + 8]
mov dword [esi], edi
pop ebx
jne 0x403327
push 0
push 0x4025f4
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceW]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword [esi + 4], ecx
pop esi
mov esp, ebp
pop ebp
ret 4
pop edi
mov dword [esi + 4], edx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x403340
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0xc28080]
mov ecx, dword [0xc26fd4]
shr eax, 3
sub esp, 0x408
test eax, eax
jbe 0x40341a
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EnumDateFormatsExA]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
lea ebx, [ebx]
cmp dword [0xc28080], 0x959
jne 0x403400
push 0
call esi
push 0
push 0
call edi
push 0
push 0
push 0
call ebx
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
push 0x402628
push 0
call dword [sym.imp.KERNEL32.dll_SetFileShortNameW]
push 0
lea eax, [ebp - 0x408]
push eax
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_LCMapStringA]
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 0
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 0
call dword [sym.imp.KERNEL32.dll_HeapLock]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, dword [ebp - 4]
push ecx
call fcn.00403160
add dword [ebp - 4], 8
sub dword [ebp - 8], 1
jne 0x403380
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret