Function at 0x41d2a0
Capabilities:
Create process on windows
Get common file path
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4cb377
mov eax, dword fs:[0]
push eax
sub esp, 0x1000
mov eax, dword [0x512f80]
xor eax, esp
mov dword [esp + 0xff8], eax
push ebx
push esi
push edi
mov eax, dword [0x512f80]
xor eax, esp
push eax
lea eax, [esp + 0x1010]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
test eax, eax
mov dword [esp + 0x58], ecx
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x30], edx
mov edx, dword [ebp + 0x10]
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
jne 0x41d324
push str.NonNullExceptionPtr
push ecx
call fcn.0042c7e0
add esp, 4
push eax
mov eax, 0x30a
mov ecx, str.......CommonMiscWin32MiniDump.cpp
mov edx, str.pExceptionInfo
call fcn.0042ca40
mov ebx, 1
push 0x523d24
mov dword [esp + 0x3c], 0x523d24
mov byte [esp + 0x40], bl
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0x1018], 0
cmp byte [0x523be9], 0
je 0x41d369
mov dword [esp + 0x1018], 0xffffffff
lea eax, [esp + 0x38]
push eax
jmp 0x41e1fb
cmp byte [0x523be8], 0
jne 0x41d377
call fcn.0041ccf0
push 0
call fcn.0048223c
mov esi, eax
mov eax, dword [0x51a720]
mov ecx, edx
cdq
add esp, 4
add eax, dword [0x523be0]
mov dword [esp + 0x6c], esi
adc edx, dword [0x523be4]
mov dword [esp + 0x70], ecx
cmp ecx, edx
jg 0x41d3b1
jl 0x41e1eb
cmp esi, eax
jb 0x41e1eb
mov dword [0x523be0], esi
lea esi, [esp + 0x1b0]
mov dword [0x523be4], ecx
call fcn.00432f20
mov byte [esp + 0x1018], bl
push ebx
lea edx, [esp + 0x18]
push edx
mov edi, esi
mov byte [esp + 0x1c], 0x5c
call fcn.004128b0
lea ecx, [eax + 1]
push 0xffffffffffffffff
lea eax, [esp + 0x144]
push eax
mov edx, esi
call fcn.004125d0
mov byte [esp + 0x1018], 2
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x144]
call fcn.00412520
lea ebx, [esp + 0x64]
lea edi, [esp + 0x140]
mov esi, eax
call fcn.00412580
lea edx, [esp + 0x78]
push edx
lea ecx, [esp + 0x144]
mov edi, eax
call fcn.00412520
mov ecx, dword [esi + 4]
mov edx, dword [esi]
push ecx
mov ecx, dword [edi + 4]
push edx
mov edx, dword [edi]
push ecx
mov ecx, dword [eax + 4]
push edx
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0x74]
push eax
call fcn.00412960
add esp, 0x1c
push 1
lea ecx, [esp + 0x18]
push ecx
lea edi, [esp + 0x148]
mov byte [esp + 0x1c], 0x2e
call fcn.004128b0
xor ebx, ebx
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x148]
mov edi, 0xf
push edx
lea ecx, [esp + 0x168]
mov esi, eax
mov dword [esp + 0x180], edi
mov dword [esp + 0x17c], ebx
mov byte [esp + 0x16c], bl
call fcn.0040dba0
mov byte [esp + 0x1018], 3
cmp esi, 0xffffffff
je 0x41d516
push esi
lea eax, [esp + 0x128]
push eax
xor ecx, ecx
lea edx, [esp + 0x148]
call fcn.004125d0
mov byte [esp + 0x1018], 4
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x168]
call fcn.0040dba0
mov byte [esp + 0x1018], 3
cmp dword [esp + 0x13c], 0x10
jb 0x41d501
mov ecx, dword [esp + 0x128]
push ecx
call fcn.004606bf
add esp, 4
mov dword [esp + 0x13c], edi
mov dword [esp + 0x138], ebx
mov byte [esp + 0x128], bl
cmp byte [0x523bca], bl
je 0x41d5b0
push 0x523ac0
lea ecx, [esp + 0x128]
call fcn.0040e550
mov byte [esp + 0x1018], 5
lea ecx, [esp + 0x124]
call fcn.00432330
mov byte [esp + 0x14], al
mov byte [esp + 0x1018], 3
cmp dword [esp + 0x13c], 0x10
jb 0x41d56d
mov edx, dword [esp + 0x128]
push edx
call fcn.004606bf
add esp, 4
cmp byte [esp + 0x14], bl
mov dword [esp + 0x13c], edi
mov dword [esp + 0x138], ebx
mov byte [esp + 0x128], bl
je 0x41d5b0
mov ebx, 0x104
mov edi, 0x523ac0
lea esi, [esp + 0x2dc]
call fcn.00442c50
push ebx
mov eax, 0x4e228c
mov ebx, esi
call fcn.00442d50
add esp, 4
jmp 0x41d610
push 0x104
lea eax, [esp + 0x2e0]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x41d5e3
lea ecx, [esp + 0x2dc]
push 0x5c
push ecx
call fcn.00485cc0
add esp, 8
cmp eax, ebx
je 0x41d5e3
mov byte [eax + 1], bl
jmp 0x41d610
lea edx, [esp + 0x2dc]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
jne 0x41d610
mov ebx, 0x104
mov edi, str.c:_temp_
lea esi, [esp + 0x2dc]
call fcn.00442c50
cmp dword [esp + 0x174], 0x10
mov eax, dword [esp + 0x160]
jae 0x41d628
lea eax, [esp + 0x160]
push 0x104
lea ebx, [esp + 0x2e0]
call fcn.00442d50
mov esi, ebx
add esp, 4
lea ecx, [esi + 1]
mov al, byte [esi]
add esi, 1
test al, al
jne 0x41d641
lea eax, [esp + 0x6c]
push eax
sub esi, ecx
call fcn.00486050
mov ebx, eax
mov eax, dword [0x523bdc]
add esp, 4
test eax, eax
mov dword [esp + 0x64], eax
je 0x41d69b
push eax
mov edi, 0x104
sub edi, esi
push 0x4ebe44
lea esi, [esp + esi + 0x2e4]
call fcn.00442f10
lea esi, [esp + 0x2e4]
add esp, 8
lea ecx, [esi + 1]
mov edi, edi
mov al, byte [esi]
add esi, 1
test al, al
jne 0x41d690
sub esi, ecx
cmp dword [esp + 0x28], 0
je 0x41d6b7
cmp dword [esp + 0x2c], 0
je 0x41d6b7
cmp dword [ebp + 0x14], 0xffffffff
mov dword [esp + 0x20], str.assert
jne 0x41d6bf
mov dword [esp + 0x20], str.crash
mov edx, dword [0x523bf4]
mov eax, dword [0x523bf0]
mov edi, edx
push edi
mov ecx, eax
push ecx
mov ecx, dword [ebx]
add eax, 1
adc edx, 0
push ecx
mov ecx, dword [ebx + 0xc]
mov dword [0x523bf4], edx
mov edx, dword [ebx + 4]
push edx
mov edx, dword [ebx + 0x10]
mov dword [0x523bf0], eax
mov eax, dword [ebx + 8]
push eax
mov eax, dword [ebx + 0x14]
push ecx
mov ecx, dword [esp + 0x38]
add edx, 1
push edx
add eax, 0x76c
push eax
push ecx
mov edi, 0x104
sub edi, esi
push str.__s__d__d__dT_d__d__dC_d
lea esi, [esp + esi + 0x304]
call fcn.00442f10
push 0x104
mov eax, str..mdmp
lea ebx, [esp + 0x308]
call fcn.00442d50
xor ebx, ebx
add esp, 0x2c
cmp byte [0x523beb], bl
je 0x41daf8
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], ebx
mov word [esp + 0xc4], bx
mov word [esp + 0xc6], bx
mov dword [esp + 0xc8], ebx
mov dword [esp + 0xcc], ebx
mov dword [esp + 0xd0], ebx
mov dword [esp + 0xd4], ebx
mov ebx, 0x104
mov edi, str.WriteMiniDump.exe
lea esi, [esp + 0x6fc]
mov dword [esp + 0x94], 0x44
call fcn.00442c50
mov edx, dword [esp + 0x18]
xor ebx, ebx
cmp dword [edx], ebx
jne 0x41d807
push 0x393
push str.......CommonMiscWin32MiniDump.cpp
push str.pExceptionInfo__ExceptionRecord
push ecx
call fcn.0042c7e0
add esp, 4
mov ecx, eax
call fcn.0042ca10
mov eax, dword [esp + 0x18]
cmp dword [eax + 4], ebx
jne 0x41d82f
push 0x394
push str.......CommonMiscWin32MiniDump.cpp
push str.pExceptionInfo__ContextRecord
push ecx
call fcn.0042c7e0
add esp, 4
mov ecx, eax
call fcn.0042ca10
lea ecx, [esp + 0x2dc]
push ecx
lea ecx, [esp + 0x128]
call fcn.0040e550
mov byte [esp + 0x1018], 6
lea edx, [esp + 0x124]
push edx
push str.MiniDumpFilePath
call fcn.0041caf0
add esp, 8
mov byte [esp + 0x1018], 3
mov edi, 0x10
cmp dword [esp + 0x13c], edi
jb 0x41d886
mov eax, dword [esp + 0x128]
push eax
call fcn.004606bf
add esp, 4
lea ecx, [esp + 0x108]
push str.MiniDumpFilePath
mov esi, 0xf
push ecx
mov dword [esp + 0x144], esi
mov dword [esp + 0x140], ebx
mov byte [esp + 0x130], bl
call fcn.00420bf0
add esp, 8
mov byte [esp + 0x1018], 7
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea edx, [esp + 0x128]
push edx
call fcn.00408ff0
mov byte [esp + 0x1020], 8
push eax
push str.MiniDumpProcessId
call fcn.0041caf0
add esp, 0x10
mov byte [esp + 0x1018], 7
cmp dword [esp + 0x13c], edi
jb 0x41d908
mov eax, dword [esp + 0x128]
push eax
call fcn.004606bf
add esp, 4
lea ecx, [esp + 0x80]
push str.MiniDumpProcessId
push ecx
mov dword [esp + 0x144], esi
mov dword [esp + 0x140], ebx
mov byte [esp + 0x130], bl
call fcn.00420bf0
add esp, 8
mov byte [esp + 0x1018], 9
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
lea edx, [esp + 0x128]
push edx
call fcn.00408ff0
mov byte [esp + 0x1020], 0xa
push eax
push str.MiniDumpThreadId
call fcn.0041caf0
add esp, 0x10
mov byte [esp + 0x1018], 9
cmp dword [esp + 0x13c], edi
jb 0x41d985
mov eax, dword [esp + 0x128]
push eax
call fcn.004606bf
add esp, 4
lea ecx, [esp + 0xe0]
push str.MiniDumpThreadId
push ecx
mov dword [esp + 0x144], esi
mov dword [esp + 0x140], ebx
mov byte [esp + 0x130], bl
call fcn.00420bf0
mov byte [esp + 0x1020], 0xb
mov edx, dword [esp + 0x20]
push edx
lea eax, [esp + 0x130]
push eax
call fcn.00420c50
mov byte [esp + 0x1028], 0xc
push eax
push str.MiniDumpExceptionRecordPtr
call fcn.0041caf0
add esp, 0x18
mov byte [esp + 0x1018], 0xb
cmp dword [esp + 0x13c], edi
jb 0x41d9fd
mov ecx, dword [esp + 0x128]
push ecx
call fcn.004606bf
add esp, 4
lea edx, [esp + 0xf4]
push str.MiniDumpExceptionRecordPtr
push edx
mov dword [esp + 0x144], esi
mov dword [esp + 0x140], ebx
mov byte [esp + 0x130], bl
call fcn.00420bf0
add esp, 8
mov byte [esp + 0x1018], 0xd
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x98]
push ecx
push ebx
push ebx
push 8
push ebx
push ebx
push ebx
lea edx, [esp + 0x71c]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
cmp eax, ebx
je 0x41da9d
mov eax, dword [esp + 0x40]
push 0x2710
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x41da89
push 0x3b7
push str.......CommonMiscWin32MiniDump.cpp
push str._WaitForSingleObject_ProcessInfo.hProcess__10000_______DWORD__0x00000000L_____0______false
push ecx
call fcn.0042c7e0
add esp, 4
mov ecx, eax
call fcn.0042ca10
mov ecx, dword [esp + 0x44]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [esp + 0x40]
push edx
call esi
mov byte [esp + 0x1018], 0xb
lea eax, [esp + 0xf4]
push eax
call fcn.0041e6f0
mov byte [esp + 0x1018], 9
lea ecx, [esp + 0xe0]
push ecx
call fcn.0041e6f0
mov byte [esp + 0x1018], 7
lea edx, [esp + 0x80]
push edx
call fcn.0041e6f0
mov byte [esp + 0x1018], 3
lea eax, [esp + 0x108]
push eax
call fcn.0041e6f0
xor ebx, ebx
jmp 0x41dc43
push ebx
push 0x80
push 2
push ebx
push 2
push 0x40000000
lea ecx, [esp + 0x2f4]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x41dc43
lea edx, [esp + 0x2dc]
push edx
lea eax, [esp + 0xe4]
push eax
call fcn.00420cb0
mov byte [esp + 0x1020], 0xe
lea ecx, [esp + 0xfc]
push esi
push ecx
mov ecx, dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.00408f60
add esp, 0x10
mov byte [esp + 0x1018], 0xf
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, dword [esp + 0x18]
mov edi, 0x10
cmp dword [0x51b35c], edi
mov dword [esp + 0x40], eax
mov eax, dword [0x51b348]
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x80], 0xa
jae 0x41db95
mov eax, 0x51b348
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x41db98
sub eax, edx
call fcn.0040c720
add eax, 1
cmp dword [0x51b35c], edi
mov dword [esp + 0x84], eax
jb 0x41dbc8
mov eax, dword [0x51b348]
mov dword [esp + 0x88], eax
jmp 0x41dbd3
mov dword [esp + 0x88], 0x51b348
push ebx
lea edx, [esp + 0x54]
push edx
lea ecx, [esp + 0x88]
lea eax, [esp + 0x48]
mov dword [esp + 0x5c], ecx
mov ecx, dword [0x523bf8]
push eax
push ecx
push esi
mov dword [esp + 0x64], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [0x523bfc]
cmp eax, ebx
je 0x41dc19
mov byte [esp + 0xe4], 1
mov byte [esp + 0x1018], 0xe
lea edx, [esp + 0xf4]
push edx
call fcn.004074c0
mov byte [esp + 0x1018], 3
lea eax, [esp + 0xe0]
push eax
call fcn.0041e7e0
cmp byte [0x523bea], bl
mov esi, 0xf
je 0x41e145
or eax, 0xffffffff
cmp dword [0x51b33c], eax
je 0x41e145
mov dword [esp + 0x1ac], esi
mov dword [esp + 0x1a8], ebx
mov byte [esp + 0x198], bl
mov byte [esp + 0x1018], 0x10
mov dword [esp + 0x13c], esi
mov dword [esp + 0x138], ebx
mov byte [esp + 0x128], bl
mov byte [esp + 0x1018], 0x11
mov dword [esp + 0x190], esi
mov dword [esp + 0x18c], ebx
mov byte [esp + 0x17c], bl
mov byte [esp + 0x1018], 0x12
mov esi, dword [esp + 0x58]
cmp esi, ebx
mov byte [esp + 0x14], bl
je 0x41dce2
cmp dword [esp + 0x30], ebx
je 0x41dce2
cmp dword [esp + 0x28], ebx
je 0x41dce2
cmp dword [esp + 0x2c], ebx
je 0x41dce2
cmp dword [ebp + 0x14], eax
je 0x41dce2
mov byte [esp + 0x14], 1
mov ecx, dword [esp + 0x18]
push ecx
push 0xe
call dword [0x523c04]
cmp byte [esp + 0x14], bl
mov edi, eax
je 0x41dcfe
mov edx, dword [esp + 0x18]
push edx
jmp 0x41dd11
cmp byte [ebp + 0x18], bl
je 0x41dd1b
mov edi, dword [esp + 0x18]
push edi
push 0xe
call dword [0x523c08]
push edi
push 0xe
call dword [0x523c08]
mov edi, eax
push 0x103
lea eax, [esp + 0x3e9]
push ebx
push eax
mov dword [esp + 0x84], ebx
mov dword [esp + 0x30], ebx
mov byte [esp + 0x3f0], bl
call fcn.00488650
add esp, 0xc
push 0x103
lea ecx, [esp + 0x5f9]
push ebx
push ecx
mov byte [esp + 0x600], bl
call fcn.00488650
add esp, 0xc
push 0x103
lea edx, [esp + 0x4f1]
push ebx
push edx
mov dword [esp + 0x40], ebx
mov byte [esp + 0x4f8], bl
call fcn.00488650
add esp, 0xc
cmp edi, ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x5c], ebx
je 0x41de09
push 0x800
lea eax, [esp + 0x808]
push edi
push eax
call fcn.004862ba
add esp, 0xc
lea ecx, [esp + 0x5c]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x4f4]
push eax
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x604]
push edx
lea eax, [esp + 0x3f8]
push eax
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x94]
push edx
lea eax, [esp + 0x824]
push str._x:_x___________u_byte_s_________line__u_u_byte_s_
push eax
call fcn.00485c77
add esp, 0x28
cmp eax, 3
jl 0x41de09
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x3e4]
push ecx
call fcn.0041d230
add esp, 4
mov dword [esp + 0x24], eax
lea edx, [esp + 0x4ec]
push edx
lea ecx, [esp + 0x198]
call fcn.0040e130
cmp esi, ebx
je 0x41deb0
mov edi, dword [esp + 0x30]
cmp edi, ebx
je 0x41dea3
cmp dword [esp + 0x28], ebx
je 0x41de93
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x41de93
mov ecx, dword [ebp + 0x14]
cmp ecx, 0xffffffff
je 0x41de93
mov dword [esp + 0x20], ecx
push eax
lea ecx, [esp + 0x198]
call fcn.0040e130
push esi
lea ecx, [esp + 0x128]
call fcn.0040e130
push edi
lea ecx, [esp + 0x17c]
call fcn.0040e130
lea eax, [esp + 0x178]
push eax
mov edx, 0x4eb1d4
call fcn.00407720
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x178]
push ecx
call fcn.00407720
jmp 0x41deb0
push esi
lea ecx, [esp + 0x128]
call fcn.0040e130
push edi
jmp 0x41dea4
push esi
lea ecx, [esp + 0x17c]
call fcn.0040e130
lea edx, [esp + 0x140]
push str.steam.exe
push edx
call fcn.00408dd0
add esp, 8
test al, al
je 0x41deef
mov edi, str.Steam_
mov esi, 0x5239b8
mov ecx, 7
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x41deef
push str.steam.dll
lea ecx, [esp + 0x144]
call fcn.0040e130
push 1
lea ecx, [esp + 0x20]
push ecx
lea edi, [esp + 0x19c]
mov byte [esp + 0x24], 0x5c
call fcn.004128b0
cmp eax, 0xffffffff
je 0x41df47
push 0xffffffffffffffff
lea edx, [esp + 0x10c]
push edx
lea ecx, [eax + 1]
mov edx, edi
call fcn.004125d0
mov byte [esp + 0x1018], 0x13
push 0xffffffffffffffff
push ebx
push eax
mov ecx, edi
call fcn.0040dba0
mov byte [esp + 0x1018], 0x12
lea ecx, [esp + 0x108]
call fcn.0040e5c0
call fcn.0041cc80
test al, al
je 0x41df59
call fcn.0041ccb0
mov dword [esp + 0x20], eax
lea eax, [esp + 0x1cc]
push eax
call fcn.0041e230
mov byte [esp + 0x1018], 0x14
lea edi, [esp + 0x178]
call fcn.0041cc40
lea edi, [esp + 0x124]
call fcn.0041cc40
mov edi, 0x51b344
call fcn.0041cc40
cmp byte [esp + 0x14], bl
jne 0x41dfa2
cmp byte [ebp + 0x18], bl
jne 0x41dfa2
mov eax, 1
jmp 0x41dfa4
xor eax, eax
mov ecx, dword [0x51b33c]
movzx edx, word [0x51b340]
push 0xffffffffffffffff
mov dword [esp + 0x1d8], eax
push ebx
lea eax, [esp + 0x180]
mov dword [esp + 0x1d4], ecx
push eax
lea ecx, [esp + 0x2a8]
mov word [esp + 0x1dc], dx
mov dword [esp + 0x2e4], ebx
call fcn.0040dba0
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x12c]
push ecx
lea ecx, [esp + 0x248]
call fcn.0040dba0
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x148]
push edx
lea ecx, [esp + 0x1e8]
call fcn.0040dba0
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x19c]
push eax
lea ecx, [esp + 0x220]
call fcn.0040dba0
lea ecx, [esp + 0x2dc]
push ecx
lea ecx, [esp + 0x25c]
call fcn.0040e130
lea edx, [esp + 0x3e4]
push edx
lea ecx, [esp + 0x1fc]
call fcn.0040e130
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x234], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x238], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x1d8], ecx
push 0x5239a4
lea ecx, [esp + 0x278]
mov dword [esp + 0x234], edx
mov dword [esp + 0x2d8], eax
call fcn.0040e130
mov cl, byte [0x523c0e]
movzx edx, word [0x523c0c]
mov ax, word [0x523c10]
push 0xffffffffffffffff
push ebx
mov byte [esp + 0x29c], cl
push 0x51b344
lea ecx, [esp + 0x2c4]
mov word [esp + 0x29c], dx
mov word [esp + 0x29e], ax
mov dword [esp + 0x2a4], ebx
call fcn.0040dba0
lea edx, [esp + 0x1cc]
push edx
call fcn.0044f880
add esp, 4
mov byte [esp + 0x1018], 0x12
lea eax, [esp + 0x1cc]
push eax
call fcn.0041e320
mov byte [esp + 0x1018], 0x11
lea ecx, [esp + 0x178]
call fcn.0040e5c0
mov byte [esp + 0x1018], 0x10
lea ecx, [esp + 0x124]
call fcn.0040e5c0
mov byte [esp + 0x1018], 3
lea ecx, [esp + 0x194]
call fcn.0040e5c0
mov esi, 0xf
mov byte [esp + 0x1018], 2
mov edi, 0x10
cmp dword [esp + 0x174], edi
jb 0x41e16b
mov ecx, dword [esp + 0x160]
push ecx
call fcn.004606bf
add esp, 4
mov dword [esp + 0x174], esi
mov dword [esp + 0x170], ebx
mov byte [esp + 0x160], bl
mov byte [esp + 0x1018], 1
cmp dword [esp + 0x158], edi
jb 0x41e1a1
mov edx, dword [esp + 0x144]
push edx
call fcn.004606bf
add esp, 4
mov dword [esp + 0x158], esi
mov dword [esp + 0x154], ebx
mov byte [esp + 0x144], bl
mov byte [esp + 0x1018], bl
cmp dword [esp + 0x1c8], edi
jb 0x41e1d6
mov eax, dword [esp + 0x1b4]
push eax
call fcn.004606bf
add esp, 4
mov dword [esp + 0x1c8], esi
mov dword [esp + 0x1c4], ebx
mov byte [esp + 0x1b4], bl
mov dword [esp + 0x1018], 0xffffffff
lea ecx, [esp + 0x38]
push ecx
call fcn.00406ab0
mov ecx, dword [esp + 0x1010]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xff8]
xor ecx, esp
call fcn.0048162f
mov esp, ebp
pop ebp
ret