Function at 0x4243e0
Capabilities:
Get geographical location
Get keyboard layout
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push reloc.kernel32.dll_FileTimeToLocalFileTime
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x52bd60]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
push esi
push edi
mov eax, dword [0x52bd60]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
mov dword [esp + 0x68], ecx
mov ebx, dword [esp + 0x74]
and ebx, 0xfffffe00
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], 0
push 0
mov dword [esp + 0xb4], 1
mov edi, dword [sym.imp.USER32.dll_GetKeyboardLayoutList]
push 0
call edi
mov esi, eax
test esi, esi
jne 0x424786
mov eax, dword [0x52b6d0]
mov ecx, 0x52b6d0
call dword [eax + reloc.kernel32.dll_AssignProcessToJobObject]
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0xb0], 2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x18]
push str.getkeybordLayout_error_GetKeyboardLayoutList_check_
push eax
call fcn.00404c00
mov eax, dword [0x52b6d0]
add esp, 0xc
mov ecx, 0x52b6d0
call dword [eax + reloc.kernel32.dll_AssignProcessToJobObject]
add eax, 0x10
mov dword [esp + 0x18], eax
mov eax, str.getkeybordLayout
mov byte [esp + 0xb0], 3
test eax, 0xffff0000
jne 0x4244d3
movzx esi, ax
mov ecx, esi
call fcn.00405530
test eax, eax
je 0x4244e3
push esi
push eax
lea ecx, [esp + 0x20]
call fcn.00404a70
jmp 0x4244e3
push reloc.kernel32.dll_GetUserDefaultLangID
push str.getkeybordLayout
lea ecx, [esp + 0x20]
call fcn.004046b0
mov byte [esp + 0xb0], 4
mov eax, dword [0x52b6d0]
mov ecx, 0x52b6d0
call dword [eax + reloc.kernel32.dll_AssignProcessToJobObject]
lea esi, [eax + 0x10]
mov dword [esp + 0x20], esi
lea eax, [esp + 0x14]
push eax
lea edx, [esp + 0x24]
lea ecx, [esp + 0x38]
mov byte [esp + 0xb4], 5
call fcn.00431c80
add esp, 4
mov ebx, eax
mov byte [esp + 0xb0], 6
mov edx, dword [0x52b6d0]
mov ecx, 0x52b6d0
call dword [edx + reloc.kernel32.dll_AssignProcessToJobObject]
add eax, 0x10
mov dword [esp + 0x1c], eax
mov eax, str.GlobalLog
mov byte [esp + 0xb0], 7
test eax, 0xffff0000
jne 0x42456a
movzx edi, ax
mov ecx, edi
call fcn.00405530
test eax, eax
je 0x42457a
push edi
push eax
lea ecx, [esp + 0x24]
call fcn.00404a70
jmp 0x42457a
push 9
push str.GlobalLog
lea ecx, [esp + 0x24]
call fcn.004046b0
push 2
push ebx
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x28]
push eax
mov ecx, 0x530768
mov byte [esp + 0xc0], 8
call fcn.004018b0
mov byte [esp + 0xb0], 6
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff0
or edi, 0xffffffff
lea ecx, [edx + 0xc]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4245c1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
mov byte [esp + 0xb0], 5
mov edx, dword [esp + 0x34]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4245e6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
add esi, 0xfffffff0
mov byte [esp + 0xb0], 4
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x424607
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
mov byte [esp + 0xb0], 2
mov edx, dword [esp + 0x18]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42462c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
lea edx, [esp + 0x14]
lea ecx, [esp + 0x50]
call fcn.00431ab0
mov esi, eax
mov byte [esp + 0xb0], 9
mov ecx, dword [esp + 0x44]
mov eax, dword [0x530ce4]
and ecx, 0xffffff04
or ecx, 0x104
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], 0
test al, 1
jne 0x424687
or eax, 1
push 0x4e04e0
mov dword [0x530ce4], eax
mov dword [0x530c68], 0x518430
call fcn.004b4d59
add esp, 4
cmp dword [esi + 0x14], 0x10
mov edx, dword [esi + 0x10]
jb 0x424692
mov esi, dword [esi]
mov ecx, dword [0x52d374]
push edx
mov eax, dword [ecx]
push esi
call dword [eax + reloc.kernel32.dll_AssignProcessToJobObject]
mov dword [esp + 0x3c], eax
push ecx
push str.error
lea ecx, [esp + 0x74]
mov byte [esp + 0xb8], 0xa
call fcn.0044aa00
mov esi, eax
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x34], 0
call fcn.00449de0
movsx ecx, byte [esi + 8]
mov ebx, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
xor ecx, ebx
mov byte [esi + 8], bl
mov edx, dword [esi + 4]
and ecx, 0xff
xor ebx, ecx
mov ecx, dword [esi]
mov dword [esi], eax
mov eax, dword [esp + 0x28]
mov dword [esi + 4], eax
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], ecx
mov ecx, dword [esi + 8]
mov edx, ecx
shl edx, 0x17
sar edx, 0x1f
mov eax, ecx
shl edx, 8
xor eax, ebx
xor edx, ebx
and eax, 0x100
and edx, 0x100
xor eax, ecx
xor ebx, edx
lea ecx, [esp + 0x24]
mov dword [esi + 8], eax
mov dword [esp + 0x2c], ebx
call fcn.00449f60
lea ecx, [esp + 0x3c]
mov byte [esp + 0xb0], 9
call fcn.00449f60
cmp dword [esp + 0x64], 0x10
jb 0x424758
push dword [esp + 0x50]
call fcn.004b458c
add esp, 4
mov byte [esp + 0xb0], 1
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x424ecd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
jmp 0x424ecd
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004b3d60
add esp, 4
mov dword [esp + 0x20], eax
push eax
push esi
call edi
mov dword [esp + 0x34], eax
test eax, eax
jne 0x424ade
mov eax, dword [0x52b6d0]
mov ecx, 0x52b6d0
call dword [eax + reloc.kernel32.dll_AssignProcessToJobObject]
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + reloc.kernel32.dll_ConvertDefaultLocale0], 0xb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x20]
push str.getkeybordLayout_error_GetKeyboardLayoutList_check_
push eax
call fcn.00404c00
mov eax, dword [0x52b6d0]
add esp, 0xc
mov ecx, 0x52b6d0
call dword [eax + reloc.kernel32.dll_AssignProcessToJobObject]
add eax, 0x10
mov dword [esp + 0x18], eax
mov eax, str.getkeybordL_yout
mov byte [esp + 0xb0], reloc.kernel32.dll_AssignProcessToJobObject
test eax, 0xffff0000
jne 0x42482b
movzx esi, ax
mov ecx, esi
call fcn.00405530
test eax, eax
je 0x42483b
push esi
push eax
lea ecx, [esp + 0x20]
call fcn.00404a70
jmp 0x42483b
push reloc.kernel32.dll_GetUserDefaultLangID
push str.getkeybordL_yout
lea ecx, [esp + 0x20]
call fcn.004046b0
mov byte [esp + 0xb0], reloc.kernel32.dll_CreateFileMappingW
mov eax, dword [0x52b6d0]
mov ecx, 0x52b6d0
call dword [eax + reloc.kernel32.dll_AssignProcessToJobObject]
lea esi, [eax + 0x10]
mov dword [esp + 0x34], esi
lea eax, [esp + 0x1c]
push eax
lea edx, [esp + 0x38]
lea ecx, [esp + 0x24]
mov byte [esp + 0xb4], reloc.kernel32.dll_ReleaseActCtx
call fcn.00431c80
add esp, 4
mov ebx, eax
mov byte [esp + 0xb0], reloc.kernel32.dll_UnmapViewOfFile
mov edx, dword [0x52b6d0]
mov ecx, 0x52b6d0
call dword [edx + reloc.kernel32.dll_AssignProcessToJobObject]
add eax, 0x10
mov dword [esp + 0x14], eax
mov eax, str.GlobalLog
mov byte [esp + 0xb0], reloc.kernel32.dll_GetUserDefaultLangID
test eax, 0xffff0000
jne 0x4248c2
movzx edi, ax
mov ecx, edi
call fcn.00405530
test eax, eax
je 0x4248d2
push edi
push eax
lea ecx, [esp + 0x1c]
call fcn.00404a70
jmp 0x4248d2
push 9
push str.GlobalLog
lea ecx, [esp + 0x1c]
call fcn.004046b0
push 2
push ebx
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
mov ecx, 0x530768
mov byte [esp + 0xc0], reloc.kernel32.dll_GetDiskFreeSpaceA
call fcn.004018b0
mov byte [esp + 0xb0], reloc.kernel32.dll_UnmapViewOfFile
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
or edi, 0xffffffff
lea ecx, [edx + 0xc]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x424919
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
mov byte [esp + 0xb0], reloc.kernel32.dll_ReleaseActCtx
mov edx, dword [esp + 0x20]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42493e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
add esi, 0xfffffff0
mov byte [esp + 0xb0], reloc.kernel32.dll_CreateFileMappingW
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42495f
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
mov byte [esp + reloc.kernel32.dll_ConvertDefaultLocale0], 0xb
mov edx, dword [esp + 0x18]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x424984
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x50]
call fcn.00431ab0
mov esi, eax
mov byte [esp + 0xb0], reloc.kernel32.dll_SetSystemTime
mov ecx, dword [esp + 0x44]
mov eax, dword [0x530ce4]
and ecx, 0xffffff04
or ecx, 0x104
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], 0
test al, 1
jne 0x4249df
or eax, 1
push 0x4e04e0
mov dword [0x530ce4], eax
mov dword [0x530c68], 0x518430
call fcn.004b4d59
add esp, 4
cmp dword [esi + 0x14], 0x10
mov edx, dword [esi + 0x10]
jb 0x4249ea
mov esi, dword [esi]
mov ecx, dword [0x52d374]
push edx
mov eax, dword [ecx]
push esi
call dword [eax + reloc.kernel32.dll_AssignProcessToJobObject]
mov dword [esp + 0x3c], eax
push ecx
push str.error
lea ecx, [esp + 0x74]
mov byte [esp + 0xb8], reloc.kernel32.dll_OpenSemaphoreW
call fcn.0044aa00
mov esi, eax
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x34], 0
call fcn.00449de0
movsx ecx, byte [esi + 8]
mov ebx, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
xor ecx, ebx
mov byte [esi + 8], bl
mov edx, dword [esi + 4]
and ecx, 0xff
xor ebx, ecx
mov ecx, dword [esi]
mov dword [esi], eax
mov eax, dword [esp + 0x28]
mov dword [esi + 4], eax
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], ecx
mov ecx, dword [esi + 8]
mov edx, ecx
shl edx, 0x17
sar edx, 0x1f
mov eax, ecx
shl edx, 8
xor eax, ebx
xor edx, ebx
and eax, 0x100
and edx, 0x100
xor eax, ecx
xor ebx, edx
lea ecx, [esp + 0x24]
mov dword [esi + 8], eax
mov dword [esp + 0x2c], ebx
call fcn.00449f60
lea ecx, [esp + 0x3c]
mov byte [esp + 0xb0], reloc.kernel32.dll_SetSystemTime
call fcn.00449f60
cmp dword [esp + 0x64], 0x10
jb 0x424ab0
push dword [esp + 0x50]
call fcn.004b458c
add esp, 4
mov byte [esp + 0xb0], 1
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x424ecd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
jmp 0x424ecd
or edi, 0xffffffff
mov dword [esp + 0x18], 0
test eax, eax
je 0x424d45
mov ebx, dword [esp + 0x44]
jmp 0x424b00
mov eax, dword [0x52b6d0]
mov ecx, 0x52b6d0
call dword [eax + reloc.kernel32.dll_AssignProcessToJobObject]
lea esi, [eax + 0x10]
mov dword [esp + 0x14], esi
mov byte [esp + 0xb0], reloc.kernel32.dll_SetConsoleCursorPosition
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x424b42
push 0x104
lea ecx, [esp + 0x18]
call fcn.0040c760
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
push 0x104
movzx eax, word [ecx + eax*4]
push esi
push 0x1001
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push dword [esi - 8]
push esi
call fcn.004b59ae
add esp, 8
test eax, eax
js 0x424d66
cmp eax, dword [esi - 8]
jg 0x424d66
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
lea edx, [esp + 0x14]
lea ecx, [esp + 0x50]
call fcn.00431ab0
mov edi, eax
mov byte [esp + 0xb0], reloc.kernel32.dll_GetConsoleOutputCP
mov eax, dword [0x530ce4]
and ebx, 0xffffff04
or ebx, 0x104
mov dword [esp + 0x38], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], 0
test al, 1
jne 0x424be1
or eax, 1
push 0x4e04e0
mov dword [0x530ce4], eax
mov dword [0x530c68], 0x518430
call fcn.004b4d59
add esp, 4
cmp dword [edi + 0x14], 0x10
mov edx, dword [edi + 0x10]
jb 0x424bec
mov edi, dword [edi]
mov ecx, dword [0x52d374]
push edx
mov eax, dword [ecx]
push edi
call dword [eax + reloc.kernel32.dll_AssignProcessToJobObject]
mov dword [esp + 0x3c], eax
mov byte [esp + 0xb0], reloc.kernel32.dll_OpenEventW
mov eax, dword [esp + 0x74]
movsx eax, al
cmp eax, 7
ja case.default.0x424c11
jmp dword [eax*4 + reloc.kernel32.dll_WriteConsoleA]
mov eax, dword [esp + 0x6c]
cmp dword [eax + 4], 0
je case.0x424c11.0
mov eax, dword [eax]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], eax
call fcn.0042c570
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x14]
inc eax
jmp 0x424c5d
mov eax, dword [esp + 0x6c]
mov eax, dword [eax + 4]
jmp 0x424c5d
push 0x388
push str...CrossRiderGeneralJsonjson_value.cpp
push reloc.kernel32.dll_ActivateActCtx
call fcn.004b708c
add esp, 0xc
xor eax, eax
push eax
lea ecx, [esp + 0x70]
call fcn.0044a6e0
mov edi, eax
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x34], 0
call fcn.00449de0
movsx ecx, byte [edi + 8]
mov ebx, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
xor ecx, ebx
mov byte [edi + 8], bl
mov edx, dword [edi + 4]
and ecx, 0xff
xor ebx, ecx
mov ecx, dword [edi]
mov dword [edi], eax
mov eax, dword [esp + 0x28]
mov dword [edi + 4], eax
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], ecx
mov ecx, dword [edi + 8]
mov edx, ecx
shl edx, 0x17
sar edx, 0x1f
shl edx, 8
mov eax, ebx
xor eax, ecx
xor edx, ebx
and eax, 0x100
and edx, 0x100
xor eax, ecx
xor ebx, edx
lea ecx, [esp + 0x24]
mov dword [edi + 8], eax
mov dword [esp + 0x2c], ebx
call fcn.00449f60
lea ecx, [esp + 0x3c]
mov byte [esp + 0xb0], reloc.kernel32.dll_GetConsoleOutputCP
call fcn.00449f60
cmp dword [esp + 0x64], 0x10
jb 0x424d05
push dword [esp + 0x50]
call fcn.004b458c
add esp, 4
add esi, 0xfffffff0
or edi, 0xffffffff
mov byte [esp + 0xb0], 1
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x424d29
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x34]
jae 0x424d41
mov ebx, dword [esp + 0x38]
jmp 0x424b00
mov ebx, dword [esp + 0x74]
test bl, bl
je 0x424d57
cmp bl, 6
je 0x424d57
cmp bl, 7
jne 0x424ebc
movsx eax, bl
cmp eax, 7
ja case.default.0x424d5f
jmp dword [eax*4 + 0x425184]
push 0x80070057
call fcn.0040c6f0
mov eax, dword [esp + 0x6c]
cmp dword [eax + 4], 0
je case.0x424d5f.0
mov eax, dword [eax]
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], eax
call fcn.0042c570
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x14]
inc eax
jmp 0x424db5
mov eax, dword [esp + 0x6c]
mov eax, dword [eax + 4]
jmp 0x424db5
push 0x388
push str...CrossRiderGeneralJsonjson_value.cpp
push reloc.kernel32.dll_ActivateActCtx
call fcn.004b708c
add esp, 0xc
xor eax, eax
test eax, eax
sete al
test al, al
je 0x424ebc
mov eax, dword [esp + 0x44]
and eax, 0xffffff04
or eax, 0x104
mov dword [esp + 0x44], eax
mov eax, dword [0x530ce4]
mov dword [esp + 0x48], 0
test al, 1
jne 0x424e04
or eax, 1
push 0x4e04e0
mov dword [0x530ce4], eax
mov dword [0x530c68], 0x518430
call fcn.004b4d59
add esp, 4
mov ecx, dword [0x52d374]
push 0xffffffffffffffff
mov eax, dword [ecx]
push str.empty
call dword [eax + reloc.kernel32.dll_AssignProcessToJobObject]
mov dword [esp + 0x3c], eax
push ecx
push str.error
lea ecx, [esp + 0x74]
mov byte [esp + 0xb8], reloc.kernel32.dll_SetCurrentDirectoryA
call fcn.0044aa00
mov esi, eax
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x34], 0
call fcn.00449de0
movsx ecx, byte [esi + 8]
mov ebx, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
xor ecx, ebx
mov byte [esi + 8], bl
mov edx, dword [esi + 4]
and ecx, 0xff
xor ebx, ecx
mov ecx, dword [esi]
mov dword [esi], eax
mov eax, dword [esp + 0x28]
mov dword [esi + 4], eax
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], ecx
mov ecx, dword [esi + 8]
mov edx, ecx
shl edx, 0x17
sar edx, 0x1f
shl edx, 8
mov eax, ebx
xor eax, ecx
xor edx, ebx
and eax, 0x100
and edx, 0x100
xor eax, ecx
xor ebx, edx
lea ecx, [esp + 0x24]
mov dword [esi + 8], eax
mov dword [esp + 0x2c], ebx
call fcn.00449f60
lea ecx, [esp + 0x3c]
mov byte [esp + 0xb0], 1
call fcn.00449f60
mov eax, dword [esp + 0x20]
test eax, eax
je 0x424ecd
push eax
call fcn.004b4e1b
add esp, 4
mov dword [esp + 0x80], 0x5149b4
mov dword [esp + 0x98], reloc.kernel32.dll_UnmapViewOfFile
mov dword [esp + 0x94], 0
mov byte [esp + 0x84], 0
mov byte [esp + 0x9c], 0
mov byte [esp + 0xb0], reloc.kernel32.dll_IsProcessInJob
mov eax, dword [0x52b6d0]
mov ecx, 0x52b6d0
call dword [eax + reloc.kernel32.dll_AssignProcessToJobObject]
lea esi, [eax + 0x10]
mov dword [esp + 0x14], esi
lea eax, [esp + 0x6c]
push eax
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x88]
mov byte [esp + 0xb8], reloc.kernel32.dll_CreateDirectoryW
call fcn.0044cc00
mov edx, eax
mov byte [esp + 0xb0], reloc.kernel32.dll_GetSystemPowerStatus
cmp dword [edx + 0x14], 0x10
jb 0x424f4a
mov edx, dword [edx]
sub esp, 0x18
mov ebx, esp
mov dword [ebx + 0x14], reloc.kernel32.dll_UnmapViewOfFile
mov dword [ebx + 0x10], 0
mov byte [ebx], 0
cmp byte [edx], 0
jne 0x424f69
xor ecx, ecx
jmp 0x424f7d
mov ecx, edx
lea eax, [ecx + 1]
mov dword [esp + 0x50], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x424f72
sub ecx, dword [esp + 0x50]
push ecx
push edx
mov ecx, ebx
call fcn.004012e0
lea ecx, [esp + 0x38]
call fcn.004319e0
add esp, 0x18
mov byte [esp + 0xb0], reloc.kernel32.dll_QueryDosDeviceW
mov edx, dword [eax]
lea eax, [esi - 0x10]
lea ebx, [edx - 0x10]
mov dword [esp + 0x34], eax
cmp ebx, eax
je 0x42505c
cmp dword [eax + 0xc], 0
lea ecx, [eax + 0xc]
mov dword [esp + 0x38], ecx
jl 0x42504b
mov ecx, dword [ebx]
cmp ecx, dword [eax]
jne 0x42504b
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_GetUserDefaultLangID]
cmp dword [ebx + 0xc], 0
mov ecx, eax
lea eax, [ebx + 0xc]
jl 0x424fea
cmp ecx, dword [ebx]
jne 0x424fea
mov esi, ebx
mov ecx, 1
lock xadd dword [eax], ecx
jmp 0x425027
mov eax, dword [ecx]
push 2
push dword [ebx + 4]
call dword [eax]
mov esi, eax
test esi, esi
jne 0x424ffe
call fcn.0040c710
mov eax, dword [ebx + 4]
mov dword [esi + 4], eax
mov ecx, dword [ebx + 4]
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebx + 0x10]
push eax
lea eax, [ecx*2 + 2]
push eax
lea eax, [esi + 0x10]
push eax
call fcn.004b52be
add esp, 0x10
mov ecx, dword [esp + 0x38]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x425042
mov edx, dword [esp + 0x34]
push edx
mov ecx, dword [edx]
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
add esi, 0x10
mov dword [esp + 0x14], esi
jmp 0x42505c
push dword [edx - 0xc]
lea ecx, [esp + 0x18]
push edx
call fcn.004046b0
mov esi, dword [esp + 0x14]
mov byte [esp + 0xb0], reloc.kernel32.dll_GetSystemPowerStatus
mov edx, dword [esp + 0x20]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x425081
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
mov byte [esp + 0xb0], reloc.kernel32.dll_CreateDirectoryW
cmp dword [esp + 0x64], 0x10
jb 0x42509c
push dword [esp + 0x50]
call fcn.004b458c
add esp, 4
mov ebx, dword [esp + 0x68]
mov eax, 8
mov word [ebx], ax
push dword [esi - 0xc]
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
test eax, eax
jne 0x4250bb
call fcn.0040c710
add esi, 0xfffffff0
mov dword [ebx + 8], eax
mov byte [esp + 0xb0], reloc.kernel32.dll_IsProcessInJob
lea eax, [esi + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x4250dd
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
cmp dword [esp + 0x98], 0x10
mov dword [esp + 0x80], 0x5149b4
jb 0x425101
push dword [esp + 0x84]
call fcn.004b458c
add esp, 4
lea ecx, [esp + 0x6c]
mov dword [esp + 0x98], reloc.kernel32.dll_UnmapViewOfFile
mov dword [esp + 0x94], 0
mov byte [esp + 0x84], 0
mov dword [esp + 0x80], 0x5185e8
mov dword [esp + 0xb0], 0xffffffff
call fcn.00449f60
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.004b4591
mov esp, ebp
pop ebp
ret