joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10043724
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, 0x10082279
call fcn.1005d694
mov eax, dword [0x10121c70]
sub esp, 0x11c
cmp byte [eax + 0x4bdc], 0
je 0x10043945
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x10168464]
cmp eax, 0x3e8
jbe 0x10043769
inc dword [0x10168460]
call esi
mov dword [0x10168464], eax
cmp dword [0x10168460], 0xd
jle 0x10043944
push ebx
push edi
push str._baliktut
call fcn.1004130e
pop ecx
lea ecx, [ebp - 0x128]
call fcn.100014fd
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
xor ebx, ebx
lea ecx, [ebp - 0x128]
inc ebx
push ebx
push 0x20
pop edi
push edi
push eax
mov dword [ebp - 0x10], ebx
call fcn.10001744
and dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push ebx
push edi
push eax
lea ecx, [ebp - 0x128]
call fcn.10001744
push ebx
push edi
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x48c8
push eax
lea ecx, [ebp - 0x128]
call fcn.10001744
push ebx
push edi
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 2
push eax
lea ecx, [ebp - 0x128]
call fcn.10001744
movsd xmm0, qword [0x10086840]
lea eax, [ebp - 0x14]
push ebx
push 0x40
pop esi
push esi
push eax
lea ecx, [ebp - 0x128]
movsd qword [ebp - 0x14], xmm0
call fcn.10001744
movsd xmm0, qword [0x10086830]
lea eax, [ebp - 0x14]
push ebx
push esi
push eax
lea ecx, [ebp - 0x128]
movsd qword [ebp - 0x14], xmm0
call fcn.10001744
push ebx
push esi
lea eax, [ebp - 0x14]
xorps xmm0, xmm0
push eax
lea ecx, [ebp - 0x128]
movsd qword [ebp - 0x14], xmm0
call fcn.10001744
push ebx
push esi
lea eax, [ebp - 0x14]
xorps xmm0, xmm0
push eax
lea ecx, [ebp - 0x128]
movsd qword [ebp - 0x14], xmm0
call fcn.10001744
push ebx
xorps xmm0, xmm0
lea eax, [ebp - 0x14]
push esi
movsd qword [ebp - 0x14], xmm0
push eax
lea ecx, [ebp - 0x128]
call fcn.10001744
push ebx
push esi
lea eax, [ebp - 0x14]
xorps xmm0, xmm0
push eax
lea ecx, [ebp - 0x128]
movsd qword [ebp - 0x14], xmm0
call fcn.10001744
movsd xmm0, qword [0x10086848]
lea eax, [ebp - 0x14]
push ebx
push esi
push eax
lea ecx, [ebp - 0x128]
movsd qword [ebp - 0x14], xmm0
call fcn.10001744
movsd xmm0, qword [0x10086848]
lea eax, [ebp - 0x14]
push ebx
push esi
push eax
lea ecx, [ebp - 0x128]
movsd qword [ebp - 0x14], xmm0
call fcn.10001744
movsd xmm0, qword [0x10086848]
lea eax, [ebp - 0x14]
push ebx
push esi
push eax
lea ecx, [ebp - 0x128]
movsd qword [ebp - 0x14], xmm0
call fcn.10001744
push ebx
push edi
lea eax, [ebp - 0x10]
xor esi, esi
push eax
lea ecx, [ebp - 0x128]
mov dword [ebp - 0x10], esi
call fcn.10001744
push ebx
push edi
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], esi
push eax
lea ecx, [ebp - 0x128]
call fcn.10001744
mov ecx, dword [0x1015ae58]
lea eax, [ebp - 0x128]
push esi
push esi
push 9
push ebx
push eax
push 0x74
call fcn.1003fea1
lea ecx, [ebp - 0x128]
mov dword [0x10168460], esi
call fcn.10001518
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret
Function at 0x10045578
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x1fc
push ebp
push esi
push str.LoadSpriteTexture__
call fcn.1005c666
pop ecx
mov ecx, dword [0x10162b38]
xor ebp, ebp
mov esi, ebp
test ecx, ecx
je 0x1004559f
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [0x10162b34]
mov edx, 0x100
push ebp
push 0x10162b38
push 1
push 0x15
push ebp
push 1
push edx
mov dword [0x10162b38], ebp
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x5c]
test eax, eax
jns 0x100455cf
push str.Failed_to_create_sprite_texture_
jmp 0x10045633
push str.loyn.raw
push 0x101684a0
push str._sloyn_s
lea eax, [esp + 0x1c]
push 0x104
push eax
call fcn.1000796d
lea eax, [esp + 0x24]
push 0x10089874
push eax
call fcn.1006c366
mov esi, eax
add esp, 0x1c
test esi, esi
jne 0x10045617
lea eax, [esp + 0x10]
push eax
push str.Failed_to_open__s_
call fcn.1005c084
pop ecx
jmp 0x10045638
mov eax, dword [0x10162b38]
lea edx, [esp + 8]
push ebp
push ebp
push edx
mov ecx, dword [eax]
push ebp
push eax
call dword [ecx + 0x4c]
test eax, eax
jns 0x1004565c
push str.Failed_to_lock_texture_
call fcn.1005c084
pop ecx
mov ecx, dword [0x10162b38]
test ecx, ecx
je 0x1004564f
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [0x10162b38], ebp
test esi, esi
je 0x100456c6
push esi
call fcn.10063951
pop ecx
jmp 0x100456c6
push ebx
push edi
mov edi, dword [esp + 0x14]
push 0x78
pop ebx
push esi
push 1
lea eax, [esp + 0x124]
push 0xf0
push eax
call fcn.100641e0
add esp, 0x10
lea edx, [edi + 2]
mov cl, byte [esp + ebp + 0x11c]
mov al, cl
shl cl, 5
and al, 0xf8
mov byte [edx + 1], cl
inc ebp
mov byte [edx - 2], al
mov byte [edx - 1], al
mov byte [edx], al
lea edx, [edx + 4]
cmp ebp, 0xf0
jl 0x10045680
add edi, dword [esp + 0x10]
push 0
pop ebp
sub ebx, 1
jne 0x10045665
mov eax, dword [0x10162b38]
push ebp
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
push esi
call fcn.10063951
pop ecx
pop edi
pop ebx
pop esi
pop ebp
add esp, 0x1fc
ret
Function at 0x10047007
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push str.renderObjectTexts__
call fcn.1005c666
xor esi, esi
push esi
push 0xffffffffffffffff
call fcn.10029df3
mov ecx, dword [0x10121c70]
add esp, 0xc
mov ebx, eax
cmp dword [ecx + 0x14965], esi
jne 0x100471ac
test ebx, ebx
je 0x100471ac
mov ecx, dword [0x1015ae78]
mov ecx, dword [ecx + 0x3de]
cmp dword [ecx + 0x14], esi
je 0x100471ac
push 9
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x10047070
cmp dword [0x1013e6b8], esi
jne 0x100471ac
mov eax, dword [0x1015ae90]
cmp dword [eax], esi
jne 0x100471ac
push edi
mov edi, 0x20d4
mov eax, dword [0x1015ae78]
mov eax, dword [eax + 0x3de]
mov eax, dword [eax + 0x14]
cmp dword [edi + eax - 0x20d0], 1
jne 0x1004719b
mov eax, dword [edi + eax]
test eax, eax
je 0x1004719b
mov eax, dword [eax + 0x40]
test eax, eax
je 0x1004719b
mov eax, dword [eax + 0x14]
lea ecx, [ebp - 0x10]
push ecx
add eax, 0x30
push eax
call fcn.1003f925
lea eax, [ebp - 0x10]
push eax
call fcn.1003fa1b
add esp, 0xc
test eax, eax
jne 0x1004719b
mov eax, dword [ebx + 0x14]
add eax, 0x30
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.1003f935
fstp dword [ebp - 4]
movss xmm0, dword [ebp - 4]
comiss xmm0, dword [0x10155891]
pop ecx
pop ecx
ja 0x1004719b
movss xmm0, dword [ebp - 0x10]
lea eax, [ebp - 0x28]
movss dword [ebp - 0x1c], xmm0
movss xmm0, dword [ebp - 0xc]
push eax
movss dword [ebp - 0x18], xmm0
lea eax, [ebp - 0x1c]
movss xmm0, dword [ebp - 8]
push eax
movss dword [ebp - 0x14], xmm0
call fcn.1004398f
movss xmm0, dword [0x10086820]
comiss xmm0, dword [ebp - 0x20]
pop ecx
pop ecx
ja 0x1004719b
mov eax, dword [0x1015ae78]
mov eax, dword [eax + 0x3de]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + edi]
mov eax, dword [eax + 0x40]
movzx eax, word [eax + 0x22]
push eax
push esi
push str.Object:__d__ModelID:__d
lea eax, [ebp - 0x48]
push 0x1f
push eax
call fcn.1004361a
movss xmm0, dword [ebp - 0x24]
lea eax, [ebp - 0x48]
subss xmm0, dword [0x10086858]
add esp, 0x14
push eax
push 0xffc8c800
push ecx
push ecx
mov ecx, dword [0x10162c4c]
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0x28]
movss dword [esp], xmm0
call fcn.10043220
add edi, 4
inc esi
cmp edi, 0x41a4
jl 0x10047083
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10047330
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x48
push ebp
push str.renderPickupTexts__
call fcn.1005c666
mov eax, dword [0x10121c70]
xor ebp, ebp
pop ecx
cmp dword [eax + 0x14965], ebp
jne 0x100474d7
mov eax, dword [0x1015ae78]
mov eax, dword [eax + 0x3de]
cmp dword [eax + 0x10], ebp
je 0x100474d7
push ebx
push ebp
push 0xffffffffffffffff
call fcn.10029df3
pop ecx
pop ecx
push 9
mov ebx, eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1004738c
cmp dword [0x1013e6b8], ebp
jne 0x100474d6
mov eax, dword [0x1015ae90]
cmp dword [eax], ebp
jne 0x100474d6
test ebx, ebx
je 0x100474d6
push esi
push edi
mov edi, ebp
mov esi, ebp
mov eax, dword [0x1015ae78]
mov eax, dword [eax + 0x3de]
mov eax, dword [eax + 0x10]
cmp dword [eax + esi + 0xf004], ebp
je 0x100474c4
cmp dword [eax + esi + 0xf008], ebp
je 0x100474c4
lea ecx, [esp + 0x14]
add eax, 0xf00c
push ecx
add eax, esi
push eax
call fcn.1003f925
lea eax, [esp + 0x1c]
push eax
call fcn.1003fa1b
add esp, 0xc
test eax, eax
jne 0x100474c4
mov eax, dword [ebx + 0x14]
add eax, 0x30
push eax
lea eax, [esp + 0x18]
push eax
call fcn.1003f935
fstp dword [esp + 0x18]
movss xmm0, dword [esp + 0x18]
comiss xmm0, dword [0x10155889]
pop ecx
pop ecx
ja 0x100474c4
movss xmm0, dword [esp + 0x14]
lea eax, [esp + 0x2c]
movss dword [esp + 0x20], xmm0
movss xmm0, dword [esp + 0x18]
push eax
movss dword [esp + 0x28], xmm0
lea eax, [esp + 0x24]
movss xmm0, dword [esp + 0x20]
push eax
movss dword [esp + 0x30], xmm0
call fcn.1004398f
movss xmm0, dword [0x10086820]
comiss xmm0, dword [esp + 0x3c]
pop ecx
pop ecx
ja 0x100474c4
mov eax, dword [0x1015ae78]
mov eax, dword [eax + 0x3de]
mov eax, dword [eax + 0x10]
push dword [eax + esi + 0xf004]
lea eax, [esp + 0x3c]
push edi
push str.Pickup:__d__ModelID:__d
push 0x1f
push eax
call fcn.1004361a
movss xmm0, dword [esp + 0x44]
lea eax, [esp + 0x4c]
subss xmm0, dword [0x10086858]
add esp, 0x14
push eax
push 0xff00c800
push ecx
push ecx
mov ecx, dword [0x10162c4c]
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x3c]
movss dword [esp], xmm0
call fcn.10043220
add esi, 0x14
inc edi
cmp esi, 0x14000
jl 0x100473a7
pop edi
pop esi
pop ebx
pop ebp
add esp, 0x48
ret

