joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4012a0
Capabilities:
Execute command

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
call sym.___main
add esp, 0xfffffff8
push sym._endl__FR7ostream
add esp, 0xfffffff8
push 0x401210
push 0x413028
call sym.___ls__7ostreamPCc
add esp, 0x10
mov eax, eax
push eax
call sym.___ls__7ostreamPFR7ostream_R7ostream
add esp, 0x10
add esp, 0xfffffff8
push 0x401246
push 0x413028
call sym.___ls__7ostreamPCc
add esp, 0x10
add esp, 0xfffffff8
lea eax, [ebp - 1]
push eax
push 0x4130a8
call sym.___rs__7istreamRc
add esp, 0x10
mov al, byte [ebp - 1]
cmp al, 0x59
je 0x401310
cmp al, 0x79
je 0x401310
jmp 0x401317
call sym._Newton_main__Fv
jmp 0x40132c
add esp, 0xfffffff8
push 0x401270
push 0x413028
call sym.___ls__7ostreamPCc
add esp, 0x10
add esp, 0xfffffff4
push 0x40129a
call sym._system
add esp, 0x10
xor eax, eax
jmp 0x401340
leave
ret

Function at 0x4047d4
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov edx, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
cmp eax, 1
jne 0x404810
add esp, 0xfffffff4
push dword [edx + 0x4c]
call sym._getc
cmp eax, 0xffffffff
jne 0x404800
xor eax, eax
jmp 0x40481c
mov byte [ebx], al
mov eax, 1
jmp 0x40481c
push dword [edx + 0x4c]
push eax
push 1
push ebx
call sym._fread
mov ebx, dword [ebp - 0x18]
leave
ret

Function at 0x404824
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push ebx
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
push dword [ebx + 0x4c]
push esi
push 1
push dword [ebp + 0xc]
call sym._fwrite
mov edx, dword [ebx + 0x40]
test edx, edx
jl 0x40484c
add edx, esi
mov dword [ebx + 0x40], edx
lea esp, [ebp - 0x18]
pop ebx
pop esi
leave
ret

Function at 0x40491c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov edx, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov eax, dword [edx]
shr eax, 1
xor al, 1
test al, 1
jne 0x404945
push dword [edx + 0x4c]
push ecx
push 1
push ebx
call sym._fwrite
jmp 0x404950
add esp, 0xfffffffc
push ecx
push ebx
push edx
call sym._xsputn__9streambufPCci
mov ebx, dword [ebp - 0x18]
leave
ret

Function at 0x4077b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
add esp, 0xfffffffc
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [eax + 0x38]
call sym._read
leave
ret

Function at 0x40ae84
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
call sub.KERNEL32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x40aea9
mov dword [0x41416c], eax
add esp, 0xfffffff8
push sym._eh_context_free
push eax
call sym.___mingwthr_key_dtor
jmp 0x40aeae
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x40aec4
mov dword [sym._eh_context_initialize], 0x40afa8
jmp 0x40aece
mov dword [sym._eh_context_initialize], 0x40af5c
leave
ret
Function at 0x40afa8
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
add esp, 0xfffffff4
push dword [0x41416c]
call sub.KERNEL32.dll_TlsGetValue
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x40aff5
call sym._new_eh_context
mov ebx, eax
add esp, 0xfffffff8
push ebx
push dword [0x41416c]
call sub.KERNEL32.dll_TlsSetValue
add esp, 8
test eax, eax
jne 0x40afea
call sub.KERNEL32.dll_GetLastError
jmp 0x40afec
xor eax, eax
test eax, eax
je 0x40aff5
call sym.___terminate
mov eax, ebx
mov ebx, dword [ebp - 0x18]
leave
ret

