Function at 0x42b170
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4bf3a7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x98
mov eax, dword [0x4f5b3c]
push ebx
push esi
push edi
mov esi, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0xac], 0
mov dword [esp + 0xc], eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xac], 1
call fcn.004aad1d
mov eax, dword [0x4f5b3c]
mov dword [esp + 0x2c], eax
or ebx, 0xffffffff
push 0
lea ecx, [esp + 0x30]
mov byte [esp + 0xb0], 3
mov dword [esp + 0x20], vtable.CFileException.0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], ebx
call fcn.004a9d5c
mov ecx, esi
mov byte [esp + 0xac], 4
call fcn.00439400
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push ecx
mov ecx, esi
call fcn.00438880
lea ecx, [esp + 0x1c]
call fcn.0040cea0
push 1
push 0
lea edx, [esp + 0x14]
push 0x3a
push edx
push 0
lea ecx, [esp + 0x2c]
call fcn.00437e10
mov eax, dword [0x4fef28]
lea edi, [esi + 4]
push eax
mov ecx, edi
call fcn.004a7309
test eax, eax
jle 0x42b3a2
mov eax, dword [0x4fef7c]
test eax, eax
je 0x42b3a2
lea ecx, [esp + 0x30]
call fcn.0040cef0
lea ecx, [esp + 0x60]
mov byte [esp + 0xac], 5
call fcn.0043da30
lea ecx, [esp + 0x64]
mov byte [esp + 0xac], 6
call fcn.0043da30
lea ecx, [esp + 0x68]
mov byte [esp + 0xac], 7
call fcn.0043da30
lea ecx, [esp + 0x70]
mov byte [esp + 0xac], 8
call fcn.0043da30
lea ecx, [esp + 0x74]
mov byte [esp + 0xac], 9
call fcn.0043da30
mov eax, dword [0x4f5b3c]
mov dword [esp + 0x30], 0x4ca7a8
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov ecx, dword [edi]
mov byte [esp + 0xac], 0xa
push ecx
lea ecx, [esp + 0x34]
call fcn.004031e0
mov edx, dword [esp + 0xc]
mov eax, dword [edi]
push 0
push 0
push edx
push eax
lea ecx, [esp + 0x40]
call fcn.004038e0
lea ecx, [esp + 0x80]
mov byte [esp + 0xac], 0x12
call fcn.004a9c1f
lea ecx, [esp + 0x7c]
mov byte [esp + 0xac], 0x11
call fcn.004a9c1f
lea ecx, [esp + 0x78]
mov byte [esp + 0xac], 0x10
call fcn.004a9c1f
lea ecx, [esp + 0x74]
mov byte [esp + 0xac], 0xf
call fcn.004a9c1f
lea ecx, [esp + 0x70]
mov byte [esp + 0xac], 0xe
call fcn.004a9c1f
lea ecx, [esp + 0x68]
mov byte [esp + 0xac], 0xd
call fcn.004a9c1f
lea ecx, [esp + 0x64]
mov byte [esp + 0xac], 0xc
call fcn.004a9c1f
lea ecx, [esp + 0x60]
mov byte [esp + 0xac], 0xb
call fcn.004a9c1f
lea ecx, [esp + 0x30]
mov byte [esp + 0xac], 4
call fcn.0040cfc0
mov dword [esp + 0x1c], vtable.CFileException.0
mov byte [esp + 0xac], 0x13
jmp 0x42b7bd
mov eax, dword [esp + 0xc]
mov ecx, dword [eax - 8]
mov cl, byte [ecx + eax - 1]
cmp cl, 0x5c
jne 0x42b415
mov eax, dword [eax - 8]
lea ecx, [esp + 0x14]
dec eax
push eax
push ecx
lea ecx, [esp + 0x14]
call fcn.004a7219
mov eax, dword [eax]
lea ecx, [esp + 0xc]
push eax
mov byte [esp + 0xb0], 0x14
call fcn.004a9d5c
lea ecx, [esp + 0x14]
mov byte [esp + 0xac], 4
call fcn.004a9c1f
mov edx, dword [esp + 0xc]
cmp dword [edx - 8], 3
jle 0x42b7ad
push ecx
lea eax, [esp + 0x10]
mov dword [esp + 0x14], esp
mov ecx, esp
push eax
call fcn.004a9994
mov ecx, esi
call fcn.0042acd0
jmp 0x42b7ad
push 0x4ef2b8
lea ecx, [esp + 0x10]
call fcn.004aa0d5
cmp eax, ebx
jle 0x42b444
push ecx
lea edx, [esp + 0x10]
mov dword [esp + 0x14], esp
mov ecx, esp
push edx
call fcn.004a9994
mov ecx, esi
call fcn.0042ae50
jmp 0x42b7ad
push 0x5c
lea ecx, [esp + 0x10]
call fcn.004aa09a
cmp eax, ebx
jne 0x42b48c
lea eax, [esp + 0xc]
lea ecx, [esp + 0x10]
push eax
push 0x4ff318
push ecx
call fcn.004a9e02
mov eax, dword [eax]
lea ecx, [esp + 0xc]
push eax
mov byte [esp + 0xb0], 0x15
call fcn.004a9d5c
lea ecx, [esp + 0x10]
mov byte [esp + 0xac], 4
call fcn.004a9c1f
lea edx, [esp + 0xc]
lea ecx, [esp + 0x14]
push edx
call fcn.004a9994
lea ecx, [esp + 0x14]
mov byte [esp + 0xac], 0x16
call fcn.004aa0f5
mov eax, dword [0x4ff328]
lea ecx, [esp + 0x14]
push eax
call fcn.00434380
test eax, eax
jne 0x42b54c
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x18]
call fcn.004354c0
mov eax, dword [eax]
push 0
push eax
mov ecx, 0x4ffacc
mov byte [esp + 0xb4], 0x17
call fcn.004a82c3
test eax, eax
lea ecx, [esp + 0x10]
mov byte [esp + 0xac], 0x16
setne bl
call fcn.004a9c1f
test bl, bl
je 0x42b54c
lea ecx, [esp + 0x14]
mov byte [esp + 0xac], 4
call fcn.004a9c1f
mov dword [esp + 0x1c], vtable.CFileException.0
lea ecx, [esp + 0x2c]
mov byte [esp + 0xac], 0x18
call fcn.004a9c1f
lea ecx, [esp + 0xc]
mov byte [esp + 0xac], 0
call fcn.004a9c1f
mov dword [esp + 0xac], 0xffffffff
jmp 0x42b7de
push ecx
lea edx, [esp + 0x10]
mov esi, esp
mov dword [esp + 0x14], esp
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call fcn.004a9994
mov ecx, esi
call fcn.0040ce50
call fcn.004075a0
add esp, 4
test eax, eax
je 0x42b5c2
lea ecx, [esp + 0x14]
mov byte [esp + 0xac], 4
call fcn.004a9c1f
mov dword [esp + 0x1c], vtable.CFileException.0
lea ecx, [esp + 0x2c]
mov byte [esp + 0xac], 0x19
call fcn.004a9c1f
lea ecx, [esp + 0xc]
mov byte [esp + 0xac], 0
call fcn.004a9c1f
mov dword [esp + 0xac], 0xffffffff
jmp 0x42b7de
push 0
lea ecx, [esp + 0x10]
call fcn.00434b80
test eax, eax
je 0x42b705
mov eax, dword [0x4ff9b0]
test eax, eax
je 0x42b705
lea ecx, [esp + 0x30]
call fcn.0040cef0
mov eax, dword [0x4f5b3c]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
lea ecx, [esp + 0x68]
mov byte [esp + 0xac], 0x1c
call fcn.0043da30
lea ecx, [esp + 0x70]
mov byte [esp + 0xac], 0x1d
call fcn.0043da30
lea ecx, [esp + 0x74]
mov byte [esp + 0xac], 0x1e
call fcn.0043da30
mov eax, dword [0x4f5b3c]
mov dword [esp + 0x30], 0x4ca7a8
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
push ecx
lea eax, [esp + 0x10]
mov dword [esp + 0x14], esp
mov ecx, esp
push eax
mov byte [esp + 0xb4], 0x1f
call fcn.004a9994
lea ecx, [esp + 0x34]
call fcn.0040ba30
lea ecx, [esp + 0x80]
mov byte [esp + 0xac], 0x27
call fcn.004a9c1f
lea ecx, [esp + 0x7c]
mov byte [esp + 0xac], 0x26
call fcn.004a9c1f
lea ecx, [esp + 0x78]
mov byte [esp + 0xac], 0x25
call fcn.004a9c1f
lea ecx, [esp + 0x74]
mov byte [esp + 0xac], 0x24
call fcn.004a9c1f
lea ecx, [esp + 0x70]
mov byte [esp + 0xac], 0x23
call fcn.004a9c1f
lea ecx, [esp + 0x68]
mov byte [esp + 0xac], 0x22
call fcn.004a9c1f
lea ecx, [esp + 0x64]
mov byte [esp + 0xac], 0x21
call fcn.004a9c1f
lea ecx, [esp + 0x60]
mov byte [esp + 0xac], 0x20
call fcn.004a9c1f
lea ecx, [esp + 0x30]
mov byte [esp + 0xac], 0x16
call fcn.0040cfc0
lea ecx, [esp + 0xc]
call fcn.00436630
test eax, eax
jne 0x42b799
lea ecx, [esp + 0xc]
push ecx
mov ecx, 0x4fee30
call fcn.0041c5c0
lea edx, [esp + 0x10]
push 2
push edx
lea ecx, [esp + 0x14]
call fcn.004a7219
mov eax, dword [eax]
push 0x4eeb84
push eax
call fcn.00474eb8
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004a9c1f
test bl, bl
je 0x42b799
push ecx
lea eax, [esp + 0x10]
mov dword [esp + 0xa0], esp
mov ecx, esp
push eax
call fcn.004a9994
push ecx
mov byte [esp + 0xb4], 0x28
mov ecx, esp
mov dword [esp + 0xa8], esp
push 0x4fc5e4
call fcn.00441d00
mov ecx, 0x4fee30
mov byte [esp + 0xb4], 0x16
call fcn.00423580
lea ecx, [esp + 0x14]
mov byte [esp + 0xac], 4
call fcn.004a9c1f
or ebx, 0xffffffff
mov dword [esp + 0x1c], vtable.CFileException.0
mov byte [esp + 0xac], 0x29
lea ecx, [esp + 0x2c]
call fcn.004a9c1f
lea ecx, [esp + 0xc]
mov byte [esp + 0xac], 0
call fcn.004a9c1f
mov dword [esp + 0xac], ebx
lea ecx, [esp + 0x18]
call fcn.004a9c1f
mov ecx, dword [esp + 0xa4]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0xa4
ret