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

Disassembly:
push 0xffffffffffffffff
push 0x543d43
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xe8
mov eax, dword [esp + 0xf8]
push ebx
push ebp
push esi
push edi
mov edi, dword [eax + 0x10c]
mov ebx, ecx
or edi, 1
mov dword [eax + 0x10c], edi
mov dword [esp + 0x1c], ebx
mov ecx, dword [ebx + 0xc8]
shr ecx, 2
cmp ecx, 2
jl 0x47ba44
mov edi, dword [ebx + 0x5c]
lea ebp, [eax + 0x110]
add edi, 0x110
mov ecx, 4
mov esi, ebp
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
je 0x47aa36
mov esi, eax
mov ecx, esi
call fcn.00450320
mov eax, dword [esi + 0x10c]
push 0x10
or al, 1
mov dword [esi + 0x10c], eax
mov eax, dword [ebx + 0x5c]
add eax, 0x110
push eax
push ebp
call fcn.00474360
add esp, 0xc
mov eax, esi
mov ecx, dword [ebx + 0x5c]
mov eax, dword [eax + 0x17c]
mov ecx, dword [ecx + 0x17c]
cmp eax, ecx
ja 0x47aa4b
mov eax, ecx
mov ebp, dword [esp + 0x108]
mov ecx, ebp
mov dword [ebp + 0x17c], eax
call fcn.0044f200
test eax, eax
je 0x47ba44
mov eax, dword [ebx + 0xc8]
test eax, eax
jne 0x47aa7b
mov dword [esp + 0x34], 0
jmp 0x47aa85
mov edx, dword [ebx + 0xc0]
mov dword [esp + 0x34], edx
mov esi, dword [ebx + 0xc8]
mov edi, dword [ebx + 0x5c]
shr esi, 3
lea ecx, [esp + 0x58]
mov dword [esp + 0x48], esi
call fcn.00473490
xor eax, eax
mov dword [esp + 0x6c], edi
mov dword [esp + 0x54], eax
mov dword [esp + 0x50], 0x54d958
lea ecx, [esp + 0x9c]
mov dword [esp + 0x100], eax
call fcn.005189bf
lea ecx, [esp + 0x74]
mov byte [esp + 0x100], 1
call fcn.00473490
mov edi, 0x54d910
mov dword [esp + 0x74], edi
mov eax, dword [ebx + 0x3c]
mov byte [esp + 0x100], 2
cmp eax, 6
je 0x47b7f5
cmp eax, 7
je 0x47b7f5
cmp eax, 8
je 0x47b7f5
cmp eax, 1
je 0x47b025
test esi, esi
mov dword [esp + 0x10], 0
jle 0x47adcf
mov eax, dword [esp + 0x34]
xor esi, esi
mov ebp, dword [eax]
mov ecx, dword [eax + 4]
add eax, 4
mov dword [esp + 0x20], ecx
add eax, 4
mov dword [esp + 0x34], eax
mov eax, dword [ebx + 0x3c]
sub eax, 2
je 0x47ae30
dec eax
je 0x47ad0e
dec eax
jne 0x47adb4
xor edi, edi
lea ecx, [esp + 0x24]
mov eax, edi
inc edi
push ecx
mov ecx, dword [ebx + 0x48]
push eax
mov dword [esp + 0x18], edi
call fcn.004d2d50
test eax, eax
je 0x47adb4
mov edx, dword [esp + 0x24]
test byte [edx + 8], 4
jne 0x47ab51
mov ecx, dword [edx + 0x14]
lea eax, [ecx + esi + 7]
cmp ebp, eax
mov dword [esp + 0x38], eax
jge 0x47acf1
mov eax, dword [esp + 0x20]
lea ebx, [ecx + 6]
sub eax, esi
sub ebp, esi
cmp ebx, eax
mov dword [esp + 0x44], 0
mov dword [esp + 0x2c], ebp
jl 0x47aba8
mov ebx, eax
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x38]
cmp ebx, eax
mov dword [esp + 0x14], ebx
jl 0x47acf1
cmp eax, 6
jge 0x47acb4
push 0x44
call fcn.0051a826
mov esi, eax
add esp, 4
mov dword [esp + 0x3c], esi
test esi, esi
je 0x47ac31
mov edx, dword [esp + 0x1c]
mov eax, dword [0x596a0c]
mov edi, dword [edx + 0x5c]
mov dword [esi], eax
mov ecx, dword [0x596a0c]
mov dword [esi + 4], ecx
lea ebx, [esi + 0x10]
push edi
mov ecx, ebx
mov byte [esp + 0x104], 0xb
call fcn.0040bf10
mov dword [ebx], 0x54d958
mov edx, dword [0x596a0c]
mov ebx, dword [esp + 0x14]
mov dword [esi + 0x30], edx
mov eax, dword [0x596a0c]
mov dword [esi + 0x34], eax
xor eax, eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x40], edi
mov dword [esi + 8], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
jmp 0x47ac33
xor esi, esi
mov edi, dword [esp + 0x24]
mov ecx, esi
push edi
mov byte [esp + 0x104], 2
mov dword [esp + 0x48], esi
call fcn.00519a63
lea ecx, [edi + 4]
push ecx
lea ecx, [esi + 4]
call fcn.00519a63
mov edx, dword [edi + 8]
lea ecx, [edi + 0x30]
mov dword [esi + 8], edx
mov eax, dword [edi + 0xc]
push ecx
lea ecx, [esi + 0x30]
mov dword [esi + 0xc], eax
call fcn.00519a63
add edi, 0x34
lea ecx, [esi + 0x34]
push edi
call fcn.00519a63
mov edx, dword [esp + 0xa4]
push esi
push edx
lea ecx, [esp + 0xa4]
call fcn.00518b9e
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
dec eax
mov ecx, dword [ecx + 0x48]
push eax
call fcn.004d2d90
push eax
lea ecx, [esp + 0x78]
call fcn.00473750
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x2c]
cmp eax, 7
jge 0x47acbe
mov eax, 7
cmp ebx, 7
jl 0x47acf1
mov ecx, dword [esp + 0x44]
test ecx, ecx
jne 0x47acdd
sub ebx, eax
add eax, 0xfffffff9
inc ebx
add edx, 0x10
push ebx
push eax
push edx
lea ecx, [esp + 0x5c]
jmp 0x47acec
sub ebx, eax
add eax, 0xfffffff9
inc ebx
add edx, 0x10
push ebx
push eax
push edx
add ecx, 0x10
call fcn.004c62f0
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x20]
cmp eax, esi
jl 0x47adcf
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
jmp 0x47ab51
cmp ebp, 1
jge 0x47ad18
mov ebp, 1
cmp ecx, ebp
jl 0x47adb4
mov ecx, dword [ebx + 0x44]
lea edx, [ebp - 1]
push edx
call fcn.004d2460
cmp eax, 0xffffffff
mov dword [esp + 0x18], eax
je 0x47adb4
mov eax, dword [esp + 0x20]
xor edi, edi
sub eax, ebp
inc eax
test eax, eax
mov dword [esp + 0x14], eax
jle 0x47adb4
mov ebp, dword [esp + 0x40]
mov ecx, dword [ebx + 0x44]
lea eax, [esp + 0x18]
push eax
call fcn.004d24b0
test eax, eax
je 0x47ad9b
test edi, edi
je 0x47ad7c
mov eax, dword [esp + 0x18]
lea ecx, [edi + ebp]
cmp eax, ecx
jne 0x47ad6d
inc edi
jmp 0x47ad85
mov edx, dword [ebx + 0x44]
push edi
push ebp
push edx
lea ecx, [esp + 0x5c]
call fcn.004c62f0
mov ebp, dword [esp + 0x18]
mov edi, 1
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x14]
dec eax
test eax, eax
mov dword [esp + 0x14], eax
jg 0x47ad4a
test edi, edi
mov dword [esp + 0x40], ebp
jle 0x47adb4
mov ecx, dword [ebx + 0x44]
mov eax, ebp
push edi
push eax
push ecx
lea ecx, [esp + 0x5c]
call fcn.004c62f0
cmp dword [esp + 0x20], esi
jl 0x47adcf
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x48]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x47ab1c
mov ebx, dword [esp + 0x108]
lea edx, [esp + 0x50]
push 0
push edx
mov ecx, ebx
call fcn.00451c40
mov eax, dword [esp + 0xa4]
xor esi, esi
lea edi, [eax - 1]
test edi, edi
jl 0x47afd7
mov ebp, dword [esp + 0x1c]
mov eax, dword [ebp + 0x3c]
sub eax, 2
je 0x47afb4
sub eax, 2
jne 0x47afce
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0xa0]
mov edx, dword [ecx + esi*4]
mov ecx, dword [eax + esi*4]
push edx
push ecx
mov ecx, ebx
call fcn.00451eb0
jmp 0x47afce
xor edi, edi
mov ecx, dword [ebx + 0x40]
lea edx, [esp + 0x30]
mov eax, edi
inc edi
push edx
push eax
mov dword [esp + 0x18], edi
call fcn.004d2d50
test eax, eax
je 0x47adb4
mov edx, dword [esp + 0x30]
test byte [edx + 8], 2
jne 0x47ae32
mov ecx, dword [edx + 0x10]
lea eax, [ecx + esi + 3]
cmp ebp, eax
mov dword [esp + 0x38], eax
jge 0x47af97
mov eax, dword [esp + 0x20]
lea ebx, [ecx + 2]
sub eax, esi
sub ebp, esi
cmp ebx, eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x2c], ebp
jl 0x47ae89
mov ebx, eax
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x38]
cmp ebx, eax
jl 0x47af97
cmp eax, 2
jge 0x47af5a
push 0x30
call fcn.0051a826
mov esi, eax
add esp, 4
mov dword [esp + 0x3c], esi
test esi, esi
je 0x47aef5
mov eax, dword [esp + 0x1c]
mov ecx, dword [0x596a0c]
mov edi, dword [eax + 0x5c]
mov dword [esi], ecx
mov edx, dword [0x596a0c]
mov dword [esi + 4], edx
lea ecx, [esi + 0x14]
mov byte [esp + 0x100], 8
call fcn.00473490
xor eax, eax
mov dword [esi + 0x28], edi
mov dword [esi + 0x10], eax
mov dword [esi + 0xc], 0x54d958
mov dword [esi + 0x2c], edi
mov dword [esi + 8], eax
jmp 0x47aef7
xor esi, esi
mov edi, dword [esp + 0x30]
mov ecx, esi
push edi
mov byte [esp + 0x104], 2
mov dword [esp + 0x18], esi
call fcn.00519a63
lea eax, [edi + 4]
lea ecx, [esi + 4]
push eax
call fcn.00519a63
mov ecx, dword [edi + 8]
push esi
mov dword [esi + 8], ecx
mov edx, dword [esp + 0xa8]
push edx
lea ecx, [esp + 0xa4]
call fcn.00518b9e
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
dec eax
mov ecx, dword [ecx + 0x40]
push eax
call fcn.004d2d90
push eax
lea ecx, [esp + 0x78]
call fcn.00473750
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
cmp eax, 3
jge 0x47af64
mov eax, 3
cmp ebx, 3
jl 0x47af97
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x47af83
sub ebx, eax
add eax, 0xfffffffd
inc ebx
add edx, 0xc
push ebx
push eax
push edx
lea ecx, [esp + 0x5c]
jmp 0x47af92
sub ebx, eax
add eax, 0xfffffffd
inc ebx
add edx, 0xc
push ebx
push eax
push edx
add ecx, 0xc
call fcn.004c62f0
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x20]
cmp eax, esi
jl 0x47adcf
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
jmp 0x47ae32
mov edx, dword [esp + 0x7c]
mov ecx, dword [esp + 0xa0]
mov eax, dword [edx + esi*4]
mov edx, dword [ecx + esi*4]
push eax
push edx
mov ecx, ebx
call fcn.00451e00
inc esi
cmp esi, edi
jle 0x47adfc
mov esi, 0x54d7d0
lea ecx, [esp + 0x74]
mov byte [esp + 0x100], 1
mov dword [esp + 0x74], esi
call fcn.00473690
lea ecx, [esp + 0x9c]
mov byte [esp + 0x100], 0
call fcn.005189f2
mov dword [esp + 0x50], 0x54d7d4
mov dword [esp + 0x100], 0xc
mov dword [esp + 0x54], 0
jmp 0x47ba23
lea ecx, [esp + 0x88]
call fcn.005189bf
lea ecx, [esp + 0xb0]
mov byte [esp + 0x100], 0xd
call fcn.005189bf
lea ecx, [esp + 0xc4]
mov byte [esp + 0x100], 0xe
call fcn.00473490
mov dword [esp + 0xc4], edi
xor edi, edi
push 0x14
push edi
lea ecx, [esp + 0x90]
mov byte [esp + 0x108], 0xf
call fcn.00518a1f
push 0x14
push edi
lea ecx, [esp + 0xb8]
call fcn.00518a1f
mov eax, dword [ebx + 0x54]
mov ecx, dword [eax + 0x3c]
shr ecx, 2
mov dword [esp + 0x14], ecx
mov ecx, dword [eax + 0x3c]
cmp ecx, edi
jne 0x47b0a2
mov dword [esp + 0x70], edi
jmp 0x47b0a9
mov eax, dword [eax + 0x34]
mov dword [esp + 0x70], eax
cmp esi, edi
mov dword [esp + 0x3c], edi
jle 0x47b6f7
jmp 0x47b0bb
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x34]
xor edi, edi
mov esi, dword [eax]
mov ebp, dword [eax + 4]
add eax, 4
mov dword [esp + 0x10], esi
add eax, 4
mov dword [esp + 0x20], ebp
mov dword [esp + 0x34], eax
mov eax, dword [ebx + 0x58]
test eax, eax
jne 0x47b12b
mov ecx, dword [ebx + 0x54]
call fcn.004cec90
mov edi, eax
cmp esi, edi
jge 0x47b123
cmp esi, 3
jge 0x47b0f7
mov esi, 3
lea eax, [edi - 1]
lea ecx, [esi - 3]
cmp eax, ebp
jl 0x47b103
mov eax, ebp
add eax, 0xfffffffd
mov dword [esp + 0x10], edi
cmp eax, ecx
jl 0x47b123
sub eax, ecx
inc eax
push eax
push ecx
mov ecx, dword [ebx + 0x54]
add ecx, 0xc
push ecx
lea ecx, [esp + 0x5c]
call fcn.004c62f0
cmp ebp, edi
jl 0x47b6f7
mov eax, dword [esp + 0x14]
mov dword [esp + 0x24], 0
test eax, eax
jle 0x47b6e2
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x24]
xor esi, esi
lea ecx, [esp + 0x28]
lea eax, [edx + eax*4]
push esi
mov dword [esp + 0x48], eax
push ecx
mov edx, dword [eax]
mov eax, dword [esp + 0x24]
push edx
mov ecx, dword [eax + 0x5c]
add ecx, 0x1f0
call fcn.004d2df0
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx + 0xc]
shr eax, 4
and eax, 1
mov dword [esp + 0x40], eax
je 0x47b185
mov eax, 2
jmp 0x47b18e
call fcn.004cdd40
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x10]
lea edx, [eax + edi]
cmp ebx, edx
mov dword [esp + 0x38], edx
jge 0x47b596
mov edx, ebx
lea ebx, [eax - 1]
sub edx, edi
mov ebp, edx
mov edx, dword [esp + 0x20]
sub edx, edi
cmp ebx, edx
jl 0x47b1b6
mov ebx, edx
mov edx, dword [esp + 0x38]
cmp ebx, ebp
mov dword [esp + 0x10], edx
jl 0x47b596
mov eax, dword [esp + 0x40]
test eax, eax
je 0x47b3cf
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x2c], 0
mov dword [esp + 0x4c], eax
push 0xd0
call fcn.0051a826
mov esi, eax
add esp, 4
mov dword [esp + 0x30], esi
test esi, esi
je 0x47b2d3
mov ecx, dword [esp + 0x1c]
mov edx, dword [0x596a0c]
mov edi, dword [ecx + 0x5c]
mov dword [esi], edx
mov eax, dword [0x596a0c]
mov dword [esi + 4], eax
lea ecx, [esi + 0x1c]
mov byte [esp + 0x100], 0x12
call fcn.00473490
mov dword [esi + 0x30], edi
mov dword [esi + 0x18], 0
mov dword [esi + 0x14], 0x54d958
lea ebp, [esi + 0x34]
push edi
mov ecx, ebp
mov byte [esp + 0x104], 0x13
call fcn.0040bf10
mov dword [ebp], 0x54d958
lea ecx, [esi + 0x54]
mov byte [esp + 0x100], 0x14
call fcn.00473490
lea ecx, [esi + 0x68]
mov byte [esp + 0x100], 0x15
call fcn.00473490
lea ecx, [esi + 0x7c]
mov byte [esp + 0x100], 0x16
call fcn.00473490
lea ecx, [esi + 0x90]
mov byte [esp + 0x100], 0x17
call fcn.00473490
lea ecx, [esi + 0xa4]
mov byte [esp + 0x100], 0x18
call fcn.00473490
lea ecx, [esi + 0xb8]
mov byte [esp + 0x100], 0x19
call fcn.00473490
xor eax, eax
mov dword [esi + 0xcc], edi
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 8], eax
jmp 0x47b2d5
xor esi, esi
mov ecx, dword [esp + 0x90]
push esi
push ecx
lea ecx, [esp + 0x90]
mov byte [esp + 0x108], 0xf
mov dword [esp + 0x38], esi
call fcn.00518b9e
mov eax, dword [ebx]
lea ecx, [esp + 0xc4]
push eax
call fcn.00473750
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0xb8]
push edx
push eax
lea ecx, [esp + 0xb8]
call fcn.00518b9e
mov edi, dword [esp + 0x18]
mov ecx, esi
push edi
call fcn.00519a63
lea ecx, [edi + 4]
push ecx
lea ecx, [esi + 4]
call fcn.00519a63
mov edx, dword [edi + 8]
mov dword [esi + 8], edx
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [edi + 0x10]
mov dword [esi + 0x10], ecx
mov edx, dword [esp + 0x18]
add edx, 0x34
lea ecx, [esi + 0x34]
push edx
call fcn.004c6400
mov eax, dword [esp + 0x18]
lea ecx, [esi + 0x14]
add eax, 0x14
push eax
call fcn.004c6400
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, esi
call fcn.004cd820
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0xc]
test al, 0x10
je 0x47b383
inc dword [esp + 0x2c]
test al, 0x20
je 0x47b396
mov eax, dword [esp + 0x2c]
dec eax
mov dword [esp + 0x2c], eax
je 0x47b58e
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x14]
inc eax
add ebx, 4
cmp eax, ecx
mov dword [esp + 0x4c], eax
jge 0x47b58e
mov ecx, dword [ebx]
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x18]
push 0
push eax
push ecx
mov ecx, dword [edx + 0x5c]
add ecx, 0x1f0
call fcn.004d2df0
jmp 0x47b1ea
cmp ebp, 2
jge 0x47b546
push 0xd0
call fcn.0051a826
mov esi, eax
add esp, 4
mov dword [esp + 0x4c], esi
test esi, esi
je 0x47b4c9
mov eax, dword [esp + 0x1c]
mov ecx, dword [0x596a0c]
mov edi, dword [eax + 0x5c]
mov dword [esi], ecx
mov edx, dword [0x596a0c]
mov dword [esi + 4], edx
lea ecx, [esi + 0x1c]
mov byte [esp + 0x100], 0x1c
call fcn.00473490
mov dword [esi + 0x30], edi
mov dword [esi + 0x18], 0
mov dword [esi + 0x14], 0x54d958
lea ecx, [esi + 0x3c]
mov byte [esp + 0x100], 0x1d
call fcn.00473490
mov dword [esi + 0x50], edi
mov dword [esi + 0x38], 0
mov dword [esi + 0x34], 0x54d958
lea ecx, [esi + 0x54]
mov byte [esp + 0x100], 0x1e
call fcn.00473490
lea ecx, [esi + 0x68]
mov byte [esp + 0x100], 0x1f
call fcn.00473490
lea ecx, [esi + 0x7c]
mov byte [esp + 0x100], 0x20
call fcn.00473490
lea ecx, [esi + 0x90]
mov byte [esp + 0x100], 0x21
call fcn.00473490
lea ecx, [esi + 0xa4]
mov byte [esp + 0x100], 0x22
call fcn.00473490
lea ecx, [esi + 0xb8]
mov byte [esp + 0x100], 0x23
call fcn.00473490
xor eax, eax
mov dword [esi + 0xcc], edi
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 8], eax
jmp 0x47b4cb
xor esi, esi
mov edi, dword [esp + 0x28]
mov ecx, esi
push edi
mov byte [esp + 0x104], 0xf
mov dword [esp + 0x34], esi
call fcn.00519a63
lea eax, [edi + 4]
lea ecx, [esi + 4]
push eax
call fcn.00519a63
mov ecx, dword [edi + 8]
push esi
mov dword [esi + 8], ecx
mov edx, dword [edi + 0xc]
mov dword [esi + 0xc], edx
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
mov ecx, dword [esp + 0x94]
push ecx
lea ecx, [esp + 0x90]
call fcn.00518b9e
mov edx, dword [esp + 0x44]
lea ecx, [esp + 0xc4]
mov eax, dword [edx]
push eax
call fcn.00473750
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0xb8]
push eax
push ecx
lea ecx, [esp + 0xb8]
call fcn.00518b9e
mov ecx, dword [esp + 0x28]
cmp ebp, 3
jge 0x47b550
mov ebp, 3
cmp ebx, 3
jl 0x47b596
test esi, esi
jne 0x47b574
sub ebx, ebp
add ebp, 0xfffffffd
inc ebx
add ecx, 0x34
push ebx
push ebp
push ecx
lea ecx, [esp + 0x5c]
call fcn.004c62f0
mov ecx, dword [esp + 0x28]
jmp 0x47b596
sub ebx, ebp
add ebp, 0xfffffffd
inc ebx
add ecx, 0x34
push ebx
push ebp
push ecx
lea ecx, [esi + 0x34]
call fcn.004c62f0
mov ecx, dword [esp + 0x28]
jmp 0x47b596
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x20]
cmp edx, eax
jl 0x47b6e2
mov edx, dword [esp + 0x40]
test edx, edx
je 0x47b5b2
xor ebp, ebp
jmp 0x47b5b5
mov ebp, dword [ecx + 0x18]
test ebp, ebp
jle 0x47b625
mov edx, dword [esp + 0x10]
inc ebp
lea ebx, [eax + ebp]
cmp edx, ebx
jge 0x47b617
mov edi, dword [esp + 0x20]
sub edx, eax
sub edi, eax
lea eax, [ebp - 1]
cmp eax, edi
jl 0x47b5d6
mov eax, edi
cmp eax, edx
mov dword [esp + 0x10], ebx
jl 0x47b617
cmp edx, 1
jge 0x47b5e8
mov edx, 1
cmp eax, 1
jl 0x47b617
test esi, esi
jne 0x47b601
sub eax, edx
inc eax
dec edx
push eax
add ecx, 0x14
push edx
push ecx
lea ecx, [esp + 0x5c]
jmp 0x47b60e
sub eax, edx
inc eax
dec edx
push eax
add ecx, 0x14
push edx
push ecx
lea ecx, [esi + 0x14]
call fcn.004c62f0
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
mov eax, ebx
cmp edx, eax
jl 0x47b6e2
mov edx, dword [esp + 0x40]
test edx, edx
je 0x47b631
xor ebx, ebx
jmp 0x47b637
mov ebx, dword [ecx + 0x64]
shr ebx, 2
mov edx, dword [esp + 0x10]
lea edi, [ebx + eax]
cmp edx, edi
jge 0x47b6ba
sub edx, eax
mov ebp, edx
mov edx, dword [esp + 0x20]
sub edx, eax
lea eax, [ebx - 1]
cmp eax, edx
jge 0x47b655
mov edx, eax
cmp edx, ebp
mov dword [esp + 0x10], edi
jl 0x47b6ba
lea eax, [esp + 0x88]
push eax
push esi
push edx
push ebp
push ecx
mov ecx, dword [esp + 0x30]
call fcn.004a86b0
mov ecx, dword [esp + 0xd4]
mov eax, dword [esp + 0x90]
shr ecx, 2
sub eax, ecx
test eax, eax
jle 0x47b6ba
mov ebx, dword [esp + 0x44]
mov esi, eax
mov eax, dword [ebx]
lea ecx, [esp + 0xc4]
push eax
call fcn.00473750
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0xb8]
push edx
push eax
lea ecx, [esp + 0xb8]
call fcn.00518b9e
dec esi
jne 0x47b68f
cmp dword [esp + 0x20], edi
jl 0x47b6e2
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
push ecx
mov ecx, dword [edx + 0x54]
call fcn.004ceb80
mov ecx, dword [esp + 0x14]
inc eax
cmp eax, ecx
mov dword [esp + 0x24], eax
jl 0x47b13f
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x48]
inc eax
cmp eax, ecx
mov dword [esp + 0x3c], eax
jl 0x47b0b7
mov ebx, dword [esp + 0x108]
lea eax, [esp + 0x50]
push 1
push eax
mov ecx, ebx
call fcn.00451c40
mov ecx, dword [esp + 0x90]
xor esi, esi
lea edi, [ecx - 1]
test edi, edi
jl 0x47b764
mov edx, dword [esp + 0x8c]
mov ecx, dword [edx + esi*4]
mov dword [esp + 0x28], ecx
mov eax, dword [ecx + 0xc8]
test eax, eax
jne 0x47b741
push 0
push 0
call fcn.004ccf80
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0xcc]
mov edx, dword [eax + esi*4]
mov eax, dword [esp + 0xb4]
push edx
mov edx, dword [eax + esi*4]
push edx
push ecx
mov ecx, ebx
call fcn.00451f80
inc esi
cmp esi, edi
jle 0x47b71c
mov esi, 0x54d7d0
lea ecx, [esp + 0xc4]
mov byte [esp + 0x100], 0xe
mov dword [esp + 0xc4], esi
call fcn.00473690
lea ecx, [esp + 0xb0]
mov byte [esp + 0x100], 0xd
call fcn.005189f2
lea ecx, [esp + 0x88]
mov byte [esp + 0x100], 2
call fcn.005189f2
lea ecx, [esp + 0x74]
mov byte [esp + 0x100], 1
mov dword [esp + 0x74], esi
call fcn.00473690
lea ecx, [esp + 0x9c]
mov byte [esp + 0x100], 0
call fcn.005189f2
mov dword [esp + 0x50], 0x54d7d4
mov dword [esp + 0x100], 0x24
mov dword [esp + 0x54], 0
jmp 0x47ba23
mov edi, dword [ebx + 0x5c]
lea ecx, [esp + 0xe0]
call fcn.00473490
mov dword [esp + 0xf4], edi
mov dword [esp + 0xdc], 0
mov dword [esp + 0xd8], 0x54d938
mov ecx, dword [ebx + 0x50]
lea eax, [esp + 0x4c]
push eax
mov byte [esp + 0x104], 3
call fcn.004d2660
test esi, esi
mov dword [esp + 0x48], eax
jle 0x47b958
mov dword [esp + 0x3c], esi
mov edx, dword [esp + 0x34]
mov ecx, dword [edx]
mov eax, dword [edx + 4]
add edx, 4
add edx, 4
cmp ecx, 1
mov dword [esp + 0x34], edx
jge 0x47b863
mov ecx, 1
cmp eax, ecx
jl 0x47b942
sub eax, ecx
inc eax
dec ecx
push ecx
mov ecx, ebx
mov dword [esp + 0x18], eax
call fcn.004993b0
mov esi, eax
cmp esi, 0xffffffff
jne 0x47b884
xor esi, esi
mov eax, dword [esp + 0x48]
xor edi, edi
cmp esi, eax
jge 0x47b942
mov eax, dword [esp + 0x14]
test eax, eax
jle 0x47b928
mov ecx, dword [esp + 0x4c]
mov edx, dword [ecx + esi*4]
push edx
call fcn.004d2510
mov ecx, dword [ebx + 0x50]
add esp, 4
mov ebp, eax
mov eax, dword [ecx]
push esi
call dword [eax + 0x1c]
test eax, eax
jne 0x47b91b
mov eax, dword [ebx + 0x3c]
cmp eax, 6
jne 0x47b8cd
cmp ebp, 0x10000000
je 0x47b8e7
cmp eax, 7
jne 0x47b8da
cmp ebp, 0x20000000
je 0x47b8e7
cmp eax, 8
jne 0x47b91b
cmp ebp, 0x30000000
jne 0x47b91b
test edi, edi
je 0x47b90e
mov ecx, dword [esp + 0x24]
add ecx, edi
cmp ecx, esi
jne 0x47b8f8
inc edi
jmp 0x47b917
mov edx, dword [esp + 0x24]
mov eax, dword [ebx + 0x50]
push edi
push edx
push eax
lea ecx, [esp + 0xe4]
call fcn.004c62f0
mov dword [esp + 0x24], esi
mov edi, 1
dec dword [esp + 0x14]
mov eax, dword [esp + 0x48]
inc esi
cmp esi, eax
jl 0x47b892
test edi, edi
jle 0x47b942
mov ecx, dword [esp + 0x24]
mov edx, dword [ebx + 0x50]
push edi
push ecx
push edx
lea ecx, [esp + 0xe4]
call fcn.004c62f0
mov eax, dword [esp + 0x3c]
dec eax
mov dword [esp + 0x3c], eax
jne 0x47b846
mov ebp, dword [esp + 0x108]
mov eax, dword [esp + 0xdc]
test eax, eax
mov edi, eax
jle 0x47b99f
xor esi, esi
mov eax, esi
lea ecx, [esp + 0xd8]
push eax
inc esi
call fcn.004d2630
test eax, eax
je 0x47b989
push eax
lea ecx, [ebp + 0x260]
call fcn.004d2930
jmp 0x47b967
push edi
lea eax, [esp + 0xdc]
push 0
push eax
lea ecx, [ebp + 0x260]
call fcn.004c62f0
mov edi, 0x54d7d4
mov dword [esp + 0xd8], edi
xor ebx, ebx
lea ecx, [esp + 0xe0]
mov byte [esp + 0x100], 4
mov dword [esp + 0xdc], ebx
call fcn.00473690
mov esi, 0x54d7d0
lea ecx, [esp + 0xe0]
mov byte [esp + 0x100], 2
mov dword [esp + 0xe0], esi
call fcn.00473690
lea ecx, [esp + 0x74]
mov byte [esp + 0x100], 1
mov dword [esp + 0x74], esi
call fcn.00473690
lea ecx, [esp + 0x9c]
mov byte [esp + 0x100], bl
call fcn.005189f2
mov dword [esp + 0x50], edi
mov dword [esp + 0x100], 5
mov dword [esp + 0x54], ebx
lea ecx, [esp + 0x58]
call fcn.00473690
lea ecx, [esp + 0x58]
mov dword [esp + 0x100], 0xffffffff
mov dword [esp + 0x58], esi
call fcn.00473690
mov ecx, dword [esp + 0xf8]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xf4
ret 4