Function at 0x40b120
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x65c
push edi
push esi
push ebx
mov eax, dword [sym._eh_context_initialize]
call eax
mov edx, eax
lea eax, [edx + 4]
mov dword [ebp - 0x644], eax
mov eax, dword [edx + 4]
lea ecx, [eax + 4]
mov dword [ebp - 0x648], ecx
cmp dword [eax + 4], 0
je 0x40b1dd
lea ebx, [ebp - 0x640]
mov dword [ebp - 0x64c], ebx
mov dword [ebx + 4], 0
mov eax, dword [edx + 4]
mov dword [ebp - 0x640], eax
lea eax, [ebp - 0x638]
mov dword [ebp - 0x638], ebp
mov dword [eax + 4], 0x40b188
mov dword [eax + 8], esp
jmp 0x40b18a
mov edx, dword [ebp - 0x64c]
mov eax, dword [ebp - 0x644]
mov dword [eax], edx
mov ecx, dword [ebp - 0x648]
cmp dword [ecx], 0
je 0x40b1c6
nop
mov ebx, dword [ebp - 0x648]
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
mov eax, dword [eax]
mov dword [ebx], eax
add esp, 0xfffffff8
push 2
push edx
call ecx
add esp, 0x10
cmp dword [ebx], 0
jne 0x40b1a4
mov edx, dword [ebp - 0x64c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x644]
mov dword [ecx], eax
jmp 0x40b1dd
mov ebx, dword [ebp - 0x644]
mov eax, dword [ebx]
mov eax, dword [eax]
mov dword [ebx], eax
call sym.___sjthrow
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
dec ecx
outsb dx, byte [esi]
je 0x40b26d
jb 0x40b278
popal
insb byte es:[edi], dx
and byte [ebx + 0x6f], al
insd dword es:[edi], dx
jo 0x40b27b
insb byte es:[edi], dx
jb 0x40b236
inc edx
jne sym.___get_eh_table_version
cmp ah, byte [eax]
dec esi
outsd dx, dword [esi]
and byte [edx + 0x75], dh
outsb dx, byte [esi]
je sym.___get_eh_table_language
insd dword es:[edi], dx
and byte gs:[ecx + edi*2 + 0x70], dh
and byte gs:[ebp + 0x61], ch
je 0x40b292
push 0x2e7265
in eax, 0x83
in al, dx
or al, ch
xor esp, edi
invalid
mov eax, 0x83004151
rol byte [eax + 0x50], 0xe8
mov dl, 0x43
add byte [eax], al
xor eax, eax
ror cl, 0xc3
mov esi, esi
leave
ret
movsx eax, word [eax + 4]
leave
ret
Function at 0x100047a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x80c
push ebx
push esi
push edi
xor ebx, ebx
mov ecx, 0x1ff
xor eax, eax
lea edi, [esp + 0x19]
mov byte [esp + 0x18], bl
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x81c]
push ebx
stosw word es:[edi], ax
push 0x80
push 3
stosb byte es:[edi], al
mov eax, dword [esp + 0x82c]
push ebx
push 1
push 0x80000000
push ecx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov byte [esp + 0x28], bl
mov dword [eax], ebx
call dword [0x100150f8]
mov esi, eax
cmp esi, 0xffffffff
je 0x10004906
push ebp
push ebx
push esi
call dword [0x100150fc]
mov edi, eax
cmp edi, 0xffffffff
je 0x100048fa
mov ebp, dword [0x10015080]
push 2
push ebx
push 0xffffffffffffffff
push esi
call ebp
cmp eax, 0xffffffff
je 0x100048fa
lea edx, [esp + 0x18]
push ebx
mov ebx, dword [0x1001507c]
push edx
lea eax, [esp + 0x18]
push 1
push eax
push esi
call ebx
test eax, eax
je 0x100048f6
mov eax, dword [esp + 0x10]
and eax, 0xff
lea ecx, [eax + 1]
cmp ecx, edi
jae 0x100048f6
cmp ecx, 0x800
jge 0x100048f6
or ecx, 0xffffffff
push 2
sub ecx, eax
push 0
push ecx
push esi
call ebp
cmp eax, 0xffffffff
je 0x100048f6
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x18]
push 0
and eax, 0xff
push edx
lea ecx, [esp + 0x24]
push eax
push ecx
push esi
call ebx
test eax, eax
je 0x100048f6
mov edi, dword [esp + 0x10]
xor ecx, ecx
and edi, 0xff
jbe 0x100048c8
mov dl, byte [esp + 0x10]
mov bl, byte [esp + ecx + 0x1c]
mov al, dl
sub al, cl
xor al, bl
cmp al, 0x41
mov byte [esp + ecx + 0x1c], al
jl 0x100048c3
cmp al, 0x5a
jg 0x100048c3
add al, 0x20
mov byte [esp + ecx + 0x1c], al
inc ecx
cmp ecx, edi
jb 0x100048a7
lea edx, [esp + 0x1c]
push str.http:__
push edx
mov byte [esp + ecx + 0x25], 0
call fcn.1001495c
mov ecx, dword [esp + 0x82c]
add esp, 8
neg eax
sbb eax, eax
mov dword [esp + 0x14], 1
neg eax
mov dword [ecx], eax
mov ebx, dword [esp + 0x14]
test esi, esi
pop ebp
je 0x10004906
push esi
call dword [0x100150ec]
pop edi
mov eax, ebx
pop esi
pop ebx
add esp, 0x80c
ret
Function at 0x100073e0
Capabilities:
Parse pe header

