joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43bf50
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4c51d0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
push 0x208
push eax
lea ecx, [ebp - 0x20e]
push ecx
mov word [ebp - 0x210], ax
call fcn.004720e0
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
add esp, 0xc
push 0x4ac784
call esi
cmp eax, 0xffffffff
je 0x43bfac
test al, 0x10
jne 0x43bfac
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046e5d5
mov esp, ebp
pop ebp
ret
push edi
push 0x4ac7b8
lea ecx, [ebp - 0x214]
call fcn.00401c40
push 0x104
lea edx, [ebp - 0x210]
push 0
push edx
call fcn.004720e0
mov edi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
add esp, 0xc
push 0
push 2
lea eax, [ebp - 0x210]
push eax
push 0
call edi
mov ecx, dword [ebp - 0x214]
push ecx
lea edx, [ebp - 0x210]
push 0x105
push edx
call fcn.0046f98c
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
call esi
cmp eax, 0xffffffff
je 0x43c015
test al, 0x10
je 0x43c067
push 0x104
lea ecx, [ebp - 0x210]
push 0
push ecx
call fcn.004720e0
add esp, 0xc
push 0
push 0x17
lea edx, [ebp - 0x210]
push edx
push 0
call edi
mov eax, dword [ebp - 0x214]
push eax
lea ecx, [ebp - 0x210]
push 0x105
push ecx
call fcn.0046f98c
add esp, 0xc
lea edx, [ebp - 0x210]
push edx
call esi
cmp eax, 0xffffffff
je 0x43c09e
test al, 0x10
jne 0x43c09e
mov eax, dword [ebp - 0x214]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43c089
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046e5d5
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x214]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43c0c0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor eax, eax
pop esi
call fcn.0046e5d5
mov esp, ebp
pop ebp
ret
Function at 0x43c0e0
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4c51d0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
push 0x208
push eax
lea ecx, [ebp - 0x20e]
push ecx
mov word [ebp - 0x210], ax
call fcn.004720e0
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
add esp, 0xc
push 0x4ac7dc
call esi
cmp eax, 0xffffffff
je 0x43c13c
test al, 0x10
jne 0x43c13c
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046e5d5
mov esp, ebp
pop ebp
ret
push edi
push 0x4ac810
lea ecx, [ebp - 0x214]
call fcn.00401c40
push 0x104
lea edx, [ebp - 0x210]
push 0
push edx
call fcn.004720e0
mov edi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
add esp, 0xc
push 0
push 2
lea eax, [ebp - 0x210]
push eax
push 0
call edi
mov ecx, dword [ebp - 0x214]
push ecx
lea edx, [ebp - 0x210]
push 0x105
push edx
call fcn.0046f98c
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
call esi
cmp eax, 0xffffffff
je 0x43c1a5
test al, 0x10
je 0x43c1f7
push 0x104
lea ecx, [ebp - 0x210]
push 0
push ecx
call fcn.004720e0
add esp, 0xc
push 0
push 0x17
lea edx, [ebp - 0x210]
push edx
push 0
call edi
mov eax, dword [ebp - 0x214]
push eax
lea ecx, [ebp - 0x210]
push 0x105
push ecx
call fcn.0046f98c
add esp, 0xc
lea edx, [ebp - 0x210]
push edx
call esi
cmp eax, 0xffffffff
je 0x43c22e
test al, 0x10
jne 0x43c22e
mov eax, dword [ebp - 0x214]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43c219
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046e5d5
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x214]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43c250
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor eax, eax
pop esi
call fcn.0046e5d5
mov esp, ebp
pop ebp
ret
Function at 0x43dec0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4931b1
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4c51d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x18], edi
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
add eax, 0x10
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 4], 1
call fcn.0040b780
mov esi, dword [ebp - 0x14]
push 0x4ad228
push esi
call fcn.0046f5dc
add esp, 0xc
cmp eax, edi
jne 0x43df37
mov edi, 1
jmp 0x43dfdf
push 0x4ad244
push esi
call fcn.0046f5dc
add esp, 8
cmp eax, edi
jne 0x43df53
mov edi, 2
jmp 0x43dfdf
cmp dword [esi - 0xc], edi
jl 0x43df7a
push 0x4ad26c
push esi
call fcn.0046f6f4
add esp, 8
cmp eax, edi
je 0x43df7a
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x43df7a
mov edi, 3
jmp 0x43dfdf
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x10]
call fcn.00401c40
mov eax, dword [0x4cfdfc]
cmp eax, edi
je 0x43dfbb
mov ecx, dword [ebp - 0x10]
cmp dword [ecx - 0xc], edi
jl 0x43dfbe
push eax
push ecx
call fcn.0046f6f4
add esp, 8
cmp eax, edi
je 0x43dfbb
mov ecx, dword [ebp - 0x10]
sub eax, ecx
sar eax, 1
cmp eax, 0xffffffff
je 0x43dfbe
mov edi, 4
jmp 0x43dfc3
mov ecx, dword [ebp - 0x10]
mov edi, 5
lea eax, [ecx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43dfdf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebx], eax
push edi
push 0x4a8bd8
push ebx
mov dword [ebp - 0x18], 1
call fcn.0040d860
lea eax, [esi - 0x10]
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43e02a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebx
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 0x43e3c0
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x4c51d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [esi]
mov eax, dword [ebp + 8]
mov eax, dword [eax*4 + 0x4a4c2c]
lea edx, [ebp - 0x418]
push edx
push 0x20019
push 0
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43e455
push 0x206
push eax
lea ecx, [ebp - 0x412]
push ecx
mov word [ebp - 0x414], ax
call fcn.004720e0
mov ecx, dword [ebp - 0x418]
add esp, 0xc
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x420]
push edx
lea eax, [ebp - 0x414]
push eax
push 0
push ecx
mov dword [ebp - 0x420], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x43e465
mov edx, dword [ebp - 0x418]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046e5d5
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jl 0x43e494
push 0x4ad2a0
push eax
call fcn.0046f6f4
add esp, 8
test eax, eax
je 0x43e494
sub eax, dword [esi]
sar eax, 1
cmp eax, 0xffffffff
je 0x43e494
mov eax, dword [ebp - 0x418]
push eax
jmp 0x43e555
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x20a]
push edx
mov word [ebp - 0x20c], cx
call fcn.004720e0
mov eax, dword [edi]
add esp, 0xc
lea ecx, [ebp - 0x41c]
push ecx
lea edx, [ebp - 0x20c]
push edx
push 0
push 0
push eax
mov eax, dword [ebp - 0x418]
push eax
mov dword [ebp - 0x41c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x43e4ff
mov ecx, dword [ebp - 0x418]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046e5d5
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathIsFileSpecW]
test eax, eax
jne 0x43e520
mov eax, dword [ebx]
push eax
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43e54e
mov eax, dword [ebp - 0x418]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046e5d5
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x418]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov al, 1
call fcn.0046e5d5
mov esp, ebp
pop ebp
ret
Function at 0x43e780
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4c51d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push esi
push edi
mov dword [ebp - 0x214], esi
mov byte [ebp - 0x20d], 0
call fcn.0043e980
test al, al
je 0x43e7b6
mov byte [ebp - 0x20d], 1
push esi
push edi
xor bl, bl
call fcn.0043ed60
test al, al
je 0x43e7c5
mov bl, 1
push edi
mov ecx, esi
call fcn.0043eac0
test al, al
jne 0x43e7d5
test bl, bl
je 0x43e7d9
mov bl, 1
jmp 0x43e7df
mov bl, byte [ebp - 0x20d]
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov word [ebp - 0x20c], ax
call fcn.004720e0
add esp, 0xc
push 0
push 0x1c
lea edx, [ebp - 0x20c]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov edx, 0x104
lea eax, [ebp - 0x20c]
jmp 0x43e820
cmp word [eax], 0
je 0x43e82e
add eax, 2
dec edx
jne 0x43e820
jmp 0x43e851
test edx, edx
je 0x43e851
mov ecx, 0x104
sub ecx, edx
mov eax, 0x104
sub eax, ecx
lea ecx, [ebp + ecx*2 - 0x20c]
mov edx, 0x4ad354
call fcn.0043e570
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov edx, 0x104
lea eax, [ebp - 0x20c]
jmp 0x43e870
cmp word [eax], 0
je 0x43e87e
add eax, 2
dec edx
jne 0x43e870
jmp 0x43e8a1
test edx, edx
je 0x43e8a1
mov ecx, 0x104
sub ecx, edx
mov eax, 0x104
sub eax, ecx
lea ecx, [ebp + ecx*2 - 0x20c]
mov edx, 0x4ad368
call fcn.0043e570
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0x20c]
push ecx
push 0x4a5f10
push 0x4ad384
push 0x4ad390
call esi
mov eax, dword [ebp - 0x214]
mov ecx, dword [eax]
lea edx, [ebp - 0x20c]
push edx
push ecx
push 0x4ad3a0
push 0x4ad390
call esi
mov eax, dword [edi + 0x10]
cmp dword [eax - 0xc], 0
jne 0x43e8f2
lea edx, [ebp - 0x20c]
push edx
push 0x4ad3a8
jmp 0x43e91d
push 0x4ad3bc
push eax
call fcn.0046f5dc
add esp, 8
test eax, eax
jne 0x43e912
lea eax, [ebp - 0x20c]
push eax
push 0x4a59e4
jmp 0x43e91d
mov edx, dword [edi + 0x10]
lea ecx, [ebp - 0x20c]
push ecx
push edx
push 0x4ad3b4
push 0x4ad390
call esi
mov eax, 0x4a5f10
test bl, bl
jne 0x43e937
mov eax, 0x4a6748
lea ecx, [ebp - 0x20c]
push ecx
push eax
push 0x4ad3d4
push 0x4ad390
call esi
lea edx, [ebp - 0x20c]
push edx
push 0x4a59e4
push 0x4ad3dc
push 0x4ad390
call esi
mov ecx, dword [ebp - 4]
pop esi
mov al, bl
xor ecx, ebp
pop ebx
call fcn.0046e5d5
mov esp, ebp
pop ebp
ret
Function at 0x43f710
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x64
mov eax, dword [0x4c51d0]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 0x38]
xor ebx, ebx
mov eax, ecx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x10], 0x67452301
mov dword [esp + 0x14], 0xefcdab89
mov dword [esp + 0x18], 0x98badcfe
mov dword [esp + 0x1c], 0x10325476
lea esi, [eax + 1]
jmp 0x43f760
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x43f760
push ecx
sub eax, esi
lea ecx, [esp + 0x14]
call fcn.0043f7d0
add esp, 4
lea esi, [esp + 0x10]
lea ebx, [edi + 5]
call fcn.0043f890
xor esi, esi
xor ebx, ebx
jmp 0x43f790
movzx eax, byte [edi + ebx + 5]
push eax
mov ecx, 0x21
push 0x4ad3e4
sub ecx, esi
mov edx, edi
push ecx
lea eax, [edx + esi + 0x15]
push eax
call fcn.00471b9b
inc ebx
add esp, 0x10
add esi, 2
cmp ebx, 0x10
jl 0x43f790
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebx
xor ecx, esp
mov al, 1
call fcn.0046e5d5
mov esp, ebp
pop ebp
ret

