joyce8/EMBER2024-capa huggingface dataset:
Function at 0x489af0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x1c], 0
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, ecx
mov dword [ebp + 0x10], 1
jne 0x489b35
mov ebx, dword [ebp + 0xc]
mov edx, 1
cmp ebx, 0x110
jne 0x489b3e
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x14]
push edi
push ebx
call fcn.00449ea0
cmp dword [ebp + 0x10], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
jne 0x489cb5
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 0x18
cmp ebx, 2
jne 0x489b53
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x14]
push edi
push ebx
call fcn.00449e80
jmp 0x489b26
cmp ebx, 0x111
jne 0x489bef
movzx eax, di
mov ecx, eax
cmp dx, ax
mov dword [ebp + 0xc], ecx
mov eax, edi
jne 0x489bc6
lea ecx, [ebp + 0x10]
shr eax, 0x10
push ecx
push dword [ebp + 0x14]
mov ecx, esi
mov dword [ebp + 0x1c], eax
push 1
push eax
call fcn.0041c950
cmp dword [ebp + 0x10], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
jne 0x489cb5
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0xc]
movzx eax, ax
mov edx, 0x9c68
movzx eax, ax
cmp dx, cx
jne 0x489bef
lea ecx, [ebp + 0x10]
mov dword [ebp + 0x10], 1
push ecx
push dword [ebp + 0x14]
mov ecx, esi
push edx
push eax
call fcn.00449e50
jmp 0x489b26
mov edx, 2
shr eax, 0x10
cmp dx, cx
jne 0x489b9d
lea ecx, [ebp + 0x10]
mov dword [ebp + 0x10], 1
push ecx
push dword [ebp + 0x14]
mov ecx, esi
push edx
push eax
call fcn.0041c950
jmp 0x489b26
lea edx, [esi + 0x20]
cmp ebx, 5
jne 0x489c88
xor eax, eax
test edx, edx
cmove esi, eax
cmp byte [edx + 0x1c], al
je 0x489c66
push 0xe801
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x489c66
cmp edi, 2
jne 0x489c42
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [esi + 0x20]
call fcn.00440cb0
mov eax, dword [ebp + 0x18]
pop edi
pop esi
mov dword [eax], 0
lea eax, [ebx - 4]
pop ebx
pop ebp
ret 0x18
test edi, edi
jne 0x489c66
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [esi + 0x20]
call fcn.00440cb0
mov eax, dword [ebp + 0x18]
mov dword [eax], edi
lea eax, [edi + 1]
pop edi
pop esi
pop ebx
pop ebp
ret 0x18
cmp edi, 1
je 0x489cac
lea ecx, [esi + 0x20]
call fcn.00440cb0
mov eax, dword [ebp + 0x18]
pop edi
pop esi
pop ebx
mov dword [eax], 0
mov eax, 1
pop ebp
ret 0x18
cmp ebx, 0x24
jne 0x489b35
cmp dword [edx + 0x14], 0xffffffff
je 0x489cac
cmp dword [edx + 0x18], 0xffffffff
je 0x489cac
mov eax, dword [ebp + 0x14]
mov ecx, dword [edx + 0x14]
mov edx, dword [edx + 0x18]
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], edx
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret 0x18
Function at 0x48a8e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x513b94]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
push 0x2c
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x30]
push 0
push eax
call fcn.004a3e00
add esp, 0xc
mov dword [ebp - 0x48], 0x2c
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x30]
push eax
push 0
push 0
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x48aa6c
cmp dword [ebp - 0x30], 0x2c
jne 0x48aa6c
mov esi, dword [ebp - 0x44]
push ebx
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ebx, eax
mov eax, dword [ebp - 0x28]
sub eax, 2
je 0x48a965
sub eax, 1
jne 0x48a97b
and ebx, 0xdfffffff
or ebx, 0x1000000
jmp 0x48a971
and ebx, 0xfeffffff
or ebx, 0x20000000
push ebx
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_SetWindowLongW]
lea eax, [ebp - 0x40]
shr ebx, 0x12
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edi, dword [ebp - 0x10]
mov edx, dword [ebp - 0x34]
mov esi, dword [ebp - 0x38]
mov eax, dword [ebp - 0x40]
and bl, 1
je 0x48a9ab
mov ecx, esi
sub ecx, eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
cmp eax, ecx
jge 0x48a9b7
mov eax, dword [ebp - 0x40]
sub esi, eax
add esi, dword [ebp - 0x14]
mov dword [ebp - 0xc], esi
test bl, bl
je 0x48a9c9
mov eax, dword [ebp - 8]
mov ecx, edx
mov esi, dword [ebp - 0x3c]
sub eax, edi
sub ecx, esi
cmp eax, ecx
jge 0x48a9d3
jmp 0x48a9cc
mov esi, dword [ebp - 0x3c]
sub edx, esi
add edx, edi
mov dword [ebp - 8], edx
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x4c
call edi
push 0x4d
mov ebx, eax
call edi
push 0x4e
mov dword [ebp - 0x4c], eax
call edi
push 0x4c
mov esi, eax
call edi
push 0x4f
lea ecx, [esi + eax]
mov dword [ebp - 0x50], ecx
call edi
push 0x4d
mov esi, eax
call edi
mov ecx, dword [ebp - 8]
add eax, esi
mov esi, dword [sym.imp.USER32.dll_OffsetRect]
cmp ecx, eax
jle 0x48aa1a
sub eax, ecx
push eax
push 0
lea eax, [ebp - 0x14]
push eax
call esi
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x4c]
cmp ecx, eax
jge 0x48aa2f
sub eax, ecx
push eax
push 0
lea eax, [ebp - 0x14]
push eax
call esi
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x50]
cmp ecx, eax
jle 0x48aa44
push 0
sub eax, ecx
push eax
lea eax, [ebp - 0x14]
push eax
call esi
mov eax, dword [ebp - 0x14]
cmp eax, ebx
jge 0x48aa56
push 0
sub ebx, eax
lea eax, [ebp - 0x14]
push ebx
push eax
call esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x28], 0
push eax
mov eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.USER32.dll_SetWindowPlacement]
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004a0e13
mov esp, ebp
pop ebp
ret
Function at 0x4932e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x513b94]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x518fb8]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x238], ecx
mov dword [ebp - 0x23c], edx
push ebx
mov ebx, dword [ebp + 0x18]
mov dword [ebp - 0x234], ebx
push esi
test eax, eax
jne 0x4934a2
mov dword [ebp - 0x230], 0x4f0964
mov dword [ebp - 0x22c], 0x493520
mov dword [ebp - 0x228], 0x4f0970
mov dword [ebp - 0x224], 0x4938a0
mov dword [ebp - 0x220], 0x4f097c
mov dword [ebp - 0x21c], 0x4934d0
cmp dword [0x518fb4], eax
jne 0x493498
push 0x104
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x493482
push edi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x110]
push 0x10c
push eax
call fcn.004b88a8
push 0x4f098c
lea eax, [ebp - 0x110]
push 0x10c
push eax
call fcn.004b8902
add esp, 0x18
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edi, eax
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
test edi, edi
je 0x4933df
push 0x4f0964
push edi
call ebx
test eax, eax
jne 0x493434
push edi
call esi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x110]
push 0x10c
push eax
call fcn.004b88a8
push 0x4f0994
lea eax, [ebp - 0x110]
push 0x10c
push eax
call fcn.004b8902
add esp, 0x18
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x49347b
push 0x4f0964
push edi
call ebx
test eax, eax
jne 0x493434
push edi
call esi
jmp 0x49347b
xor esi, esi
push dword [ebp + esi*8 - 0x230]
push edi
call ebx
mov dword [ebp + esi*8 - 0x22c], eax
test eax, eax
je 0x493474
inc esi
cmp esi, 3
jl 0x493436
mov eax, dword [ebp - 0x22c]
mov dword [0x513b78], eax
mov eax, dword [ebp - 0x224]
mov dword [0x513b80], eax
mov eax, dword [ebp - 0x21c]
mov dword [0x513b88], eax
jmp 0x49347b
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ebx, dword [ebp - 0x234]
pop edi
mov ecx, dword [ebp - 0x238]
mov edx, dword [ebp - 0x23c]
mov dword [0x518fb4], 1
mov eax, dword [0x513b80]
mov dword [0x518fb8], eax
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push ebx
push dword [ebp + 0x14]
push edx
push dword [ebp + 0xc]
push ecx
call eax
mov esi, eax
push esi
call dword [sym.imp.WS2_32.dll_WSASetLastError]
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a0e13
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x493ae0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x820
mov eax, dword [0x513b94]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0x1c]
lea eax, [ebp - 0x408]
push edi
mov edi, dword [ebp + 8]
push 0x401
push 0
push eax
mov dword [ebp - 0x820], edi
mov dword [ebp - 0x814], esi
mov dword [ebp - 0x818], 0
call fcn.004a3e00
push 0x401
lea eax, [ebp - 0x80c]
push 0
push eax
call fcn.004a3e00
push 0x400
push edi
lea eax, [ebp - 0x408]
push 0x401
lea ebx, [ebp - 0x80c]
mov dword [ebp - 0x81c], eax
push eax
mov dword [ebp - 0x810], ebx
call fcn.004b8867
add esp, 0x28
nop dword [eax]
nop dword [eax + eax]
push dword [ebp - 0x820]
mov edi, esi
mov dword [esi], 0
mov byte [ebx], 0
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov ebx, eax
test ebx, ebx
je 0x493cc6
cmp word [ebx + 8], 2
jne 0x493bce
cmp word [ebx + 0xa], 4
jne 0x493bce
mov esi, dword [ebx + 0xc]
mov eax, dword [esi]
test eax, eax
je 0x493bce
push dword [eax]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.00493d10
mov dword [edi], eax
test eax, eax
je 0x493cbf
add esi, 4
lea edi, [eax + 0x1c]
mov eax, dword [esi]
test eax, eax
jne 0x493ba8
push 0x400
push dword [ebx]
mov ebx, dword [ebp - 0x810]
push 0x401
push ebx
call fcn.004b8867
mov eax, dword [ebp - 0x814]
xor esi, esi
add esp, 0x10
cmp dword [eax], esi
jne 0x493c72
mov ecx, ebx
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x493c00
sub ecx, edx
je case.0x493cd6.11003
mov edi, dword [ebp - 0x81c]
mov ecx, ebx
mov eax, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x493c35
test dl, dl
je 0x493c31
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x493c35
add eax, 2
add ecx, 2
test dl, dl
jne 0x493c15
xor eax, eax
jmp 0x493c3a
sbb eax, eax
or eax, 1
test eax, eax
je case.0x493cd6.11003
mov esi, dword [ebp - 0x818]
inc esi
mov dword [ebp - 0x818], esi
cmp esi, 0x10
je case.0x493cd6.11003
mov esi, dword [ebp - 0x814]
mov eax, edi
mov dword [ebp - 0x81c], ebx
mov ebx, eax
mov dword [ebp - 0x810], ebx
jmp 0x493b70
mov esi, 0x2afb
jmp 0x493ce9
cmp dword [ebp + 0x18], esi
je 0x493ce9
mov ecx, ebx
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x493c80
sub ecx, edx
lea ebx, [ecx + 1]
push ebx
push 1
call fcn.004aeb56
mov edi, eax
add esp, 8
test edi, edi
je 0x493cad
push dword [ebp - 0x810]
push ebx
push edi
call fcn.004b88a8
add esp, 0xc
mov ecx, dword [ebp - 0x814]
mov eax, dword [ecx]
mov dword [eax + 0x14], edi
mov eax, dword [ecx]
cmp dword [eax + 0x14], esi
jne 0x493ce9
mov esi, 8
jmp 0x493ce9
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
add eax, 0xffffd507
cmp eax, 3
ja case.0x493cd6.11001
jmp dword [eax*4 + 0x493d00]
mov esi, 0x2afa
jmp 0x493ce9
mov esi, 0x2af9
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a0e13
mov esp, ebp
pop ebp
ret 0x18
Function at 0x4958e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi]
test eax, eax
je 0x495962
mov edi, dword [ebp + 8]
lea ecx, [ebp - 4]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push ecx
push 0
push 0
push 0
push edi
push eax
mov dword [ebp - 4], 0
call ebx
test eax, eax
jne 0x495981
push dword [ebp - 4]
call fcn.004a12e6
add esp, 4
mov dword [ebp + 8], eax
lea ecx, [ebp - 4]
push ecx
push eax
push 0
push 0
push edi
push dword [esi]
call ebx
push dword [ebp - 4]
mov esi, dword [ebp + 8]
push esi
call fcn.0049c710
mov edi, dword [ebp + 0xc]
add esp, 8
mov ebx, eax
mov ecx, dword [edi]
test ecx, ecx
je 0x49594c
call fcn.0049c750
push esi
mov dword [edi], ebx
call fcn.004a0e5f
add esp, 4
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [esi + 4]
test eax, eax
je 0x495981
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
call fcn.004951e0
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x495990
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d434d
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x513b94]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ecx]
test eax, eax
je 0x4959ea
lea ecx, [ebp + 0x10]
push ecx
push dword [ebp + 0xc]
push 0
push 0
push dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
sete al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ecx + 4]
test eax, eax
je 0x495a7e
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
push ecx
push dword [ebp + 8]
push eax
call fcn.004951e0
mov esi, dword [ebp - 0x10]
add esp, 0xc
test al, al
je 0x495a54
test esi, esi
je 0x495a3f
mov ecx, esi
call fcn.00471ab0
mov ecx, esi
mov edi, eax
call fcn.0049c670
push edi
push eax
push dword [ebp + 0xc]
call fcn.004a4660
add esp, 0xc
mov bl, 1
jmp 0x495a56
xor edi, edi
xor eax, eax
push edi
push eax
push dword [ebp + 0xc]
call fcn.004a4660
add esp, 0xc
mov bl, 1
jmp 0x495a56
xor bl, bl
mov dword [ebp - 4], 2
test esi, esi
je 0x495a68
mov ecx, esi
call fcn.0049c750
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x496380
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi], 0
je 0x4963ce
mov edi, dword [ebp + 0x10]
mov ecx, dword [edi]
test ecx, ecx
je 0x49639f
call fcn.00471ab0
mov ebx, eax
jmp 0x4963a1
xor ebx, ebx
mov ecx, dword [edi]
test ecx, ecx
je 0x4963ae
call fcn.0049c670
jmp 0x4963b0
xor eax, eax
push ebx
push eax
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
test eax, eax
pop esi
sete al
pop ebx
pop ebp
ret 0xc
cmp dword [esi + 4], 0
je 0x49640e
mov edi, dword [ebp + 0x10]
mov ecx, dword [edi]
test ecx, ecx
je 0x4963e6
call fcn.00471ab0
mov ebx, eax
jmp 0x4963e8
xor ebx, ebx
mov ecx, dword [edi]
test ecx, ecx
je 0x4963f5
call fcn.0049c670
jmp 0x4963f7
xor eax, eax
push ebx
push eax
push dword [ebp + 8]
push dword [esi + 4]
call fcn.004952f0
add esp, 0x10
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret 0xc

