joyce8/EMBER2024-capa huggingface dataset:
Function at 0x446000
Capabilities:
Accept command line arguments
Parse pe header
Resolve function by parsing pe exports
Terminate process

Disassembly:
call 0x446005
pop ebx
sub ebx, 0x401063
mov edi, dword [esp]
and edi, 0xffff0000
cmp word [edi], 0x5a4d
jne 0x44602a
mov esi, edi
add esi, dword [esi + 0x3c]
cmp word [esi], 0x4550
jne 0x44602a
jmp 0x44603a
sub edi, 0x10000
cmp edi, 0x70000000
jb 0x44603a
jmp 0x446015
mov dword [ebx + 0x4011d9], edi
mov esi, dword [esi + 0x78]
add esi, edi
push esi
mov ebp, dword [esi + 0x18]
mov esi, dword [esi + 0x20]
add esi, edi
xor edx, edx
push esi
mov edi, dword [esi]
add edi, dword [ebx + 0x4011d9]
lea esi, [ebx + 0x40119e]
mov ecx, 0xf
repe cmpsb byte [esi], byte es:[edi]
jne 0x44606e
pop esi
mov edx, esi
pop esi
jmp 0x44607f
pop esi
add esi, 4
inc edx
cmp edx, ebp
jb 0x446050
sub esp, 4
jmp 0x446199
sub edx, dword [esi + 0x20]
mov eax, dword [ebx + 0x4011d9]
sub edx, eax
shr edx, 1
add edx, dword [esi + 0x24]
add edx, eax
movzx eax, word [edx]
shl eax, 2
add eax, dword [esi + 0x1c]
add eax, dword [ebx + 0x4011d9]
mov eax, dword [eax]
add eax, dword [ebx + 0x4011d9]
mov edi, eax
mov ebp, esp
mov edx, dword [ebx + 0x4011d9]
lea eax, [ebx + 0x4011ad]
push eax
push edx
call edi
sub esp, 0x104
push esp
push 0x104
call eax
lea eax, [ebx + 0x4011ba]
push eax
mov edx, dword [ebx + 0x4011d9]
push edx
call edi
lea ecx, [ebx + 0x4011c3]
push ecx
mov ecx, esp
add ecx, 4
push ecx
call eax
lea eax, [ebx + 0x4011cd]
push eax
mov edx, dword [ebx + 0x4011d9]
push edx
call edi
mov ecx, esp
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
push ecx
call eax
mov esi, eax
lea ecx, [ebx + 0x401204]
push ecx
push ecx
mov edx, dword [ebx + 0x4011d9]
push edx
call edi
pop ecx
push 0
push ecx
add ecx, 0xa
mov edx, dword [ecx]
push edx
push ecx
mov edx, 0x905a4d
mov dword [ecx], edx
push esi
call eax
lea eax, [ebx + 0x4011ec]
push eax
mov edx, dword [ebx + 0x4011d9]
push edx
call edi
push esi
call eax
lea eax, [ebx + 0x4011dd]
push eax
mov edx, dword [ebx + 0x4011d9]
push edx
call edi
sub esp, 0x44
mov edx, esp
mov esi, 0
mov ecx, 0x11
mov dword [edx], esi
add edx, 4
loop 0x44616a
mov edx, 0x44
mov dword [esp], edx
sub esp, 0x10
mov edx, esp
push esp
add edx, 0x10
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
add edx, 0x44
push edx
call eax
mov esp, ebp
jmp 0x406e20

Function at 0x44660e
Capabilities:
Parse pe header