Function at 0x10048fb4
Capabilities:
Check for time delay via gettickcount

Disassembly:
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x10121c70]
sub eax, dword [ecx + 0x4bf0]
cmp eax, 0x3e8
jbe 0x10048feb
inc dword [ecx + 0x4bec]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x10121c70]
mov dword [ecx + 0x4bf0], eax
mov ecx, dword [0x10121c70]
cmp dword [ecx + 0x4bec], 2
jle 0x10049007
mov byte [ecx + 0x393], 0
mov eax, dword [0x10121c70]
and dword [eax + 0x4bec], 0
ret
Function at 0x10049008
Capabilities:
Check for time delay via gettickcount

Disassembly:
push str.getFPS__
call fcn.1005c666
inc dword [0x10162ad4]
pop ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, 0xf0
cmp eax, dword [0x101682a8]
jbe 0x100490a1
mov eax, dword [0x10162ad4]
movss xmm2, dword [0x10162ac8]
movss xmm3, dword [0x10162acc]
movss xmm0, dword [0x10162ac4]
shl eax, 2
and dword [0x10162ad4], 0
movss dword [0x10162acc], xmm2
addss xmm2, xmm3
movss dword [0x10162ad0], xmm3
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movss dword [0x10162ac8], xmm0
movss dword [0x10162ac4], xmm1
addss xmm1, xmm0
addss xmm1, xmm2
mulss xmm1, dword [0x1008c060]
movss dword [0x10162ac0], xmm1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x101682a8], eax
fld dword [0x10162ac0]
ret
Function at 0x1004b0b3
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push str.mapMenuTeleport__
call fcn.1005c666
cmp dword [0x101558a1], 0
pop ecx
je 0x1004b0da
cmp byte [0xba68a5], 5
jne 0x1004b183
cmp dword [0xba6774], 0
je 0x1004b183
push dword [0x1015589d]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, 0x10000
je 0x1004b183
cmp dword [0x101686bc], 0
je 0x1004b183
push esi
push edi
mov esi, 0xba8720
mov edi, 0xaf
mov eax, 0x1203
cmp word [esi + 0x1d], ax
jne 0x1004b179
push 0
call fcn.1002a156
movss xmm0, dword [esi]
pop ecx
mov ecx, dword [0x101686bc]
movss dword [ebp - 0xc], xmm0
movss xmm0, dword [esi + 4]
movss dword [ebp - 8], xmm0
mov eax, dword [ecx]
call dword [eax + 0x38]
movss xmm0, dword [ebp - 8]
push ecx
push ecx
mov edx, dword [eax]
mov ecx, eax
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0xc]
movss dword [esp], xmm0
call dword [edx + 0x18]
fadd dword [0x10086850]
lea eax, [ebp - 0xc]
push 0
push eax
fstp dword [ebp - 4]
call fcn.1002e691
pop ecx
pop ecx
add esi, 0x28
sub edi, 1
jne 0x1004b114
pop edi
pop esi
leave
ret

