joyce8/EMBER2024-capa huggingface dataset:
Function at 0x491fb0
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x58ac5c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
lea eax, [ebp - 0x804]
push edi
push eax
call fcn.00468510
mov ebx, dword [sym.imp.USER32.dll_MapVirtualKeyW]
add esp, 4
xor esi, esi
nop dword [eax]
mov edi, dword [esi*4 + 0x570028]
test edi, edi
je 0x49201f
test dword [ebp + edi*4 - 0x804], 0x40000000
jne 0x49201f
push 1
push esi
call ebx
test eax, eax
je 0x49201f
push 2
push eax
call ebx
and eax, 0x7fff
je 0x49201f
lea ecx, [eax - 0x41]
cmp ecx, 0x19
ja 0x492018
add eax, 0x20
mov dword [ebp + edi*4 - 0x804], eax
inc esi
cmp esi, 0x80
jb 0x491fe0
push dword [ebp + 8]
lea eax, [ebp - 0x804]
push 0x200
push eax
push 0
call fcn.00468f70
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.004b20f1
mov esp, ebp
pop ebp
ret

Function at 0x493ac0
Capabilities:
Register raw input devices

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0x694e8c], 0
je 0x493b06
push 0xc
push 1
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0x20001
push eax
mov dword [ebp - 4], 0
mov dword [0x694e8c], 0
mov dword [ebp - 8], 1
call dword [sym.imp.USER32.dll_RegisterRawInputDevices]
neg eax
sbb eax, eax
and dword [0x694e8c], eax
push esi
mov esi, dword [0x694e88]
test esi, esi
je 0x493b2d
push dword [esi + 4]
call dword [sym.imp.USER32.dll_DestroyIcon]
push esi
call fcn.0045bfc0
add esp, 4
mov dword [0x694e88], 0
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x493b80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x58ac5c]
xor eax, ebp
mov dword [ebp - 4], eax
movd xmm0, dword [ebp + 8]
lea eax, [ebp - 0x80]
cvtdq2ps xmm0, xmm0
push eax
push 0x20019
push 0
push str.Control_PanelMouse
push 0x80000001
divss xmm0, dword [0x547308]
mov dword [ebp - 0x88], 3
mov dword [ebp - 0x84], 0x28
movss dword [ebp - 0x8c], xmm0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x493d5d
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x88]
push eax
push 0
push str.SmoothMouseXCurve
push dword [ebp - 0x80]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x493d54
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.004933e0
add esp, 8
test eax, eax
je 0x493d54
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x88]
push eax
push 0
push str.SmoothMouseYCurve
push dword [ebp - 0x80]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x493d54
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.004933e0
add esp, 8
test eax, eax
je 0x493d54
movss xmm3, dword [ebp - 0x40]
xorps xmm0, xmm0
comiss xmm3, xmm0
movss xmm2, dword [ebp - 0x8c]
jbe 0x493c8a
movss xmm1, dword [ebp - 0x54]
divss xmm1, xmm3
mulss xmm1, xmm2
jmp 0x493c8d
xorps xmm1, xmm1
movss dword [ebp - 0x7c], xmm3
movss xmm3, dword [0x570510]
divss xmm1, xmm3
movss xmm4, dword [ebp - 0x3c]
comiss xmm4, xmm0
movss dword [ebp - 0x78], xmm1
jbe 0x493cbc
movss xmm1, dword [ebp - 0x50]
divss xmm1, xmm4
mulss xmm1, xmm2
jmp 0x493cbf
xorps xmm1, xmm1
divss xmm1, xmm3
movss dword [ebp - 0x74], xmm4
movss xmm4, dword [ebp - 0x38]
comiss xmm4, xmm0
movss dword [ebp - 0x70], xmm1
jbe 0x493ce6
movss xmm1, dword [ebp - 0x4c]
divss xmm1, xmm4
mulss xmm1, xmm2
jmp 0x493ce9
xorps xmm1, xmm1
divss xmm1, xmm3
movss dword [ebp - 0x6c], xmm4
movss xmm4, dword [ebp - 0x34]
comiss xmm4, xmm0
movss dword [ebp - 0x68], xmm1
jbe 0x493d10
movss xmm1, dword [ebp - 0x48]
divss xmm1, xmm4
mulss xmm1, xmm2
jmp 0x493d13
xorps xmm1, xmm1
divss xmm1, xmm3
movss dword [ebp - 0x64], xmm4
movss dword [ebp - 0x60], xmm1
movss xmm1, dword [ebp - 0x30]
comiss xmm1, xmm0
jbe 0x493d38
movss xmm0, dword [ebp - 0x44]
divss xmm0, xmm1
mulss xmm0, xmm2
divss xmm0, xmm3
lea eax, [ebp - 0x7c]
push eax
push 0xa
movss dword [ebp - 0x5c], xmm1
movss dword [ebp - 0x58], xmm0
call fcn.00471630
add esp, 8
push dword [ebp - 0x80]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b20f1
mov esp, ebp
pop ebp
ret
Function at 0x4ac830
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
xor edi, edi
test esi, esi
je 0x4ac91d
push ebx
mov ebx, dword [ebp + 0xc]
nop dword [eax]
movzx edx, byte [edi + ebx]
movzx ecx, al
xor edx, ecx
mov dword [ebp + 8], 0
test dl, 1
mov ecx, 0xedb88320
cmovne ecx, dword [ebp + 8]
shr edx, 1
xor ecx, edx
mov dword [ebp + 8], 0
test cl, 1
mov edx, 0xedb88320
cmovne edx, dword [ebp + 8]
shr ecx, 1
xor edx, ecx
mov dword [ebp + 8], 0
test dl, 1
mov ecx, 0xedb88320
cmovne ecx, dword [ebp + 8]
shr edx, 1
xor ecx, edx
mov dword [ebp + 8], 0
test cl, 1
mov edx, 0xedb88320
cmovne edx, dword [ebp + 8]
shr ecx, 1
xor edx, ecx
mov dword [ebp + 8], 0
test dl, 1
mov ecx, 0xedb88320
cmovne ecx, dword [ebp + 8]
shr edx, 1
xor ecx, edx
mov dword [ebp + 8], 0
test cl, 1
mov edx, 0xedb88320
cmovne edx, dword [ebp + 8]
shr ecx, 1
xor edx, ecx
mov dword [ebp + 8], 0
test dl, 1
mov ecx, 0xedb88320
cmovne ecx, dword [ebp + 8]
shr edx, 1
xor ecx, edx
shr eax, 7
xor eax, ecx
mov edx, 0xff000000
shr eax, 1
test cl, 1
mov ecx, 0x12b88320
cmovne ecx, edx
inc edi
xor eax, ecx
cmp edi, esi
jb 0x4ac850
pop ebx
pop edi
pop esi
pop ebp
ret

