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

Disassembly:
mov ecx, dword [0x1875160]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x45d484
sub esp, 0x24
movzx eax, byte [esp + 0x28]
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 ebp, esi
movzx ebx, byte [ebx + 7]
shl ebx, 0x18
or edi, ecx
or ebx, ebp
movzx ebp, byte [esp + 0x29]
xchg ebp, eax
cmp al, 8
xchg ebp, eax
jae 0x45d411
mov dword [esp + 0x20], edx
mov dword [esp + 0x18], edi
shl ebp, 3
lea ecx, [ebp - 0x40]
neg ecx
mov byte [esp + 0xa], cl
shl ebx, cl
mov esi, edi
shl esi, cl
add ebp, 0xffffffe0
mov ecx, ebp
shr edi, cl
neg ecx
mov byte [esp + 0xb], cl
mov eax, dword [esp + 0x18]
shl eax, cl
mov dword [esp + 0x18], eax
movzx edx, byte [esp + 0xa]
cmp dl, 0x20
sbb eax, eax
mov dword [esp + 0x14], eax
and ebx, eax
and esi, eax
mov ecx, edx
shr esi, cl
and esi, eax
xchg ebp, eax
cmp al, 0x20
xchg ebp, eax
sbb eax, eax
and edi, eax
or edi, ebx
movzx edx, byte [esp + 0xb]
cmp dl, 0x20
sbb ebx, ebx
mov edx, dword [esp + 0x18]
and edx, ebx
or edi, edx
mov edx, ecx
mov ecx, ebp
mov ebp, edi
shl edi, cl
and edi, eax
or edi, esi
movzx ecx, byte [esp + 0xb]
mov eax, ebp
shr ebp, cl
and ebp, ebx
mov ecx, edx
shr eax, cl
mov ebx, dword [esp + 0x14]
and ebx, eax
or edi, ebp
mov edx, dword [esp + 0x20]
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], ebx
mov eax, dword [edx + 8]
mov dword [esp + 0x1c], eax
call sym.runtime.printlock
mov eax, dword [esp + 0xc]
mov dword [esp], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 4], eax
call sym.runtime.printhex
call sym.runtime.printunlock
mov edx, dword [esp + 0x1c]
mov eax, dword [edx]
movzx ecx, byte [esp + 0x28]
mov byte [esp], cl
movzx ecx, byte [esp + 0x2a]
mov byte [esp + 1], cl
call eax
movzx eax, byte [esp + 4]
test al, al
jne 0x45d480
call sym.runtime.printlock
lea eax, str._N
mov dword [esp], eax
mov dword [esp + 4], 1
call sym.runtime.printstring
call sym.runtime.printunlock
add esp, 0x24
ret
call sym.runtime.morestack
jmp sym.runtime.printArgs.func2
Function at 0x45ec20
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword [0x1875160]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x45ecbb
sub esp, 0x30
lea ecx, [esp + 0x34]
mov dword [esp + 4], ecx
mov edx, dword [0x1875160]
mov edx, dword fs:[edx]
mov edx, dword [edx]
mov dword [esp + 8], 0
lea edi, [esp + 0xc]
xor eax, eax
call fcn.00469127
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 0x4658c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x1875160]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x465a53
sub esp, 0x24
mov eax, dword [esp + 0x28]
test byte [eax], al
lea ecx, [eax + 0x18]
mov dword [esp + 0x20], ecx
nop
mov dword [esp], ecx
call sym.runtime.lock2
mov eax, dword [esp + 0x28]
movzx ecx, byte [eax + 0x1c]
test cl, cl
jne 0x465a3c
mov byte [eax + 0x1c], 1
inc dword [eax + 0x24]
inc dword [eax + 0x60]
mov dword [esp], eax
call sym.runtime._pollDesc_.publishInfo
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], 0x72
mov byte [esp + 8], 0
lea ecx, [esp + 0x14]
mov dword [esp + 0xc], ecx
call sym.runtime.netpollunblock
mov eax, dword [esp + 0x10]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x28]
mov dword [esp], ecx
mov dword [esp + 4], 0x77
mov byte [esp + 8], 0
lea edx, [esp + 0x14]
mov dword [esp + 0xc], edx
call sym.runtime.netpollunblock
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x3c]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x18], edx
test ecx, ecx
je 0x4659a8
lea ecx, [eax + 0x28]
mov dword [esp], ecx
call sym.runtime.deltimer
mov eax, dword [0x1875218]
test eax, eax
jne 0x46598f
mov eax, dword [esp + 0x28]
jmp 0x46599d
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x3c]
call sym.runtime.gcWriteBarrier1
mov dword [edi], ecx
mov dword [eax + 0x3c], 0
mov edx, dword [esp + 0x18]
mov ecx, dword [eax + 0x78]
test ecx, ecx
je 0x4659df
lea ecx, [eax + 0x64]
mov dword [esp], ecx
call sym.runtime.deltimer
mov eax, dword [0x1875218]
test eax, eax
jne 0x4659ca
mov eax, dword [esp + 0x28]
jmp 0x4659d8
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x78]
call sym.runtime.gcWriteBarrier1
mov dword [edi], ecx
mov dword [eax + 0x78], 0
nop
nop
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call sym.runtime.unlock2
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x465a05
mov dword [esp], eax
mov dword [esp + 4], 3
call sym.runtime.netpollgoready
mov eax, dword [esp + 0x18]
test eax, eax
je 0x465a1d
mov dword [esp], eax
mov dword [esp + 4], 3
call sym.runtime.netpollgoready
mov eax, dword [esp + 0x14]
test eax, eax
je 0x465a38
nop
lea ecx, [0x18750c8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call sym.runtime_internal_atomic.Xadd
add esp, 0x24
ret
lea eax, [0x4e51a9]
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 0x468e10
Capabilities:
Encrypt data using aes via x86 extensions

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

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

Disassembly:
cmp byte [0x1875046], 0
je 0x468e4b
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 0x469c80
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 0x469c9a
mov ecx, 0x14
jmp 0x469ca3
shl ecx, 2
add ecx, 0xe10
mov dword [0x1875160], ecx
ret
Function at 0x495410
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x1875160]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4955fa
sub esp, 0x48
mov eax, dword [0x1832930]
mov ecx, dword [esp + 0x50]
movzx edx, word [ecx + 2]
movzx ebx, word [ecx + 8]
movzx ebp, word [ecx + 0xa]
movzx esi, word [ecx + 0xc]
mov edi, dword [esp + 0x4c]
mov dword [esp], edi
mov dword [esp + 4], edx
mov dword [esp + 8], 1
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], eax
call sym.time.Date
lea edi, [esp + 0x34]
lea esi, [esp + 0x20]
call fcn.0046960e
lea edi, [esp]
lea esi, [esp + 0x34]
call fcn.0046960e
call sym.time.Time.abs
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
add eax, 0x15180
mov dword [esp], eax
adc ecx, 0
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x93a80
mov dword [esp + 0xc], 0
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
mov eax, ebp
sar ebp, 0x1f
add eax, edx
sar eax, 0x10
sub eax, ebp
sub ecx, eax
test ecx, ecx
jge 0x4954e7
add ecx, 7
movzx edx, word [ebx + 6]
lea ebp, [edx - 1]
cmp ebp, 4
jge 0x495501
lea ebx, [edx + edx*2]
lea edx, [edx + ebx*2]
lea ecx, [ecx + edx - 6]
mov edx, ecx
jmp 0x495578
movzx eax, word [ebx + 2]
cmp eax, 2
jne 0x49554e
mov edx, dword [esp + 0x4c]
test edx, 3
jne 0x49554a
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 0x495543
sar edi, 7
sub edi, esi
imul edx, edi, 0x190
cmp ebx, edx
jne 0x495550
mov ebx, 0x1d
jmp 0x49556e
mov ebp, eax
jmp 0x495550
mov ebp, eax
cmp ebp, 0xd
jae 0x4955ed
lea eax, [ebp - 1]
lea edx, [0x589580]
mov ebx, dword [edx + ebp*4]
cmp eax, 0xd
jae 0x4955e3
sub ebx, dword [edx + ebp*4 - 4]
lea edx, [ecx + 0x1d]
cmp ebx, edx
jge 0x495578
lea edx, [ecx + 0x16]
mov ecx, dword [esp + 0x38]
test ecx, 0x80000000
je 0x4955aa
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 0x4955b2
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
mov dword [esp + 0x54], eax
adc edx, 0xfffffff1
mov dword [esp + 0x58], edx
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 0x4abda0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x1875160]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4abe41
sub esp, 0x10
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [esp + 0x18]
cmp dword [edx], ecx
jne 0x4abe37
movzx ecx, byte [eax + 4]
cmp byte [edx + 4], cl
jne 0x4abe37
movzx ecx, byte [eax + 5]
cmp byte [edx + 5], cl
jne 0x4abe37
movzx ecx, byte [eax + 6]
cmp byte [edx + 6], cl
jne 0x4abe37
movzx ecx, byte [eax + 7]
cmp byte [edx + 7], cl
jne 0x4abe37
movzx ecx, byte [eax + 8]
cmp byte [edx + 8], cl
jne 0x4abe37
movzx ecx, byte [eax + 9]
cmp byte [edx + 9], cl
jne 0x4abe37
movzx ecx, byte [eax + 0xa]
cmp byte [edx + 0xa], cl
jne 0x4abe37
movzx ecx, byte [eax + 0xb]
cmp byte [edx + 0xb], cl
jne 0x4abe37
movzx ecx, byte [eax + 0xc]
cmp byte [edx + 0xc], cl
jne 0x4abe37
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 0x4abe39
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 0x4b12e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword [0x1875160]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4b13da
sub esp, 0x20
mov ecx, dword [esp + 0x24]
test byte [ecx], al
mov edx, dword [esp + 0x28]
mov ebx, edx
and edx, 0x7f
shl edx, 5
add ecx, edx
mov dword [esp + 0x1c], ecx
xor eax, eax
jmp 0x4b1320
mov ebp, dword [esp + 0x14]
inc ebp
mov ecx, dword [esp + 0x1c]
mov ebx, eax
mov eax, ebp
cmp eax, 4
jge 0x4b1359
mov dword [esp + 0x14], eax
lea edx, [ecx + eax*8]
mov dword [esp], edx
call sym.sync_atomic.LoadUint64
mov eax, dword [esp + 0x28]
cmp dword [esp + 4], eax
sete cl
mov edx, dword [esp + 0x2c]
cmp dword [esp + 8], edx
sete bl
and ebx, ecx
test bl, bl
je 0x4b1313
mov byte [esp + 0x30], 1
add esp, 0x20
ret
xor eax, eax
mov edx, 0x84222325
jmp 0x4b1363
inc eax
cmp eax, 4
jge 0x4b1379
mov dword [esp + 0x18], eax
lea ebp, [ecx + eax*8]
mov esi, dword [ebp]
mov ebp, dword [ebp + 4]
xor edi, edi
jmp 0x4b13d3
and edx, 3
lea eax, [ecx + edx*8]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov eax, dword [esp + 0x2c]
mov dword [esp + 8], eax
call sym.sync_atomic.StoreUint64
mov byte [esp + 0x30], 0
add esp, 0x20
ret
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebp
and esi, 0xff
xor edx, esi
mov esi, dword [esp + 0xc]
shr esi, 8
shl ebp, 0x18
mov eax, edx
mov ebx, 0x1b3
mul ebx
inc edi
or esi, ebp
mov ebp, dword [esp + 0x10]
shr ebp, 8
mov ebx, dword [esp + 0x28]
mov edx, eax
mov eax, dword [esp + 0x18]
cmp edi, 8
jl 0x4b139c
jmp 0x4b1362
call sym.runtime.morestack_noctxt
jmp sym.internal_bisect._dedup_.seenLossy
Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..rsrc
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x430072
nop
nop
nop
mov ebx, 0x408f6c
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x173d41bd
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x430060
nop
nop
nop
mov eax, section..pdata
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x4300d2
mov ebx, 0x42e3d0
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x5ead2096
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
loop 0x4300c0
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x401120
Capabilities:
Check mutex on windows
Create process on windows
Log keystrokes via polling
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push edi
push 0x82
push 0x416458
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x5c
push 0x416458
call fcn.00401e70
add esp, 8
inc eax
mov dword [0x416450], eax
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x4012e7
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push str..cfg_setting.cfg
push 0x400
push 0x416560
push 0x412d0c
push str.File
push dword [0x416450]
call esi
push str..cfg_setting.cfg
push 0x400
push 0x416960
push 0x412d0c
push 0x412d34
push dword [0x416450]
call esi
push str..cfg_setting.cfg
push 4
lea eax, [ebp - 0x10c]
push eax
push 0x412d0c
push str.edit_permission
push 0x412d50
call esi
push 0x412d54
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
mov esi, eax
test esi, esi
je 0x401224
push 0x10
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x401224
push 0
push section..text
push 0
push 0x4158c0
push ebx
call dword [sym.imp.USER32.dll_DialogBoxIndirectParamA]
jmp 0x4012e6
mov al, byte [0x416560]
mov dl, byte [0x416960]
test al, al
jne 0x401272
test dl, dl
jne 0x401272
test esi, esi
je 0x401272
push dword [0x416450]
lea eax, [ebp - 0x108]
push str.Launch_application_is_not_set._r_nSetting:_Shift_key___s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x108]
push 0x1010
push dword [0x416450]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x4012e6
xor ecx, ecx
test al, al
mov eax, 0x416960
je 0x401289
test dl, dl
cmove eax, ecx
mov ecx, eax
mov eax, 0x416560
push 5
push 0
push ecx
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
jg 0x4012db
push 0x416960
push 0x416560
push eax
lea eax, [ebp - 0x108]
push str.Failed_to_run_Error_code:_d_._n_nAutoRunFile:_s_nParameter:_s_n
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
lea eax, [ebp - 0x108]
push 0x1010
push dword [0x416450]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
pop esi
test edi, edi
je 0x4012f2
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop ebx
call fcn.00401306
mov esp, ebp
pop ebp
ret 0x10