Function at 0x1004b185
Capabilities:
Check for time delay via gettickcount

Disassembly:
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, 0xc8
cmp dword [0x10162af0], eax
jae 0x1004b1a3
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x10162af0], eax
ret
Function at 0x1005c3b4
Capabilities:
Create process on windows
Get common file path
Schedule task via at

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebx
push edi
push str.init__
call fcn.1005c666
cmp dword [0x10168488], 0
pop ecx
jne 0x1005c55e
push 0xe4
mov edi, 0x101684a0
push edi
push dword [0x10168498]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
xor ebx, ebx
test eax, eax
je 0x1005c410
push 0x5c
push edi
call fcn.10061d40
pop ecx
pop ecx
test eax, eax
je 0x1005c410
push 0x5c
push edi
call fcn.10061d40
pop ecx
pop ecx
mov byte [eax], bl
jmp 0x1005c419
push 0x2e
pop eax
mov word [0x101684a0], ax
push esi
push str.loyn_1.0_DEV
push str.Initializing__s
call fcn.1005c084
push 0x789
push str.Nov__6_2023_18:47:39
push str.Compiled:__s_CL:_d
call fcn.1005c084
mov eax, dword [0xc9ac08]
add esp, 0x14
mov dword [0x101686cc], eax
mov ecx, dword [0xc9ac0c]
mov dword [0x101686d0], ecx
mov edx, dword [0xc9ac10]
mov dword [0x101686d4], edx
mov esi, dword [0xc9ac14]
mov dword [0x101686d8], esi
push ecx
push edx
push esi
cmp eax, 2
jne 0x1005c47d
push str.OS:_Windows_Version__d._d._d
jmp 0x1005c482
push str.OS:_Not_Windows___d._d._d_
call fcn.1005c084
add esp, 0x10
call fcn.1003eaf6
pop esi
cmp dword [0x10138210], ebx
jne 0x1005c4ca
push ebx
push str.Youre_a_retard.
push str.Looks_like_youve_not_edited_the_.ini_file_like_you_were_told_to__n_nBefore_you_can_use_mod_sa__you_have_to_set__i_have_edited_the_ini_fqle__to_true._nWe_did_this_so_you_would_read_the_INI_file_to_see_the_configurability_of_mod_sa._n
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
push 5
push edi
push str.loynloyn.ini
push str.notepad
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
xor eax, eax
jmp 0x1005c561
call fcn.10040c27
push 0xfa
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0x104
lea eax, [ebp - 0x104]
push 0x1009b3b8
push eax
call fcn.1002c069
add esp, 0xc
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x10168488], eax
test eax, eax
jne 0x1005c525
lea eax, [ebp - 0x104]
push eax
push str.Failed_to_load__s
call fcn.1005c084
pop ecx
pop ecx
jmp 0x1005c4c3
push 0x1009b3d8
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10162af8], eax
test eax, eax
jne 0x1005c55e
lea eax, [ebp - 0x104]
push eax
push str._s_does_not_export_Direct3DCreate9__
call fcn.1005c084
pop ecx
pop ecx
push dword [0x10168488]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x1005c4c3
xor eax, eax
inc eax
pop edi
pop ebx
leave
ret