Function at 0x4b1860
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov ecx, 0x2a
push ebx
push esi
mov ebx, dword [edx]
mov eax, ebx
shr eax, 0xc
and eax, 0xf
jmp dword [eax*4 + 0x4b1ebc]

Function at 0x4c72ab
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004c712a
Function at 0x4d1d80
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
lea eax, [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
mov dword [ebp - 8], esi
test esi, esi
je 0x4d1eba
mov ecx, dword [ebp - 4]
lea ecx, [ecx*4 + 4]
push ecx
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
mov dword [ebp - 0x14], edi
test edi, edi
je 0x4d1eba
xor ebx, ebx
cmp dword [ebp - 4], ebx
jle 0x4d1e5c
sub eax, esi
mov dword [ebp - 0xc], eax
nop
push dword [esi]
call fcn.0045e3b0
lea eax, [eax*2 + 2]
push eax
push dword [esi]
push str.UTF_16LE
push 0x4d45c0
call fcn.004681a0
mov edi, eax
add esp, 0x14
test edi, edi
je 0x4d1eba
push edi
call fcn.0045ce70
add esp, 4
mov dword [ebp - 0x10], eax
lea ecx, [eax + 1]
push ecx
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + esi], eax
test eax, eax
je 0x4d1eba
push dword [ebp - 0x10]
push edi
push eax
call fcn.0045a010
push edi
call fcn.0045bfc0
inc ebx
add esp, 0x10
add esi, 4
cmp ebx, dword [ebp - 4]
jl 0x4d1de0
mov edi, dword [ebp - 0x14]
mov esi, dword [ebp - 8]
push esi
mov dword [edi + ebx*4], 0
call dword [sym.imp.KERNEL32.dll_LocalFree]
call fcn.0046fe30
push edi
push dword [ebp - 4]
call fcn.004010f0
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
xor esi, esi
add esp, 8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 4], esi
jle 0x4d1ea4
nop dword [eax + eax]
push dword [edi + esi*4]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call ebx
inc esi
cmp esi, dword [ebp - 4]
jl 0x4d1e90
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call ebx
mov eax, dword [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push str.Out_of_memory___aborting
push str.Fatal_Error
push 0x10
call fcn.00461150
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x65341449
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [esp + 8]
push ebx
push ebp
push esi
cmp eax, 0x7fffffff
push edi
ja 0x65368fef
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea ebx, [eax + eax]
mov eax, dword [section..data]
lea esi, [ebx + 0x15]
push eax
and esi, 0xfffffff0
call ebp
mov edi, eax
test edi, edi
je 0x653414bb
xor eax, eax
test eax, eax
jl 0x65368ff8
push esi
mov ecx, edi
call fcn.653414d5
test eax, eax
je 0x653414b4
mov esi, dword [esp + 0x14]
mov dword [eax], ebx
add eax, 4
test esi, esi
je 0x653414ae
mov ecx, ebx
mov edi, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov word [eax + ebx], 0
pop edi
pop esi
pop ebp
pop ebx
ret 8
call fcn.65353daf
test eax, eax
jl 0x65368ff8
mov ecx, dword [section..data]
push ecx
call ebp
mov edi, eax
jmp 0x65341479
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret 8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret 8

Function at 0x65341523
Capabilities:
Get thread local storage value

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x65341554
mov eax, dword [section..data]
sub esi, 4
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x65369068
mov edx, dword [esi]
mov ecx, eax
add edx, 0x15
and edx, 0xfffffff0
push edx
push esi
call fcn.65341558
pop esi
ret 4
lea ecx, [esp + 8]
push ecx
push 1
call dword [sym.imp.ole32.dll_CoGetMalloc]
test eax, eax
jl 0x65341554
mov eax, dword [esp + 8]
push esi
push eax
mov edx, dword [eax]
call dword [edx + 0x14]
mov eax, dword [esp + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
pop esi
ret 4

Function at 0x65343250
Capabilities:
Get thread local storage value

Disassembly:
push esi
mov esi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push edi
push dword [section..data]
call esi
mov edi, dword [esp + 0xc]
test eax, eax
mov dword [edi], eax
je 0x6534326f
xor eax, eax
pop edi
pop esi
ret
call fcn.65353daf
test eax, eax
jl 0x6534326c
push dword [section..data]
call esi
mov dword [edi], eax
jmp 0x6534326a
Function at 0x653434e9
Capabilities:
Get thread local storage value

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
push edi
je 0x65343540
mov eax, dword [esi + 8]
test eax, eax
ja 0x65369248
test byte [esi + 3], 0x20
jne 0x65343547
mov eax, dword [esi + 0xc]
test eax, eax
je 0x6534351e
mov ecx, dword [esp + 0x10]
push ecx
push esi
call fcn.65343779
test eax, eax
jne 0x653692bf
test byte [esi + 2], 0x20
jne 0x653692ca
mov ax, word [esi + 2]
test al, 7
jne 0x653692e7
add esi, 0xfffffff0
push esi
call fcn.6534328f
add esp, 4
xor eax, eax
pop edi
pop esi
ret 8
push esi
call fcn.65343388
mov edi, eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x6534356b
mov eax, dword [esi + 4]
mov cx, word [esi + 2]
mov edx, dword [esi + 0xc]
push eax
push ecx
push edi
push edx
push esi
call fcn.653435c7
test byte [esi + 2], 0x20
jne 0x65369252
mov ax, word [esi + 2]
test al, 2
jne 0x6536926f
mov eax, dword [section..data]
mov edi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push eax
call edi
test eax, eax
je 0x65369294
xor eax, eax
test eax, eax
jl 0x653692ab
mov edx, dword [section..data]
push edx
call edi
mov ecx, dword [eax]
xor eax, eax
test eax, eax
jne 0x653692b4
mov eax, dword [ecx]
add esi, 0xfffffff0
push esi
push ecx
call dword [eax + 0x14]
xor eax, eax
pop edi
pop esi
ret 8
mov eax, 0x8002000d
pop edi
pop esi
ret 8
mov eax, dword [esi - 4]
test eax, eax
je 0x65343575
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esi - 4], 0
jmp 0x65343575
test ah, 0x10
jne 0x65343581
mov ecx, edi
mov edi, dword [esi + 0xc]
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
xor eax, eax
pop edi
pop esi
ret 8
call fcn.65353daf
test eax, eax
jl 0x653692ab
mov ecx, dword [section..data]
push ecx
call edi
jmp 0x65343597
mov ecx, dword [esp + 0x10]
jmp 0x653435ae
jge 0x653435b6
jmp 0x65343542
jge 0x6534351e
jmp 0x65343542
mov eax, dword [esi - 4]
test eax, eax
je 0x65343528
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov dword [esi - 4], 0
jmp 0x65343528
test ah, 0x10
jne 0x65343534
jmp 0x65343540
Function at 0x65343779
Capabilities:
Get thread local storage value

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
push edi
je 0x65343826
mov eax, dword [esi + 8]
test eax, eax
ja 0x653691db
mov eax, dword [esi + 0xc]
test eax, eax
je 0x65343826
push esi
call fcn.65343388
mov edi, eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x653437cb
mov eax, dword [esi + 4]
mov cx, word [esi + 2]
mov edx, dword [esi + 0xc]
push eax
push ecx
push edi
push edx
push esi
call fcn.653435c7
test byte [esi + 2], 2
jne 0x653691e5
mov ax, word [esi + 2]
test al, 7
jne 0x653691ff
test ah, 0x20
jne 0x6536920d
mov eax, dword [section..data]
mov edi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push eax
call edi
test eax, eax
je 0x6536921d
xor eax, eax
test eax, eax
jl 0x65369234
mov edx, dword [section..data]
push edx
call edi
mov ecx, dword [eax]
xor eax, eax
test eax, eax
jne 0x6536923d
mov edx, dword [esi + 0xc]
mov eax, dword [ecx]
push edx
push ecx
call dword [eax + 0x14]
mov dword [esi + 0xc], 0
xor eax, eax
pop edi
pop esi
ret 8
mov eax, 0x8002000d
pop edi
pop esi
ret 8
mov ecx, edi
mov edi, dword [esi + 0xc]
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
jmp 0x653437cb
test ah, 0x10
jne 0x653437d7
jmp 0x65343826
and eax, 0xdfff
mov word [esi + 2], ax
xor eax, eax
pop edi
pop esi
ret 8
call fcn.65353daf
test eax, eax
jl 0x65369234
mov ecx, dword [section..data]
push ecx
call edi
jmp 0x653437f6
mov ecx, dword [esp + 0xc]
jmp 0x6534380d
jge 0x65343815
jmp 0x65343828

Function at 0x65343b15
Capabilities:
Get thread local storage value

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
push esi
test ebx, ebx
push edi
je 0x65369121
push ebx
call fcn.65343388
mov ebp, eax
cmp ebp, 0xffffffff
je 0x6536912d
mov eax, dword [section..data]
mov esi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push eax
call esi
test eax, eax
je 0x65369139
xor eax, eax
test eax, eax
jl 0x65369150
mov edx, dword [section..data]
push edx
call esi
mov ecx, dword [eax]
xor eax, eax
test eax, eax
jne 0x65369159
mov eax, dword [ecx]
push ebp
push ecx
call dword [eax + 0xc]
mov edi, eax
test edi, edi
mov dword [ebx + 0xc], edi
je 0x65369164
mov ecx, ebp
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ax, word [ebx + 2]
test ah, 0x20
jne 0x65369170
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret 4
mov eax, 0x80070057
pop edi
pop esi
pop ebp
pop ebx
ret 4
mov eax, 0x8007000e
pop edi
pop esi
pop ebp
pop ebx
ret 4
call fcn.65353daf
test eax, eax
jl 0x65369150
mov ecx, dword [section..data]
push ecx
call esi
jmp 0x65343b4c
mov ecx, dword [esp + 0x14]
jmp 0x65343b63
jge 0x65343b6b
jmp 0x65343ba0
mov eax, 0x8007000e
pop edi
pop esi
pop ebp
pop ebx
ret 4
and eax, 0xdfff
mov word [ebx + 2], ax
jmp 0x65343b9e
Function at 0x65343cf1
Capabilities:
Get thread local storage value

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
cmp ebx, 0xfffffffa
push edi
ja 0x653690b4
mov eax, dword [section..data]
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea esi, [ebx + 0x15]
push eax
and esi, 0xfffffff0
call ebp
mov edi, eax
test edi, edi
je 0x653690bd
xor eax, eax
test eax, eax
jl 0x653690d6
push esi
mov ecx, edi
call fcn.653414d5
test eax, eax
je 0x65343d63
mov esi, dword [esp + 0x14]
mov dword [eax], ebx
add eax, 4
test esi, esi
je 0x65343d55
mov ecx, ebx
mov edi, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov byte [eax + ebx], 0
inc ebx
and ebx, 0xfffffffe
mov word [ebx + eax], 0
pop edi
pop esi
pop ebp
pop ebx
ret 8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret 8
call fcn.65353daf
test eax, eax
jl 0x653690d6
mov ecx, dword [section..data]
push ecx
call ebp
mov edi, eax
jmp 0x65343d20
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret 8

Function at 0x65343f54
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [esp + 0xc]
push ebx
push ebp
push esi
cmp eax, 0x7fffffff
push edi
ja 0x6536901c
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
add eax, eax
mov dword [esp + 0x1c], eax
lea edi, [eax + 0x15]
mov eax, dword [section..data]
push eax
and edi, 0xfffffff0
call ebp
test eax, eax
je 0x65369025
xor eax, eax
test eax, eax
jl 0x6536903c
mov edx, dword [section..data]
push edx
call ebp
mov ebx, dword [eax]
xor eax, eax
test eax, eax
jne 0x65369045
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov eax, dword [eax]
test eax, eax
jne 0x65344012
test eax, eax
jne 0x6534401f
mov edx, dword [section..data]
push edx
call ebp
test eax, eax
je 0x65369055
push edi
mov ecx, eax
call fcn.653414d5
test eax, eax
je 0x65369061
mov edx, dword [esp + 0x1c]
mov dword [eax], edx
add eax, 4
test esi, esi
je 0x65343ffa
mov ecx, edx
mov edi, eax
mov ebx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x14]
pop edi
pop esi
mov word [eax + edx], 0
mov dword [ecx], eax
pop ebp
mov eax, 1
pop ebx
ret 0xc
cmp esi, eax
je 0x6536904e
sub eax, 4
jmp 0x65343fb6
mov ecx, dword [ebx]
push edi
push eax
push ebx
call dword [ecx + 0x10]
jmp 0x65343fd3
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
call fcn.65353daf
test eax, eax
jl 0x6536903c
mov ecx, dword [section..data]
push ecx
call ebp
jmp 0x65343f89
mov ebx, dword [esp + 0x18]
jmp 0x65343fa0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
xor esi, esi
jmp 0x6534401a
mov eax, dword [ebx]
push edi
push ebx
call dword [eax + 0xc]
jmp 0x65343fd3
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
Function at 0x65344471
Capabilities:
Get thread local storage value

