Function at 0x4778c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x29c
push ebx
push esi
mov ebx, ecx
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x50], ebx
call fcn.00498320
mov ecx, dword [ebp + 0x10]
lea eax, [esp + 0x14]
push eax
push ecx
mov ecx, ebx
call fcn.0046e920
lea ecx, [esp + 0x14]
call fcn.004986f0
test eax, eax
jne 0x479f56
push 0x100bcd24
lea ecx, [esp + 0x18]
call fcn.00498860
test eax, eax
jne 0x479f56
push 0x100bccfc
lea ecx, [esp + 0x18]
call fcn.00498860
test eax, eax
jne 0x479f56
push 0x100bccd8
lea ecx, [esp + 0x18]
call fcn.00498860
test eax, eax
jne 0x479f56
push 0x100bccc0
lea ecx, [esp + 0x18]
call fcn.00498860
test eax, eax
jne 0x479f56
push 0x100bcca8
lea ecx, [esp + 0x18]
call fcn.00498860
test eax, eax
jne 0x479f56
push 0x100bcc84
lea ecx, [esp + 0x18]
call fcn.00498860
test eax, eax
jne 0x479f56
push 0x100bcc60
lea ecx, [esp + 0x18]
call fcn.00498860
test eax, eax
jne 0x479f56
push 0x100bcc48
lea ecx, [esp + 0x18]
call fcn.00498860
test eax, eax
jne 0x479f56
push 0x100bcc28
lea ecx, [esp + 0x18]
call fcn.00498860
test eax, eax
jne 0x479f56
push 0x100bcc00
lea ecx, [esp + 0x18]
call fcn.00498860
test eax, eax
jne 0x479f56
push 0x100bcbe0
lea ecx, [esp + 0x18]
call fcn.00498860
test eax, eax
jne 0x479f56
push 0x100bcbc0
lea ecx, [esp + 0x18]
call fcn.00498860
test eax, eax
jne 0x479f56
push 0x100bcc48
lea ecx, [esp + 0x18]
call fcn.00498860
test eax, eax
jne 0x479f56
push 0x100bcba4
lea ecx, [esp + 0x18]
call fcn.00498860
test eax, eax
jne 0x479f56
push 0x100bcb64
lea ecx, [esp + 0x18]
call fcn.00498860
test eax, eax
jne 0x479f56
push 0x100bcb38
lea ecx, [esp + 0x18]
call fcn.00498860
test eax, eax
jne 0x479f56
push 0x100bcb14
lea ecx, [esp + 0x18]
call fcn.00498860
test eax, eax
jne 0x479f56
push 0x100bcaf0
lea ecx, [esp + 0x18]
call fcn.00498860
test eax, eax
jne 0x479f56
lea edx, [esp + 0x150]
push 0xc
push edx
call fcn.00458f10
xor esi, esi
add esp, 8
lea ecx, [esp + 0x14]
mov dword [esp + 0x154], esi
mov dword [esp + 0x158], esi
call fcn.004c87c0
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.0043f740
mov ecx, dword [esp + 0x30]
add esp, 8
lea edx, [esp + 0x150]
push edx
mov dword [esp + 0x154], ecx
mov ecx, dword [ebx + 0x40]
push 2
call fcn.0044c010
cmp dword [esp + 0x154], esi
je 0x477b21
mov eax, dword [esp + 0x158]
push eax
lea ecx, [esp + 0x160]
call fcn.00498370
push eax
lea ecx, [esp + 0x18]
call fcn.00498420
lea ecx, [esp + 0x15c]
call fcn.00498440
mov ecx, dword [esp + 0x158]
push ecx
call fcn.00450df0
mov esi, dword [ebp + 0xc]
test esi, 0x100000
mov edi, dword [ebp + 0x28]
je 0x477b3f
test edi, 0x30
mov dword [esp + 0x68], 1
je 0x477b47
mov dword [esp + 0x68], 0
lea edx, [esp + 0x10]
push 4
push edx
call fcn.00458f10
mov eax, dword [ebp + 0x10]
add eax, 4
add esp, 8
cmp dword [eax], 0
je 0x477bd7
lea ecx, [esp + 0x10]
push ecx
push eax
lea ecx, [ebx + 0x9c]
call fcn.004679c0
test eax, eax
je 0x477bd7
mov edx, dword [ebp + 0x38]
mov eax, dword [ebp + 0x34]
mov ecx, dword [ebp + 0x30]
push edx
mov edx, dword [ebp + 0x2c]
push eax
mov eax, dword [ebp + 0x24]
push ecx
mov ecx, dword [ebp + 0x20]
push edx
mov edx, dword [ebp + 0x1c]
push edi
push eax
mov eax, dword [ebp + 0x18]
push ecx
mov ecx, dword [ebp + 0x14]
push edx
mov edx, dword [ebp + 0x10]
push eax
mov eax, dword [edx + 8]
mov edx, dword [ebp + 8]
push ecx
mov ecx, dword [esp + 0x38]
push eax
push ecx
push esi
push edx
mov ecx, ebx
call fcn.004693e0
lea ecx, [esp + 0x10]
call fcn.0048e940
lea ecx, [esp + 0x28]
call fcn.0043e810
lea ecx, [esp + 0x14]
call fcn.00498440
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x34
lea ecx, [esp + 0x88]
call fcn.004947b0
mov edx, dword [ebp + 0x10]
mov eax, dword [ebx + 0x48]
lea ecx, [esp + 0x88]
push ecx
push edx
push eax
mov ecx, ebx
call fcn.0046e9b0
test eax, eax
je 0x479129
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x8c]
call fcn.00498020
lea ecx, [esp + 0x88]
call fcn.004c66e0
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
mov dword [esp + 0x40], eax
mov eax, dword [edx + 0x28]
call eax
cmp eax, 3
jne 0x4781b0
mov ecx, dword [esp + 0x40]
call fcn.004856d0
test eax, eax
jne 0x479143
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx + 0x60]
call eax
test eax, eax
mov ecx, dword [esp + 0xc]
je 0x478016
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
test eax, eax
mov eax, dword [ebp + 0x24]
je 0x477de4
test eax, eax
je 0x477c88
cmp eax, 2
je 0x477c88
cmp eax, 3
je 0x477c88
cmp eax, 5
jne 0x47916f
lea ecx, [esp + 0x1d8]
push ecx
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov edx, dword [edx + 0x2c]
lea eax, [esp + 0x1c4]
push eax
call edx
mov ecx, eax
call fcn.00498450
mov eax, dword [ebx + 0x48]
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
mov edx, dword [edx + 0x50]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x190]
push eax
call edx
mov eax, dword [eax]
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
mov edx, dword [edx + 0xa4]
push eax
lea eax, [esp + 0x1dc]
push eax
lea eax, [esp + 0xd0]
push eax
call edx
lea ecx, [esp + 0x190]
call fcn.0048e940
lea ecx, [esp + 0x1c0]
call fcn.00498440
mov ecx, dword [esp + 0xc8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x50]
lea edx, [esp + 0x110]
push edx
call eax
lea ecx, [esp + 0xf4]
push 4
push ecx
call fcn.00458f10
mov ecx, dword [esp + 0x118]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
add esp, 8
lea eax, [esp + 0xf4]
push eax
call edx
mov eax, dword [ebx + 0x48]
push eax
lea ecx, [esp + 0x14c]
call fcn.00498080
lea ecx, [esp + 0xe8]
push 4
push ecx
call fcn.00458f10
mov eax, dword [ebp + 0x10]
add esp, 8
lea edx, [esp + 0xe8]
push edx
push eax
mov ecx, ebx
call fcn.00475160
test eax, eax
jne 0x477da3
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
mov ebx, dword [esp + 0xe8]
call eax
mov edx, dword [ebx]
mov edx, dword [edx + 0xc]
mov ecx, ebx
mov dword [esp + 0x20], eax
call edx
mov ecx, dword [esp + 0x20]
cmp ecx, eax
je 0x4791a1
mov ebx, dword [esp + 0x50]
lea ecx, [esp + 0xe8]
call fcn.0048e940
lea ecx, [esp + 0x148]
call fcn.004980b0
lea ecx, [esp + 0xf4]
call fcn.0048e940
lea ecx, [esp + 0x110]
call fcn.0048e940
lea ecx, [esp + 0xc8]
call fcn.0048e940
jmp 0x4790e9
test eax, eax
je 0x477dfb
cmp eax, 2
je 0x477dfb
cmp eax, 3
je 0x477dfb
cmp eax, 5
jne 0x4792a5
cmp dword [ebx + 0x44], 1
jne 0x477f48
lea eax, [esp + 0xc4]
push 4
push eax
call fcn.00458f10
lea ecx, [esp + 0xcc]
push ecx
call fcn.00493080
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
mov eax, dword [eax + 0x2c]
add esp, 0xc
lea edx, [esp + 0x1d0]
push edx
lea edx, [esp + 0x1f4]
push edx
call eax
mov ecx, eax
call fcn.00498450
mov eax, dword [esp + 0xc4]
mov ecx, dword [ebx + 0x48]
mov edx, dword [ecx]
mov edx, dword [edx + 0xa4]
push eax
lea eax, [esp + 0x1d4]
push eax
lea eax, [esp + 0xec]
push eax
call edx
lea ecx, [esp + 0x1f0]
call fcn.00498440
lea eax, [esp + 0xfc]
push 4
push eax
call fcn.00458f10
mov ecx, dword [esp + 0xcc]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
add esp, 8
lea eax, [esp + 0xfc]
push eax
call edx
mov eax, dword [ebx + 0x48]
push eax
lea ecx, [esp + 0x150]
call fcn.00498080
lea ecx, [esp + 0xec]
push 4
push ecx
call fcn.00458f10
mov eax, dword [ebp + 0x10]
add esp, 8
lea edx, [esp + 0xec]
push edx
push eax
mov ecx, ebx
call fcn.00475160
test eax, eax
jne 0x477f07
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
mov ebx, dword [esp + 0xec]
call eax
mov edx, dword [ebx]
mov edx, dword [edx + 0xc]
mov ecx, ebx
mov dword [esp + 0x20], eax
call edx
mov ecx, dword [esp + 0x20]
cmp ecx, eax
je 0x4792dd
mov ebx, dword [esp + 0x50]
lea ecx, [esp + 0xec]
call fcn.0048e940
lea ecx, [esp + 0x14c]
call fcn.004980b0
lea ecx, [esp + 0xfc]
call fcn.0048e940
lea ecx, [esp + 0xe4]
call fcn.0048e940
lea ecx, [esp + 0xc4]
call fcn.0048e940
jmp 0x4790e9
mov eax, dword [ebp + 0x30]
mov edx, dword [ebp + 0x2c]
mov ecx, dword [0x100cca70]
push eax
mov eax, dword [ebp + 0x20]
push edx
mov edx, dword [ebp + 0x1c]
push edi
push 0
push eax
mov eax, dword [ebp + 0x18]
push edx
mov edx, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
push edx
mov edx, dword [ebp + 8]
push eax
mov eax, dword [ecx + 0x18c]
add ecx, 0x18c
push esi
push edx
mov edx, dword [eax + 0x24]
call edx
call eax
test eax, eax
mov dword [esp + 0x1c], eax
jne 0x4793ef
mov eax, dword [ebx + 0x48]
push eax
lea ecx, [esp + 0x13c]
call fcn.00498080
lea ecx, [esp + 0xd8]
push 4
push ecx
call fcn.00458f10
mov eax, dword [ebp + 0x10]
add esp, 8
lea edx, [esp + 0xd8]
push edx
push eax
mov ecx, ebx
call fcn.00475160
test eax, eax
jne 0x477ff9
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
mov ebx, dword [esp + 0xd8]
call eax
mov edx, dword [ebx]
mov edx, dword [edx + 0xc]
mov ecx, ebx
mov dword [esp + 0x20], eax
call edx
mov ecx, dword [esp + 0x20]
cmp ecx, eax
je 0x4793c8
mov ebx, dword [esp + 0x50]
lea ecx, [esp + 0xd8]
call fcn.0048e940
lea ecx, [esp + 0x138]
call fcn.004980b0
jmp 0x4790e9
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
test eax, eax
je 0x4795f8
mov eax, dword [ebp + 0x24]
test eax, eax
jne 0x478183
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
mov edx, dword [edx + 0x2c]
lea eax, [esp + 0x200]
push eax
lea eax, [esp + 0x214]
push eax
call edx
mov ecx, eax
call fcn.00498450
mov eax, dword [ebx + 0x48]
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
mov edx, dword [edx + 0x50]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x194]
push eax
call edx
mov eax, dword [eax]
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
mov edx, dword [edx + 0xa4]
push eax
lea eax, [esp + 0x204]
push eax
lea eax, [esp + 0xd4]
push eax
call edx
lea ecx, [esp + 0x194]
call fcn.0048e940
lea ecx, [esp + 0x210]
call fcn.00498440
mov ecx, dword [esp + 0xcc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x50]
lea edx, [esp + 0x5c]
push edx
call eax
lea ecx, [esp + 0xdc]
push 4
push ecx
call fcn.00458f10
mov ecx, dword [esp + 0x64]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
add esp, 8
lea eax, [esp + 0xdc]
push eax
call edx
mov eax, dword [ebx + 0x48]
push eax
lea ecx, [esp + 0xbc]
call fcn.00498080
lea ecx, [esp + 0xf0]
push 4
push ecx
call fcn.00458f10
mov eax, dword [ebp + 0x10]
add esp, 8
lea edx, [esp + 0xf0]
push edx
push eax
mov ecx, ebx
call fcn.00475160
test eax, eax
jne 0x478145
mov ecx, dword [esp + 0xf0]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
mov ebx, dword [esp + 0xc]
call eax
mov edx, dword [ebx]
mov edx, dword [edx + 0xc]
mov ecx, ebx
mov dword [esp + 0x20], eax
call edx
mov ecx, dword [esp + 0x20]
cmp eax, ecx
je 0x479402
mov ebx, dword [esp + 0x50]
lea ecx, [esp + 0xf0]
call fcn.0048e940
lea ecx, [esp + 0xb8]
call fcn.004980b0
lea ecx, [esp + 0xdc]
call fcn.0048e940
lea ecx, [esp + 0x5c]
call fcn.0048e940
lea ecx, [esp + 0xcc]
call fcn.0048e940
jmp 0x4790e9
cmp eax, 2
je 0x479503
cmp eax, 1
je 0x47951a
cmp eax, 3
je 0x47951a
cmp eax, 4
je 0x47951a
cmp eax, 5
je 0x47951a
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
mov edx, dword [eax + 0x60]
call edx
test eax, eax
mov ecx, dword [esp + 0xc]
je 0x478e3b
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
test eax, eax
je 0x4787c1
push esi
push edi
call fcn.00485ec0
add esp, 8
test eax, eax
je 0x479179
mov eax, dword [ebp + 0x24]
test eax, eax
je 0x4781f9
cmp eax, 4
je 0x4781f9
cmp eax, 5
jne 0x478205
test edi, 1
jne 0x4792af
test eax, eax
je 0x47821c
cmp eax, 2
je 0x47821c
cmp eax, 3
je 0x47821c
cmp eax, 5
jne 0x479606
mov eax, dword [esp + 0x40]
push eax
lea ecx, [esp + 0x19c]
call fcn.00485740
lea ecx, [esp + 0x240]
call fcn.00485880
lea ecx, [esp + 0x240]
push ecx
mov ecx, dword [esp + 0x44]
call fcn.00485770
test eax, eax
je 0x47825c
cmp dword [esp + 0x24c], 0
je 0x479688
lea ecx, [esp + 0x198]
call fcn.00485760
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
mov edx, dword [edx + 0x4c]
lea eax, [esp + 0x3c]
push eax
call edx
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0xbc]
push eax
call fcn.00485500
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx + 0x28]
call eax
mov dword [esp + 0x1c], eax
mov eax, edi
and eax, 1
mov dword [esp + 0x24], eax
je 0x47831b
cmp word [esp + 0xbc], 0
mov eax, dword [ebp + 0x24]
ja 0x4796ab
test eax, eax
je 0x4796f5
cmp eax, 5
je 0x4796f5
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx + 0x28]
call eax
cmp eax, 2
je 0x47831b
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x40]
mov dword [esp + 0x20], 0
call fcn.00463f90
lea ecx, [esp + 0x1c]
call fcn.0048e940
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x3c]
push edx
push 1
push eax
call fcn.00485ea0
add esp, 8
push eax
push 1
call fcn.00491a80
add esp, 0xc
mov dword [esp + 0x1c], 2
test edi, 0x40
jne 0x47832a
cmp dword [esp + 0x24], 0
jne 0x47837f
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx + 0x28]
call eax
cmp eax, 2
jne 0x47837f
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x40]
mov dword [esp + 0x20], 0
call fcn.00463f90
lea ecx, [esp + 0x1c]
call fcn.0048e940
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x3c]
push edx
push 0
push eax
call fcn.00485ea0
add esp, 8
push eax
push 0
call fcn.00491a80
add esp, 0xc
mov dword [esp + 0x1c], 1
lea ecx, [esp + 0x238]
push ecx
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov edx, dword [edx + 0x30]
lea eax, [esp + 0x1e4]
push eax
call edx
mov ecx, eax
call fcn.00498450
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
mov edx, dword [edx + 0x2c]
lea eax, [esp + 0x230]
push eax
lea eax, [esp + 0x1bc]
push eax
call edx
mov ecx, eax
call fcn.00498450
mov edx, dword [esp + 0x3c]
mov ecx, dword [ebx + 0x48]
mov eax, dword [ecx]
mov eax, dword [eax + 0xa8]
push edx
mov edx, dword [esp + 0x20]
push edx
lea edx, [esp + 0x240]
push edx
lea edx, [esp + 0x23c]
push edx
lea edx, [esp + 0x90]
push edx
call eax
lea ecx, [esp + 0x1b8]
call fcn.00498440
lea ecx, [esp + 0x1e0]
call fcn.00498440
lea ecx, [esp + 0x78]
push 4
push ecx
call fcn.00458f10
lea edx, [esp + 0x78]
push 4
push edx
call fcn.00458f10
mov eax, dword [esp + 0x4c]
mov ecx, dword [ebp + 0x20]
mov dword [esp + 0x30], eax
mov eax, dword [eax]
add esp, 0x10
add eax, 0x10
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x70]
push eax
push edi
push ecx
push esi
push 0x100b0384
lea ecx, [esp + 0x264]
call fcn.00498160
mov ecx, eax
call fcn.004c87c0
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
push eax
mov eax, dword [edx]
call eax
test eax, eax
jne 0x479715
cmp word [esp + 0xbc], ax
jbe 0x478653
lea ecx, [esp + 0x84]
push 4
push ecx
call fcn.00458f10
mov ecx, dword [esp + 0x44]
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
add esp, 8
lea eax, [esp + 0x84]
push eax
mov eax, dword [ebp + 0x20]
push edi
push eax
push esi
lea eax, [esp + 0xcc]
push eax
call edx
mov ecx, eax
and ecx, 0xefffffff
cmp ecx, 0xc0000034
jne 0x4785de
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
lea eax, [esp + 0x84]
push eax
mov eax, dword [ebp + 0x20]
push edi
push eax
mov eax, dword [ebp + 0x1c]
push eax
push esi
lea eax, [esp + 0xd0]
push eax
call edx
test eax, eax
jne 0x479754
mov ecx, dword [esp + 0x40]
call fcn.004856e0
test eax, eax
je 0x4785e6
lea ecx, [esp + 0x174]
call fcn.004c87c0
mov eax, dword [0x100bd2c0]
push eax
lea ecx, [esp + 0xc0]
push ecx
lea ecx, [esp + 0x17c]
call fcn.00485390
lea edx, [esp + 0x260]
push edx
lea ecx, [esp + 0x178]
call fcn.004856f0
mov eax, dword [eax + 4]
push eax
lea ecx, [esp + 0x274]
push ecx
lea ecx, [esp + 0x17c]
call fcn.00485560
mov edx, dword [eax + 4]
mov eax, dword [eax]
push edx
push eax
lea ecx, [esp + 0x1a8]
call fcn.00498180
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x20], eax
mov eax, dword [eax]
lea ecx, [esp + 0x140]
add eax, 0x18
push ecx
lea ecx, [esp + 0x1a4]
mov dword [esp + 0x20], eax
call fcn.004c87c0
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
push eax
mov eax, dword [edx]
call eax
test eax, eax
jne 0x4785e6
mov eax, dword [esp + 0x140]
test al, 0x20
jne 0x4785e6
mov ecx, dword [esp + 0x3c]
or eax, 0x20
mov dword [esp + 0x20], ecx
mov dword [esp + 0x140], eax
mov ecx, dword [ecx]
add ecx, 0x1c
mov dword [esp + 0x1c], ecx
push eax
lea ecx, [esp + 0x1a4]
call fcn.004c87c0
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
push eax
mov eax, dword [edx]
call eax
jmp 0x4785e6
test eax, eax
jne 0x479754
lea ecx, [esp + 0x11c]
push 4
push ecx
call fcn.00458f10
mov ecx, dword [esp + 0x8c]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
add esp, 8
lea eax, [esp + 0x11c]
push eax
call edx
mov ecx, dword [esp + 0x11c]
mov edx, dword [ecx]
xor eax, eax
push eax
push eax
mov dword [esp + 0x22c], eax
mov eax, dword [edx + 0x18]
push ecx
call eax
lea ecx, [esp + 0x84]
push ecx
lea ecx, [esp + 0x7c]
call fcn.00463f90
lea ecx, [esp + 0x11c]
call fcn.0048e940
lea ecx, [esp + 0x84]
call fcn.0048e940
jmp 0x478661
lea edx, [esp + 0x70]
push edx
lea ecx, [esp + 0x7c]
call fcn.00463f90
mov ecx, dword [esp + 0x80]
mov eax, dword [ecx]
mov edx, dword [eax + 0x28]
call edx
cmp eax, 2
je 0x4786bf
lea eax, [esp + 0x120]
push 4
push eax
call fcn.00458f10
mov ecx, dword [esp + 0x78]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
add esp, 8
lea eax, [esp + 0x120]
push eax
call edx
mov ecx, dword [esp + 0x120]
mov edx, dword [ecx]
xor eax, eax
push eax
push eax
mov dword [esp + 0x1d4], eax
mov eax, dword [edx + 0x18]
push ecx
call eax
lea ecx, [esp + 0x120]
call fcn.0048e940
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x80]
push edi
push esi
push ecx
lea edx, [esp + 0xc8]
push edx
push eax
lea ecx, [esp + 0x4c]
push ecx
call fcn.00482870
mov eax, dword [eax]
add esp, 0x18
test eax, eax
mov dword [esp + 0x24], eax
je 0x4786f5
mov edx, dword [eax]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x38]
call fcn.0048e940
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x24]
push ecx
push edx
mov ecx, ebx
call fcn.00469350
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov edx, dword [ebx + 0x48]
push edx
lea ecx, [esp + 0x148]
call fcn.00498080
lea eax, [esp + 0xe0]
push 4
push eax
call fcn.00458f10
mov edx, dword [ebp + 0x10]
add esp, 8
lea ecx, [esp + 0xe0]
push ecx
push edx
mov ecx, ebx
call fcn.00475160
test eax, eax
jne 0x478774
mov ecx, dword [esp + 0xe0]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
mov ecx, dword [esp + 0xc]
mov ebx, eax
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
cmp eax, ebx
je 0x479775
mov ebx, dword [esp + 0x50]
lea ecx, [esp + 0xe0]
call fcn.0048e940
lea ecx, [esp + 0x144]
call fcn.004980b0
lea ecx, [esp + 0x24]
call fcn.0048e940
lea ecx, [esp + 0x70]
call fcn.0048e940
lea ecx, [esp + 0x78]
call fcn.0048e940
lea ecx, [esp + 0x80]
call fcn.0048e940
lea ecx, [esp + 0x3c]
call fcn.0048e940
jmp 0x4790e9
mov eax, dword [ebp + 0x24]
test eax, eax
je 0x4787db
cmp eax, 2
je 0x4787db
cmp eax, 3
je 0x4787db
cmp eax, 5
jne 0x4797fe
mov ecx, edi
and ecx, 1
mov dword [esp + 0x24], ecx
je 0x4787f2
test edi, 0x40
jne 0x479143
test eax, eax
je 0x4787fb
cmp eax, 5
jne 0x478803
test ecx, ecx
jne 0x479179
mov eax, dword [esp + 0x40]
push eax
lea ecx, [esp + 0x160]
call fcn.00485740
lea ecx, [esp + 0x164]
call fcn.00485880
lea ecx, [esp + 0x164]
push ecx
mov ecx, dword [esp + 0x44]
call fcn.00485770
test eax, eax
je 0x478843
cmp dword [esp + 0x170], 0
je 0x479876
lea ecx, [esp + 0x15c]
call fcn.00485760
mov ecx, dword [esp + 0x40]
lea edx, [esp + 0x60]
push edx
call fcn.00485500
cmp dword [esp + 0x24], 0
je 0x478884
cmp word [esp + 0x60], 0
mov eax, dword [ebp + 0x24]
ja 0x479899
test eax, eax
je 0x4792af
cmp eax, 5
je 0x4792af
cmp dword [ebx + 0x44], 1
jne 0x478d0b
lea eax, [esp + 0x4c]
push 4
push eax
call fcn.00458f10
mov edx, dword [esp + 0x2c]
mov eax, dword [ebp + 0x1c]
add esp, 8
lea ecx, [esp + 0x4c]
push ecx
push edx
push eax
call fcn.00485ea0
mov ecx, dword [esp + 0x30]
add esp, 8
push eax
push ecx
call fcn.00491a80
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
add esp, 0xc
lea edx, [esp + 0x208]
push edx
lea edx, [esp + 0x1ec]
push edx
call eax
mov ecx, eax
call fcn.00498450
lea ecx, [esp + 0x1a8]
push ecx
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov edx, dword [edx + 0x2c]
lea eax, [esp + 0x22c]
push eax
call edx
mov ecx, eax
call fcn.00498450
mov ecx, dword [esp + 0x4c]
mov eax, dword [ebx + 0x48]
mov eax, dword [eax]
xor edx, edx
cmp dword [esp + 0x24], edx
push ecx
setne dl
lea ecx, [esp + 0x20c]
add edx, 1
push edx
push ecx
lea edx, [esp + 0x1b4]
push edx
mov edx, dword [eax + 0xa8]
lea ecx, [esp + 0x7c]
push ecx
mov ecx, dword [ebx + 0x48]
call edx
lea ecx, [esp + 0x228]
call fcn.00498440
lea ecx, [esp + 0x1e8]
call fcn.00498440
lea eax, [esp + 0x74]
push 4
push eax
call fcn.00458f10
lea ecx, [esp + 0x84]
push 4
push ecx
call fcn.00458f10
mov eax, dword [esp + 0x5c]
add esp, 0x10
mov dword [esp + 0x20], eax
mov eax, dword [eax]
add eax, 0x10
lea edx, [esp + 0x7c]
push edx
push edi
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x20]
push eax
push esi
push 0x100b0384
lea ecx, [esp + 0x28c]
call fcn.00498160
mov ecx, eax
call fcn.004c87c0
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
push eax
mov eax, dword [edx]
call eax
test eax, eax
jne 0x4798be
cmp word [esp + 0x60], ax
jbe 0x478ba6
lea ecx, [esp + 0x44]
push 4
push ecx
call fcn.00458f10
mov ecx, dword [esp + 0x54]
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
add esp, 8
lea eax, [esp + 0x44]
push eax
mov eax, dword [ebp + 0x20]
push edi
push eax
push esi
lea eax, [esp + 0x70]
push eax
call edx
mov ecx, eax
and ecx, 0xefffffff
cmp ecx, 0xc0000034
jne 0x478b3a
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x20], eax
mov eax, dword [eax]
add eax, 0xc
lea edx, [esp + 0x44]
push edx
mov edx, dword [ebp + 0x1c]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x20]
push edi
push eax
push ecx
push edx
call fcn.00485ea0
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
add esp, 8
push eax
push esi
lea eax, [esp + 0x74]
push eax
mov eax, dword [edx]
call eax
test eax, eax
jne 0x4798fa
lea ecx, [esp + 0x174]
call fcn.004c87c0
mov ecx, dword [0x100bd2c0]
push ecx
lea edx, [esp + 0x64]
push edx
lea ecx, [esp + 0x17c]
call fcn.00485390
lea ecx, [esp + 0x174]
call fcn.004856e0
test eax, eax
je 0x478b42
lea eax, [esp + 0x268]
push eax
lea ecx, [esp + 0x178]
call fcn.004856f0
mov ecx, dword [eax + 4]
push ecx
lea edx, [esp + 0x25c]
push edx
lea ecx, [esp + 0x17c]
call fcn.00485560
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push ecx
push edx
lea ecx, [esp + 0xd8]
call fcn.00498180
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x20], eax
mov eax, dword [eax]
add eax, 0x18
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x134]
push eax
lea ecx, [esp + 0xd4]
call fcn.004c87c0
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
push eax
mov eax, dword [edx]
call eax
test eax, eax
jne 0x478b42
mov eax, dword [esp + 0x134]
test al, 0x20
jne 0x478b42
mov ecx, dword [esp + 0x4c]
or eax, 0x20
mov dword [esp + 0x20], ecx
mov dword [esp + 0x134], eax
mov ecx, dword [ecx]
add ecx, 0x1c
mov dword [esp + 0x1c], ecx
push eax
lea ecx, [esp + 0xd4]
call fcn.004c87c0
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
push eax
mov eax, dword [edx]
call eax
jmp 0x478b42
test eax, eax
jne 0x4798fa
lea ecx, [esp + 0x124]
push 4
push ecx
call fcn.00458f10
mov ecx, dword [esp + 0x4c]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
add esp, 8
lea eax, [esp + 0x124]
push eax
call edx
mov ecx, dword [esp + 0x124]
mov edx, dword [ecx]
xor eax, eax
push eax
push eax
mov dword [esp + 0x224], eax
mov eax, dword [edx + 0x18]
push ecx
call eax
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x78]
call fcn.00463f90
lea ecx, [esp + 0x124]
call fcn.0048e940
lea ecx, [esp + 0x44]
call fcn.0048e940
jmp 0x478bb4
lea edx, [esp + 0x7c]
push edx
lea ecx, [esp + 0x78]
call fcn.00463f90
mov ecx, dword [esp + 0x6c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x28]
call edx
cmp eax, 2
je 0x478c12
lea eax, [esp + 0x104]
push 4
push eax
call fcn.00458f10
mov ecx, dword [esp + 0x84]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
add esp, 8
lea eax, [esp + 0x104]
push eax
call edx
mov ecx, dword [esp + 0x104]
mov edx, dword [ecx]
xor eax, eax
push eax
push eax
mov dword [esp + 0x204], eax
mov eax, dword [edx + 0x18]
push ecx
call eax
lea ecx, [esp + 0x104]
call fcn.0048e940
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x6c]
push edi
push esi
push ecx
lea edx, [esp + 0x6c]
push edx
push eax
lea ecx, [esp + 0x48]
push ecx
call fcn.00482870
mov eax, dword [eax]
add esp, 0x18
test eax, eax
mov dword [esp + 0x24], eax
je 0x478c42
mov edx, dword [eax]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x34]
call fcn.0048e940
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x24]
push ecx
push edx
mov ecx, ebx
call fcn.00469350
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov edx, dword [ebx + 0x48]
push edx
lea ecx, [esp + 0x140]
call fcn.00498080
lea eax, [esp + 0xf8]
push 4
push eax
call fcn.00458f10
mov edx, dword [ebp + 0x10]
add esp, 8
lea ecx, [esp + 0xf8]
push ecx
push edx
mov ecx, ebx
call fcn.00475160
test eax, eax
jne 0x478cc1
mov ecx, dword [esp + 0xf8]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
mov ecx, dword [esp + 0xc]
mov ebx, eax
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
cmp eax, ebx
je 0x479918
mov ebx, dword [esp + 0x50]
lea ecx, [esp + 0xf8]
call fcn.0048e940
lea ecx, [esp + 0x13c]
call fcn.004980b0
lea ecx, [esp + 0x24]
call fcn.0048e940
lea ecx, [esp + 0x7c]
call fcn.0048e940
lea ecx, [esp + 0x74]
call fcn.0048e940
lea ecx, [esp + 0x6c]
call fcn.0048e940
lea ecx, [esp + 0x4c]
call fcn.0048e940
jmp 0x4790e9
mov eax, dword [ebp + 0x30]
mov edx, dword [ebp + 0x2c]
mov ecx, dword [0x100cca70]
push eax
mov eax, dword [ebp + 0x20]
push edx
mov edx, dword [ebp + 0x1c]
push edi
push 0
push eax
mov eax, dword [ebp + 0x18]
push edx
mov edx, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
push edx
mov edx, dword [ebp + 8]
push eax
mov eax, dword [ecx + 0x18c]
add ecx, 0x18c
push esi
push edx
mov edx, dword [eax + 0x24]
call edx
call eax
test eax, eax
mov dword [esp + 0x20], eax
je 0x478dbe
mov ecx, dword [0x100cca70]
mov eax, dword [ebp + 0x10]
mov edx, dword [ecx + 0x21c]
add ecx, 0x21c
push eax
mov eax, dword [edx + 0x24]
call eax
call eax
test eax, eax
jne 0x4799d3
mov edx, dword [ebp + 0x30]
mov eax, dword [ebp + 0x2c]
mov ecx, dword [0x100cca70]
push edx
mov edx, dword [ebp + 0x20]
push eax
mov eax, dword [ebp + 0x1c]
push edi
push 2
push edx
mov edx, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x14]
push edx
mov edx, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 8]
push edx
mov edx, dword [ecx + 0x18c]
add ecx, 0x18c
push esi
push eax
mov eax, dword [edx + 0x24]
call eax
call eax
test eax, eax
mov dword [esp + 0x20], eax
jne 0x4799d3
mov ecx, dword [ebx + 0x48]
push ecx
lea ecx, [esp + 0x134]
call fcn.00498080
lea edx, [esp + 0x100]
push 4
push edx
call fcn.00458f10
mov ecx, dword [ebp + 0x10]
add esp, 8
lea eax, [esp + 0x100]
push eax
push ecx
mov ecx, ebx
call fcn.00475160
test eax, eax
jne 0x478e1e
mov ecx, dword [esp + 0x100]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
mov ebx, eax
mov eax, dword [edx + 0xc]
call eax
cmp eax, ebx
je 0x47999e
mov ebx, dword [esp + 0x50]
lea ecx, [esp + 0x100]
call fcn.0048e940
lea ecx, [esp + 0x130]
call fcn.004980b0
jmp 0x4790e9
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
test eax, eax
je 0x478eb7
mov edx, dword [ebp + 0x38]
mov eax, dword [ebp + 0x34]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [ebp + 0x30]
push edx
mov edx, dword [ebp + 0x2c]
push eax
mov eax, dword [ebp + 0x24]
push ecx
mov ecx, dword [ebp + 0x20]
push edx
mov edx, dword [ebp + 0x1c]
push edi
push eax
mov eax, dword [ebp + 0x18]
push ecx
mov ecx, dword [ebp + 0x14]
push edx
mov edx, dword [esp + 0x64]
push eax
mov eax, dword [esp + 0x34]
push ecx
mov ecx, dword [ebp + 0x10]
push edx
mov edx, dword [ebp + 8]
push eax
push ecx
push esi
push edx
mov ecx, ebx
mov dword [esp + 0x5c], 0
call fcn.00475240
lea ecx, [esp + 0xc]
call fcn.0048e940
lea ecx, [esp + 0x88]
call fcn.00464b40
cmp dword [esp + 0x1c], 0
je 0x477bb3
jmp 0x4790fe
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
call edx
test eax, eax
mov dword [esp + 0x20], eax
je 0x479096
cmp eax, 1
je 0x4799e6
lea ecx, [esp + 0x54]
call fcn.00498320
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
mov edx, dword [edx + 0x1c]
lea eax, [esp + 0x1b0]
push eax
lea eax, [esp + 0x10c]
push eax
call edx
mov ecx, eax
call fcn.00498450
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x12c]
push ecx
mov ecx, dword [esp + 0x48]
call fcn.00485500
push eax
lea edx, [esp + 0x1b8]
push edx
call fcn.00485db0
add esp, 0xc
lea ecx, [esp + 0x108]
call fcn.00498440
lea eax, [esp + 0x114]
push eax
lea ecx, [esp + 0x58]
call fcn.00498450
lea ecx, [esp + 0x114]
push ecx
mov ecx, ebx
call fcn.00463dd0
test eax, eax
jne 0x479ac0
mov ecx, dword [ebp + 0x14]
mov edx, dword [0x100cca70]
push eax
mov dword [esp + 0x4c], eax
mov eax, dword [ebp + 0x20]
push eax
push ecx
push 0
add edx, 0x15c
push 0x40
lea ecx, [esp + 0x68]
mov dword [esp + 0x30], edx
call fcn.004c87c0
push eax
push 0
lea ecx, [esp + 0x190]
call fcn.00498110
mov ecx, eax
call fcn.004c87c0
mov ecx, dword [esp + 0x28]
push eax
mov eax, dword [ecx]
push esi
lea edx, [esp + 0x5c]
push edx
mov edx, dword [eax + 0x24]
call edx
call eax
lea ecx, [esp + 0x48]
mov dword [esp + 0x1c], eax
call fcn.004608f0
cmp dword [esp + 0x1c], 0
je 0x479ae0
mov eax, dword [esp + 0x1c]
cmp eax, 0xc0000034
je 0x478fdf
cmp eax, 0xc000003a
jne 0x479b62
mov eax, dword [ebp + 0x20]
mov edx, dword [ebp + 0x14]
mov ecx, dword [0x100cca70]
push 0
push eax
mov eax, dword [ebp + 0x10]
push edx
push eax
add ecx, 0x15c
mov dword [esp + 0x34], 0
mov eax, dword [ecx]
push esi
lea edx, [esp + 0x38]
push edx
mov edx, dword [eax + 0x24]
call edx
call eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], eax
call fcn.004608f0
cmp dword [esp + 0x20], 2
mov eax, dword [esp + 0x1c]
jne 0x479062
test eax, eax
je 0x47907b
cmp eax, 0xc0000034
je 0x479e8e
cmp eax, 0xc000003a
je 0x479e8e
mov eax, dword [ebp + 0x38]
mov ecx, dword [esp + 0x1c]
mov edx, dword [ebp + 0x34]
mov dword [eax], 0
mov dword [edx], ecx
lea ecx, [esp + 0x24]
call fcn.00460970
jmp 0x479b4b
test eax, eax
jne 0x479e60
push esi
call fcn.00485d80
add esp, 4
test eax, eax
jne 0x479b76
lea ecx, [esp + 0x24]
call fcn.00460970
lea ecx, [esp + 0x48]
call fcn.00460970
lea ecx, [esp + 0x54]
call fcn.00498440
mov ecx, dword [ebp + 0x38]
mov edx, dword [ebp + 0x34]
lea eax, [esp + 0x20]
push eax
mov eax, dword [ebp + 0x30]
push ecx
mov ecx, dword [ebp + 0x2c]
push edx
mov edx, dword [ebp + 0x24]
push eax
mov eax, dword [ebp + 0x20]
push ecx
mov ecx, dword [ebp + 0x1c]
push edi
push edx
mov edx, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x14]
push ecx
mov ecx, dword [esp + 0x64]
push edx
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 8]
push edx
push eax
push esi
push ecx
mov ecx, ebx
mov dword [esp + 0x60], 0
call fcn.00476510
cmp dword [esp + 0x20], 0
je 0x479155
lea ecx, [esp + 0xc]
call fcn.0048e940
lea ecx, [esp + 0x88]
call fcn.00464b40
lea ecx, [esp + 0x88]
call fcn.004947b0
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebx + 0x48]
lea edx, [esp + 0x88]
push edx
push ecx
push eax
mov ecx, ebx
call fcn.0046e9b0
test eax, eax
jne 0x477c02
mov edx, dword [ebp + 0x38]
lea ecx, [esp + 0x88]
mov dword [edx], 1
call fcn.00464b40
jmp 0x477bb3
mov eax, dword [ebp + 0x38]
mov ecx, dword [ebp + 0x34]
mov dword [eax], 0
mov dword [ecx], 0xc000000d
lea ecx, [esp + 0xc]
call fcn.0048e940
lea ecx, [esp + 0x88]
call fcn.00464b40
jmp 0x477bb3
cmp eax, 1
je 0x47918d
cmp eax, 4
je 0x47918d
mov edx, dword [ebp + 0x38]
mov eax, dword [ebp + 0x34]
mov dword [edx], 0
mov dword [eax], 0xc000000d
jmp 0x479155
mov ecx, dword [ebp + 0x38]
mov edx, dword [ebp + 0x34]
mov dword [ecx], 0
mov dword [edx], 0xc0000034
jmp 0x479155
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
lea edx, [esp + 0x38]
push edx
call eax
mov ecx, dword [eax]
mov edx, dword [ecx]
mov edx, dword [edx + 0x44]
lea eax, [esp + 0x34]
push eax
call edx
mov ecx, dword [eax]
mov eax, dword [ecx]
mov edx, dword [esp + 0xc8]
mov eax, dword [eax + 0xc]
push edx
call eax
lea ecx, [esp + 0x34]
call fcn.0048e940
lea ecx, [esp + 0x38]
call fcn.0048e940
lea ecx, [esp + 0xe8]
call fcn.0048e940
lea ecx, [esp + 0x148]
call fcn.004980b0
mov ecx, dword [esp + 0xf4]
mov edx, dword [esp + 0xc8]
push edi
push esi
push ecx
push edx
lea eax, [esp + 0x44]
push eax
call fcn.00483990
mov esi, dword [eax]
xor edi, edi
add esp, 0x14
cmp esi, edi
mov dword [esp + 0x38], esi
je 0x47922d
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
push esi
call edx
lea ecx, [esp + 0x34]
call fcn.0048e940
mov dword [esp + 0xd0], edi
mov dword [esp + 0xd4], edi
mov eax, dword [esi]
mov edx, dword [eax + 0x3c]
lea ecx, [esp + 0xd0]
push ecx
mov ecx, esi
call edx
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x50]
push eax
push esi
call fcn.00469350
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0x38]
mov dword [ecx], eax
mov eax, dword [ebp + 0x34]
mov dword [edx], edi
lea ecx, [esp + 0x38]
mov dword [eax], edi
call fcn.0048e940
lea ecx, [esp + 0xf4]
call fcn.0048e940
lea ecx, [esp + 0x110]
call fcn.0048e940
lea ecx, [esp + 0xc8]
call fcn.0048e940
jmp 0x479155
cmp eax, 1
je 0x4792c6
cmp eax, 4
je 0x4792c6
mov ecx, dword [ebp + 0x38]
mov edx, dword [ebp + 0x34]
mov dword [ecx], 0
mov dword [edx], 0xc000000d
jmp 0x479155
mov eax, dword [ebp + 0x38]
mov ecx, dword [ebp + 0x34]
mov dword [eax], 0
mov dword [ecx], 0xc0000034
jmp 0x479155
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
mov edx, dword [edx + 0x38]
lea eax, [esp + 0x38]
push eax
call edx
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 0x44]
lea edx, [esp + 0x34]
push edx
call eax
mov ecx, dword [eax]
mov edx, dword [ecx]
mov eax, dword [esp + 0xe4]
mov edx, dword [edx + 0xc]
push eax
call edx
lea ecx, [esp + 0x34]
call fcn.0048e940
lea ecx, [esp + 0x38]
call fcn.0048e940
lea ecx, [esp + 0xec]
call fcn.0048e940
lea ecx, [esp + 0x14c]
call fcn.004980b0
mov eax, dword [esp + 0xfc]
mov ecx, dword [esp + 0xe4]
push edi
push esi
push eax
push ecx
lea edx, [esp + 0x44]
push edx
call fcn.00483990
mov esi, dword [eax]
add esp, 0x14
test esi, esi
mov dword [esp + 0x38], esi
je 0x479367
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push esi
call ecx
lea ecx, [esp + 0x34]
call fcn.0048e940
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x50]
push edx
push esi
call fcn.00469350
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0x38]
mov dword [ecx], eax
mov eax, dword [ebp + 0x34]
mov dword [edx], 0
lea ecx, [esp + 0x38]
mov dword [eax], 0
call fcn.0048e940
lea ecx, [esp + 0xfc]
call fcn.0048e940
lea ecx, [esp + 0xe4]
call fcn.0048e940
lea ecx, [esp + 0xc4]
call fcn.0048e940
jmp 0x479155
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx + 0x64]
call eax
lea ecx, [esp + 0xd8]
call fcn.0048e940
lea ecx, [esp + 0x138]
call fcn.004980b0
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebp + 0x38]
mov edx, dword [ebp + 0x34]
mov dword [ecx], 0
mov dword [edx], eax
jmp 0x479155
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
lea edx, [esp + 0x38]
push edx
call eax
mov ecx, dword [eax]
mov edx, dword [ecx]
mov edx, dword [edx + 0x44]
lea eax, [esp + 0x34]
push eax
call edx
mov ecx, dword [eax]
mov eax, dword [ecx]
mov edx, dword [esp + 0xcc]
mov eax, dword [eax + 0xc]
push edx
call eax
lea ecx, [esp + 0x34]
call fcn.0048e940
lea ecx, [esp + 0x38]
call fcn.0048e940
lea ecx, [esp + 0xf0]
call fcn.0048e940
lea ecx, [esp + 0xb8]
call fcn.004980b0
mov ecx, dword [esp + 0xdc]
mov edx, dword [esp + 0xcc]
push edi
push esi
push ecx
push edx
lea eax, [esp + 0x44]
push eax
call fcn.00483990
mov esi, dword [eax]
xor edi, edi
add esp, 0x14
cmp esi, edi
mov dword [esp + 0x38], esi
je 0x47948e
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
push esi
call edx
lea ecx, [esp + 0x34]
call fcn.0048e940
mov dword [esp + 0xd0], edi
mov dword [esp + 0xd4], edi
mov eax, dword [esi]
mov edx, dword [eax + 0x3c]
lea ecx, [esp + 0xd0]
push ecx
mov ecx, esi
call edx
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x50]
push eax
push esi
call fcn.00469350
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0x38]
mov dword [ecx], eax
mov eax, dword [ebp + 0x34]
mov dword [edx], edi
lea ecx, [esp + 0x38]
mov dword [eax], edi
call fcn.0048e940
lea ecx, [esp + 0xdc]
call fcn.0048e940
lea ecx, [esp + 0x5c]
call fcn.0048e940
lea ecx, [esp + 0xcc]
call fcn.0048e940
jmp 0x479155
mov ecx, dword [ebp + 0x38]
mov edx, dword [ebp + 0x34]
mov dword [ecx], 0
mov dword [edx], 0xc0000035
jmp 0x479155
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x50]
lea edx, [esp + 0xb8]
push edx
call eax
lea ecx, [esp + 0x5c]
push 4
push ecx
call fcn.00458f10
mov ecx, dword [esp + 0xc0]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
add esp, 8
lea eax, [esp + 0x5c]
push eax
call edx
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0xc]
push edi
push esi
push eax
push ecx
lea edx, [esp + 0x44]
push edx
call fcn.00483990
mov esi, dword [eax]
add esp, 0x14
test esi, esi
mov dword [esp + 0x38], esi
je 0x47957a
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push esi
call ecx
lea ecx, [esp + 0x34]
call fcn.0048e940
mov eax, dword [ebp + 0x24]
cmp eax, 4
je 0x479590
cmp eax, 5
jne 0x4795b1
xor eax, eax
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], eax
mov edx, dword [esi]
mov edx, dword [edx + 0x3c]
lea eax, [esp + 0xd0]
push eax
mov ecx, esi
call edx
mov eax, dword [esp + 0x68]
push eax
push esi
mov ecx, ebx
call fcn.00469350
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0x38]
mov dword [ecx], eax
mov eax, dword [ebp + 0x34]
mov dword [edx], 0
lea ecx, [esp + 0x38]
mov dword [eax], 0
call fcn.0048e940
lea ecx, [esp + 0x5c]
call fcn.0048e940
lea ecx, [esp + 0xb8]
call fcn.0048e940
jmp 0x479155
mov ecx, dword [ebp + 0x38]
mov dword [ecx], 1
jmp 0x479155
cmp eax, 1
je 0x479614
cmp eax, 4
jne 0x479143
lea ecx, [esp + 0x164]
call fcn.00485880
mov ecx, dword [esp + 0x40]
lea edx, [esp + 0x164]
push edx
call fcn.00485770
test eax, eax
je 0x47965c
mov eax, dword [esp + 0x170]
test eax, eax
jne 0x479657
mov eax, dword [ebp + 0x38]
mov ecx, dword [ebp + 0x34]
mov dword [eax], 0
mov dword [ecx], 0xc000003a
jmp 0x479155
cmp eax, 1
jne 0x479671
cmp dword [ebp + 0x24], 4
jne 0x47918d
test edi, 1
jmp 0x479177
mov eax, dword [ebp + 0x38]
mov ecx, dword [ebp + 0x34]
mov dword [eax], 0
mov dword [ecx], 0xc0000229
jmp 0x479155
mov eax, dword [ebp + 0x38]
mov ecx, dword [ebp + 0x34]
mov dword [eax], 0
mov dword [ecx], 0xc000003a
lea ecx, [esp + 0x198]
call fcn.00485760
jmp 0x479155
cmp eax, 2
je 0x4796d5
cmp eax, 3
je 0x4796d5
mov edx, dword [ebp + 0x38]
mov eax, dword [ebp + 0x34]
mov dword [edx], 0
lea ecx, [esp + 0x3c]
mov dword [eax], 0xc000000d
call fcn.0048e940
jmp 0x479155
mov ecx, dword [ebp + 0x38]
mov edx, dword [ebp + 0x34]
mov dword [ecx], 0
lea ecx, [esp + 0x3c]
mov dword [edx], 0xc0000103
call fcn.0048e940
jmp 0x479155
mov eax, dword [ebp + 0x38]
mov ecx, dword [ebp + 0x34]
mov dword [eax], 0
mov dword [ecx], 0xc000000d
lea ecx, [esp + 0x3c]
call fcn.0048e940
jmp 0x479155
mov edx, dword [ebp + 0x38]
mov ecx, dword [ebp + 0x34]
and eax, 0xefffffff
mov dword [edx], 0
mov dword [ecx], eax
lea ecx, [esp + 0x70]
call fcn.0048e940
lea ecx, [esp + 0x78]
call fcn.0048e940
lea ecx, [esp + 0x80]
call fcn.0048e940
lea ecx, [esp + 0x3c]
call fcn.0048e940
jmp 0x479155
mov edx, dword [ebp + 0x38]
mov ecx, dword [ebp + 0x34]
and eax, 0xefffffff
mov dword [edx], 0
mov dword [ecx], eax
lea ecx, [esp + 0x84]
call fcn.0048e940
jmp 0x479728
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
mov edx, dword [edx + 0x38]
lea eax, [esp + 0x38]
push eax
call edx
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 0x40]
lea edx, [esp + 0x34]
push edx
call eax
mov ecx, dword [eax]
mov edx, dword [ecx]
mov eax, dword [esp + 0x80]
mov edx, dword [edx + 0xc]
push eax
call edx
lea ecx, [esp + 0x34]
call fcn.0048e940
lea ecx, [esp + 0x38]
call fcn.0048e940
lea ecx, [esp + 0xe0]
call fcn.0048e940
lea ecx, [esp + 0x144]
call fcn.004980b0
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x34]
mov dword [eax + 4], 2
mov dword [eax], 0
mov eax, dword [ebp + 0x38]
mov dword [eax], 0
mov dword [ecx], 0
lea ecx, [esp + 0x24]
call fcn.0048e940
jmp 0x479728
cmp eax, 1
je 0x47980c
cmp eax, 4
jne 0x479179
mov esi, edi
and esi, 1
je 0x47981f
test edi, 0x40
jne 0x4792af
cmp eax, 4
jne 0x47982c
test esi, esi
jne 0x479143
lea ecx, [esp + 0x164]
call fcn.00485880
mov ecx, dword [esp + 0x40]
lea edx, [esp + 0x164]
push edx
call fcn.00485770
test eax, eax
je 0x479865
mov eax, dword [esp + 0x170]
test eax, eax
je 0x479640
cmp eax, 1
jne 0x479671
cmp dword [ebp + 0x24], 4
jne 0x47918d
test esi, esi
jmp 0x479177
mov ecx, dword [ebp + 0x38]
mov edx, dword [ebp + 0x34]
mov dword [ecx], 0
lea ecx, [esp + 0x15c]
mov dword [edx], 0xc000003a
call fcn.00485760
jmp 0x479155
cmp eax, 2
je 0x4798a7
cmp eax, 3
jne 0x479143
mov edx, dword [ebp + 0x38]
mov eax, dword [ebp + 0x34]
mov dword [edx], 0
mov dword [eax], 0xc0000103
jmp 0x479155
mov ecx, dword [ebp + 0x38]
mov edx, dword [ebp + 0x34]
and eax, 0xefffffff
mov dword [ecx], 0
mov dword [edx], eax
lea ecx, [esp + 0x7c]
call fcn.0048e940
lea ecx, [esp + 0x74]
call fcn.0048e940
lea ecx, [esp + 0x6c]
call fcn.0048e940
lea ecx, [esp + 0x4c]
call fcn.0048e940
jmp 0x479155
mov ecx, dword [ebp + 0x38]
mov edx, dword [ebp + 0x34]
mov dword [ecx], 0
and eax, 0xefffffff
lea ecx, [esp + 0x44]
mov dword [edx], eax
call fcn.0048e940
jmp 0x4798d1
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
lea edx, [esp + 0x38]
push edx
call eax
mov ecx, dword [eax]
mov edx, dword [ecx]
mov edx, dword [edx + 0x40]
lea eax, [esp + 0x34]
push eax
call edx
mov ecx, dword [eax]
mov eax, dword [ecx]
mov edx, dword [esp + 0x6c]
mov eax, dword [eax + 0xc]
push edx
call eax
lea ecx, [esp + 0x34]
call fcn.0048e940
lea ecx, [esp + 0x38]
call fcn.0048e940
lea ecx, [esp + 0xf8]
call fcn.0048e940
lea ecx, [esp + 0x13c]
call fcn.004980b0
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x38]
mov edx, dword [ebp + 0x34]
mov dword [eax + 4], 2
mov dword [eax], 0
mov dword [ecx], 0
lea ecx, [esp + 0x24]
mov dword [edx], 0
call fcn.0048e940
jmp 0x4798d1
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
mov edx, dword [eax + 0x64]
call edx
lea ecx, [esp + 0x100]
call fcn.0048e940
lea ecx, [esp + 0x130]
call fcn.004980b0
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x4799d3
mov ecx, dword [ebp + 0x14]
mov dword [ecx + 4], 2
mov edx, dword [ebp + 0x38]
mov ecx, dword [ebp + 0x34]
mov dword [edx], 0
mov dword [ecx], eax
jmp 0x479155
lea ecx, [esp + 0x60]
call fcn.00498320
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
lea edx, [esp + 0x114]
push edx
lea edx, [esp + 0x10c]
push edx
call eax
mov ecx, eax
call fcn.00498450
lea ecx, [esp + 0x60]
push ecx
mov ecx, dword [esp + 0x44]
lea edx, [esp + 0x12c]
push edx
call fcn.00485500
push eax
lea eax, [esp + 0x11c]
push eax
call fcn.00485db0
add esp, 0xc
lea ecx, [esp + 0x108]
call fcn.00498440
mov ecx, dword [ebp + 0x30]
mov edx, dword [ebp + 0x2c]
mov eax, dword [ebp + 0x24]
mov ebx, dword [0x100cca70]
push ecx
mov ecx, dword [ebp + 0x20]
push edx
mov edx, dword [ebp + 0x1c]
push edi
push eax
mov eax, dword [ebp + 0x18]
push ecx
mov ecx, dword [ebp + 0x14]
push edx
push eax
push ecx
push 0
push 0x40
lea ecx, [esp + 0x88]
add ebx, 0x18c
call fcn.004c87c0
push eax
push 0
lea ecx, [esp + 0x1a4]
call fcn.00498110
mov ecx, eax
call fcn.004c87c0
mov edx, dword [ebp + 8]
push eax
mov eax, dword [ebx]
push esi
push edx
mov edx, dword [eax + 0x24]
mov ecx, ebx
call edx
call eax
mov ecx, dword [ebp + 0x38]
mov edx, dword [ebp + 0x34]
mov dword [ecx], 0
lea ecx, [esp + 0x60]
mov dword [edx], eax
call fcn.00498440
jmp 0x479155
mov eax, dword [ebp + 0x38]
mov ecx, dword [ebp + 0x34]
mov dword [eax], 0
mov dword [ecx], 0xc0000034
lea ecx, [esp + 0x54]
call fcn.00498440
jmp 0x479155
mov edx, dword [ebp + 0x30]
mov eax, dword [ebp + 0x2c]
mov ecx, dword [ebp + 0x24]
mov ebx, dword [0x100cca70]
push edx
mov edx, dword [ebp + 0x20]
push eax
mov eax, dword [ebp + 0x1c]
push edi
push ecx
mov ecx, dword [ebp + 0x18]
push edx
mov edx, dword [ebp + 0x14]
push eax
push ecx
push edx
push 0
push 0x40
lea ecx, [esp + 0x7c]
add ebx, 0x18c
call fcn.004c87c0
push eax
push 0
lea ecx, [esp + 0x1a4]
call fcn.00498110
mov ecx, eax
call fcn.004c87c0
mov edx, dword [ebx]
push eax
mov eax, dword [ebp + 8]
push esi
push eax
mov eax, dword [edx + 0x24]
mov ecx, ebx
call eax
call eax
mov ecx, dword [ebp + 0x38]
mov edx, dword [ebp + 0x34]
mov dword [ecx], 0
mov dword [edx], eax
lea ecx, [esp + 0x48]
call fcn.00460970
lea ecx, [esp + 0x54]
call fcn.00498440
jmp 0x479155
mov eax, dword [ebp + 0x38]
mov ecx, dword [esp + 0x1c]
mov edx, dword [ebp + 0x34]
mov dword [eax], 0
mov dword [edx], ecx
jmp 0x479b4b
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
mov edx, dword [edx + 0x1c]
lea eax, [esp + 0x114]
push eax
lea eax, [esp + 0x10c]
push eax
call edx
mov ecx, eax
call fcn.00498450
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0x128]
push eax
call fcn.00485500
push eax
lea ecx, [esp + 0x118]
push ecx
mov ecx, ebx
call fcn.00463b50
lea ecx, [esp + 0x108]
call fcn.00498440
mov edx, dword [ebp + 0x30]
mov eax, dword [ebp + 0x2c]
mov ecx, dword [ebp + 0x20]
mov ebx, dword [0x100cca70]
push edx
mov edx, dword [ebp + 0x1c]
push eax
mov eax, dword [ebp + 0x18]
or edi, 0x20
push edi
push 5
push ecx
mov ecx, dword [ebp + 0x14]
push edx
push eax
push ecx
push 0
push 0x40
lea ecx, [esp + 0x7c]
add ebx, 0x18c
call fcn.004c87c0
push eax
push 0
lea ecx, [esp + 0x1a4]
call fcn.00498110
mov ecx, eax
call fcn.004c87c0
mov edx, dword [ebp + 8]
push eax
mov eax, dword [ebx]
or esi, 0x100002
push esi
push edx
mov edx, dword [eax + 0x24]
mov ecx, ebx
call edx
call eax
test eax, eax
jne 0x479f3a
mov eax, dword [ebp + 0x24]
cmp eax, 1
je 0x479c42
cmp eax, 3
jne 0x479e0f
mov esi, dword [0x100cca70]
lea eax, [esp + 0x280]
push eax
push 0
push 0x40
push 0x100b0384
lea ecx, [esp + 0x138]
add esi, 0x36c
call fcn.00498160
mov ecx, eax
call fcn.004c87c0
mov ebx, dword [ebp + 8]
mov ecx, dword [ebx]
push eax
push ecx
lea ecx, [esp + 0x188]
call fcn.00498110
mov ecx, eax
call fcn.004c87c0
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x24]
mov ecx, esi
call eax
call eax
test eax, eax
jne 0x479e0f
test dword [esp + 0x2a0], 0x10
jne 0x479e0f
mov esi, dword [0x100cca70]
push 0x20
push 1
lea ecx, [esp + 0x130]
mov dword [esp + 0x4c], eax
add esi, 0x15c
call fcn.004980e0
mov ecx, eax
call fcn.004c87c0
mov ecx, dword [ebp + 0x10]
push eax
mov eax, dword [esi]
push ecx
push 0x80100000
lea edx, [esp + 0x58]
push edx
mov edx, dword [eax + 0x24]
mov ecx, esi
call edx
call eax
push 0x10000
call fcn.00459050
mov esi, eax
add esp, 4
lea ecx, [esp + 0x60]
mov dword [esp + 0xbc], esi
mov dword [esp + 0xc0], 0x10000
call fcn.004980e0
mov edi, dword [0x100cca70]
push 0
push 0
push 0x10000
push esi
lea ecx, [esp + 0x70]
add edi, 0x1ec
call fcn.004c87c0
mov edx, dword [edi]
push eax
mov eax, dword [esp + 0x58]
push 0
push 0
push 0
push eax
mov eax, dword [edx + 0x24]
mov ecx, edi
call eax
call eax
cmp eax, 0xc0000011
je 0x479dfa
lea ecx, [ecx]
test eax, eax
jne 0x479e2f
mov edi, dword [0x100cca70]
push eax
push eax
lea ecx, [esp + 0x68]
add edi, 0x1bc
call fcn.004c87c0
mov ecx, dword [eax + 4]
push ecx
push esi
lea ecx, [esp + 0x138]
call fcn.004980e0
mov ecx, eax
call fcn.004c87c0
mov edx, dword [ebx]
push eax
mov eax, dword [edi]
push 0
push 0
push 0
push edx
mov edx, dword [eax + 0x24]
mov ecx, edi
call edx
call eax
test eax, eax
jne 0x479e2f
lea ecx, [esp + 0x60]
call fcn.004980e0
mov edi, dword [0x100cca70]
push 0
push 0
push 0x10000
push esi
lea ecx, [esp + 0x70]
add edi, 0x1ec
call fcn.004c87c0
mov edx, dword [edi]
push eax
mov eax, dword [esp + 0x58]
push 0
push 0
push 0
push eax
mov eax, dword [edx + 0x24]
mov ecx, edi
call eax
call eax
cmp eax, 0xc0000011
jne 0x479d60
lea ecx, [esp + 0xbc]
call fcn.0043e570
lea ecx, [esp + 0x44]
call fcn.00460970
mov eax, dword [ebp + 0x38]
mov ecx, dword [ebp + 0x34]
mov dword [eax], 0
mov dword [ecx], 0
lea ecx, [esp + 0x24]
call fcn.00460970
jmp 0x479b4b
mov ecx, dword [ebp + 0x38]
mov edx, dword [ebp + 0x34]
mov dword [ecx], 0
lea ecx, [esp + 0xbc]
mov dword [edx], eax
call fcn.0043e570
lea ecx, [esp + 0x44]
call fcn.00460970
lea ecx, [esp + 0x24]
call fcn.00460970
jmp 0x479b4b
cmp eax, 0xc0000034
je 0x479e8e
cmp eax, 0xc000003a
je 0x479e8e
mov edx, dword [ebp + 0x38]
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebp + 0x34]
mov dword [edx], 0
mov dword [ecx], eax
lea ecx, [esp + 0x24]
call fcn.00460970
jmp 0x479b4b
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
lea edx, [esp + 0x114]
push edx
lea edx, [esp + 0x10c]
push edx
call eax
mov ecx, eax
call fcn.00498450
lea ecx, [esp + 0x128]
push ecx
mov ecx, dword [esp + 0x44]
call fcn.00485500
push eax
lea edx, [esp + 0x118]
push edx
mov ecx, ebx
call fcn.00463b50
lea ecx, [esp + 0x108]
call fcn.00498440
mov eax, dword [ebp + 0x30]
mov ecx, dword [ebp + 0x2c]
mov edx, dword [ebp + 0x24]
mov ebx, dword [0x100cca70]
push eax
mov eax, dword [ebp + 0x20]
push ecx
mov ecx, dword [ebp + 0x1c]
push edi
push edx
mov edx, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x14]
push ecx
push edx
push eax
push 0
push 0x40
lea ecx, [esp + 0x7c]
add ebx, 0x18c
call fcn.004c87c0
push eax
push 0
lea ecx, [esp + 0x1a4]
call fcn.00498110
mov ecx, eax
call fcn.004c87c0
mov ecx, dword [ebp + 8]
mov edx, dword [ebx]
push eax
mov eax, dword [edx + 0x24]
push esi
push ecx
mov ecx, ebx
call eax
call eax
mov ecx, dword [ebp + 0x38]
mov edx, dword [ebp + 0x34]
mov dword [ecx], 0
lea ecx, [esp + 0x24]
mov dword [edx], eax
call fcn.00460970
jmp 0x479b4b
mov eax, dword [ebp + 0x38]
lea ecx, [esp + 0x14]
mov dword [eax], 1
call fcn.00498440
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x34