Function at 0x1007227a
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100720f0
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
mov ecx, 0x259071c1
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x77640d7b
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x4035ab
Capabilities:
Enumerate gui resources

Disassembly:
cmp dword [esp + 4], 0
push ebx
push esi
push edi
je 0x403600
push dword [esp + 0x10]
push 0x40352a
call dword [sym.imp.USER32.DLL_EnumWindows]
mov esi, dword [0x9f77c8]
test esi, esi
je 0x403659
xor edi, edi
mov ebx, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esi + 8], eax
jne 0x4035f8
cmp byte [esi + 0x10], 0
je 0x4035f8
push 3
push edi
push edi
push edi
push edi
push 0xfffffffffffffffe
push dword [esi + 0xc]
call dword [sym.imp.USER32.DLL_SetWindowPos]
mov esi, ebx
test ebx, ebx
jne 0x4035d4
jmp 0x403659
mov esi, dword [0x9f77c8]
test esi, esi
je 0x403659
xor edi, edi
push ebp
mov ebx, dword [esi]
lea ebp, [esi + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp], eax
jne 0x403652
cmp byte [esi + 0x11], 0
je 0x40362e
push 1
push dword [esi + 0xc]
call dword [sym.imp.USER32.DLL_EnableWindow]
cmp byte [esi + 0x10], 0
je 0x403645
push 3
push edi
push edi
push edi
push edi
push 0xffffffffffffffff
push dword [esi + 0xc]
call dword [sym.imp.USER32.DLL_SetWindowPos]
push ebp
push 0x9f77c8
call fcn.0040ef7f
pop ecx
pop ecx
mov esi, ebx
test ebx, ebx
jne 0x40360d
pop ebp
pop edi
pop esi
pop ebx
ret 4
Function at 0x403cf0
Capabilities:
Get thread local storage value