Function at 0x401b36
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x401b75
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401b75
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401b75
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401b75
cmp dword [ecx + 0x74], 0xe
jbe 0x401b75
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x40765c
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 0x4076f9
push ebx
push esi
call fcn.00407625
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.004075b9
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x4076a6
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x4076f8
push edi
push eax
call fcn.00407eef
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x4076c6
call fcn.00406101
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x4076f7
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.004075b9
add esp, 0x20
test eax, eax
jne 0x4076e5
push edi
call fcn.00406101
jmp 0x4076ed
push ebx
call fcn.00406101
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 0x4085f5
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x410000
push 0x40fff8
push str.FlsAlloc
push 0x1f
call fcn.00408511
mov esi, eax
add esp, 0x10
test esi, esi
je 0x408629
push dword [ebp + 8]
mov ecx, esi
call dword [0x40e14c]
call esi
jmp 0x40862f
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x408673
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x410010
push 0x410008
push str.FlsGetValue
push 0x21
call fcn.00408511
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4086aa
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 0x4086b2
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x410018
push 0x410010
push str.FlsSetValue
push 0x22
call fcn.00408511
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4086ec
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 0x40d5a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40d5cd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40d5cd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
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
nop
sub eax, 0x40a009
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
jne 0x43301e
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x417bf0
Capabilities:
Create thread