Function at 0x440050
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x491222
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x4c51d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x21c], 0
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ebx, ecx
mov ecx, section..data
mov dword [ebp - 0x220], ebx
call edx
add eax, 0x10
mov dword [ebx], eax
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x216]
mov dword [ebp - 4], 0
push ecx
mov dword [ebp - 0x21c], 1
mov word [ebp - 0x218], ax
call fcn.004720e0
add esp, 0xc
lea edx, [ebp - 0x218]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x440115
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4400f7
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
mov ecx, ebx
call fcn.00401b40
push 5
push 0x4a5a54
call fcn.0040d430
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046e5d5
mov esp, ebp
pop ebp
ret
Function at 0x4468f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48e5c8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x4c51d0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
sub esp, 0xc
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp + 0x10]
mov dword [eax + 4], edx
lea esi, [esp + 0x18]
mov dword [eax + 8], ecx
call fcn.004476d0
mov esi, ebx
lea edi, [esp + 0xc]
mov dword [esp + 0x38], 0
call fcn.00446fa0
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0xc]
test eax, eax
je 0x446979
test al, 1
jne 0x446979
and eax, 0xfffffffe
mov eax, dword [eax]
test eax, eax
je 0x446979
lea edx, [esp + 0x14]
push 2
push edx
mov ecx, edx
push ecx
call eax
add esp, 0xc
mov eax, ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x449270
Capabilities:
Get thread local storage value