Disassembly:
mov ecx, dword [esp + 4]
xor eax, eax
test ecx, ecx
je 0x10007405
cmp word [ecx], 0x5a4d
jne 0x10007405
mov edx, dword [ecx + 0x3c]
add edx, ecx
je 0x10007405
cmp dword [edx], 0x4550
jne 0x10007405
mov eax, 1
ret

Function at 0x10007410
Capabilities:
Enumerate pe sections

Disassembly:
mov edx, dword [esp + 4]
push esi
push edi
xor ecx, ecx
mov cx, word [edx + 6]
xor edi, edi
mov di, word [edx + 0x14]
xor eax, eax
xor esi, esi
test ecx, ecx
lea edx, [edi + edx + 0x18]
jbe 0x10007448
push ebx
add edx, 0x10
mov edi, ecx
mov ecx, dword [edx + 4]
mov ebx, dword [edx]
add ecx, ebx
cmp ecx, esi
jbe 0x10007441
mov esi, ecx
add edx, 0x28
dec edi
jne 0x10007434
pop ebx
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
cmp esi, edx
mov dword [ecx], 0
jae 0x10007461
mov dword [ecx], esi
mov eax, 1
pop edi
pop esi
ret

Function at 0x10010230
Capabilities:
Encode data using xor

Disassembly:
mov ecx, 0x10029300
jmp 0x10010260
push esi
mov esi, ecx
push 0x15
mov dword [esi], 0x1001622c
call fcn.10014936
add esp, 4
mov dword [esi + 4], eax
test eax, eax
je 0x10010361
xor ecx, ecx
push 0x10
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 0x14], cl
call fcn.10014936
add esp, 4
mov dword [esi + 8], eax
test eax, eax
je 0x10010361
xor edx, edx
push 9
mov dword [eax], edx
mov dword [eax + 4], edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
call fcn.10014936
add esp, 4
mov dword [esi + 0xc], eax
test eax, eax
je 0x10010361
xor ecx, ecx
push 0xb
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov byte [eax + 8], cl
call fcn.10014936
add esp, 4
mov dword [esi + 0x10], eax
test eax, eax
je 0x10010361
xor edx, edx
mov dword [eax], edx
mov dword [eax + 4], edx
mov word [eax + 8], dx
mov byte [eax + 0xa], dl
xor eax, eax
mov cl, byte [eax + 0x10027008]
mov dl, byte [0x10027039]
xor cl, dl
mov edx, dword [esi + 4]
mov byte [edx + eax], cl
inc eax
cmp eax, 0x15
jb 0x100102f3
xor eax, eax
mov cl, byte [eax + str.XcnggTEd]
mov dl, byte [0x10027039]
xor cl, dl
mov edx, dword [esi + 8]
mov byte [edx + eax], cl
inc eax
cmp eax, 0x10
jb 0x1001030f
xor eax, eax
mov cl, byte [eax + 0x10027030]
mov dl, byte [0x10027039]
xor cl, dl
mov edx, dword [esi + 0xc]
mov byte [edx + eax], cl
inc eax
cmp eax, 9
jb 0x1001032b
xor eax, eax
mov cl, byte [eax + str.a_va_vc]
mov dl, byte [0x10027039]
xor cl, dl
mov edx, dword [esi + 0x10]
mov byte [edx + eax], cl
inc eax
cmp eax, 0xb
jb 0x10010347
mov eax, esi
pop esi
ret