Disassembly:
push ecx
push ebx
push esi
mov esi, eax
call fcn.00417630
mov eax, dword [esi + 4]
push eax
call dword [0x44d430]
cmp dword [esi + 0x1f8], 0
mov ebx, dword [0x44d088]
je 0x417c4b
push edi
lea ecx, [esp + 0xc]
push ecx
push 0
push 0x27110000
push fcn.00417630
push 0
push 0
mov dword [esp + 0x24], 0
call fcn.004352a4
add esp, 0x18
mov edi, eax
push 0x3e8
push edi
call ebx
push edi
call dword [0x44d274]
pop edi
cmp dword [esi + 0x23c], 0
je 0x417c62
cmp dword [esi + 0x240], 1
jne 0x417c62
call fcn.00416750
mov eax, dword [0x4667f0]
test eax, eax
je 0x417c73
push 0x2710
push eax
call ebx
push 1
call dword [0x44d368]
pop esi
mov eax, 1
pop ebx
pop ecx
ret

Function at 0x418670
Capabilities:
Create thread

Disassembly:
push esi
mov esi, eax
cmp dword [esi + 0x21c], 0xffffffff
jne 0x418698
push 0
push 0
push esi
push 0x417920
push 0
push 0
call fcn.004352a4
add esp, 0x18
mov dword [esi + 0x21c], eax
mov esi, dword [esi + 0x224]
cmp esi, 0xffffffff
je 0x4186aa
push esi
call dword [0x44d0b8]
pop esi
ret