Disassembly:
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x446651
mov ecx, dword [eax + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x446651
mov ecx, dword [esp + 4]
add eax, 4
mov dword [ecx], eax
mov ecx, dword [esp + 8]
add eax, 0x14
mov dword [ecx], eax
mov ecx, 0x10b
cmp word [eax], cx
jne 0x446651
mov ecx, dword [esp + 0xc]
add eax, 0xe0
mov dword [ecx], eax
xor eax, eax
inc eax
jmp 0x446653
xor eax, eax
ret 0xc
Function at 0x4087f0
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x448f3d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x464
push ebx
push esi
push edi
mov dword [ebp - 4], 0
push dword [ebp + 8]
push ecx
mov esi, esp
mov dword [ebp - 0x18], esi
call fcn.00401620
mov ecx, eax
test ecx, ecx
je 0x4089a0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
push str.NXU1bchACORi4frWx8
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.004038c0
test al, al
jne 0x40885c
push 0x13
push str.NXU1bchACORi4frWx8
mov ecx, esi
call fcn.00403de0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.004023d0
add esp, 4
push dword [eax]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov edx, dword [ebp - 0x14]
or ebx, 0xffffffff
add esp, 0xc
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40889a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x46c]
push eax
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x408970
lea esp, [esp]
lea eax, [ebp - 0x440]
push eax
push dword [ebp + 8]
push ecx
mov esi, esp
mov dword [ebp - 0x18], esi
call fcn.00401620
test eax, eax
je 0x4089a0
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi], eax
push str.SzVihUW5CQEQ1uuQhE
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.004038c0
test al, al
jne 0x40890b
push 0x13
push str.SzVihUW5CQEQ1uuQhE
mov ecx, esi
call fcn.00403de0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.004023d0
add esp, 4
push dword [eax]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov edx, dword [ebp - 0x14]
add esp, 0x10
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x408946
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x46c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4088c0
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x40898f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004013f0
int3
Function at 0x403c10
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x436e3b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x440480]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [esi + 4]
mov dword [esi], 0x43b35c
call fcn.004203f5
push 4
mov dword [ebp - 4], 0
call fcn.004222e9
mov edi, eax
add esp, 4
test edi, edi
je 0x403c8c
call fcn.004201f0
mov dword [edi], eax
call fcn.0041ffaf
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.004203b6
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x403c82
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.004203de
jmp 0x403c8e
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x461f20
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x455015
lea edi, [esi - 0x54015]
push edi
or ebp, 0xffffffff
jmp 0x461f42
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x461f49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x461f38
mov eax, 1
add ebx, ebx
jne 0x461f5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x461f50
jne 0x461f6c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x461f50
xor ecx, ecx
sub eax, 3
jb 0x461f80
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x461ff2
mov ebp, eax
add ebx, ebx
jne 0x461f8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x461f98
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x461fbc
inc ecx
add ebx, ebx
jne 0x461fa8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x461f9d
jne 0x461fb9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x461f9d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x461fdc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x461fcd
jmp 0x461f3e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x461fdc
add edi, ecx
jmp 0x461f3e
pop esi
mov edi, esi
mov ecx, 0x32d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x461ffa
cmp byte [edi], 0
jne 0x461ffa
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x461fff
lea edi, [esi + 0x5f000]
mov eax, dword [edi]
or eax, eax
je 0x46206e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x621f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x62254]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x46202c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x62258]
or eax, eax
je 0x462068
mov dword [ebx], eax
add ebx, 4
jmp 0x462049
call dword [esi + 0x6225c]
popal
jmp 0x4095a4