Function at 0x10010c40
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret
Function at 0x100117e0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x100117eb
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push edi
mov edi, dword [esp + 0x14]
cmp edi, 8
not eax
jl 0x100118f2
push esi
mov esi, edi
shr esi, 3
mov edx, esi
neg edx
lea edi, [edi + edx*8]
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x10016268]
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x10016268]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x10016268]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x10016268]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x10016268]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x10016268]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x10016268]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x10016268]
xor eax, edx
inc ecx
dec esi
jne 0x1001180d
pop esi
test edi, edi
je 0x10011914
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x10016268]
xor eax, edx
inc ecx
dec edi
jne 0x100118f6
pop edi
pop ebx
not eax
ret
Function at 0x40ed7c
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x40eae0
mov ebx, 0x3fb28189
call fcn.0040eda3
add ecx, ecx
xor dword [esi], edx
and ebx, ebx
mov ebx, ebx
inc esi
mov ecx, ecx
cmp esi, eax
jne fcn.0040ed7c
add ecx, 0x9c1a9fc2
ret

Function at 0x40100b
Capabilities:
Query or enumerate registry value

Disassembly:
call 0x40100b
push eax
call sub.KERNEL32.dll_ExitProcess
push ebp
mov ebp, esp
add esp, 0xfffffef0
jmp 0x40109c
lea eax, [ebp - 0x104]
push eax
call fcn.004011ec
push 0x401019
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
jne 0x401165
lea eax, [ebp - 0x10c]
push eax
push 0x20019
push 0
push 0x401038
push 0x80000001
call sub.ADVAPI32.dll_RegOpenKeyExA
cmp eax, 0
jne 0x4011a5
mov dword [ebp - 0x110], 0x103
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push 0x401052
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegQueryValueExA
push eax
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegCloseKey
pop eax
cmp eax, 0
jne 0x4011a5
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrlenA
lea ebx, [ebp - 0x104]
add ebx, eax
dec ebx
cmp byte [ebx], 0x5c
je 0x40114a
mov word [ebx], 0x5c
push 0x401023
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
je 0x4011a5
mov dword [ebp - 0x108], eax
push 0x40102d
push eax
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x40119a
push 0x3e8
call eax
test eax, eax
je 0x40119a
call 0x40118a
add dword [esp], 0x1e76
call eax
push 0
call sub.KERNEL32.dll_ExitProcess
push dword [ebp - 0x108]
call sub.KERNEL32.dll_FreeLibrary
push 0x10
push 0x401096
push 0x401057
push 0
call sub.USER32.dll_MessageBoxA
mov eax, 0xffffffff
leave
ret
Function at 0x430e00
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
call fcn.0042b5b0
test eax, eax
je 0x430eef
mov ecx, edi
call fcn.0042b5b0
mov ecx, eax
call fcn.00428c00
test eax, eax
jne 0x430eef
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x430eef
mov eax, dword [0x4f0650]
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
jne 0x430e62
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
lea ecx, [esp + 0x10]
mov ebp, dword [esp + 0x24]
push 1
push ecx
mov ecx, dword [edi + 0x44]
lea edx, [esp + 0x1c]
shr ecx, 4
lea eax, [esp + 0x20]
push edx
mov edx, dword [esp + 0x2c]
and ecx, 1
push eax
push ecx
push ebp
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
mov ecx, edi
call fcn.0042b5b0
mov ecx, eax
call fcn.00428e30
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [esp + 0x28]
mov eax, 1
cmp ecx, eax
jne 0x430eef
cmp ebx, eax
jne 0x430eef
cmp dword [esp + 0x10], eax
jne 0x430ed5
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xcc]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [edi]
push eax
mov eax, dword [esp + 0x24]
push ecx
push ebp
push eax
mov ecx, edi
call dword [edx + 0xc0]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
Function at 0x433b30
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x483748
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x433b69
inc eax
mov dword [esi + 0x10], eax
jmp 0x433c7c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x433b7d
mov eax, 0xffffffc7
jmp 0x433c7e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x433b8e
cmp dword [esi + 8], eax
jne 0x433b7d
cmp dword [esi + 8], eax
jne 0x433ba7
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x433ba7
mov eax, 0xffffffc7
jmp 0x433c7e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x433bbb
push eax
mov ecx, ebx
call fcn.00433360
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.00403160
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x433bec
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00403180
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.00432ad0
test eax, eax
mov dword [esp + 0x38], eax
je 0x433c1f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x4c1ff8
call fcn.00403360
mov eax, dword [esp + 0x38]
jmp 0x433c7e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.00433990
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x433c63
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.004339b0
mov esi, eax
test esi, esi
jne 0x433c93
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.00433990
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x433c35
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x4c1ff8
call fcn.00403360
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x4c1ff8
call fcn.00403360
mov eax, esi
jmp 0x433c7e