Disassembly:
sub esp, 8
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
and edx, 0xffff
mov dword [esp], eax
push ebx
lea eax, [edx - 2]
push ebp
xor ebx, ebx
push esi
cmp eax, 0x22
push edi
mov dword [esp + 0x14], ecx
ja case.0x653444a8.16
xor ecx, ecx
mov cl, byte [eax + 0x653445f0]
jmp dword [ecx*4 + 0x653445b0]
mov eax, 1
jmp 0x653444ce
mov eax, 2
jmp 0x653444ce
mov eax, 8
jmp 0x653444ce
mov ebx, 0x100
mov eax, 4
mov ebp, eax
lea edx, [esp + 0x10]
and ebp, 0xffff
push edx
push ebp
push 1
call fcn.653433a0
mov esi, eax
cmp esi, 0xffffffff
je case.0x653444a8.16
cmp esi, 0x7fffffe7
ja case.0x653444a8.16
mov eax, dword [section..data]
mov edi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push eax
add esi, 0x18
call edi
test eax, eax
je 0x653697f3
xor ecx, ecx
test ecx, ecx
jl 0x65369811
mov edx, dword [section..data]
push edx
call edi
mov eax, dword [eax]
xor ecx, ecx
test ecx, ecx
jl case.0x653444a8.16
mov ecx, dword [eax]
add esi, 0x10
push esi
push eax
call dword [ecx + 0xc]
mov edx, eax
test edx, edx
je case.0x653444a8.16
mov ecx, esi
xor eax, eax
mov edi, edx
add edx, 0x10
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
or bh, 0x20
rep stosb byte es:[edi], al
lea eax, [edx + 0x18]
mov word [edx], 1
mov dword [edx + 0xc], eax
mov dword [edx + 4], ebp
mov word [edx + 2], bx
mov ecx, dword [esp + 0x10]
mov dword [edx + 0x10], ecx
mov eax, dword [esp + 0x14]
mov dword [edx + 0x14], eax
mov eax, edx
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
mov ebx, 0x800
mov eax, 0x10
jmp 0x653444ce
mov ebx, 0x200
jmp case.0x653444a8.3
mov ebx, 0x400
jmp case.0x653444a8.3
call fcn.65353daf
test eax, eax
jge 0x65369803
mov ecx, eax
jmp 0x65344515
mov ecx, dword [section..data]
push ecx
call edi
jmp 0x65344513
mov eax, dword [esp + 0x24]
jmp 0x6534452a
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 0xc