Function at 0x41a210
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x68
mov eax, dword [0x462100]
xor eax, esp
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x6c]
xor ecx, ecx
push esi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], ecx
push eax
mov eax, dword [esp + 0x78]
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0x67452301
mov dword [esp + 0x10], 0xefcdab89
mov dword [esp + 0x14], 0x98badcfe
mov dword [esp + 0x18], 0x10325476
call fcn.0041e010
add esp, 4
lea esi, [esp + 8]
mov ecx, edi
call fcn.0041e0b0
mov ecx, dword [esp + 0x64]
pop esi
xor ecx, esp
call fcn.00433d6b
add esp, 0x68
ret

Function at 0x41a960
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x6c
mov eax, dword [0x462100]
xor eax, esp
mov dword [esp + 0x68], eax
push esi
lea eax, [esp + 8]
mov esi, edx
push eax
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x14]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x18], 0x67452301
mov dword [esp + 0x1c], 0xefcdab89
mov dword [esp + 0x20], 0x98badcfe
mov dword [esp + 0x24], 0x10325476
call fcn.0041cb40
add esp, 8
test eax, eax
jne 0x41a9cb
pop esi
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.00433d6b
add esp, 0x6c
ret
mov eax, dword [esp + 0x74]
test eax, eax
jbe 0x41a9e0
push esi
lea ecx, [esp + 0x14]
call fcn.0041e010
add esp, 4
lea esi, [esp + 0x10]
mov ecx, ebx
call fcn.0041e0b0
test edi, edi
je 0x41a9fe
mov ecx, dword [esp + 0xc]
xor eax, eax
cmp ecx, dword [esp + 8]
sete al
mov dword [edi], eax
mov ecx, dword [esp + 0x6c]
pop esi
xor ecx, esp
mov eax, 1
call fcn.00433d6b
add esp, 0x6c
ret
Function at 0x41aa40
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x64
mov eax, dword [0x462100]
xor eax, esp
mov dword [esp + 0x5c], eax
xor eax, eax
push esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
push edi
lea eax, [esp + 8]
mov edi, ecx
push eax
mov dword [esp + 0xc], 0x67452301
mov dword [esp + 0x10], 0xefcdab89
mov dword [esp + 0x14], 0x98badcfe
mov dword [esp + 0x18], 0x10325476
call fcn.0041cd40
add esp, 4
test eax, eax
jne 0x41aa9e
pop edi
pop esi
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.00433d6b
add esp, 0x64
ret
lea esi, [esp + 8]
mov ecx, ebx
call fcn.0041e0b0
mov ecx, dword [esp + 0x64]
pop edi
pop esi
xor ecx, esp
mov eax, 1
call fcn.00433d6b
add esp, 0x64
ret

Function at 0x41aac0
Capabilities:
Hash data using sha256

Disassembly:
sub esp, 0x74
mov eax, dword [0x462100]
xor eax, esp
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x78]
xor ecx, ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ecx
push edi
lea ecx, [esp + 8]
push ecx
push eax
mov dword [esp + 0x10], 0x6a09e667
mov dword [esp + 0x14], 0xbb67ae85
mov dword [esp + 0x18], 0x3c6ef372
mov dword [esp + 0x1c], 0xa54ff53a
mov dword [esp + 0x20], 0x510e527f
mov dword [esp + 0x24], 0x9b05688c
mov dword [esp + 0x28], 0x1f83d9ab
mov dword [esp + 0x2c], 0x5be0cd19
call fcn.0041ce30
add esp, 8
test eax, eax
jne 0x41ab3f
pop edi
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.00433d6b
add esp, 0x74
ret
mov eax, esi
lea edi, [esp + 8]
call fcn.0041dbf0
mov ecx, dword [esp + 0x74]
pop edi
xor ecx, esp
mov eax, 1
call fcn.00433d6b
add esp, 0x74
ret