Function at 0x436ee0
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x436f40
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x436f40
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x436f40
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x436f40
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x436f80
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x4741ab
Capabilities:
Encode data using xor

Disassembly:
fidiv dword [esi + 0x3ee9b06b]
inc ecx
insb byte es:[edi], dx
or eax, 0x5f633c7c
mov ecx, 0xa1b67bea
push 0x34
mov dword [0x57473e4a], eax
push edi
inc edx
xor al, 0x76
dec esp
push ss
lds esp, [edi + 0xd]
pop esp
popfd
cmp eax, 0x511aeb58
cmp al, 0x15
loopne 0x4741c3
dec ebx
cmp al, 0xbf
inc ebx
sbb bl, bh
mov ebp, 0xc94979ae
adc dword [ebx + 0x7976cf46], edi
rcr ebx, cl
wait
jg 0x474221
fistp dword [ebx - 0x2a01cc81]
ja 0x47420a
invalid
lcall 0xefa6, 0x31aeea53
scasd eax, dword es:[edi]
dec sp
aaa
sub eax, 0xa7c35bf3
pop eax
rol byte [esi + 0x1dd70007], 1
mov bh, 0x6f
outsd dx, dword [esi]
or al, 0x7f
int1
cmpsd dword [esi], dword es:[edi]
out 0x77, eax
enter 0xffffffffffffa6a6, 0xffffffffffffffe0
mov ebp, 0x334a63bf
push ebx
push ebx
cmpsb byte [esi], byte es:[edi]
invalid
lea edx, [edx - 0x466d291]
cdq
mov dh, 0x64
jo 0x4741ea
imul esi, edi, 0xffffff8d
and eax, 0x7e787ab7
xchg dword [eax + ebx + 0x7d], ebp
fisttp word [edi + ebp*2]
jl 0x47420f
setg byte [edi + 0x2879e8ab]
dec ebp
mov ebp, 0xfa18ebb5
mov dl, 0x44
jns 0x4742ca
jp 0x4742c5
mov dword [0x5aff0d77], eax
xchg ebp, eax
cdq
std
dec edx
mov edi, 0xaadbe2b1
lodsb al, byte [esi]
mov cs, eax
bound ebx, qword [esi]
dec ecx
sbb al, 0xcb
insd dword es:[edi], dx
std
dec ebp
push ebp
retf 0xaae9
xchg edx, eax
imul ecx, dword [ebx + 0x46f93fd7], 0x5c96b7c9
stc
inc esi
leave
mov bh, 0x96
pop esp
jp 0x47431f
pop ecx
ret 0x8f45
cmc
sub dl, byte [ebx - 0x3efd461]
iretd

