Function at 0x412770
Capabilities:
Extract resource via kernel32 functions
Get common file path
Get system information on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x445399
mov eax, dword fs:[0]
push eax
sub esp, 0x2fc
mov eax, dword [0x461008]
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
mov dword [ebp - 0x290], ebx
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x40
push 0x32
call edi
push eax
push 0x31
call edi
mov esi, dword [sym.imp.USER32.dll_LoadImageW]
push eax
push 1
push 0x64
push dword [0x4636f8]
call esi
push 0x40
push 0xc
mov dword [ebx + 0xc], eax
call edi
push eax
push 0xb
call edi
push eax
push 1
push 0x64
push dword [0x4636f8]
call esi
push 0xa
mov dword [ebx + 8], eax
mov esi, dword [0x4636f8]
push 0xc8
push esi
mov dword [ebp - 0x258], 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x41283d
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x41283d
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, eax
call fcn.00419e50
push esi
mov dword [ebp - 0x258], eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 0x258]
xor edi, edi
mov dword [ebx + 0x24], eax
lea eax, [ebp - 0x25c]
push eax
push 0x20119
push edi
push 0x456494
push 0x80000002
mov dword [ebx + 0x28], 0
mov dword [ebp - 0x25c], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, dword [ebp - 0x25c]
test esi, esi
je 0x412944
lea eax, [ebp - 0x258]
mov dword [ebp - 0x258], edi
push eax
push edi
push edi
push edi
push 0x4564f8
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4128e4
push dword [ebp - 0x258]
call fcn.00432432
add esp, 4
mov dword [ebp - 0x28c], eax
test eax, eax
je 0x4128e4
lea ecx, [ebp - 0x258]
push ecx
push eax
push edi
push edi
push 0x4564f8
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4128da
mov edi, dword [ebp - 0x28c]
jmp 0x4128e4
push 0
call fcn.004323fa
add esp, 4
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x412944
cmp word [0x463bf8], 0
jne 0x41290c
push 0x463bf8
push 0
push 0
push 0x23
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push 0x44bdb8
push 0x463bf8
push 0x463e00
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov edx, 0x44b9d8
mov ecx, eax
call fcn.00415ac0
test eax, eax
je 0x41293b
mov ecx, eax
call fcn.00419db0
mov dword [ebx + 0x28], eax
push edi
call fcn.004323fa
add esp, 4
lea eax, [ebp - 0x284]
push eax
push str.hmpalertdialog
push dword [0x4636f8]
call dword [sym.imp.USER32.dll_GetClassInfoW]
test eax, eax
jne 0x412a01
push 0xf
mov dword [ebp - 0x284], eax
mov dword [ebp - 0x280], eax
mov dword [ebp - 0x27c], eax
mov dword [ebp - 0x278], eax
mov dword [ebp - 0x274], eax
mov dword [ebp - 0x270], eax
mov dword [ebp - 0x26c], eax
mov dword [ebp - 0x268], eax
mov dword [ebp - 0x264], eax
mov dword [ebp - 0x260], eax
call dword [sym.imp.USER32.dll_GetSysColorBrush]
push 0x7f00
push 0
mov dword [ebp - 0x268], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [ebp - 0x26c], eax
mov eax, dword [0x4636f8]
mov dword [ebp - 0x274], eax
lea eax, [ebp - 0x284]
push eax
mov dword [ebp - 0x270], 0
mov dword [ebp - 0x280], 0x413da0
mov dword [ebp - 0x260], str.hmpalertdialog
mov dword [ebp - 0x284], 3
call dword [sym.imp.USER32.dll_RegisterClassW]
push 0
lea eax, [ebp - 0x230]
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
cmp word [0x4639d8], 0
jne 0x412a30
push 0x104
push 0x4639d8
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edx, 0x455198
mov ecx, 0x4639d8
call fcn.0040a3e0
mov esi, eax
test esi, esi
jne 0x412a58
push 0x44bba4
call fcn.004319e0
mov esi, eax
add esp, 4
test esi, esi
je 0x412a6c
push 0x2e
push esi
call fcn.004324c4
add esp, 8
test eax, eax
je 0x412a6c
xor ecx, ecx
mov word [eax], cx
mov eax, dword [ebp - 0x228]
mov ecx, 0x65
sub eax, dword [ebp - 0x230]
sub eax, 0x216
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0x230]
mov dword [ebp - 0x288], eax
mov eax, dword [ebp - 0x224]
sub eax, dword [ebp - 0x22c]
sub eax, 0x19f
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0x22c]
mov dword [ebp - 0x25c], eax
call fcn.00416830
mov ecx, dword [0x4622b4]
mov dword [ebp - 0x28c], eax
cmp ecx, 0xffffffff
jne 0x412db7
lea eax, [ebp - 0x254]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov cx, word [ebp - 0x254]
cmp cx, 9
jne 0x412aff
mov dword [0x4622b4], 1
mov dword [ebp - 0x258], str._64_bit_
jmp 0x412b2f
cmp cx, 6
jne 0x412b1b
mov dword [0x4622b4], 1
mov dword [ebp - 0x258], str._64_bit_
jmp 0x412b2f
mov dword [0x4622b4], 0
mov dword [ebp - 0x258], 0x44bba4
mov edx, str.SpecialBuild
mov ecx, 0x4639d8
call fcn.0040a3e0
mov edi, eax
test edi, edi
jne 0x412b53
push 0x44bba4
call fcn.004319e0
add esp, 4
mov edi, eax
push dword [ebp - 0x28c]
lea eax, [ebp - 0x210]
push 0x100
push eax
call fcn.0043256a
mov ecx, esi
add esp, 0xc
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x412b72
sub ecx, edx
sar ecx, 1
je 0x412bb1
push 0x455fd4
lea eax, [ebp - 0x210]
push 0x100
push eax
call fcn.004325c6
add esp, 0xc
lea eax, [ebp - 0x210]
push esi
push 0x100
push eax
call fcn.004325c6
add esp, 0xc
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x412bb6
sub ecx, edx
sar ecx, 1
je 0x412bf5
push 0x456324
lea eax, [ebp - 0x210]
push 0x100
push eax
call fcn.004325c6
add esp, 0xc
lea eax, [ebp - 0x210]
push edi
push 0x100
push eax
call fcn.004325c6
add esp, 0xc
mov ecx, dword [ebp - 0x258]
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x412c00
sub ecx, edx
sar ecx, 1
je 0x412c44
push 0x455fd4
lea eax, [ebp - 0x210]
push 0x100
push eax
call fcn.004325c6
add esp, 0xc
lea eax, [ebp - 0x210]
push dword [ebp - 0x258]
push 0x100
push eax
call fcn.004325c6
add esp, 0xc
push esi
call fcn.004323fa
add esp, 4
push edi
call fcn.004323fa
add esp, 4
xor dl, dl
mov ecx, 8
push 0
call fcn.00415030
add esp, 4
mov dword [ebx + 0x10], eax
mov dl, 1
mov ecx, 8
push 0
call fcn.00415030
add esp, 4
mov dword [ebx + 0x14], eax
lea eax, [ebp - 0x210]
push ebx
push dword [0x4636f8]
push 0
push 0
push 0x19f
push 0x216
push dword [ebp - 0x25c]
push dword [ebp - 0x288]
push 0xc80000
push eax
push str.hmpalertdialog
push 1
call dword [sym.imp.USER32.dll_CreateWindowExW]
lea ecx, [ebp - 0x220]
mov dword [ebx + 0x18], eax
push ecx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov ebx, dword [ebp - 0x220]
lea eax, [ebp - 0x220]
mov edi, dword [ebp - 0x21c]
sub ebx, dword [ebp - 0x218]
sub edi, dword [ebp - 0x214]
add ebx, 0x210
push eax
mov eax, dword [ebp - 0x290]
add edi, 0x1c8
push dword [eax + 0x18]
call dword [sym.imp.USER32.dll_GetWindowRect]
sub ebx, dword [ebp - 0x220]
add ebx, dword [ebp - 0x218]
mov eax, dword [ebp - 0x228]
sub eax, dword [ebp - 0x230]
sub edi, dword [ebp - 0x21c]
sub eax, ebx
add edi, dword [ebp - 0x214]
cdq
sub eax, edx
mov esi, eax
mov eax, dword [ebp - 0x224]
sub eax, dword [ebp - 0x22c]
sub eax, edi
sar esi, 1
add esi, dword [ebp - 0x230]
push 0
cdq
push edi
sub eax, edx
push ebx
mov ebx, dword [ebp - 0x290]
sar eax, 1
add eax, dword [ebp - 0x22c]
push eax
push esi
push 0
push dword [ebx + 0x18]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 1
push dword [ebx + 0x10]
push 0x30
push dword [ebx + 0x18]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0xbc
call fcn.0043198f
mov esi, eax
add esp, 4
mov dword [ebp - 0x288], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x412dce
push 0xbc
push 0
push esi
call fcn.0043cf50
add esp, 0xc
mov ecx, esi
push dword [ebx + 0x18]
sub esp, 0xc
push 0x5c
call fcn.0040bd40
jmp 0x412dd0
test ecx, ecx
je 0x412b25
mov dword [ebp - 0x258], str._64_bit_
jmp 0x412b2f
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov ecx, eax
push 0x2f9531
mov dword [ebx + 0x3c], eax
call fcn.0040c020
push 7
xor eax, eax
mov dword [ebp - 0x2ac], 7
push str.Browser
lea ecx, [ebp - 0x2c0]
mov dword [ebp - 0x2b0], 0
mov word [ebp - 0x2c0], ax
call fcn.00404220
mov dword [ebp - 4], 1
lea eax, [ebp - 0x2c0]
mov esi, dword [ebx + 0x3c]
lea ecx, [esi + 0x78]
cmp ecx, eax
je 0x412e36
push 0xffffffffffffffff
push 0
push eax
call fcn.00403f40
mov ecx, esi
call fcn.0040c100
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x2ac], 8
jb 0x412e5b
push dword [ebp - 0x2c0]
call fcn.0043198a
add esp, 4
mov ecx, 0x44dc70
call fcn.00419e50
mov esi, dword [ebx + 0x3c]
mov edi, eax
mov ecx, dword [esi + 0x70]
test ecx, ecx
je 0x412e77
mov edx, dword [ecx]
push 1
call dword [edx]
mov ecx, esi
mov dword [esi + 0x70], edi
call fcn.0040c100
push 0xbc
call fcn.0043198f
mov esi, eax
add esp, 4
mov dword [ebp - 0x288], esi
mov dword [ebp - 4], 2
test esi, esi
je 0x412ec5
push 0xbc
push 0
push esi
call fcn.0043cf50
add esp, 0xc
mov ecx, esi
push dword [ebx + 0x18]
sub esp, 0xc
push 0xad
call fcn.0040bd40
jmp 0x412ec7
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov ecx, eax
push 0x2f9531
mov dword [ebx + 0x40], eax
call fcn.0040c020
push 6
xor eax, eax
mov dword [ebp - 0x2c4], 7
push str.Botnet
lea ecx, [ebp - 0x2d8]
mov dword [ebp - 0x2c8], 0
mov word [ebp - 0x2d8], ax
call fcn.00404220
mov dword [ebp - 4], 3
lea eax, [ebp - 0x2d8]
mov esi, dword [ebx + 0x40]
lea ecx, [esi + 0x78]
cmp ecx, eax
je 0x412f2d
push 0xffffffffffffffff
push 0
push eax
call fcn.00403f40
mov ecx, esi
call fcn.0040c100
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x2c4], 8
jb 0x412f52
push dword [ebp - 0x2d8]
call fcn.0043198a
add esp, 4
mov ecx, 0x44d868
call fcn.00419e50
mov esi, dword [ebx + 0x40]
mov edi, eax
mov ecx, dword [esi + 0x70]
test ecx, ecx
je 0x412f6e
mov edx, dword [ecx]
push 1
call dword [edx]
mov ecx, esi
mov dword [esi + 0x70], edi
call fcn.0040c100
push 0xbc
call fcn.0043198f
mov esi, eax
add esp, 4
mov dword [ebp - 0x288], esi
mov dword [ebp - 4], 4
test esi, esi
je 0x412fbc
push 0xbc
push 0
push esi
call fcn.0043cf50
add esp, 0xc
mov ecx, esi
push dword [ebx + 0x18]
sub esp, 0xc
push 0xfe
call fcn.0040bd40
jmp 0x412fbe
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov ecx, eax
push 0x296ae4
mov dword [ebx + 0x44], eax
call fcn.0040c020
mov ecx, 0x1a4
call fcn.00416830
mov edx, eax
mov dword [ebp - 0x2f4], 7
xor eax, eax
mov dword [ebp - 0x2f8], 0
mov word [ebp - 0x308], ax
cmp word [edx], ax
jne 0x413006
xor ecx, ecx
jmp 0x41301f
mov ecx, edx
lea esi, [ecx + 2]
jmp 0x413010
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x413010
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x308]
call fcn.00404220
mov dword [ebp - 4], 5
lea eax, [ebp - 0x308]
mov esi, dword [ebx + 0x44]
lea ecx, [esi + 0x78]
cmp ecx, eax
je 0x41304d
push 0xffffffffffffffff
push 0
push eax
call fcn.00403f40
mov ecx, esi
call fcn.0040c100
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x2f4], 8
jb 0x413072
push dword [ebp - 0x308]
call fcn.0043198a
add esp, 4
mov ecx, 0x44d628
call fcn.00419e50
mov esi, dword [ebx + 0x44]
mov edi, eax
mov ecx, dword [esi + 0x70]
test ecx, ecx
je 0x41308e
mov edx, dword [ecx]
push 1
call dword [edx]
mov ecx, esi
mov dword [esi + 0x70], edi
call fcn.0040c100
push 0xbc
call fcn.0043198f
mov esi, eax
add esp, 4
mov dword [ebp - 0x288], esi
mov dword [ebp - 4], 6
test esi, esi
je 0x4130dc
push 0xbc
push 0
push esi
call fcn.0043cf50
add esp, 0xc
mov ecx, esi
push dword [ebx + 0x18]
sub esp, 0xc
push 0x14f
call fcn.0040bd40
jmp 0x4130de
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov ecx, eax
push 0x666666
mov dword [ebx + 0x48], eax
call fcn.0040c020
push 0xb
xor eax, eax
mov dword [ebp - 0x2dc], 7
push 0x44ba68
lea ecx, [ebp - 0x2f0]
mov dword [ebp - 0x2e0], 0
mov word [ebp - 0x2f0], ax
call fcn.00404220
mov dword [ebp - 4], 7
lea eax, [ebp - 0x2f0]
mov esi, dword [ebx + 0x48]
lea ecx, [esi + 0x78]
cmp ecx, eax
je 0x413144
push 0xffffffffffffffff
push 0
push eax
call fcn.00403f40
mov ecx, esi
call fcn.0040c100
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x2dc], 8
jb 0x413169
push dword [ebp - 0x2f0]
call fcn.0043198a
add esp, 4
mov ecx, 0x44d2c8
call fcn.00419e50
mov esi, dword [ebx + 0x48]
mov edi, eax
mov ecx, dword [esi + 0x70]
test ecx, ecx
je 0x413185
mov edx, dword [ecx]
push 1
call dword [edx]
mov ecx, esi
mov dword [esi + 0x70], edi
call fcn.0040c100
push 0xbc
call fcn.0043198f
mov esi, eax
add esp, 4
mov dword [ebp - 0x288], esi
mov dword [ebp - 4], 8
test esi, esi
je 0x4131d3
push 0xbc
push 0
push esi
call fcn.0043cf50
add esp, 0xc
mov ecx, esi
push dword [ebx + 0x18]
sub esp, 0xc
push 0x1a0
call fcn.0040bd40
jmp 0x4131d5
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov ecx, eax
push 0x666666
mov dword [ebx + 0x4c], eax
call fcn.0040c020
push 3
xor eax, eax
mov dword [ebp - 0x294], 7
push 0x45634c
lea ecx, [ebp - 0x2a8]
mov dword [ebp - 0x298], 0
mov word [ebp - 0x2a8], ax
call fcn.00404220
mov dword [ebp - 4], 9
lea eax, [ebp - 0x2a8]
mov esi, dword [ebx + 0x4c]
lea ecx, [esi + 0x78]
cmp ecx, eax
je 0x41323b
push 0xffffffffffffffff
push 0
push eax
call fcn.00403f40
mov ecx, esi
call fcn.0040c100
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x294], 8
jb 0x413260
push dword [ebp - 0x2a8]
call fcn.0043198a
add esp, 4
xor eax, eax
mov dword [ebp - 0x294], 7
mov ecx, 0x44d0c0
mov dword [ebp - 0x298], 0
mov word [ebp - 0x2a8], ax
call fcn.00419e50
mov esi, dword [ebx + 0x4c]
mov edi, eax
mov ecx, dword [esi + 0x70]
test ecx, ecx
je 0x413299
mov edx, dword [ecx]
push 1
call dword [edx]
mov ecx, esi
mov dword [esi + 0x70], edi
call fcn.0040c100
mov eax, dword [ebx + 0x4c]
push 1
push 0
push 0
push dword [eax + 0x1c]
mov byte [eax + 0x18], 0
call dword [sym.imp.USER32.dll_RedrawWindow]
push 0
push dword [0x4636f8]
push 0
push dword [ebx + 0x18]
push 0x36
push 0x188
push 0xca
push 0x5c
push 0x4000000d
push 0
push 0x455924
push 0x20
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0
xor dl, dl
mov dword [ebx + 0x54], eax
mov ecx, 8
call fcn.00415030
add esp, 4
push 1
push eax
push 0x30
push dword [ebx + 0x54]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, 0x12c
call fcn.00416830
mov ecx, 0x12d
mov esi, eax
call fcn.00416830
mov dword [ebp - 0x288], eax
lea eax, [ebp - 0x220]
push eax
push dword [ebx + 0x18]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x290]
mov edi, dword [ebp - 0x214]
push 0
push dword [0x4636f8]
mov ebx, dword [ebp - 0x218]
add edi, 0xffffffdf
sub ebx, dword [ebp - 0x220]
push 0
push dword [eax + 0x18]
push 0x19
push 0x64
push edi
push 0x15
push 0x50010300
push esi
push 0x456354
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, dword [ebp - 0x290]
push 0
mov dword [esi + 0x1c], eax
lea eax, [ebx - 0x79]
push dword [0x4636f8]
push 0
push dword [esi + 0x18]
push 0x19
push 0x64
push edi
push eax
push 0x50010300
push dword [ebp - 0x288]
push 0x456354
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 1
push dword [esi + 0x10]
mov dword [esi + 0x20], eax
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0x30
push dword [esi + 0x1c]
call ebx
push 1
push dword [esi + 0x10]
push 0x30
push dword [esi + 0x20]
call ebx
mov ecx, 0x15e
call fcn.00416830
push 0x5c
mov ebx, eax
call fcn.0043198f
mov edi, eax
add esp, 4
mov dword [ebp - 0x288], edi
mov dword [ebp - 4], 0xa
test edi, edi
je 0x413417
push 0x5c
push 0
push edi
call fcn.0043cf50
add esp, 0xc
push dword [esi + 0x18]
push ecx
push ebx
sub esp, 0x10
mov ecx, edi
call fcn.0041bde0
jmp 0x413419
xor eax, eax
mov dword [ebp - 4], 0xffffffff
push 0x40
mov dword [esi + 0x58], eax
call fcn.0043198f
mov edi, eax
add esp, 4
mov dword [ebp - 0x288], edi
mov dword [ebp - 4], 0xb
test edi, edi
je 0x413459
push 0x40
push 0
push edi
call fcn.0043cf50
add esp, 4
mov ecx, edi
push dword [esi + 0x18]
call fcn.004107d0
jmp 0x41345b
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov ecx, 0x168
mov dword [esi + 0x5c], eax
call fcn.00416830
mov ecx, 0x169
mov dword [esi + 0x60], eax
call fcn.00416830
mov ecx, 0xe1
mov dword [esi + 0x64], eax
call fcn.00416830
mov ecx, dword [esi + 0x60]
mov edx, eax
mov dword [esi + 0x84], edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x413497
sub ecx, edi
sar ecx, 1
mov dword [esi + 0x68], ecx
mov ecx, dword [esi + 0x64]
lea edi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4134b0
sub ecx, edi
lea edi, [edx + 2]
sar ecx, 1
mov dword [esi + 0x6c], ecx
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4134c5
sub edx, edi
mov dword [esi + 0x70], 0
sar edx, 1
mov ecx, esi
mov dword [esi + 0x88], edx
mov dword [esi + 0x74], 0
call fcn.00413510
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.0043183b
mov esp, ebp
pop ebp
ret