Disassembly:
mov ecx, dword [esi + 0xc]
push ebx
cmp dword [esi + 0x14], ecx
jne 0x449293
call fcn.004574f0
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 4]
mov edx, dword [eax + 0x2c]
mov dword [ecx + 0x28], edx
mov ecx, dword [esi + 4]
pop ebx
jmp fcn.004574f0
mov ecx, dword [esi + 4]
call fcn.004574f0
mov ecx, dword [esi + 0xc]
mov bl, al
mov eax, dword [esi + 4]
mov edx, dword [eax + 0x2c]
mov dword [ecx + 0x28], edx
mov ecx, dword [esi + 0xc]
call fcn.004574f0
mov al, bl
pop ebx
ret

Function at 0x44b570
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0xc]
je 0x44b5da
push esi
push edi
mov edi, dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea esi, [eax + 8]
mov eax, dword [esi]
mov eax, dword [eax]
push 0x4ad954
push eax
call fcn.0046f5dc
add esp, 8
test eax, eax
jne 0x44b5cb
mov esi, dword [esi]
mov eax, dword [esi + 0x30]
push 1
push 0
push eax
push eax
push 0x4a56b0
push 0
call edi
cmp eax, 0x20
ja 0x44b5cb
mov ecx, dword [esi + 0x30]
push 1
push 0
push ecx
push 0x4a56bc
push 0x4a56b0
push 0
call edi
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov dword [ebp + 8], eax
cmp eax, dword [ebp + 0xc]
jne 0x44b583
pop edi
pop esi
mov al, byte [ebp + 0x10]
pop ebp
ret
Function at 0x44c090
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x494183
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push edi
mov eax, dword [0x4c51d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [esi + 4]
mov dword [esi], 0x4ada5c
mov dword [ebp - 0x10], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
push 0x24
mov dword [eax], 0x4a8cc0
call fcn.0046e8ee
add esp, 4
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x44c0ed
push eax
call fcn.00420c70
mov edi, eax
jmp 0x44c0ef
xor edi, edi
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x10]
push edi
lea ecx, [eax + 0xc]
mov dword [eax + 8], edi
call fcn.00421180
mov eax, dword [ebp - 0x10]
push edi
add eax, 8
push edi
push eax
call fcn.004604c0
fldz
mov eax, dword [ebp - 0x10]
mov dword [eax], 0x4a8c10
mov eax, dword [ebp + 8]
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov ecx, dword [eax]
mov dword [esi + 0x28], ecx
mov edx, dword [eax + 4]
mov dword [esi + 0x2c], edx
mov ecx, dword [eax + 8]
mov dword [esi + 0x30], ecx
mov edx, dword [eax + 0xc]
fst dword [esi + 0x3c]
fst dword [esi + 0x40]
add esp, 0xc
fld1
mov dword [esi + 0x34], edx
fst dword [esi + 0x44]
mov word [esi + 0x38], bx
fst dword [esi + 0x48]
mov byte [esi + 0x3a], 1
fxch st(1)
mov dword [esi + 0x50], 0xff00
fstp dword [esi + 0x4c]
mov byte [esi + 0x54], bl
mov dword [esi + 0x58], 0xff000000
mov byte [esi + 0x6c], bl
fst dword [esi + 0x5c]
mov eax, esi
fst dword [esi + 0x60]
fst dword [esi + 0x64]
fstp dword [esi + 0x68]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x452200
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48e498
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4c51d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [esi + 0xc4], bl
je 0x452296
lea eax, [ebp - 0x28]
mov byte [esi + 0xc4], bl
mov dword [ebp - 0x28], 0x4adcb4
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
mov ecx, dword [0x4cfa0c]
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea edx, [ebp - 0x28]
mov ecx, eax
call fcn.00402620
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x452285
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
lea eax, [ebp - 0x28]
cmp ecx, eax
setne al
movzx eax, al
push eax
call edx
xor eax, eax
test bl, bl
setne al
lea eax, [eax + eax + 1]
mov dword [esi + 0xc8], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046e5d5
mov esp, ebp
pop ebp
ret
Function at 0x453080
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48eceb
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
mov eax, dword [0x4c51d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [esi], 0x4add30
mov dword [esi + 8], ebx
mov dword [ebp - 4], ebx
push 0x18
mov dword [esi + 0x30], ebx
call fcn.0046e8ee
add esp, 4
cmp eax, ebx
je 0x453122
mov dword [esi + 0x2c], eax
mov dword [eax], eax
mov eax, dword [esi + 0x2c]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x2c]
mov dword [eax + 8], eax
mov ecx, dword [esi + 0x2c]
mov al, 1
mov byte [ecx + 0x14], al
mov edx, dword [esi + 0x2c]
mov byte [edx + 0x15], al
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov word [esi + 0x6c], 0x101
mov byte [esi + 0x6e], bl
mov dword [esi + 0x38], 0x4add3c
mov byte [esi + 0x70], bl
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x10], ebx
call fcn.0046ebd5
push 0x4b6314
lea ecx, [ebp - 0x1c]
push ecx
mov dword [ebp - 0x1c], 0x4a021c
call fcn.00471fd0
int3
Function at 0x4574f0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48e348
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x4c51d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
xor edi, edi
xor eax, eax
cmp dword [ebx + 0x44], edi
je 0x457535
movzx eax, word [ebx + 0x44]
mov ecx, dword [ebx + 0x24]
push eax
push ecx
call dword [sym.imp.USER32.dll_LoadIconW]
mov edx, dword [ebx + 0x24]
xor ecx, ecx
push 0x7f00
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], ecx
push edi
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x50], 0xb
mov dword [ebp - 0x4c], 0x457680
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
cmp dword [ebx + 0x64], 8
lea esi, [ebx + 0x50]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], edi
jb 0x457594
mov eax, dword [esi]
mov dword [ebp - 0x2c], eax
jmp 0x457597
mov dword [ebp - 0x2c], esi
lea ecx, [ebp - 0x50]
push ecx
call dword [sym.imp.USER32.dll_RegisterClassW]
test ax, ax
jne 0x4575ad
xor al, al
jmp 0x45765c
lea eax, [ebx + 0x6c]
mov ecx, 8
cmp dword [eax + 0x14], ecx
jb 0x4575bc
mov eax, dword [eax]
cmp dword [esi + 0x14], ecx
jb 0x4575c3
mov esi, dword [esi]
mov edx, dword [ebx + 0x24]
mov ecx, dword [ebx + 0x28]
push ebx
push edx
mov edx, dword [ebx + 0x3c]
push edi
push ecx
mov ecx, dword [ebx + 0x38]
push edx
mov edx, dword [ebx + 0x34]
push ecx
mov ecx, dword [ebx + 0x30]
push edx
mov edx, dword [ebx + 0x4c]
push ecx
push edx
push eax
mov eax, dword [ebx + 0x48]
push esi
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebx + 0x2c], eax
cmp eax, edi
je 0x45765a
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x457610
call fcn.004577e0
mov ecx, dword [ebx + 0x2c]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
lea edx, [ebp - 0x28]
mov dword [ebp - 0x28], 0x4ae0e8
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], edi
mov eax, dword [0x4cfa0c]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea edx, [ebp - 0x28]
mov ecx, eax
call fcn.00402620
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18]
cmp ecx, edi
je 0x45765a
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
lea eax, [ebp - 0x28]
cmp ecx, eax
setne al
movzx eax, al
push eax
call edx
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046e5d5
mov esp, ebp
pop ebp
ret