Function at 0x477af6
Capabilities:
Encode data using xor

Disassembly:
add edx, ecx
sbb esi, esp
add eax, 0x2909bec0
and ebx, dword [ebx - 0x10]
xlatb
adc al, 0xc9
push esi
dec eax
cmp ecx, ebx
inc esi
pop edi
test dl, dl
mov bh, 0xe8
dec esp
dec eax
mov bh, 0xd3
xchg edi, eax
add byte [edi - 0x62f54ffd], bh
inc ebp
fbld tbyte [edi - 0x20dfc99e]
mov eax, dword [0x4ddd2073]
out 0x42, eax
cli
lodsd eax, dword cs:[esi]
xor ah, 0x3d
fcmovb st(0), st(6)
out dx, eax
dec eax
and dl, byte [ebx + ebp*4 + 4]
inc ebp
pop ebx
xchg ebx, eax
sub bl, cl
invalid

Function at 0x478533
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x47856b
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004765e7
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004765bf
jmp 0x478577
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4
Function at 0x47fc0f
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x47fc3d
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x47fc5b
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0047fb75
jmp 0x47fc5b
mov eax, dword [esi + 0x14]
test eax, eax
je 0x47fc5b
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0047fb75
test edi, edi
mov eax, edi
jne 0x47fc45
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x411d62
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
cmp dword [0x417678], 0
push ebx
push esi
mov esi, 0x417680
jne 0x411d8e
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
push esi
mov dword [0x417698], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x417678], 1
push dword [0x417698]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
test ebx, ebx
jne 0x411e2b
push 0x14
push 8
push dword [0x417008]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
test ebx, ebx
je 0x411e55
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x41767c]
test eax, eax
je 0x411dd0
mov dword [eax], ebx
push edi
push esi
mov dword [ebx + 4], eax
mov dword [0x41767c], ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea edi, [ebx + 0x10]
push 0
push 0
push 0x100000
push edi
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push 8
push 0xffffffffffffffff
push ebx
push 0x411e5a
push dword [edi]
lea eax, [ebx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
push ebx
push dword [0x417698]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop edi
push 0xc
push 0
push dword [0x417008]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x411e55
mov ecx, dword [esp + 0xc]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x10]
mov dword [eax + 8], ecx
mov ecx, dword [ebx + 8]
mov dword [eax], ecx
mov dword [ebx + 8], eax
pop esi
pop ebx
ret 8

Function at 0x40765c
Capabilities:
Hash data with crc32

Disassembly:
push esi
xor esi, esi
mov ecx, 0x40b55c
mov eax, esi
mov edx, 8
test al, 1
je 0x407678
shr eax, 1
xor eax, 0xedb88320
jmp 0x40767a
shr eax, 1
dec edx
jne 0x40766b
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x407664
pop esi
ret

Function at 0x4076a7
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
cmp dword [0x40b558], 0
jne 0x4076b3
call fcn.0040765c
push 1
push 0x40b558
call fcn.004043fc
mov eax, edi
test esi, esi
je 0x4076de
mov edx, ebx
and dx, 0xff
xor ecx, ecx
mov cl, byte [eax]
xor dx, cx
movzx edx, dx
mov edx, dword [edx*4 + 0x40b55c]
shr ebx, 8
xor edx, ebx
mov ebx, edx
dec esi
inc eax
test esi, esi
jne 0x4076b9
mov eax, ebx
pop edi
pop esi
pop ebx
ret