Function at 0x497710
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x78f8f9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xf0
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x34]
call fcn.0073d620
lea ecx, [esp + 0x84]
mov dword [esp + 0x100], 0
call fcn.0073d620
mov esi, dword [esp + 0x108]
lea eax, [esp + 0xcc]
push 0
push eax
mov ecx, esi
mov byte [esp + 0x108], 1
call fcn.00435f00
mov ecx, dword [eax + 4]
mov dword [esp + 0x38], ecx
mov edx, dword [eax + 8]
mov dword [esp + 0x3c], edx
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x40], ecx
mov edx, dword [eax + 0x10]
mov dword [esp + 0x44], edx
mov ecx, dword [eax + 0x14]
mov dword [esp + 0x48], ecx
mov edx, dword [eax + 0x18]
mov dword [esp + 0x4c], edx
mov ecx, dword [eax + 0x1c]
mov dword [esp + 0x50], ecx
mov edx, dword [eax + 0x20]
lea ecx, [esp + 0xcc]
mov dword [esp + 0x54], edx
call fcn.0073d650
lea eax, [esp + 0xcc]
push 1
push eax
mov ecx, esi
call fcn.00435f00
mov ecx, dword [eax + 4]
mov dword [esp + 0x88], ecx
mov edx, dword [eax + 8]
mov dword [esp + 0x8c], edx
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x90], ecx
mov edx, dword [eax + 0x10]
mov dword [esp + 0x94], edx
mov ecx, dword [eax + 0x14]
mov dword [esp + 0x98], ecx
mov edx, dword [eax + 0x18]
mov dword [esp + 0x9c], edx
mov ecx, dword [eax + 0x1c]
mov dword [esp + 0xa0], ecx
mov edx, dword [eax + 0x20]
lea ecx, [esp + 0xcc]
mov dword [esp + 0xa4], edx
call fcn.0073d650
lea ecx, [esp + 0x10]
call fcn.0073d620
lea ecx, [esp + 0x60]
mov byte [esp + 0x100], 2
call fcn.0073d620
lea eax, [esp + 0xcc]
push 2
push eax
mov ecx, esi
mov byte [esp + 0x108], 3
call fcn.00435f00
mov ecx, dword [eax + 4]
mov dword [esp + 0x14], ecx
mov edx, dword [eax + 8]
mov dword [esp + 0x18], edx
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x1c], ecx
mov edx, dword [eax + 0x10]
mov dword [esp + 0x20], edx
mov ecx, dword [eax + 0x14]
mov dword [esp + 0x24], ecx
mov edx, dword [eax + 0x18]
mov dword [esp + 0x28], edx
mov ecx, dword [eax + 0x1c]
mov dword [esp + 0x2c], ecx
mov edx, dword [eax + 0x20]
lea ecx, [esp + 0xcc]
mov dword [esp + 0x30], edx
call fcn.0073d650
lea eax, [esp + 0xcc]
push 3
push eax
mov ecx, esi
call fcn.00435f00
mov ecx, dword [eax + 4]
mov dword [esp + 0x64], ecx
mov edx, dword [eax + 8]
mov dword [esp + 0x68], edx
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x6c], ecx
mov edx, dword [eax + 0x10]
mov dword [esp + 0x70], edx
mov ecx, dword [eax + 0x14]
mov dword [esp + 0x74], ecx
mov edx, dword [eax + 0x18]
mov dword [esp + 0x78], edx
mov ecx, dword [eax + 0x1c]
mov dword [esp + 0x7c], ecx
mov edx, dword [eax + 0x20]
lea ecx, [esp + 0xcc]
mov dword [esp + 0x80], edx
call fcn.0073d650
lea ecx, [esp + 0xa8]
call fcn.0073d620
lea eax, [esp + 0xcc]
push 4
push eax
mov ecx, esi
mov byte [esp + 0x108], 4
call fcn.00435f00
mov ecx, dword [eax + 4]
mov dword [esp + 0xac], ecx
mov edx, dword [eax + 8]
mov dword [esp + 0xb0], edx
mov ecx, dword [eax + 0xc]
mov dword [esp + 0xb4], ecx
mov edx, dword [eax + 0x10]
mov dword [esp + 0xb8], edx
mov ecx, dword [eax + 0x14]
mov dword [esp + 0xbc], ecx
mov edx, dword [eax + 0x18]
mov dword [esp + 0xc0], edx
mov ecx, dword [eax + 0x1c]
mov dword [esp + 0xc4], ecx
mov edx, dword [eax + 0x20]
lea ecx, [esp + 0xcc]
mov dword [esp + 0xc8], edx
call fcn.0073d650
push 0xc74
call fcn.007604a7
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
mov byte [esp + 0x100], 5
je 0x497998
mov ecx, eax
call fcn.0053aa60
mov esi, eax
jmp 0x49799a
xor esi, esi
mov word [esi + 4], 0x3f4
mov eax, dword [esp + 0x38]
mov dword [esi + 0x10], eax
mov ecx, dword [esp + 0x44]
mov dword [esi + 0x20], ecx
mov edx, dword [esp + 0x88]
mov dword [esi + 0x14], edx
mov eax, dword [esp + 0x94]
mov dword [esi + 0x24], eax
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x18], ecx
mov edx, dword [esp + 0x20]
mov dword [esi + 0x28], edx
mov eax, dword [esp + 0x64]
mov dword [esi + 0x1c], eax
mov ecx, dword [esp + 0x70]
mov dword [esi + 0x2c], ecx
mov edx, dword [0x830b20]
push ebx
push ebp
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0xb8]
lea ecx, [esp + 0x10]
push eax
push 0x8294b0
push ecx
mov byte [esp + 0x114], 6
call fcn.0075cfe3
mov edx, dword [esp + 0x1c]
add esp, 0xc
lea eax, [esi + 0x30]
push edx
push eax
nop
call fcn.008ef1c4
mov eax, dword [esp + 0x74]
lea ecx, [esp + 0xfc]
lea edx, [esp + 0x60]
push ecx
mov ecx, dword [esp + 0x74]
push edx
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0xa8]
push edx
mov edx, dword [esp + 0xa8]
push eax
mov eax, dword [esp + 0x60]
push ecx
mov ecx, dword [esp + 0x60]
push edx
push eax
push ecx
call fcn.00541dd0
mov eax, dword [edi + 0xb8]
mov edx, dword [esp + 0x6c]
mov ecx, eax
add esp, 0x28
sub ecx, edx
mov edx, dword [esp + 0x60]
jne 0x497a98
mov eax, dword [edi + 0xbc]
mov ebx, dword [esp + 0x48]
mov ecx, eax
mov ebp, dword [esp + 0x64]
sub ecx, ebx
xor ebx, ebx
test ecx, ecx
setle bl
dec ebx
and ebx, 2
dec ebx
sub eax, ebp
mov dword [esp + 0x14], ebx
jmp 0x497aaa
xor ebx, ebx
test ecx, ecx
setle bl
dec ebx
and ebx, 2
dec ebx
sub eax, edx
mov dword [esp + 0x14], ebx
xor ecx, ecx
mov ebx, dword [esp + 0x20]
test eax, eax
mov eax, dword [edi + 0xc0]
setle cl
dec ecx
and ecx, 2
dec ecx
mov ebp, ecx
mov ecx, eax
sub ecx, ebx
mov dword [esp + 0xf8], ecx
jne 0x497af1
mov eax, dword [edi + 0xc4]
mov ebx, dword [esp + 0x24]
mov edx, eax
xor ecx, ecx
sub edx, ebx
mov ebx, dword [esp + 0x64]
test edx, edx
setle cl
dec ecx
and ecx, 2
dec ecx
sub eax, ebx
jmp 0x497b01
xor ebx, ebx
test ecx, ecx
setle bl
dec ebx
and ebx, 2
dec ebx
sub eax, edx
mov ecx, ebx
xor edx, edx
test eax, eax
setle dl
imul ebp, dword [esp + 0x14]
dec edx
and edx, 2
dec edx
cmp ebp, 1
pop ebp
mov eax, edx
pop ebx
jne 0x497b31
mov edx, dword [esp + 0x88]
mov dword [esi + 0xbf4], edx
mov edx, dword [esp + 0x94]
jmp 0x497b3f
mov edx, dword [esp + 0x38]
mov dword [esi + 0xbf4], edx
mov edx, dword [esp + 0x44]
imul eax, ecx
cmp eax, 1
mov dword [esi + 0xbf8], edx
jne 0x497b63
mov eax, dword [esp + 0x64]
mov dword [esi + 0xbfc], eax
mov ecx, dword [esp + 0x70]
mov dword [esi + 0xc00], ecx
jmp 0x497b77
mov edx, dword [esp + 0x14]
mov dword [esi + 0xbfc], edx
mov eax, dword [esp + 0x20]
mov dword [esi + 0xc00], eax
lea ecx, [esp + 8]
mov byte [esp + 0x100], 4
call fcn.0076087b
lea ecx, [esp + 0xa8]
mov byte [esp + 0x100], 3
call fcn.0073d650
lea ecx, [esp + 0x60]
mov byte [esp + 0x100], 2
call fcn.0073d650
lea ecx, [esp + 0x10]
mov byte [esp + 0x100], 1
call fcn.0073d650
lea ecx, [esp + 0x84]
mov byte [esp + 0x100], 0
call fcn.0073d650
lea ecx, [esp + 0x34]
mov dword [esp + 0x100], 0xffffffff
call fcn.0073d650
mov ecx, dword [esp + 0xf8]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0xfc
ret 0xc