Function at 0x401d9d
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push ecx
push edx
push esi
push edi
enter 4, 0
mov esi, eax
mov edi, dword [0x404050]
cdq
or di, 1
idiv edi
mov edx, dword [0x404050]
mov ebx, esi
add edx, eax
mov eax, 0x404054
call fcn.00401cc0
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
mov eax, esi
or al, 0x40
mov edi, 0x403135
push eax
sub edi, fcn.004028df
push edi
push fcn.004028df
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
cmp dword [ebp - 4], 0
je 0x401e13
mov eax, fcn.004028df
mov ebx, esi
mov edx, edi
call fcn.00401cc0
mov edx, 0x1c000
mov eax, 0x404054
mov ebx, esi
call fcn.00402423
leave
pop edi
pop esi
pop edx
pop ecx
pop ebx
ret
Function at 0x40adc0
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1014
call fcn.00404730
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], 0
mov eax, dword [0x4170bc]
cmp ebx, eax
jae 0x40adfb
mov eax, ebx
and eax, 0x1f
mov edx, ebx
sar edx, 5
mov edx, dword [edx*4 + 0x4170c0]
test byte [edx + eax*8 + 4], 1
jne 0x40ae0d
mov dword [0x415c84], 9
or eax, 0xffffffff
jmp 0x40af32
push 1
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
je 0x40ae37
push 2
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
jne 0x40ae3f
or eax, 0xffffffff
jmp 0x40af32
mov eax, dword [ebp + 0xc]
mov esi, eax
sub esi, dword [ebp - 8]
test esi, esi
jle 0x40aee4
lea edx, [ebp - 0x1010]
mov ecx, 0x1000
xor eax, eax
push edi
mov edi, edx
rep stosb byte es:[edi], al
pop edi
mov eax, edx
push 0x8000
push ebx
call fcn.0040b330
add esp, 8
mov dword [ebp - 0x10], eax
mov eax, esi
cmp eax, 0x1000
jb 0x40ae8a
mov dword [ebp - 0x1014], 0x1000
jmp 0x40ae92
mov eax, esi
mov dword [ebp - 0x1014], eax
mov eax, dword [ebp - 0x1014]
push eax
lea eax, [ebp - 0x1010]
push eax
push ebx
call fcn.004086d0
add esp, 0xc
mov edi, eax
cmp eax, 0xffffffff
jne 0x40aecb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x40aec5
mov dword [0x415c84], 0xd
or dword [ebp - 4], 0xffffffff
jmp 0x40aed5
mov eax, esi
sub eax, edi
mov esi, eax
test eax, eax
jg 0x40ae75
mov eax, dword [ebp - 0x10]
push eax
push ebx
call fcn.0040b330
add esp, 8
jmp 0x40af20
test esi, esi
jge 0x40af20
push 0
mov eax, dword [ebp + 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
push ebx
call fcn.00408b00
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
setne al
and eax, 1
dec eax
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
jne 0x40af20
mov dword [0x415c84], 0xd
push 0
mov eax, dword [ebp - 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x438cb2
Capabilities:
Encode data using xor

Disassembly:
sub esp, 4
mov dword [esp], 0x438a14
pop edx
dec ebx
sub esp, 4
mov dword [esp], eax
mov eax, dword [esp]
add esp, 4
mov ebx, 0x51e570d0
call fcn.00438d10
mov ebx, 0x2ce30b53
push 0x2aa806f
pop ebx
add eax, ebx
xor dword [edi], edx
and eax, ebx
mov ebx, 0xa703266e
sub ebx, ebx
inc edi
and eax, ebx
sub ebx, 1
add eax, 0x5aa734ad
cmp edi, ecx
jne fcn.00438cb2
sub eax, 0xae703296
push ebx
pop ebx
sub eax, 0x9246e236
ret
Function at 0x44a410
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 8
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edi, eax
mov dword [esp + 8], 0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
lea eax, [esp + 0xc]
push eax
push edi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
test esi, esi
mov edi, eax
je 0x44a44b
lea ecx, [esp + 8]
push ecx
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test edi, edi
pop edi
pop esi
je 0x44a463
mov edx, dword [0x64fcf4]
push 0x64fa28
push edx
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
mov eax, dword [esp]
add esp, 8
ret

Function at 0x461f20
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x455015
lea edi, [esi - 0x54015]
push edi
or ebp, 0xffffffff
jmp 0x461f42
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x461f49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x461f38
mov eax, 1
add ebx, ebx
jne 0x461f5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x461f50
jne 0x461f6c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x461f50
xor ecx, ecx
sub eax, 3
jb 0x461f80
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x461ff2
mov ebp, eax
add ebx, ebx
jne 0x461f8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x461f98
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x461fbc
inc ecx
add ebx, ebx
jne 0x461fa8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x461f9d
jne 0x461fb9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x461f9d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x461fdc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x461fcd
jmp 0x461f3e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x461fdc
add edi, ecx
jmp 0x461f3e
pop esi
mov edi, esi
mov ecx, 0x32d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x461ffa
cmp byte [edi], 0
jne 0x461ffa
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x461fff
lea edi, [esi + 0x5f000]
mov eax, dword [edi]
or eax, eax
je 0x46206e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x621f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x62254]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x46202c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x62258]
or eax, eax
je 0x462068
mov dword [ebx], eax
add ebx, 4
jmp 0x462049
call dword [esi + 0x6225c]
popal
jmp 0x4095a4
Function at 0x4055f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push 0x208
mov ebx, ecx
call fcn.00446e22
mov esi, eax
push 0x208
mov dword [ebx], esi
call fcn.00446e22
push 0x104
push 0
push esi
mov dword [ebx + 4], eax
call fcn.004486f0
push 0x104
push 0
push dword [ebx + 4]
call fcn.004486f0
push 0x208
call fcn.004451f4
add esp, 0x24
mov esi, eax
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x104
push dword [ebx]
push esi
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
cmp dword [ebp + 8], 0
mov esi, 0x46155c
push dword [ebx + 4]
cmovne esi, dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push esi
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
pop esi
mov eax, ebx
pop ebx
pop ebp
ret 4

