Function at 0x429ff0
Capabilities:
Get file size
Get number of processors
Read .ini file
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x45b01d
push eax
mov eax, 0x10490
mov dword fs:[0], esp
call fcn.00458590
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.0041f180
lea ecx, [esp + 0x1c]
mov edi, eax
call sub.MFC42.DLL_CString::CString_1
xor ebp, ebp
lea ecx, [esp + 0x2c]
mov dword [esp + 0x104a8], ebp
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x28]
mov byte [esp + 0x104a8], 1
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x30]
mov byte [esp + 0x104a8], 2
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [esi + 8]
xor edx, edx
mov dl, byte [esi + 0x155]
and edi, 0xffff
mov cl, byte [eax + 0x1c8]
xor eax, eax
mov byte [esp + 0x7c], cl
xor ecx, ecx
mov cl, byte [esi + 0x156]
mov al, byte [esi + 0x172]
imul ecx, edx
imul edi, eax
imul ecx, eax
mov eax, dword [0x4971e8]
mov byte [esp + 0x104a8], 3
push eax
push ebp
push str.ForceClusterPageSize
push 0x4943a8
mov dword [esp + 0x4c], edi
mov dword [esp + 0x58], ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [esp + 0x4c], eax
mov ecx, 0x80
xor eax, eax
lea edi, [esp + 0xa0]
rep stosd dword es:[edi], eax
mov eax, dword [esi + 8]
test byte [eax + 0xdc], 0x20
je 0x42a0df
mov ecx, dword [eax + 0x100]
shl ecx, 0xb
jmp 0x42a128
xor ecx, ecx
mov cl, byte [esi + 0xe5]
sub ecx, 2
je 0x42a115
sub ecx, 2
jne 0x42a12e
xor ecx, ecx
mov cl, byte [esi + 0xc8]
cmp dword [eax + ecx*4 + 0x208], ebp
je 0x42a12e
mov ecx, dword [esi + ecx*4 + 0x427c]
mov edx, dword [esi + 0xa4]
cmp edx, ecx
jbe 0x42a12e
jmp 0x42a128
mov ecx, dword [eax + 0x1c0]
mov edx, dword [esi + 0xa4]
shl ecx, 0xb
cmp edx, ecx
jbe 0x42a12e
mov dword [esi + 0xa4], ecx
mov cl, byte [eax + 0xdc]
mov edx, dword [esi + 0xa4]
and cl, 0x10
mov dword [esp + 0x44], edx
je 0x42a161
cmp dword [eax + 0x164], ebp
jne 0x42a161
mov ebx, dword [eax + 0x158]
mov ecx, dword [eax + 0x15c]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x40], ecx
jmp 0x42a182
test cl, cl
je 0x42a178
cmp dword [eax + 0x164], 1
jne 0x42a178
mov ebx, dword [eax + 0x158]
shl ebx, 1
jmp 0x42a17a
xor ebx, ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x40], ebp
mov ecx, dword [eax + 0x148]
add eax, 0xe8
shl ecx, 0xb
mov dword [esp + 0x38], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.004581c0
mov edx, dword [esi + 8]
lea ecx, [esp + 0x28]
add edx, 0xec
push edx
call fcn.004581c0
mov eax, dword [esi + 8]
lea ecx, [esp + 0x2c]
add eax, 0xf0
push eax
call fcn.004581c0
mov ecx, dword [esi + 8]
add ecx, 0xf4
push ecx
lea ecx, [esp + 0x34]
call fcn.004581c0
mov ebp, dword [esi + 8]
mov edi, 0x4970cc
mov eax, dword [ebp + 0xe8]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [edi]
jne 0x42a208
test cl, cl
je 0x42a204
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [edi + 1]
jne 0x42a208
add eax, 2
add edi, 2
test cl, cl
jne 0x42a1e4
xor eax, eax
jmp 0x42a20d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x42a228
test byte [ebp + 0xdc], 4
je 0x42a228
push 0x492914
lea ecx, [esp + 0x20]
call fcn.004581ae
mov eax, dword [esp + 0x1c]
mov edi, 0x4970cc
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [edi]
jne 0x42a255
test cl, cl
je 0x42a251
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [edi + 1]
jne 0x42a255
add eax, 2
add edi, 2
test cl, cl
jne 0x42a231
xor eax, eax
jmp 0x42a25a
sbb eax, eax
sbb eax, 0xffffffff
xor ecx, ecx
mov edi, 0x4970cc
test eax, eax
mov eax, dword [esp + 0x28]
setne cl
mov dword [esp + 0x24], ecx
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [edi]
jne 0x42a292
test cl, cl
je 0x42a28e
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [edi + 1]
jne 0x42a292
add eax, 2
add edi, 2
test cl, cl
jne 0x42a26e
xor eax, eax
jmp 0x42a297
sbb eax, eax
sbb eax, 0xffffffff
xor ecx, ecx
mov edi, 0x4970cc
test eax, eax
mov eax, dword [esp + 0x2c]
setne cl
mov dword [esp + 0x78], ecx
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [edi]
jne 0x42a2cf
test cl, cl
je 0x42a2cb
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [edi + 1]
jne 0x42a2cf
add eax, 2
add edi, 2
test cl, cl
jne 0x42a2ab
xor eax, eax
jmp 0x42a2d4
sbb eax, eax
sbb eax, 0xffffffff
xor ecx, ecx
mov edi, 0x4970cc
test eax, eax
mov eax, dword [esp + 0x30]
setne cl
mov dword [esp + 0x10], ecx
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [edi]
jne 0x42a30c
test cl, cl
je 0x42a308
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [edi + 1]
jne 0x42a30c
add eax, 2
add edi, 2
test cl, cl
jne 0x42a2e8
xor eax, eax
jmp 0x42a311
sbb eax, eax
sbb eax, 0xffffffff
mov edx, dword [esi + 0x18]
xor ecx, ecx
test eax, eax
setne cl
push edx
mov dword [esp + 0x84], ecx
call fcn.0044ba50
mov eax, dword [esi + 8]
add esp, 4
test byte [eax + 0xdc], 4
je 0x42a370
mov ecx, dword [eax + 0x140]
test ecx, ecx
je 0x42a348
shl ecx, 0xb
mov ebx, ecx
jmp 0x42a36c
push ecx
add eax, 0x104
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
call fcn.0045822c
call fcn.0040e570
shr eax, 9
add esp, 4
add eax, 0x1000
mov ebx, eax
mov dword [esp + 0x20], ebx
mov eax, dword [esi + 8]
mov ecx, dword [eax + 0xe0]
test ecx, ecx
je 0x42a5ae
test byte [eax + 0xdc], 1
je 0x42a5ae
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x84]
mov byte [esp + 0x104a8], 4
call sub.MFC42.DLL_CFileFind::CFileFind
lea ecx, [esp + 0x14]
mov byte [esp + 0x104a8], 5
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [0x49770c]
lea ecx, [esp + 0x18]
push eax
push str._sAP
push ecx
mov byte [esp + 0x104b4], 6
call sub.MFC42.DLL_CString::Format
add esp, 8
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
call fcn.0045822c
call fcn.0040e570
shr eax, 9
add eax, 0x1000
add esp, 4
mov edi, eax
lea eax, [esp + 0x18]
push str._securelock.exe
lea ecx, [esp + 0x38]
push eax
push ecx
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
mov ebx, dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0
push 0x81
push 3
push 0
push 1
push 0x80000000
push eax
call ebx
lea ecx, [esp + 0x34]
mov ebp, eax
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x18]
push str.iStar.exe
lea eax, [esp + 0x24]
push edx
push eax
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
push 0
push 0x81
push 3
push 0
push 1
push 0x80000000
push eax
call ebx
mov ebx, eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x34], ebx
call sub.MFC42.DLL_CString::CString
cmp ebp, 0xffffffff
jne 0x42a483
mov dword [esp + 0x20], 0x135c
jmp 0x42a493
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
shr eax, 9
mov dword [esp + 0x20], eax
cmp ebx, 0xffffffff
jne 0x42a49f
mov ebx, 0x47a
jmp 0x42a4b1
mov ecx, dword [esp + 0x34]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
shr ebx, 9
mov edx, dword [esi + 8]
mov al, byte [edx + 0x189]
cmp al, 8
jne 0x42a4f5
mov eax, dword [0x49770c]
lea ecx, [esp + 0x14]
push eax
push str._sAP_securelock.exe
push ecx
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x20]
add esp, 0xc
lea ecx, [esp + 0x84]
push 0
push edx
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
je 0x42a52f
mov eax, dword [esp + 0x20]
add ebx, eax
jmp 0x42a52f
cmp al, 0x14
jne 0x42a531
mov ecx, dword [0x49770c]
lea edx, [esp + 0x14]
push ecx
push str._sAP_securelock.exe
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x20]
add esp, 0xc
lea ecx, [esp + 0x84]
push 0
push eax
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
je 0x42a52f
mov ecx, dword [esp + 0x20]
add ebx, ecx
sub edi, ebx
mov eax, dword [esp + 0x44]
cmp eax, 0x3e8000
jb 0x42a550
lea edx, [eax + eax]
mov eax, 0x10624dd3
mul edx
shr edx, 6
lea edi, [edi + edx + 0x4000]
shr edi, 1
shl edi, 1
cmp ebp, 0xffffffff
mov dword [esp + 0x20], edi
je 0x42a564
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x34]
cmp eax, 0xffffffff
je 0x42a574
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x14]
mov byte [esp + 0x104a8], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x84]
mov byte [esp + 0x104a8], 4
call fcn.00458490
lea ecx, [esp + 0x18]
mov byte [esp + 0x104a8], 3
call sub.MFC42.DLL_CString::CString
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x40]
mov ebp, dword [esi + 8]
lea eax, [ecx + edx]
mov edx, dword [esp + 0x44]
mov ecx, edx
sub ecx, eax
sub ecx, ebx
mov dword [esp + 0x14], ecx
mov ecx, dword [ebp + 0x160]
test ecx, ecx
jne 0x42a5e7
test byte [ebp + 0xdc], 0x10
je 0x42a5e7
shr ebx, 1
sub edx, ebx
sub edx, eax
mov dword [esp + 0x14], edx
cmp byte [ebp + 0xdd], 1
jne 0x42a601
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x18], eax
jmp 0x42a6c7
mov eax, dword [ebp + 0x13c]
test eax, eax
je 0x42a620
mov edi, dword [esp + 0x14]
shl eax, 0xb
mov ebx, eax
mov eax, dword [esp + 0x14]
sub eax, ebx
mov dword [esp + 0x18], eax
jmp 0x42a69a
mov edx, dword [ebp + 0x10c]
test edx, edx
je 0x42a670
mov eax, dword [ebp + 0x108]
mov edi, 0x4970cc
mov bl, byte [eax]
mov cl, bl
cmp bl, byte [edi]
jne 0x42a659
test cl, cl
je 0x42a655
mov bl, byte [eax + 1]
mov cl, bl
cmp bl, byte [edi + 1]
jne 0x42a659
add eax, 2
add edi, 2
test cl, cl
jne 0x42a635
xor eax, eax
jmp 0x42a65e
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x42a670
mov edi, dword [esp + 0x14]
mov dword [esp + 0x18], edx
mov ebx, edi
sub ebx, edx
jmp 0x42a69a
mov edi, dword [esp + 0x14]
xor eax, eax
mov al, byte [ebp + 0xe4]
push 0
cdq
push edi
push edx
push eax
call fcn.00458850
push 0
push 0x64
push edx
push eax
call fcn.004587a0
mov ebx, edi
mov dword [esp + 0x18], eax
sub ebx, eax
mov al, byte [ebp + 0x121]
test al, al
je 0x42a6c7
cmp al, 1
jne 0x42a6b8
mov dword [esp + 0x18], 0xb40
lea ebx, [edi - 0xb40]
jmp 0x42a6c7
add edi, 0xfffff4c0
mov ebx, 0xb40
mov dword [esp + 0x18], edi
test byte [ebp + 0xdc], 0x10
je 0x42a868
lea ecx, [esp + 0xa0]
mov edx, dword [esi + 0x18]
push ecx
push 0x200
push 0
push 0
push 0x80
push 0
push 0x80
push 0xfa
push edx
call fcn.0044bd90
add esp, 0x24
test eax, eax
jne 0x42a71d
lea eax, [esp + 0x24]
push 0x48d780
push eax
mov dword [esp + 0x2c], 0x91a00
call sub.MSVCRT.dll__CxxThrowException
mov eax, dword [esi + 8]
cmp dword [eax + 0x164], 1
jne 0x42a764
mov ecx, dword [esp + 0x14]
mov eax, dword [eax + 0x168]
mov edx, dword [esi + 0x18]
push 1
push 1
push ecx
push eax
push edx
call fcn.0044e000
add esp, 0x14
test eax, eax
je 0x42a868
lea eax, [esp + 0x24]
push 0x48d780
push eax
mov dword [esp + 0x2c], 0x91b00
call sub.MSVCRT.dll__CxxThrowException
mov ecx, dword [eax + 0x130]
test ecx, ecx
je 0x42a7e4
mov ecx, dword [eax + 0x134]
mov edx, dword [ecx - 8]
test edx, edx
je 0x42a7e4
mov edx, ecx
lea eax, [esp + 0x2a0]
push edx
push 0x492244
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
mov ecx, dword [esi + 8]
add esp, 0xc
mov edi, dword [ecx + 0x150]
mov ecx, esi
call fcn.0042b530
mov edx, dword [esi + 8]
push eax
lea ecx, [esp + 0x2a4]
mov eax, dword [edx + 0x160]
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [esi + 0x18]
push ecx
push edx
push edi
push eax
call fcn.004523e0
add esp, 0x18
test eax, eax
je 0x42a829
lea ecx, [esp + 0x24]
push 0x48d780
push ecx
mov dword [esp + 0x2c], 0x91b00
call sub.MSVCRT.dll__CxxThrowException
mov edi, dword [eax + 0x150]
mov ecx, esi
call fcn.0042b530
mov edx, dword [esi + 8]
mov ecx, dword [esp + 0x14]
push eax
mov eax, dword [edx + 0x160]
mov edx, dword [esi + 0x18]
push eax
push ecx
push edi
push edx
call fcn.0044e000
add esp, 0x14
test eax, eax
je 0x42a829
lea eax, [esp + 0x24]
push 0x48d780
push eax
mov dword [esp + 0x2c], 0x91b00
call sub.MSVCRT.dll__CxxThrowException
mov ecx, dword [esi + 0x18]
push ecx
call fcn.0044ba50
mov edx, dword [esi + 8]
mov ecx, dword [esp + 0x3c]
push ecx
mov eax, dword [edx + 0x154]
mov edx, dword [esi + 0x18]
push eax
push edx
call fcn.0044e250
add esp, 0x10
test eax, eax
je 0x42a868
lea eax, [esp + 0x24]
push 0x48d780
push eax
mov dword [esp + 0x2c], 0x91c00
call sub.MSVCRT.dll__CxxThrowException
mov ecx, 0x3fff
xor eax, eax
lea edi, [esp + 0x4a1]
mov byte [esp + 0x4a0], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esi + 8]
mov cl, byte [eax + 0xdc]
mov byte [esp + 0x38], cl
mov ecx, dword [eax + 0xe0]
test ecx, ecx
je 0x42a89f
mov byte [esp + 0x38], 8
mov eax, dword [esp + 0x38]
mov ebp, dword [esp + 0x7c]
and eax, 0x7f
cmp eax, 4
je 0x42aa63
cmp eax, 8
je 0x42a946
cmp eax, 0x10
jne 0x42ab4c
lea edx, [esp + 0xa0]
mov eax, dword [esi + 0x18]
push edx
push 0x200
push 0
push 0
push 0x20
push 0
push 0x80
push 0xfa
push eax
call fcn.0044bd90
add esp, 0x24
test eax, eax
jne 0x42ab4c
lea ecx, [esp + 0x30]
mov byte [esp + 0x104a8], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x104a8], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x104a8], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov dword [esp + 0x104a8], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x42b1eb
lea ecx, [esp + 0xa0]
mov edx, dword [esi + 0x18]
push ecx
push 0x200
push 0
push 0
push 0x10
push 0
push 0x80
push 0xfa
push edx
call fcn.0044bd90
add esp, 0x24
test eax, eax
jne 0x42a98c
lea eax, [esp + 0x38]
push 0x48d780
push eax
mov dword [esp + 0x40], 0x91a00
call sub.MSVCRT.dll__CxxThrowException
mov eax, dword [esi + 8]
cmp byte [eax + 0xdd], 1
jne 0x42a9ea
mov eax, dword [eax + 0x1cc]
xor ecx, ecx
mov cx, word [esi + 0x20]
xor edx, edx
mov dl, byte [esi + 0x172]
push ecx
push edx
mov edx, dword [esp + 0x44]
mov ecx, ebp
push 0
push eax
mov eax, dword [esp + 0x2c]
and ecx, 0xff
push 0
push ecx
mov ecx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x48]
push eax
mov eax, dword [esp + 0x30]
push ecx
push edx
push eax
mov ecx, esi
call fcn.0042b530
mov ecx, dword [esp + 0x44]
mov edx, dword [esi + 0x18]
push eax
push ecx
push 0
push edx
jmp 0x42aa3c
mov eax, dword [eax + 0x1cc]
xor ecx, ecx
mov cx, word [esi + 0x20]
xor edx, edx
mov dl, byte [esi + 0x172]
push ecx
push edx
mov edx, dword [esp + 0x44]
mov ecx, ebp
push 0
push eax
mov eax, dword [esp + 0x38]
and ecx, 0xff
push 0
push ecx
mov ecx, dword [esp + 0x90]
push edx
mov edx, dword [esp + 0x4c]
push eax
mov eax, dword [esp + 0xa0]
push ecx
push edx
push eax
mov ecx, esi
call fcn.0042b530
mov ecx, dword [esi + 0x18]
push eax
push ebx
push 0
push ecx
call fcn.00451d20
add esp, 0x3c
test eax, eax
je 0x42ab24
lea edx, [esp + 0x44]
push 0x48d780
push edx
mov dword [esp + 0x4c], 0x91f00
call sub.MSVCRT.dll__CxxThrowException
lea edx, [esp + 0xa0]
mov eax, dword [esi + 0x18]
push edx
push 0x200
push 0
push 0
push 8
push 0
push 0x80
push 0xfa
push eax
call fcn.0044bd90
add esp, 0x24
test eax, eax
jne 0x42aaa9
lea ecx, [esp + 0x40]
push 0x48d780
push ecx
mov dword [esp + 0x48], 0x91a00
call sub.MSVCRT.dll__CxxThrowException
mov ecx, dword [esi + 8]
xor edx, edx
mov dx, word [esi + 0x20]
xor eax, eax
mov al, byte [esi + 0x172]
push edx
mov edx, dword [ecx + 0x1cc]
mov ecx, dword [esp + 0x40]
push eax
mov eax, ebp
push 0
push edx
mov edx, dword [esp + 0x38]
and eax, 0xff
push 0
push eax
mov eax, dword [esp + 0x90]
push ecx
mov ecx, dword [esp + 0x4c]
push edx
mov edx, dword [esp + 0xa0]
push eax
push ecx
push edx
mov ecx, esi
call fcn.0042b530
mov ecx, dword [esi + 0x18]
push eax
mov eax, dword [esp + 0x50]
push eax
push 0
push ecx
call fcn.00451d20
add esp, 0x3c
test eax, eax
je 0x42ab24
lea edx, [esp + 0x34]
push 0x48d780
push edx
mov dword [esp + 0x3c], 0x91f00
call sub.MSVCRT.dll__CxxThrowException
lea eax, [esp + 0xa0]
mov ecx, dword [esi + 0x18]
push eax
push 0x200
push 0
push 0
push 0x20
push 0
push 0x80
push 0xfa
push ecx
jmp 0x42a8e8
mov eax, dword [esi + 8]
mov cl, byte [eax + 0xdd]
cmp cl, 1
jne 0x42ac45
cmp byte [eax + 0x1c8], 2
jne 0x42abb6
mov dl, byte [esi + 0x14]
push 0x20
push edx
mov ecx, esi
call fcn.0042b210
mov eax, dword [esi + 8]
mov edi, 0x4970cc
add eax, 0x108
mov eax, dword [eax]
mov dl, byte [eax]
mov bl, byte [edi]
mov cl, dl
cmp dl, bl
jne 0x42af81
test cl, cl
je 0x42abaf
mov dl, byte [eax + 1]
mov bl, byte [edi + 1]
mov cl, dl
cmp dl, bl
jne 0x42af81
add eax, 2
add edi, 2
test cl, cl
jne 0x42ab83
xor eax, eax
jmp 0x42af86
mov eax, ebp
mov ecx, esi
and eax, 0xff
mov dword [esp + 0x58], eax
call fcn.0042b530
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x50], ecx
mov cx, word [esp + 0x3c]
mov dword [esp + 0x68], edx
mov dx, word [esp + 0x48]
mov dword [esp + 0x64], eax
xor edi, edi
mov word [esp + 0x60], cx
mov ecx, dword [esp + 0x4c]
lea eax, [esp + 0x50]
push edi
mov word [esp + 0x62], dx
mov edx, dword [esi + 0x18]
push eax
push ecx
push 1
push edx
mov byte [esp + 0x70], 2
mov dword [esp + 0x84], edi
mov dword [esp + 0x80], edi
call fcn.00441c20
add esp, 0x14
cmp eax, edi
jne 0x42ab74
lea eax, [esp + 0x10]
push 0x48d780
push eax
mov dword [esp + 0x18], 0x91f00
call sub.MSVCRT.dll__CxxThrowException
cmp cl, 2
jne 0x42ab74
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x24]
or eax, ecx
je 0x42ace6
mov eax, dword [esp + 0x1c]
mov edi, 0x4970cc
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [edi]
jne 0x42ac8b
test cl, cl
je 0x42ac87
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [edi + 1]
jne 0x42ac8b
add eax, 2
add edi, 2
test cl, cl
jne 0x42ac67
xor eax, eax
jmp 0x42ac90
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x42aca2
push 0x492914
lea ecx, [esp + 0x20]
call fcn.004581ae
mov eax, dword [esp + 0x28]
mov edi, 0x4970cc
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [edi]
jne 0x42accf
test cl, cl
je 0x42accb
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [edi + 1]
jne 0x42accf
add eax, 2
add edi, 2
test cl, cl
jne 0x42acab
xor eax, eax
jmp 0x42acd4
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x42ace6
push 0x492914
lea ecx, [esp + 0x2c]
call fcn.004581ae
mov eax, dword [esi + 8]
cmp byte [eax + 0x1c8], 2
jne 0x42acfb
mov byte [esp + 0x7c], 0
mov ebp, dword [esp + 0x7c]
lea ecx, [esp + 0xa0]
mov edx, dword [esi + 0x18]
push ecx
push 0x200
push 0
push 0
push 0x80
push 0
push 0x80
push 0xfa
push edx
call fcn.0044bd90
add esp, 0x24
test eax, eax
jne 0x42ad44
lea eax, [esp + 0x10]
push 0x48d780
push eax
mov dword [esp + 0x18], 0x91a00
call sub.MSVCRT.dll__CxxThrowException
mov ecx, dword [esi + 8]
cmp byte [ecx + 0x1c8], 2
jne 0x42adb6
mov dl, byte [esi + 0x14]
push 0x20
push edx
mov ecx, esi
call fcn.0042b210
mov edi, dword [esp + 0x18]
test ebx, ebx
jbe 0x42ab74
mov eax, dword [esi + 8]
cmp byte [eax + 0x1c8], 2
jne 0x42ae3f
mov cl, byte [esi + 0x14]
push 0x40
push ecx
mov ecx, esi
call fcn.0042b210
lea edx, [esp + 0xa0]
mov eax, dword [esi + 0x18]
push edx
push 0x200
push 0
push 0
push 0x20
push 0
push 0x80
push 0xfa
push eax
call fcn.0044bd90
add esp, 0x24
jmp 0x42ab74
mov eax, ebp
mov ecx, esi
and eax, 0xff
mov dword [esp + 0x58], eax
call fcn.0042b530
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x54], eax
mov ax, word [esp + 0x3c]
mov edi, dword [esp + 0x18]
mov word [esp + 0x60], ax
xor eax, eax
mov dword [esp + 0x68], ecx
mov cx, word [esp + 0x48]
mov dword [esp + 0x64], edx
mov dword [esp + 0x70], eax
mov dword [esp + 0x6c], eax
push eax
mov eax, dword [esp + 0x50]
lea edx, [esp + 0x54]
mov word [esp + 0x62], cx
mov ecx, dword [esi + 0x18]
push edx
push eax
push 1
push ecx
mov dword [esp + 0x64], edi
mov byte [esp + 0x70], 2
call fcn.00441c20
add esp, 0x14
test eax, eax
jne 0x42ad61
lea edx, [esp + 0x10]
push 0x48d780
push edx
mov dword [esp + 0x18], 0x91f00
call sub.MSVCRT.dll__CxxThrowException
mov eax, dword [esi + 0x18]
lea ecx, [esp + 0x4a0]
lea edx, [edi - 0x100]
push ecx
push edx
push 0x80
push eax
call fcn.0044bb30
add esp, 0x10
test eax, eax
je 0x42af6a
mov edx, dword [esi + 0x18]
lea ecx, [esp + 0x4a0]
add edi, 0xffffff80
push ecx
push edi
push 0x80
push edx
call fcn.0044bb30
add esp, 0x10
test eax, eax
je 0x42af6a
lea eax, [esp + 0xa0]
mov ecx, dword [esi + 0x18]
push eax
xor edi, edi
push 0x200
push edi
push edi
push 0x40
push edi
push 0x80
push 0xfa
push ecx
call fcn.0044bd90
mov edx, ebp
add esp, 0x24
and edx, 0xff
mov ecx, esi
mov dword [esp + 0x58], edx
call fcn.0042b530
mov ecx, dword [esp + 0x30]
mov dx, word [esp + 0x3c]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x68], eax
mov ax, word [esp + 0x48]
mov dword [esp + 0x64], ecx
mov word [esp + 0x60], dx
mov edx, dword [esp + 0x4c]
lea ecx, [esp + 0x50]
push edi
mov word [esp + 0x62], ax
mov eax, dword [esi + 0x18]
push ecx
push edx
push 1
push eax
mov dword [esp + 0x64], ebx
mov byte [esp + 0x70], 2
mov dword [esp + 0x84], edi
mov dword [esp + 0x80], edi
call fcn.00441c20
lea ecx, [esp + 0xb4]
mov edx, dword [esi + 0x18]
push ecx
push 0x200
push 0
push 0
push 0x20
push 0
push 0x80
push 0xfa
push edx
mov edi, eax
call fcn.0044bd90
add esp, 0x38
test edi, edi
jne 0x42ab74
lea eax, [esp + 0x10]
push 0x48d780
push eax
mov dword [esp + 0x18], 0x91f00
call sub.MSVCRT.dll__CxxThrowException
lea ecx, [esp + 0x10]
push 0x48d780
push ecx
mov dword [esp + 0x18], 0x91d00
call sub.MSVCRT.dll__CxxThrowException
sbb eax, eax
sbb eax, 0xffffffff
xor ebx, ebx
cmp eax, ebx
je 0x42afab
mov eax, dword [esi + 0x18]
push eax
call fcn.0044ba50
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0x18]
mov eax, dword [ecx + 0x108]
push eax
push edx
call fcn.00452700
add esp, 0xc
mov edx, dword [esi + 8]
test byte [edx + 0xdc], 0x10
je 0x42b018
cmp dword [edx + 0x164], 1
jne 0x42b018
push ebx
mov ecx, 0x80
xor eax, eax
lea edi, [esp + 0x2a4]
push 0x80
push 3
rep stosd dword es:[edi], eax
mov eax, dword [edx + 0x168]
push ebx
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
lea eax, [esp + 0x2a0]
push eax
push edi
call fcn.00457ef0
add esp, 8
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x2a0]
push 6
push ecx
mov ecx, esi
call fcn.00418150
push 0x320
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, esi
call fcn.00418080
test eax, eax
jne 0x42b045
lea edx, [esp + 0x10]
push 0x48d780
push edx
mov dword [esp + 0x18], 0x92100
call sub.MSVCRT.dll__CxxThrowException
mov ecx, esi
call fcn.004130c0
mov ecx, esi
call fcn.00413540
and ebp, 0xff
mov ecx, esi
mov dword [esp + 0x58], ebp
call fcn.0042b530
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x50], eax
mov ax, word [esp + 0x3c]
mov dword [esp + 0x68], ecx
mov cx, word [esp + 0x48]
mov dword [esp + 0x64], edx
mov word [esp + 0x60], ax
mov eax, dword [esp + 0x4c]
lea edx, [esp + 0x50]
push ebx
mov word [esp + 0x62], cx
mov ecx, dword [esi + 0x18]
push edx
push eax
push ebx
push ecx
mov byte [esp + 0x70], 2
mov dword [esp + 0x84], ebx
mov dword [esp + 0x80], ebx
call fcn.00441c20
mov ecx, dword [esi + 8]
mov ebp, eax
mov dword [esi + 0x5914], ebp
add esp, 0x14
cmp dword [ecx + 0x28], ebx
je 0x42b141
cmp dword [esp + 0x14], 0x8000
jb 0x42b141
cmp byte [ecx + 0x1c8], 2
je 0x42b141
mov ecx, dword [ecx + 0x108]
mov edi, 0x4970cc
mov al, byte [ecx]
mov dl, al
cmp al, byte [edi]
jne 0x42b111
test dl, dl
je 0x42b10d
mov al, byte [ecx + 1]
mov dl, al
cmp al, byte [edi + 1]
jne 0x42b111
add ecx, 2
add edi, 2
test dl, dl
jne 0x42b0ed
xor ecx, ecx
jmp 0x42b116
sbb ecx, ecx
sbb ecx, 0xffffffff
cmp ecx, ebx
jne 0x42b141
cmp ebp, ebx
jne 0x42b141
push 0xff
mov ecx, esi
call fcn.00418230
lea ecx, [esp + 0x10]
push 0x48d780
push ecx
mov dword [esp + 0x18], 0x92700
call sub.MSVCRT.dll__CxxThrowException
cmp dword [esi + 0xfc], ebx
jne 0x42b160
mov edx, dword [esi + 0x18]
push edx
call fcn.0044df50
mov eax, dword [esi]
add esp, 4
mov ecx, esi
call dword [eax + 0xc]
test eax, eax
je 0x42b149
mov eax, dword [esi + 8]
cmp byte [eax + 0xdc], 1
jne 0x42b19f
cmp dword [eax + 0xe0], ebx
je 0x42b19f
push 7
mov ecx, esi
call fcn.00418230
test eax, eax
jne 0x42b198
lea ecx, [esp + 0x10]
push 0x48d780
push ecx
mov dword [esp + 0x18], 0x92300
call sub.MSVCRT.dll__CxxThrowException
mov ecx, esi
call fcn.00415310
lea ecx, [esp + 0x30]
mov byte [esp + 0x104a8], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x104a8], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x104a8], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov dword [esp + 0x104a8], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
mov ecx, dword [esp + 0x104a0]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1049c
ret