Function at 0x653446e4
Capabilities:
Link many functions at runtime

Disassembly:
mov eax, dword [0x653c3010]
test eax, eax
je 0x653446ee
ret
push edi
push esi
push ebx
push 0x653469f8
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x653671b2
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
xor esi, esi
mov eax, dword [esi + 0x65346998]
push eax
push edi
call ebx
mov dword [esi + 0x653c33e0], eax
add esi, 4
cmp esi, 0x60
jl 0x6534470e
push 0x65346928
push edi
call ebx
test eax, eax
mov dword [0x653c33b4], eax
je 0x653671cb
push 0x65346938
push edi
call ebx
test eax, eax
mov dword [0x653c33b8], eax
je 0x653671c1
mov eax, dword [0x653c33b4]
test eax, eax
je 0x653671cb
push 0x65346948
push edi
call ebx
push 0x65346960
push edi
mov dword [0x653c33bc], eax
call ebx
push 0x65346978
push edi
mov dword [0x653c33c0], eax
call ebx
mov dword [0x653c33c4], eax
mov eax, dword [0x653c33b4]
test eax, eax
je 0x653671cb
pop ebx
pop esi
mov dword [0x653c3010], 1
pop edi
jmp 0x653446ed
push 0x45a
call fcn.6537bff3
jmp 0x65344706
mov dword [0x653c33b4], eax
jmp 0x65344755
mov ecx, dword [0x653c3fd0]
mov dword [0x653c3fcc], 0
mov dword [0x653c3fc8], ecx
jmp 0x65344791
Function at 0x6534d03e
Capabilities:
Accept command line arguments