Function at 0x405680
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45734a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x476478]
mov dword [ebp - 0x10], ecx
mov dword [ecx], eax
mov dword [ebp - 4], 0
lea eax, [ecx + 8]
mov dword [ebp - 0x14], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov byte [ebp - 4], 1
mov dword [eax + 0x14], 0
mov dword [eax], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x18], 0
mov dword [eax + 8], 0
mov byte [ebp - 4], 2
mov dword [ecx + 0x30], 0x461694
mov dword [ecx + 0x38], 0
mov dword [ecx + 0x40], 0
mov dword [ecx + 0x44], 0
mov dword [ecx + 0x48], 0
mov dword [ecx + 0x4c], 0
mov byte [ebp - 4], 3
mov eax, dword [0x476478]
mov dword [ecx + 0x54], eax
mov byte [ebp - 4], 4
mov eax, dword [0x476478]
mov dword [ecx + 0x58], eax
mov byte [ebp - 4], 5
lea eax, [ecx + 0x64]
mov dword [ebp - 0x14], eax
mov dword [eax], 0x4616d4
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 4
mov byte [ebp - 4], 6
mov dword [eax], 0x4616dc
mov byte [ebp - 4], 7
mov dword [eax], 0x4616e4
mov byte [ebp - 4], 8
lea eax, [ecx + 0x78]
mov dword [ebp - 0x14], eax
mov dword [eax], 0x4616d4
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 4
mov byte [ebp - 4], 9
mov dword [eax], 0x4616dc
mov byte [ebp - 4], 0xa
mov dword [ecx + 0x5c], 0
mov dword [ecx + 0x24], 0
mov dword [ecx + 0x60], 0
mov dword [ebp - 4], 0xffffffff
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4057e0
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4573a1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [edi], 0x4627d4
lea eax, [edi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [ebp - 4], 0
lea esi, [edi + 0x28]
mov dword [ebp - 0x18], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov ecx, esi
call fcn.004399d0
mov dword [esi], eax
mov byte [ebp - 4], 5
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov byte [ebp - 4], 6
mov dword [edi + 0x40], 0
push 0x40a9e0
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push 0x43a770
call fcn.0044705b
add esp, 4
push 0x8003
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov dword [edi + 0x44], 0
mov byte [ebp - 4], 7
cmp dword [0x47fde0], 0
jne 0x405912
mov dword [0x47fde0], 0
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [edi + 0x3c], eax
cmp eax, 0xffffffff
jne 0x4058da
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], str.CWinApp::CWinApp__Failed_to_allocate_TLS_Index
movq xmm0, qword [ebp - 0x28]
movq qword [ebp - 0x40], xmm0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x38], eax
push 0x472bc8
lea eax, [ebp - 0x40]
push eax
call fcn.004473e6
push edi
call fcn.0042b7f0
add esp, 4
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], eax
mov ecx, edi
call fcn.0040f1c0
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], str.Error___An_instance_of_CWinApp__or_a_class_derived_from_CWinApp__is_already_running
movq xmm0, qword [ebp - 0x34]
movq qword [ebp - 0x4c], xmm0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x44], eax
push 0x472bc8
lea eax, [ebp - 0x4c]
push eax
call fcn.004473e6
mov ecx, dword [ebp - 0x1c]
call fcn.0041eb50
push 0
push 0
call fcn.004473e6
int3
Function at 0x408970
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4581f1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
mov ebx, ecx
push esi
push edi
mov dword [ebp - 0x14], ebx
mov dword [ebx], 0x4627d4
mov dword [ebp - 4], 2
lea ecx, [ebx + 0x28]
mov eax, dword [ecx]
mov dword [ebp - 0x10], ecx
mov esi, dword [eax]
cmp esi, eax
je 0x408a0c
mov edi, dword [sym.imp.USER32.dll_DestroyWindow]
mov ebx, ecx
push dword [esi + 0x10]
call edi
cmp byte [esi + 0xd], 0
jne 0x408a02
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x4089e0
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x408a02
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x4089d4
jmp 0x408a02
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x408a00
lea esp, [esp]
cmp esi, dword [eax + 8]
jne 0x408a00
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x4089f0
mov esi, eax
cmp esi, dword [ebx]
jne 0x4089b6
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx]
mov edi, dword [eax + 4]
mov esi, edi
cmp byte [edi + 0xd], 0
jne 0x408a40
mov ebx, dword [ebp - 0x10]
lea esp, [esp]
push dword [esi + 8]
mov ecx, ebx
call fcn.0043a050
mov esi, dword [esi]
push edi
call fcn.00445790
add esp, 4
mov edi, esi
cmp byte [esi + 0xd], 0
je 0x408a20
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebx + 0x28]
lea edi, [ebx + 0x28]
mov dword [eax + 4], eax
mov eax, dword [edi]
mov dword [eax], eax
mov eax, dword [edi]
mov dword [eax + 8], eax
mov dword [edi + 4], 0
mov eax, dword [ebx + 0x3c]
cmp eax, 0xffffffff
je 0x408a73
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push dword [ebx + 0x3c]
call dword [sym.imp.KERNEL32.dll_TlsFree]
mov esi, dword [ebx + 0x30]
cmp esi, dword [ebx + 0x34]
je 0x408a92
jmp 0x408a80
push dword [esi]
call fcn.00445790
add esi, 4
add esp, 4
cmp esi, dword [ebx + 0x34]
jne 0x408a80
mov dword [0x47fde0], 0
mov byte [ebp - 4], 1
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x408ac5
push eax
call fcn.00445790
add esp, 4
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x38], 0
mov byte [ebp - 4], 0
mov dword [ebp - 0x10], edi
mov byte [ebp - 4], 4
mov ecx, edi
mov eax, dword [edi]
push eax
push dword [eax]
lea eax, [ebp - 0x18]
push eax
call fcn.0043d780
mov byte [ebp - 4], 0
push dword [edi]
call fcn.00445790
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea eax, [ebx + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4095a0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
movzx eax, byte [edx]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 1]
xor ecx, eax
movzx eax, byte [edx + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 4]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 5]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 6]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 7]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
pop ebp
ret 4