Disassembly:
cmp dword [0x9f77d4], 0
jne 0x403cfe
call fcn.00403c90
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push edi
push dword [0x9f77d8]
call esi
test eax, eax
jne 0x403d21
call fcn.00403c90
push dword [0x9f77d8]
call esi
mov edx, dword [esp + 0x14]
lea esi, [eax + 8]
mov edi, 0x11
lea ecx, [ecx]
imul ecx, edx, 0x53a9b4fb
lea esi, [esi + 4]
mov edx, 1
sub edx, ecx
imul ecx, edx, 0x53a9b4fb
mov dword [esi + 0x40], edx
mov edx, 1
sub edx, ecx
mov dword [esi - 4], edx
dec edi
jne 0x403d30
mov dword [eax], edi
lea ebp, [edi + 0x1f]
mov dword [eax + 4], 0xa
mov ebx, dword [eax]
mov edi, dword [eax + 4]
mov edx, dword [eax + ebx*4 + 8]
mov ecx, dword [eax + ebx*4 + 0x4c]
mov esi, dword [eax + edi*4 + 8]
ror ecx, 0xd
add ecx, dword [eax + edi*4 + 0x4c]
dec edi
ror edx, 5
add edx, esi
mov dword [eax + ebx*4 + 8], ecx
mov dword [eax + ebx*4 + 0x4c], edx
dec ebx
jns 0x403d90
mov ebx, 0x10
test edi, edi
jns 0x403d99
mov edi, 0x10
mov dword [eax], ebx
mov dword [eax + 4], edi
dec ebp
jne 0x403d62
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x403db0
Capabilities:
Get thread local storage value