Disassembly:
mov eax, dword [esp + 8]
cmp eax, 1
je 0x6534d08a
test eax, eax
jne 0x6534d16a
mov eax, dword [0x653c3278]
test eax, eax
jle 0x653719f6
mov ecx, eax
mov eax, dword [0x653c3298]
dec ecx
test eax, eax
mov dword [0x653c3278], ecx
jne 0x6534d073
call fcn.65351524
call fcn.6535178c
call fcn.653517ee
call fcn.653518c0
mov eax, 1
ret 0xc
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov ecx, dword [0x653c3284]
mov dword [0x653c3288], eax
test ecx, ecx
jne 0x6534d0ca
cmp al, 3
je 0x653719b1
push 0x6534d2b8
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x6534d0ca
push 0x6534d2b0
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x653719cb
call fcn.6534d3b0
test eax, eax
je 0x653719da
mov ecx, dword [0x653c3288]
xor edx, edx
mov eax, ecx
mov dl, ch
and eax, 0xff
mov dword [0x653c3294], edx
mov dword [0x653c3290], eax
shl eax, 8
add eax, edx
shr ecx, 0x10
mov dword [0x653c328c], eax
mov dword [0x653c3288], ecx
call fcn.6534d4d6
test eax, eax
je 0x653719dd
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x653c329c], eax
call fcn.6534d75e
mov ecx, dword [0x653c329c]
mov dword [0x653c3280], eax
test ecx, ecx
je 0x653719e7
test eax, eax
je 0x653719e7
call fcn.6534d8bd
call fcn.6534d9aa
call fcn.6534da9d
call fcn.6534dcca
call fcn.6534de6f
mov eax, dword [0x653c3278]
inc eax
mov dword [0x653c3278], eax
mov eax, 1
ret 0xc
cmp eax, 3
je 0x653719fb
mov eax, 1
ret 0xc
test eax, 0x80000000
je 0x6534d0a7
push 2
call fcn.653b6c3c
add esp, 4
jmp 0x6534d0a7
push 1
call fcn.653b6c3c
add esp, 4
jmp 0x6534d0ca
ret 0xc
call fcn.653518c0
xor eax, eax
ret 0xc
call fcn.653517ee
call fcn.653518c0
xor eax, eax
ret 0xc
xor eax, eax
ret 0xc
push 0
call fcn.653b6b0d
add esp, 4
jmp 0x6534d173