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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4e069c
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x515854]
xor eax, esp
mov dword [esp + 0xe0], eax
push ebx
push esi
push edi
mov eax, dword [0x515854]
xor eax, esp
push eax
lea eax, [esp + 0xf8]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, ecx
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x448]
test eax, eax
je 0x474f04
cmp byte [eax + 0x1d8], 0
je 0x474f04
mov byte [ebp + 0xc], 1
cmp dword [ebx + 0x380], 0
je 0x475afb
mov edx, dword [ebx + 0x45c]
mov dword [esp + 0x1c], edx
and dword [esp + 0x1c], 4
je 0x474f33
lea esi, [ebx + 0x198]
mov eax, esi
call fcn.004792f9
test al, al
je 0x474f7b
test dl, 2
je 0x474f49
lea esi, [ebx + 0x188]
mov eax, esi
call fcn.004792f9
test al, al
je 0x474f7b
test dl, 0x10
je 0x474f5f
lea esi, [ebx + 0x178]
mov eax, esi
call fcn.004792f9
test al, al
je 0x474f7b
test dl, 8
je 0x474f75
lea esi, [ebx + 0x168]
mov eax, esi
call fcn.004792f9
test al, al
je 0x474f7b
lea esi, [ebx + 0x158]
cmp dword [esp + 0x1c], 0
lea edi, [esp + 0x2c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
je 0x474f94
mov eax, dword [ebx + 0x14c]
test eax, eax
jne 0x474fc7
test dl, 2
je 0x474fa3
mov eax, dword [ebx + 0x148]
test eax, eax
jne 0x474fc7
test dl, 0x10
je 0x474fb2
mov eax, dword [ebx + 0x144]
test eax, eax
jne 0x474fc7
test dl, 8
je 0x474fc1
mov eax, dword [ebx + 0x140]
test eax, eax
jne 0x474fc7
mov eax, dword [ebx + 0x13c]
mov dword [esp + 0x20], eax
xor ecx, ecx
lea eax, [esp + 0x64]
mov dword [esp + 0x7c], 7
call fcn.00401870
xor eax, eax
mov dword [esp + 0x100], eax
mov ecx, dword [ebx + 0x45c]
test cl, 4
je 0x475005
cmp dword [ebx + 0xa8], eax
je 0x475005
push 0xffffffffffffffff
push eax
lea eax, [ebx + 0x94]
jmp 0x475044
test cl, 2
je 0x47501a
cmp dword [ebx + 0x8c], eax
je 0x47501a
push 0xffffffffffffffff
push eax
lea eax, [ebx + 0x78]
jmp 0x475044
test cl, 0x10
je 0x47502c
cmp dword [ebx + 0x70], eax
je 0x47502c
push 0xffffffffffffffff
push eax
lea eax, [ebx + 0x5c]
jmp 0x475044
test cl, 8
je 0x47503e
cmp dword [ebx + 0x54], eax
je 0x47503e
push 0xffffffffffffffff
push eax
lea eax, [ebx + 0x40]
jmp 0x475044
push 0xffffffffffffffff
push eax
lea eax, [ebx + 0x24]
push eax
lea eax, [esp + 0x70]
call fcn.00401690
mov eax, dword [ebx + 0x45c]
test al, 4
mov byte [esp + 0x12], 0
mov byte [esp + 0x13], 0
je 0x475084
mov cl, byte [ebx + 0x31e]
cmp cl, 0x64
jne 0x475075
cmp byte [ebx + 0x31f], cl
je 0x475084
mov al, byte [ebx + 0x31f]
mov byte [esp + 0x12], cl
jmp 0x475108
test al, 2
je 0x4750a7
mov cl, byte [ebx + 0x31c]
cmp cl, 0x64
jne 0x47509b
cmp byte [ebx + 0x31d], cl
je 0x4750a7
mov al, byte [ebx + 0x31d]
mov byte [esp + 0x12], cl
jmp 0x475108
test al, 0x10
je 0x4750ca
mov cl, byte [ebx + 0x31a]
cmp cl, 0x64
jne 0x4750be
cmp byte [ebx + 0x31b], cl
je 0x4750ca
mov al, byte [ebx + 0x31b]
mov byte [esp + 0x12], cl
jmp 0x475108
test al, 8
je 0x4750ec
mov al, byte [ebx + 0x318]
cmp al, 0x64
jne 0x4750e0
cmp byte [ebx + 0x319], al
je 0x4750ec
mov byte [esp + 0x12], al
mov al, byte [ebx + 0x319]
jmp 0x475108
mov al, byte [ebx + 0x316]
cmp al, 0x64
jne 0x4750fe
cmp byte [ebx + 0x317], al
je 0x47510c
mov byte [esp + 0x12], al
mov al, byte [ebx + 0x317]
mov byte [esp + 0x13], al
mov eax, dword [esp + 0x2c]
lea esi, [ebx + 0x3f0]
lea edi, [esp + 0x3c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add dword [esp + 0x3c], eax
mov eax, dword [esp + 0x34]
sub dword [esp + 0x44], eax
mov eax, dword [esp + 0x30]
add dword [esp + 0x40], eax
mov eax, dword [esp + 0x38]
sub dword [esp + 0x48], eax
lea esi, [esp + 0x9c]
call fcn.0047742e
push 0x14
lea ecx, [ebx + 4]
mov edx, esi
mov byte [esp + 0x104], 1
call fcn.00477a95
mov eax, dword [esp + 0xa0]
lea esi, [esp + 0xa4]
mov dword [esp + 0x24], eax
mov byte [esp + 0x100], 0
call fcn.00401650
mov eax, dword [ebx]
push 2
mov ecx, ebx
call dword [eax + 0x14]
test al, al
je 0x47561a
cmp dword [esp + 0x24], 0
je 0x47561a
mov eax, dword [esp + 0x44]
sub eax, dword [esp + 0x3c]
cmp dword [esp + 0x7c], 8
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x28], eax
jae 0x4751b0
lea ecx, [esp + 0x68]
lea eax, [ebx + 0x36c]
cmp dword [eax + 0x18], 8
jb 0x4751c1
mov eax, dword [eax + 4]
jmp 0x4751c4
add eax, 4
push 0x800
push eax
push dword [ebx + 0x448]
lea esi, [esp + 0x38]
push dword [esp + 0x24]
call fcn.0047a546
mov esi, eax
lea edi, [esp + 0x5c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x64]
sub eax, dword [esp + 0x5c]
add esp, 0x10
cmp eax, dword [esp + 0x28]
mov dword [esp + 0x14], eax
jg 0x4753ce
cmp byte [ebx + 0x314], 0
mov eax, dword [ebx + 0x310]
mov byte [ebx + 0x4a8], 1
mov dword [esp + 0x14], eax
je 0x47521f
or dword [esp + 0x14], 1
mov eax, dword [ebx + 0x448]
test eax, eax
je 0x475238
push 0x2003
push ebx
add eax, 4
push eax
call fcn.004783ee
cmp byte [esp + 0x12], 0
jne 0x475246
cmp byte [esp + 0x13], 0
je 0x475254
cmp byte [esp + 0x12], 0x64
jne 0x4752aa
cmp byte [esp + 0x13], 0x64
jne 0x4752aa
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x21c]
test al, al
je 0x47536b
cmp dword [esp + 0x7c], 8
mov ecx, dword [esp + 0x68]
jae 0x475275
lea ecx, [esp + 0x68]
lea eax, [ebx + 0x36c]
cmp dword [eax + 0x18], 8
jb 0x475286
mov eax, dword [eax + 4]
jmp 0x475289
add eax, 4
push dword [esp + 0x14]
push ecx
push eax
push dword [ebx + 0x448]
lea ecx, [esp + 0x4c]
push dword [esp + 0x28]
call fcn.0047ea83
add esp, 0x14
jmp 0x47536b
mov eax, dword [ebx + 0x448]
cmp byte [eax + 0x32], 0
jne 0x4752c1
cmp byte [ebp + 0xc], 0
mov byte [esp + 0x1c], 0
je 0x4752c6
mov byte [esp + 0x1c], 1
cmp dword [esp + 0x7c], 8
mov eax, dword [esp + 0x68]
jae 0x4752d5
lea eax, [esp + 0x68]
mov dword [esp + 0x28], eax
lea eax, [ebx + 0x36c]
cmp dword [eax + 0x18], 8
jb 0x4752ea
mov eax, dword [eax + 4]
jmp 0x4752ed
add eax, 4
mov ecx, dword [esp + 0x48]
push dword [esp + 0x1c]
mov edi, dword [esp + 0x44]
push dword [ebx + 0x320]
mov edx, dword [esp + 0x4c]
push dword [esp + 0x1c]
mov dword [esp + 0x30], eax
movsx eax, byte [esp + 0x1f]
push dword [esp + 0x34]
lea esi, [eax + ecx]
movsx ecx, byte [esp + 0x22]
add eax, edi
mov edi, dword [esp + 0x4c]
add edx, ecx
add ecx, edi
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x48], esi
mov esi, 0xffffff
and eax, esi
and ecx, 0x80000000
sub ecx, eax
add ecx, esi
push ecx
push dword [esp + 0x38]
lea eax, [esp + 0x44]
push eax
push dword [ebx + 0x448]
mov dword [esp + 0x54], edx
push dword [esp + 0x38]
call fcn.0047a8e2
add esp, 0x24
mov esi, dword [ebx + 0x448]
cmp byte [esi + 0x32], 0
jne 0x475381
cmp byte [ebp + 0xc], 0
jne 0x475381
xor cl, cl
jmp 0x475383
mov cl, 1
cmp dword [esp + 0x7c], 8
mov edi, dword [esp + 0x68]
jae 0x475392
lea edi, [esp + 0x68]
lea eax, [ebx + 0x36c]
cmp dword [eax + 0x18], 8
jb 0x4753a3
mov eax, dword [eax + 4]
jmp 0x4753a6
add eax, 4
push ecx
push dword [ebx + 0x320]
push dword [esp + 0x1c]
push edi
push dword [esp + 0x30]
push eax
lea eax, [esp + 0x54]
push eax
push esi
push dword [esp + 0x38]
call fcn.0047a8e2
add esp, 0x24
jmp 0x475a91
lea esi, [esp + 0x3c]
lea edi, [esp + 0x2c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [esp + 0x80]
mov byte [ebx + 0x4a8], 0
call fcn.004995d2
mov byte [esp + 0x100], 2
sub esp, 0x10
mov edi, esp
lea esi, [esp + 0x4c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x90]
push eax
mov eax, dword [esp + 0x2c]
movsd dword es:[edi], dword [esi]
call fcn.0049961e
mov eax, dword [esp + 0x40]
sub eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x28]
add ecx, eax
add esp, 0x14
cmp eax, dword [esp + 0x44]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], ecx
jge 0x475601
mov esi, 0xffffff
cmp ecx, dword [esp + 0x3c]
jle 0x4755e3
cmp byte [esp + 0x12], 0
jne 0x475453
cmp byte [esp + 0x13], 0
je 0x475461
cmp byte [esp + 0x12], 0x64
jne 0x4754b9
cmp byte [esp + 0x13], 0x64
jne 0x4754b9
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x21c]
test al, al
je 0x47557f
cmp dword [esp + 0x7c], 8
mov ecx, dword [esp + 0x68]
jae 0x475482
lea ecx, [esp + 0x68]
lea eax, [ebx + 0x36c]
cmp dword [eax + 0x18], 8
jb 0x475493
mov eax, dword [eax + 4]
jmp 0x475496
add eax, 4
push dword [ebx + 0x310]
push ecx
push eax
push dword [ebx + 0x448]
lea ecx, [esp + 0x3c]
push dword [esp + 0x28]
call fcn.0047ea83
add esp, 0x14
jmp 0x47557f
mov eax, dword [ebx + 0x448]
cmp byte [eax + 0x32], 0
jne 0x4754d0
cmp byte [ebp + 0xc], 0
mov byte [esp + 0x24], 0
je 0x4754d5
mov byte [esp + 0x24], 1
cmp dword [esp + 0x7c], 8
mov eax, dword [esp + 0x68]
jae 0x4754e4
lea eax, [esp + 0x68]
mov dword [esp + 0x28], eax
lea eax, [ebx + 0x36c]
cmp dword [eax + 0x18], 8
jb 0x4754f9
mov eax, dword [eax + 4]
jmp 0x4754fc
add eax, 4
mov ecx, dword [esp + 0x38]
mov edi, dword [esp + 0x34]
push dword [esp + 0x24]
mov dword [esp + 0x20], eax
movsx eax, byte [esp + 0x17]
push dword [ebx + 0x320]
lea edx, [eax + ecx]
movsx ecx, byte [esp + 0x1a]
push dword [ebx + 0x310]
add edi, ecx
push dword [esp + 0x34]
mov dword [esp + 0x70], edi
mov edi, dword [esp + 0x40]
add eax, edi
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x30]
add ecx, edi
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x30]
and eax, esi
not eax
and ecx, 0x80000000
add eax, ecx
push eax
push dword [esp + 0x30]
lea eax, [esp + 0x64]
push eax
push dword [ebx + 0x448]
mov dword [esp + 0x78], edx
push dword [esp + 0x38]
call fcn.0047a8e2
add esp, 0x24
mov edi, dword [ebx + 0x448]
cmp byte [edi + 0x32], 0
jne 0x475595
cmp byte [ebp + 0xc], 0
jne 0x475595
xor dl, dl
jmp 0x475597
mov dl, 1
cmp dword [esp + 0x7c], 8
mov ecx, dword [esp + 0x68]
jae 0x4755a6
lea ecx, [esp + 0x68]
lea eax, [ebx + 0x36c]
cmp dword [eax + 0x18], 8
jb 0x4755b7
mov eax, dword [eax + 4]
jmp 0x4755ba
add eax, 4
push edx
push dword [ebx + 0x320]
push dword [ebx + 0x310]
push ecx
push dword [esp + 0x30]
push eax
lea eax, [esp + 0x44]
push eax
push edi
push dword [esp + 0x38]
call fcn.0047a8e2
mov eax, dword [esp + 0x50]
add esp, 0x24
mov edx, dword [esp + 0x14]
lea ecx, [edx + 0xa]
add eax, ecx
cmp eax, dword [esp + 0x44]
lea ecx, [eax + edx]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], ecx
jl 0x47543b
lea eax, [esp + 0x80]
mov byte [esp + 0x100], 0
call fcn.004995ec
jmp 0x475a91
cmp byte [ebx + 0x20], 0
je 0x47567f
mov esi, dword [ebx + 0x448]
cmp byte [esi + 0x32], 0
jne 0x475636
cmp byte [ebp + 0xc], 0
jne 0x475636
xor cl, cl
jmp 0x475638
mov cl, 1
cmp dword [esp + 0x7c], 8
mov edi, dword [esp + 0x68]
jae 0x475647
lea edi, [esp + 0x68]
lea eax, [ebx + 0x36c]
cmp dword [eax + 0x18], 8
jb 0x475658
mov eax, dword [eax + 4]
jmp 0x47565b
add eax, 4
push ecx
push dword [ebx + 0x310]
push edi
push dword [esp + 0x2c]
push eax
lea eax, [esp + 0x50]
push eax
push esi
push dword [esp + 0x34]
call fcn.0047d5c4
add esp, 0x20
jmp 0x475a91
mov eax, dword [esp + 0x44]
sub eax, dword [esp + 0x3c]
cmp dword [esp + 0x7c], 8
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x14], eax
jae 0x47569a
lea ecx, [esp + 0x68]
lea eax, [ebx + 0x36c]
cmp dword [eax + 0x18], 8
jb 0x4756ab
mov eax, dword [eax + 4]
jmp 0x4756ae
add eax, 4
push 0x800
push eax
push dword [ebx + 0x448]
lea esi, [esp + 0x58]
push dword [esp + 0x24]
call fcn.0047a546
mov esi, eax
lea edi, [esp + 0x3c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x44]
sub edi, dword [esp + 0x3c]
add esp, 0x10
cmp edi, dword [esp + 0x14]
lea esi, [esp + 0x80]
setle al
mov byte [ebx + 0x4a8], al
mov eax, dword [ebx + 0x310]
mov dword [esp + 0x1c], eax
lea eax, [ebx + 0x36c]
push eax
call fcn.00401620
mov byte [esp + 0x100], 3
cmp byte [ebx + 0x314], 0
je 0x4757ca
cmp edi, dword [esp + 0x14]
jle 0x4757c5
mov ecx, dword [esp + 0x94]
test ecx, ecx
jbe 0x4757c5
cmp dword [esp + 0x98], 8
mov eax, dword [esp + 0x84]
jae 0x47574c
lea eax, [esp + 0x84]
dec ecx
push ecx
push eax
lea esi, [esp + 0x88]
call fcn.00407ef0
push 0xffffffffffffffff
push 0
push eax
mov eax, esi
call fcn.00401690
cmp dword [ebx + 0x3c], 8
jb 0x475772
mov ecx, dword [ebx + 0x28]
jmp 0x475775
lea ecx, [ebx + 0x28]
cmp dword [esp + 0x98], 8
mov eax, dword [esp + 0x84]
jae 0x47578d
lea eax, [esp + 0x84]
push 0x800
push eax
push dword [ebx + 0x448]
lea esi, [esp + 0x58]
push dword [esp + 0x24]
call fcn.0047a546
mov esi, eax
lea edi, [esp + 0x3c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x44]
sub eax, dword [esp + 0x3c]
add esp, 0x10
cmp eax, dword [esp + 0x14]
jg 0x475725
or dword [esp + 0x1c], 1
cmp byte [ebx + 0x315], 0
je 0x47587c
jmp 0x47586a
mov ecx, dword [esp + 0x94]
test ecx, ecx
jbe 0x47587c
cmp dword [esp + 0x98], 8
mov eax, dword [esp + 0x84]
jae 0x475803
lea eax, [esp + 0x84]
dec ecx
push ecx
push eax
lea esi, [esp + 0x88]
call fcn.00407ef0
push 0xffffffffffffffff
push 0
push eax
mov eax, esi
call fcn.00401690
cmp dword [ebx + 0x3c], 8
jb 0x475829
mov ecx, dword [ebx + 0x28]
jmp 0x47582c
lea ecx, [ebx + 0x28]
cmp dword [esp + 0x98], 8
mov eax, dword [esp + 0x84]
jae 0x475844
lea eax, [esp + 0x84]
push 0x800
push eax
push dword [ebx + 0x448]
lea esi, [esp + 0x58]
push dword [esp + 0x24]
call fcn.0047a546
mov esi, eax
lea edi, [esp + 0x3c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add esp, 0x10
movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x2c]
cmp eax, dword [esp + 0x14]
jg 0x4757dc
cmp dword [esp + 0x7c], 8
mov ecx, dword [esp + 0x68]
jae 0x47588b
lea ecx, [esp + 0x68]
lea eax, [ebx + 0x36c]
cmp dword [eax + 0x18], 8
jb 0x47589c
mov eax, dword [eax + 4]
jmp 0x47589f
add eax, 4
push 0x800
push eax
push dword [ebx + 0x448]
lea esi, [esp + 0x58]
push dword [esp + 0x24]
call fcn.0047a546
mov esi, eax
lea edi, [esp + 0x3c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x44]
sub eax, dword [esp + 0x3c]
add esp, 0x10
cmp eax, dword [esp + 0x14]
jle 0x4758e1
mov eax, dword [ebx + 0x4ac]
add dword [esp + 0x3c], eax
sub dword [esp + 0x44], eax
cmp byte [esp + 0x12], 0
jne 0x4758ef
cmp byte [esp + 0x13], 0
je 0x4758fd
cmp byte [esp + 0x12], 0x64
jne 0x475957
cmp byte [esp + 0x13], 0x64
jne 0x475957
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x21c]
test al, al
je 0x475a1b
cmp dword [esp + 0x7c], 8
mov ecx, dword [esp + 0x68]
jae 0x47591e
lea ecx, [esp + 0x68]
cmp dword [esp + 0x98], 8
mov eax, dword [esp + 0x84]
jae 0x475936
lea eax, [esp + 0x84]
push dword [esp + 0x1c]
push ecx
push eax
push dword [ebx + 0x448]
lea ecx, [esp + 0x4c]
push dword [esp + 0x28]
call fcn.0047ea83
add esp, 0x14
jmp 0x475a1b
mov eax, dword [ebx + 0x448]
cmp byte [eax + 0x32], 0
jne 0x47596e
cmp byte [ebp + 0xc], 0
mov byte [esp + 0x24], 0
je 0x475973
mov byte [esp + 0x24], 1
cmp dword [esp + 0x7c], 8
mov eax, dword [esp + 0x68]
jae 0x475982
lea eax, [esp + 0x68]
cmp dword [esp + 0x98], 8
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x84]
jae 0x47599e
lea eax, [esp + 0x84]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
push dword [esp + 0x24]
mov dword [esp + 0x18], eax
movsx eax, byte [esp + 0x17]
push dword [ebx + 0x320]
lea esi, [eax + ecx]
movsx ecx, byte [esp + 0x1a]
push dword [esp + 0x24]
lea edi, [ecx + edx]
mov edx, dword [esp + 0x4c]
push dword [esp + 0x34]
add eax, edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x30]
add ecx, edx
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x30]
and eax, 0xffffff
not eax
and ecx, 0x80000000
add eax, ecx
push eax
push dword [esp + 0x28]
lea eax, [esp + 0x64]
push eax
push dword [ebx + 0x448]
mov dword [esp + 0x74], edi
push dword [esp + 0x38]
mov dword [esp + 0x7c], esi
call fcn.0047a8e2
add esp, 0x24
mov eax, dword [ebx + 0x448]
cmp byte [eax + 0x32], 0
jne 0x475a31
cmp byte [ebp + 0xc], 0
jne 0x475a31
xor cl, cl
jmp 0x475a33
mov cl, 1
cmp dword [esp + 0x7c], 8
mov edi, dword [esp + 0x68]
jae 0x475a42
lea edi, [esp + 0x68]
cmp dword [esp + 0x98], 8
mov esi, dword [esp + 0x84]
jae 0x475a5a
lea esi, [esp + 0x84]
push ecx
push dword [ebx + 0x320]
lea ecx, [esp + 0x44]
push dword [esp + 0x24]
push edi
push dword [esp + 0x30]
push esi
push ecx
push eax
push dword [esp + 0x38]
call fcn.0047a8e2
add esp, 0x24
lea esi, [esp + 0x80]
mov byte [esp + 0x100], 0
call fcn.00401650
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x168]
test al, al
je 0x475af2
cmp byte [ebx + 0x4a8], 0
je 0x475ae1
mov edx, 0x4ec52c
lea eax, [esp + 0x80]
call fcn.004074b0
lea ecx, [esp + 0x80]
mov byte [esp + 0x100], 4
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x150]
lea esi, [esp + 0x80]
call fcn.00401650
jmp 0x475af2
mov edx, dword [ebx]
lea eax, [ebx + 0x36c]
push eax
mov ecx, ebx
call dword [edx + 0x150]
lea esi, [esp + 0x64]
call fcn.00401650
mov ecx, dword [esp + 0xf8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xe0]
xor ecx, esp
call fcn.004b6e9f
mov esp, ebp
pop ebp
ret 8