Function at 0x496420
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
test ecx, ecx
je 0x496447
push 4
lea eax, [ebp + 0x10]
push eax
push 4
push 0
push dword [ebp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
sete al
pop ebp
ret
mov eax, dword [eax + 4]
test eax, eax
je 0x496462
push 4
lea ecx, [ebp + 0x10]
push ecx
push dword [ebp + 0xc]
push eax
call fcn.004952f0
add esp, 0x10
pop ebp
ret
xor al, al
pop ebp
ret
Function at 0x498cf0
Capabilities:
Get system information on windows
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
push edi
lea eax, [ebp - 0x24]
mov esi, ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 8]
neg eax
cdq
and edx, dword [esi + 0x25c]
mov edi, eax
and edi, dword [esi + 0x258]
mov eax, dword [esi + 0x3c8]
sub eax, edi
push eax
push edi
push edx
push 4
push dword [esi + 0x3c4]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ecx, eax
mov dword [esi + 0x550], ecx
test ecx, ecx
jne 0x498d4b
mov dword [esi + 0x554], eax
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x258]
sub ecx, edi
add eax, ecx
lea ecx, [esi + 0x4ec]
push eax
mov dword [esi + 0x554], eax
call fcn.0047c620
mov eax, dword [esi + 0x260]
lea ecx, [esi + 0x4b8]
sub eax, dword [esi + 0x258]
add eax, dword [esi + 0x554]
push eax
call fcn.00421260
mov eax, dword [esi + 0x268]
lea ecx, [esi + 0x51c]
sub eax, dword [esi + 0x258]
add eax, dword [esi + 0x554]
push eax
call fcn.00450280
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x49e4c0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d4d67
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x513b94]
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 esi, ecx
mov dword [ebp - 0x80], esi
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
test ebx, ebx
je 0x49e689
xorps xmm0, xmm0
mov dword [ebp - 0x88], 0
push 0x7f89
push 0
movlpd qword [ebp - 0xa8], xmm0
movlpd qword [ebp - 0xa0], xmm0
mov dword [ebp - 0xb4], 0x30
mov dword [ebp - 0xb0], 3
mov dword [ebp - 0xac], 0x49e1c0
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [ebp - 0x98], eax
lea eax, [ebp - 0xb4]
push eax
mov dword [ebp - 0x94], 0x10
mov dword [ebp - 0x8c], 0x4f28e8
mov dword [ebp - 0x90], 0
call dword [sym.imp.USER32.dll_RegisterClassExW]
push 0
push 0
push 0x31
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp - 0x7c]
mov dword [esi + 4], eax
push ecx
push 0x5c
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
lea eax, [ebp - 0x7c]
mov byte [ebp - 0x67], 1
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov dword [esi + 8], eax
mov dword [esi + 0xc], ebx
mov byte [esi], 0
test edi, edi
je 0x49e5bd
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x49e5bd
cmp dword [ecx], edi
je 0x49e61e
lea ecx, [esi + 0x10]
call fcn.00402620
push 0xc
call fcn.004a0e21
mov esi, eax
add esp, 4
mov dword [ebp - 0x84], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x49e607
push edi
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi], eax
test eax, eax
jne 0x49e609
test edi, edi
jne 0x49e6a7
jmp 0x49e609
xor esi, esi
mov eax, dword [ebp - 0x80]
mov dword [ebp - 4], 0xffffffff
mov dword [eax + 0x10], esi
test esi, esi
je 0x49e6b1
push 0
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edi, dword [sym.imp.USER32.dll_GetParent]
lea eax, [ebp - 0x20]
push 2
push eax
push ebx
call edi
push eax
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push ebx
mov esi, eax
call edi
push dword [ebp - 0x80]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
push esi
push 0
push eax
mov eax, dword [ebp - 0x14]
sub eax, edx
push eax
mov eax, dword [ebp - 0x18]
sub eax, ecx
push eax
push edx
push ecx
push 0x50000000
push 0x4dd79c
push 0x4f28e8
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
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.004a0e13
mov esp, ebp
pop ebp
ret 8
push 0x8007000e
call fcn.004a2850
push 0x8007000e
call fcn.004a2850
int3
Function at 0x49e6c0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x513b94]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
push 0x5194c8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x519458], esi
je 0x49e73a
cmp dword [0x519464], esi
je 0x49e73a
push 0x12237
call dword [0x51946c]
mov eax, dword [0x519458]
push esi
push esi
push edi
call eax
cmp dword [0x5194b0], 0
mov esi, eax
je 0x49e73a
push 0x400
lea eax, [ebp - 0x804]
push eax
push 0x4f2c34
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea eax, [ebp - 0x804]
push eax
push edi
call dword [0x5194b0]
push 0x5194c8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 4]
test esi, esi
pop edi
setne al
xor ecx, ebp
pop esi
call fcn.004a0e13
mov esp, ebp
pop ebp
ret
Function at 0x4a07b0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
lea eax, [ebp - 4]
xor bl, bl
push eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
je 0x4a0837
push esi
push edi
call fcn.004ae112
add esp, 4
mov esi, eax
push esi
push edi
push 0
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4a082d
push 0x4f30d4
push esi
call fcn.004a0910
mov ecx, dword [ebp + 0x14]
add esp, 8
push eax
call fcn.0049c0a0
push 0x4dfe4c
push esi
call fcn.004a0910
mov ecx, dword [ebp + 0x10]
add esp, 8
push eax
call fcn.0049c0a0
push 0x4ddedc
push esi
call fcn.004a0910
mov ecx, dword [ebp + 0xc]
add esp, 8
push eax
call fcn.0049c0a0
mov bl, 1
push esi
call fcn.004ae0f7
add esp, 4
pop esi
pop edi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4a20b4
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4a20f3
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4a20f3
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4a20f3
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4a20f3
cmp dword [ecx + 0x74], 0xe
jbe 0x4a20f3
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x4be1af
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4f78c4
push 0x4f78bc
push 0x4f4bb8
push 0x1f
call fcn.004be056
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4be1e3
push dword [ebp + 8]
mov ecx, esi
call dword [0x4d68b0]
call esi
jmp 0x4be1e9
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x4be22d
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4f78d4
push 0x4f78cc
push 0x4f4bdc
push 0x21
call fcn.004be056
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4be264
push dword [ebp + 8]
mov ecx, esi
call dword [0x4d68b0]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x4be26c
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4f78dc
push 0x4f78d4
push 0x4f4bf0
push 0x22
call fcn.004be056
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4be2a6
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x4d68b0]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]