Disassembly:
cmp dword [0x9f77d4], 0
jne 0x403dbe
call fcn.00403c90
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push edi
push dword [0x9f77d8]
call esi
mov edx, eax
test edx, edx
jne 0x403de5
call fcn.00403c90
push dword [0x9f77d8]
call esi
mov edx, eax
mov ebx, dword [edx]
mov esi, dword [edx + 4]
mov ebp, dword [esp + 0x14]
inc ebp
mov edi, dword [edx + ebx*4 + 0x4c]
mov eax, dword [edx + ebx*4 + 8]
mov ecx, dword [edx + esi*4 + 8]
ror edi, 0xd
add edi, dword [edx + esi*4 + 0x4c]
dec esi
ror eax, 5
add eax, ecx
mov dword [edx + ebx*4 + 8], edi
mov dword [edx + ebx*4 + 0x4c], eax
dec ebx
jns 0x403e18
mov ebx, 0x10
test esi, esi
jns 0x403e21
mov esi, 0x10
mov dword [edx], ebx
mov eax, edi
mov dword [edx + 4], esi
test ebp, ebp
je 0x403e30
mul ebp
mov eax, edx
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x404468
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push edi
xor edi, edi
cmp dword [ebp + 8], edi
je 0x4044f2
cmp dword [ebp + 0xc], edi
je 0x4044f2
push esi
push 0x28
push 8
push dword [0x9f7720]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push dword [ebp + 8]
mov esi, eax
or dword [esi + 4], 0xffffffff
mov dword [esi], edi
call sub.MSVCRT.dll__wcsdup
push dword [ebp + 0xc]
mov dword [esi + 8], eax
call sub.MSVCRT.dll__wcsdup
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x1c], eax
pop ecx
pop ecx
test al, 1
je 0x4044e1
lea eax, [ebp + 8]
push eax
push edi
push esi
push 0x4045f6
push 0x2000
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x4044d9
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, esi
jmp 0x4044f1
push esi
call fcn.00404647
jmp 0x4044f0
push esi
call fcn.0040450b
push esi
mov edi, eax
call fcn.00404647
pop ecx
pop ecx
pop esi
mov eax, edi
pop edi
pop ebp
ret 0xc
Function at 0x40450b
Capabilities:
Delete file

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
xor ebx, ebx
push edi
mov eax, dword [esi + 8]
mov ebp, dword [esi + 0xc]
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], ebp
call fcn.004273d0
mov edi, eax
test edi, edi
je 0x4045db
push dword [esp + 0x18]
call fcn.0044c5b0
push ebx
push pe_nt_image_headers32
push 2
push ebx
push 1
push 0xc0000000
push ebp
mov dword [esp + 0x34], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x4045cb
test byte [esi + 0x1c], 2
mov dword [esi + 0x10], ebp
jne 0x404574
push 1
push 0x34
push edi
call fcn.00427460
add esp, 0xc
push dword [esp + 0x18]
push 0x2712
push edi
call fcn.00427460
push 0x404605
push 0x4e2b
push edi
call fcn.00427460
push esi
push 0x2711
push edi
call fcn.00427460
push edi
call fcn.00427450
add esp, 0x28
test eax, eax
jne 0x4045b6
xor ebx, ebx
mov dword [esi + 4], 0xfffffffe
inc ebx
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
jne 0x4045cb
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [esp + 0x18]
call fcn.0044c5a0
push edi
call fcn.004273b0
pop ecx
cmp dword [esi + 4], 0xfffffffe
je 0x4045ee
cmp dword [esi + 4], 0xfffffffc
je 0x4045ee
mov dword [esi + 4], 0xfffffffd
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
pop ecx
ret

Function at 0x40472c
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
push edi
xor edi, edi
inc edi
cmp dword [0x9f7800], 0
jne 0x404758
push 0x40467b
push 0x10
push 0x2c
mov dword [0x9f7800], edi
call fcn.0040e94a
mov dword [0x9f77fc], eax
cmp word [0x9f77f4], 0
jne 0x4047f4
lea eax, [esp + 4]
push eax
push 0x101
call dword [sym.imp.WSOCK32.DLL_WSAStartup]
test eax, eax
jne 0x404783
mov word [0x9f77f4], di
jmp 0x40478b
xor eax, eax
mov word [0x9f77f4], ax
push str.ws2_32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x9f7810], eax
test eax, eax
je 0x4047f4
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x454038
push eax
call esi
push 0x454044
push dword [0x9f7810]
mov dword [0x9f7804], eax
call esi
push str.getnameinfo
push dword [0x9f7810]
mov dword [0x9f7808], eax
call esi
cmp dword [0x9f7804], 0
mov dword [0x9f780c], eax
pop esi
je 0x4047f4
cmp dword [0x9f7808], 0
je 0x4047f4
test eax, eax
je 0x4047f4
mov dword [0x9f77f8], edi
movsx eax, word [0x9f77f4]
pop edi
add esp, 0x190
ret
Function at 0x407a90
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
mov dword [esp + 4], 0
cmp dword [esi + 0x14], 0
jne 0x407acc
push 0
lea eax, [esp + 8]
push eax
mov eax, dword [esi + 8]
sub eax, dword [esi + 0xc]
push eax
push dword [esi + 4]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esi + 8]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 4]
pop esi
pop ecx
ret 4
xor eax, eax
pop esi
pop ecx
ret 4

Function at 0x407e50
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0x10]
mov dword [esp + 4], 0
test esi, esi
je 0x407eb5
push edi
mov edi, dword [esp + 0x18]
test edi, edi
je 0x407ead
push dword [esp + 0x10]
push dword [0x9f80b4]
call fcn.0040e877
test eax, eax
je 0x407ea3
cmp dword [eax + 4], 0
je 0x407e92
push edi
push esi
push eax
call fcn.00408420
pop edi
pop esi
pop ecx
ret 0xc
push 0
lea ecx, [esp + 0xc]
push ecx
push edi
push esi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 8]
pop edi
pop esi
pop ecx
ret 0xc
pop edi
xor eax, eax
pop esi
pop ecx
ret 0xc
xor eax, eax
pop esi
pop ecx
ret 0xc