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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xa8
mov eax, dword [0x577018]
xor eax, esp
mov dword [esp + 0xa4], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x50], eax
mov eax, dword [ebp + 0x28]
push esi
mov dword [esp + 0x6c], eax
mov eax, dword [ebp + 0x30]
push edi
mov edi, ecx
mov dword [esp + 0x44], eax
mov ecx, dword [ebp + 0x2c]
xor eax, eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x54], eax
mov esi, dword [edi + 8]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x68], eax
mov eax, dword [edi]
mov dword [esp + 0xc], edx
mov dword [esp + 8], edi
mov dword [esp + 0x28], ecx
mov dword [esp + 0x60], 0
mov dword [esp + 0x50], 0
mov byte [esp + 0x41], 0
mov dword [esp + 0x48], eax
mov dword [esp + 0x3c], esi
test esi, esi
jne 0x47dede
cmp dword [edi + 0x74], esi
jne 0x47dec9
test byte [eax + 0x4c], 8
jne 0x47dec9
mov byte [edi + 0x17], 1
mov ecx, edi
call fcn.00446150
mov ecx, dword [esp + 0x28]
mov esi, eax
mov edx, dword [esp + 0xc]
mov dword [esp + 0x3c], esi
test byte [edx + 0x24], 0x20
movsx eax, word [edx + 0x2a]
mov dword [esp + 0x34], eax
jne 0x47defe
mov dword [esp + 0x30], 0
mov dword [esp + 0x4c], 1
jmp 0x47df30
mov edx, dword [edx + 8]
mov dword [esp + 0x30], edx
test edx, edx
je 0x47df28
nop dword [eax]
mov eax, dword [edx + 0x38]
and al, 3
cmp al, 2
je 0x47df20
mov edx, dword [edx + 0x14]
test edx, edx
jne 0x47df10
mov eax, dword [esp + 0x34]
mov dword [esp + 0x30], edx
movzx edx, word [edx + 0x32]
mov dword [esp + 0x4c], edx
test eax, eax
jle 0x47e207
mov eax, dword [ebp + 0x14]
xor edi, edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], ecx
lea edx, [eax + 1]
not eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x38], eax
lea ecx, [edx + eax]
mov eax, dword [esp + 0xc]
movsx eax, word [eax + 0x28]
cmp ecx, eax
je 0x47e1dc
cmp dword [esp + 0x28], 0
je 0x47df79
mov eax, dword [esp + 0x1c]
cmp dword [eax], 0
jl 0x47e1dc
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 4]
lea ecx, [eax + edi]
mov al, byte [ecx + 0xc]
movzx edi, al
mov dword [esp + 0x24], edi
test al, al
je 0x47e1dc
mov ah, byte [ebp + 0x20]
cmp ah, 0xb
jne 0x47dfac
cmp al, ah
jne 0x47dfac
xor eax, eax
mov dword [esp + 0x10], eax
jmp 0x47e0ef
cmp ah, 0xb
movzx edi, ah
cmove edi, dword [esp + 0x24]
cmp edi, 5
jne 0x47dfcd
cmp dword [ecx + 4], 0
jne 0x47dfcd
xor eax, eax
mov dword [esp + 0x10], eax
jmp 0x47e0ef
xor eax, eax
mov dword [esp + 0x10], eax
lea eax, [edi - 1]
cmp eax, 4
ja case.0x47dfdf.4
jmp dword [eax*4 + 0x47f7f8]
mov eax, dword [esp + 8]
dec dword [eax + 0x38]
mov ecx, dword [esi + 0x6c]
mov edi, dword [eax + 0x38]
mov dword [esp + 0x10], edi
cmp dword [esi + 0x70], ecx
jg 0x47e015
push 0
push edi
push edx
mov edx, 0x33
mov ecx, esi
call fcn.004463f0
mov edx, dword [esp + 0x20]
add esp, 0xc
jmp 0x47e044
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x3c]
mov dword [eax + ecx*4], 0x33
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x18]
mov eax, dword [eax + 4]
mov eax, dword [eax + ecx + 4]
test eax, eax
je 0x47e06e
cmp byte [eax], 0xa4
jne 0x47e06e
mov ecx, dword [esp + 8]
push edx
push dword [eax + 0x1c]
mov edx, 0x4e
mov ecx, dword [ecx + 8]
jmp 0x47e097
mov ecx, dword [esp + 8]
push edx
mov edx, eax
call fcn.004622f0
mov edx, dword [esp + 0x18]
add esp, 4
cmp eax, edx
je 0x47e0a3
mov ecx, dword [esp + 8]
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x47e0a3
push edx
push eax
mov edx, 0x4f
call fcn.00446560
mov edx, dword [esp + 0x1c]
add esp, 8
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x47e0c0
push 0
push edi
push edx
mov edx, 0x33
mov ecx, esi
call fcn.004463f0
add esp, 0xc
jmp 0x47e0ef
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x3c]
mov dword [eax + ecx*4], 0x33
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edi, 2
mov ecx, dword [esp + 8]
mov eax, dword [ecx + 0x74]
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x15], 1
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x18]
mov eax, dword [edx + 4]
push dword [eax + ecx]
push dword [edx]
push str._s._s
push dword [esp + 0x54]
call fcn.00426f70
mov ecx, dword [esi + 0x6c]
add esp, 0x10
mov edx, dword [esp + 0x14]
mov dword [esp + 0x2c], eax
cmp dword [esi + 0x70], ecx
jg 0x47e14d
push edx
push edi
push 0x513
mov edx, 0x44
mov ecx, esi
call fcn.004463f0
add esp, 0xc
jmp 0x47e178
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x44
mov dword [eax + ecx*4 + 4], 0x513
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi]
mov edx, dword [esp + 0x2c]
cmp byte [ecx + 0x51], 0
je 0x47e18b
call fcn.00423630
jmp 0x47e19d
mov eax, dword [esi + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
mov byte [eax + ecx*4 - 0x13], 0xf9
mov dword [eax + ecx*4 - 4], edx
mov eax, dword [esi + 0x6c]
test eax, eax
jle 0x47e1b4
lea ecx, [eax + eax*4]
mov edx, 1
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov edx, dword [esp + 0x10]
test edx, edx
je 0x47e1d8
mov ecx, dword [esi + 0xc]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x47e316
push edx
mov edx, esi
call fcn.00446ac0
add esp, 4
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x38]
inc edx
add dword [esp + 0x18], 0x10
add eax, edx
add dword [esp + 0x1c], 4
cmp eax, dword [esp + 0x34]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x14], edx
jl 0x47df52
mov edi, dword [esp + 8]
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x18]
mov dword [esp + 0x34], ecx
test ecx, ecx
je 0x47e507
mov eax, dword [esp + 0x48]
mov eax, dword [eax + 0x20]
and eax, 0x200
or eax, 0
jne 0x47e507
mov eax, dword [ebp + 0x14]
not eax
mov dword [edi + 0x34], eax
mov al, byte [ebp + 0x20]
movzx edi, al
cmp al, 0xb
jne 0x47e246
mov edi, 2
xor edx, edx
mov dword [esp + 0x10], edx
cmp dword [ecx], edx
jle 0x47e4fc
lea eax, [ecx + 8]
mov dword [esp + 0x1c], eax
nop dword [eax + eax]
mov ecx, dword [eax - 4]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x24], ecx
test eax, eax
je 0x47e2d1
mov dword [esp + 0x98], 0
xorps xmm0, xmm0
movaps xmmword [esp + 0x80], xmm0
movq qword [esp + 0x90], xmm0
mov dword [esp + 0x84], 0x47de00
mov dword [esp + 0x98], eax
test ecx, ecx
je 0x47e2ba
mov edx, ecx
lea ecx, [esp + 0x80]
call fcn.00459a40
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x10]
cmp byte [ebp + 0x1c], 0
mov al, byte [esp + 0x94]
jne 0x47e2c9
and al, 0xfd
test al, al
je 0x47e4e0
mov edx, dword [esp + 8]
push 0x10
dec dword [edx + 0x38]
mov eax, dword [edx + 0x38]
push eax
push ecx
push edx
mov dword [esp + 0x34], eax
call fcn.00463a80
add esp, 0x10
cmp edi, 4
jne 0x47e3b0
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x47e379
push 0
push dword [ebp + 0x24]
lea edx, [edi + 7]
mov ecx, esi
push 0
call fcn.004463f0
add esp, 0xc
jmp 0x47e4b5
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
jmp 0x47e1d8
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x47e346
push 0
push dword [ebp + 0x24]
mov ecx, esi
push edx
mov edx, 0x32
call fcn.004463f0
add esp, 0xc
jmp 0x47e1d8
mov edi, dword [ebp + 0x24]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x32
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x47e1dc
mov edx, dword [ebp + 0x24]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x47e4b5
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
mov dword [esp + 0x2c], eax
test eax, eax
jne 0x47e3c8
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 8]
cmp edi, 5
mov eax, 2
cmove edi, eax
mov dword [esp + 0x18], edi
mov edi, dword [ecx + 8]
test edi, edi
jne 0x47e3fe
cmp dword [ecx + 0x74], edi
jne 0x47e3f3
mov eax, dword [ecx]
test byte [eax + 0x4c], 8
jne 0x47e3f3
mov byte [ecx + 0x17], 1
call fcn.00446150
mov ecx, dword [esp + 8]
mov edi, eax
mov eax, dword [esp + 0x18]
cmp eax, 2
jne 0x47e417
mov eax, dword [ecx + 0x74]
test eax, eax
cmovne ecx, eax
mov eax, dword [esp + 0x18]
mov byte [ecx + 0x15], 1
mov edx, dword [edi + 0x6c]
cmp dword [edi + 0x70], edx
jg 0x47e43a
push 0
push eax
push 0x113
mov edx, 0x45
mov ecx, edi
call fcn.004463f0
add esp, 0xc
mov edx, eax
jmp 0x47e471
mov esi, dword [esp + 0x18]
lea eax, [edx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x3c]
mov dword [eax + ecx*4], 0x45
mov dword [eax + ecx*4 + 4], 0x113
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
jne 0x47e49a
test edx, edx
jns 0x47e481
mov edx, dword [edi + 0x6c]
dec edx
mov eax, dword [edi + 0x68]
lea ecx, [edx + edx*4]
push 0
push dword [esp + 0x30]
lea edx, [eax + ecx*4]
mov ecx, edi
call fcn.004472e0
add esp, 8
mov eax, dword [edi + 0x6c]
test eax, eax
jle 0x47e4b1
lea ecx, [eax + eax*4]
mov edx, 3
mov eax, dword [edi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov edi, dword [esp + 0x18]
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x24]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x47e4d3
push edx
mov edx, esi
call fcn.00446ac0
add esp, 4
jmp 0x47e4dc
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
inc edx
mov eax, dword [esp + 0x1c]
add eax, 0x18
mov dword [esp + 0x10], edx
mov dword [esp + 0x1c], eax
cmp edx, dword [ecx]
jl 0x47e260
mov edi, dword [esp + 8]
mov dword [edi + 0x34], 0
mov eax, dword [esp + 0x44]
test eax, eax
je 0x47e587
cmp dword [eax], 0
jne 0x47e522
mov byte [ebp + 0x20], 4
mov dword [esp + 0x44], 0
jmp 0x47e587
mov eax, dword [eax + 0x10]
mov dword [esp + 0x50], eax
test eax, eax
je 0x47e587
mov edx, dword [esi + 0x6c]
mov dword [esp + 0x54], edx
cmp dword [esi + 0x70], edx
jg 0x47e554
push 0
push 0
push 0
mov edx, 0xb
mov ecx, esi
call fcn.004463f0
add esp, 0xc
mov dword [esp + 0x54], eax
jmp 0x47e587
lea eax, [edx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
cmp byte [ebp + 0x1c], 0
je 0x47ea0b
cmp dword [esp + 0x30], 0
jne 0x47ea0b
mov ecx, dword [esp + 0xc]
dec dword [edi + 0x38]
cmp byte [ebp + 0x20], 0xb
mov edx, dword [edi + 0x38]
movzx eax, byte [ecx + 0x30]
mov dword [esp + 0x28], edx
je 0x47e5ba
movzx eax, byte [ebp + 0x20]
jmp 0x47e5c5
cmp eax, 0xb
mov edi, 2
cmove eax, edi
mov edi, dword [esp + 0x44]
mov dword [esp + 0x1c], eax
test edi, edi
je 0x47e5ec
cmp dword [edi + 0x10], 0
jne 0x47e5ec
xor eax, eax
cmp dword [edi + 8], eax
setne al
lea eax, [eax*2 + 4]
mov dword [esp + 0x1c], eax
jmp 0x47e60f
cmp eax, 5
jne 0x47e60f
cmp byte [ebp + 0x20], al
je 0x47e60f
cmp dword [ecx + 8], 0
je 0x47e60f
lea edx, [eax + 6]
mov ecx, esi
call fcn.004464a0
mov edx, dword [esp + 0x28]
inc eax
mov dword [esp + 0x5c], eax
mov edi, dword [ebp + 0x18]
test edi, edi
je 0x47e67c
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x47e638
push edi
push edx
push dword [ebp + 0x14]
mov edx, 0x35
mov ecx, esi
call fcn.004463f0
mov edx, dword [esp + 0x34]
add esp, 0xc
jmp 0x47e665
mov edi, dword [ebp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [ebp + 0x18]
mov dword [eax + ecx*4], 0x35
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], edi
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0x6c]
test eax, eax
jle 0x47e67c
lea ecx, [eax + eax*4]
mov edi, 0x90
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 - 0x12], di
mov ecx, dword [esi + 0x6c]
mov edi, dword [ebp + 0xc]
cmp dword [esi + 0x70], ecx
jg 0x47e69d
push dword [ebp + 0x14]
mov ecx, esi
push edx
push edi
mov edx, 0x1f
call fcn.004463f0
add esp, 0xc
jmp 0x47e6c7
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [ebp + 0x14]
mov dword [eax + ecx*4], 0x1f
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov edi, dword [esp + 0x1c]
lea eax, [edi - 1]
cmp eax, 5
ja case.default.0x47e6d7
jmp dword [eax*4 + 0x47f80c]
mov eax, dword [esp + 0x48]
xor edi, edi
mov eax, dword [eax + 0x20]
and eax, 0x2000
or eax, edi
je 0x47e70a
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 8]
push edi
push edi
push 0x75
call fcn.00495390
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x47e743
mov ecx, dword [esp + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
and eax, 0x4000
or eax, 0
je 0x47e788
mov eax, dword [esp + 0xc]
push 0
mov ecx, dword [eax + 0x48]
mov edx, dword [eax]
add ecx, 0x38
call fcn.00429130
add esp, 4
cmp dword [eax + 8], 0
jne 0x47e743
mov eax, dword [esp + 0xc]
cmp dword [eax + 0x10], 0
je 0x47e784
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
push 0xffffffffffffffff
push 1
mov eax, dword [ecx + 0x74]
test eax, eax
push 5
push 0
push 1
push dword [ebp + 0x14]
cmovne ecx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
mov byte [ecx + 0x14], 1
mov ecx, dword [esp + 0x28]
push edi
call fcn.00474670
add esp, 0x24
mov dword [esp + 0x60], 1
jmp 0x47e951
mov ecx, dword [esp + 8]
mov edi, dword [esp + 0xc]
cmp dword [edi + 8], 0
je 0x47e7b6
mov eax, dword [ecx + 0x74]
mov edx, edi
test eax, eax
push 0xffffffffffffffff
cmovne ecx, eax
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
mov byte [ecx + 0x14], 1
mov ecx, dword [esp + 0x18]
call fcn.00474a80
add esp, 0x10
mov dword [esp + 0x60], 1
jmp 0x47e951
push dword [ebp + 0xc]
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0xc]
push 0
push dword [esp + 0x14]
call fcn.00498660
add esp, 0xc
mov edx, dword [ebp + 0x24]
mov ecx, esi
call fcn.004465d0
jmp 0x47e951
mov edi, 2
mov edx, dword [esp + 0xc]
movzx eax, word [edx + 0x28]
test ax, ax
js 0x47e827
movsx ecx, ax
mov eax, dword [edx + 4]
add ecx, ecx
push dword [eax + ecx*8]
mov eax, dword [esp + 0xc]
push dword [edx]
push str._s._s
push dword [eax]
call fcn.00426f70
add esp, 0x10
mov dword [esp + 0x1c], 0x613
jmp 0x47e844
push dword [edx]
mov eax, dword [esp + 0xc]
push str._s.rowid
push dword [eax]
call fcn.00426f70
add esp, 0xc
mov dword [esp + 0x1c], 0xa13
mov ecx, dword [esp + 8]
mov dword [esp + 0x10], eax
mov edx, dword [ecx + 8]
mov dword [esp + 0x18], edx
test edx, edx
jne 0x47e877
cmp dword [ecx + 0x74], edx
jne 0x47e868
mov eax, dword [ecx]
test byte [eax + 0x4c], 8
jne 0x47e868
mov byte [ecx + 0x17], 1
call fcn.00446150
mov ecx, dword [esp + 8]
mov edx, eax
mov dword [esp + 0x18], edx
cmp edi, 2
jne 0x47e888
mov eax, dword [ecx + 0x74]
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x15], 1
mov ecx, dword [edx + 0x6c]
mov dword [esp + 0x24], ecx
cmp dword [edx + 0x70], ecx
jg 0x47e8b2
mov ecx, dword [esp + 0x18]
mov edx, 0x45
push 0
push edi
push dword [esp + 0x24]
call fcn.004463f0
mov edx, dword [esp + 0x24]
add esp, 0xc
jmp 0x47e8e9
mov esi, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov dword [edx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx + 0x68]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x3c]
mov dword [eax + ecx*4], 0x45
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x24]
mov ecx, dword [edx]
cmp byte [ecx + 0x51], 0
je 0x47e8fc
mov edx, dword [esp + 0x10]
call fcn.00423630
jmp 0x47e936
test eax, eax
jns 0x47e904
mov eax, dword [edx + 0x6c]
dec eax
mov edi, dword [esp + 0x10]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x68]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
jne 0x47e925
test edi, edi
je 0x47e93a
mov dword [eax + 0x10], edi
mov byte [eax + 1], 0xf9
jmp 0x47e93a
mov ecx, dword [esp + 0x18]
mov edx, eax
push 0xfffffffffffffff9
push edi
call fcn.004472e0
add esp, 8
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x6c]
test eax, eax
jle 0x47e951
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x68]
mov edx, 2
mov word [eax + ecx*4 - 0x12], dx
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x28]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x47e96f
push edx
mov edx, esi
call fcn.00446ac0
add esp, 4
jmp 0x47e978
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
cmp dword [esp + 0x5c], 0
je 0x47ea0b
mov edi, dword [esi + 0x6c]
mov dword [esp + 0x68], edi
cmp dword [esi + 0x70], edi
jg 0x47e9aa
push 0
push 0
push 0
mov edx, 0xb
mov ecx, esi
call fcn.004463f0
add esp, 0xc
mov dword [esp + 0x68], eax
jmp 0x47e9dd
lea eax, [edi + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edi + edi*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
mov edi, dword [esp + 0x5c]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x51], 0
lea ecx, [edi - 1]
je 0x47e9f6
mov eax, 0x57ad1c
jmp 0x47ea09
test ecx, ecx
mov eax, edx
cmovns eax, edi
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
lea eax, [eax + ecx*4]
add eax, 0xfffffff4
mov dword [eax], edx
mov edx, dword [esp + 0xc]
xor eax, eax
mov dword [esp + 0x14], eax
mov ecx, dword [edx + 8]
mov dword [esp + 0x20], ecx
test ecx, ecx
je 0x47f75a
mov edi, dword [esp + 0x58]
cmp dword [edi + eax*4], 0
mov edi, dword [esp + 8]
je 0x47f73d
cmp dword [esp + 0x50], ecx
jne 0x47eae3
mov eax, dword [esp + 0x54]
mov ecx, dword [esi + 0x6c]
inc eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x64], ecx
cmp dword [esi + 0x70], ecx
jg 0x47ea70
push 0
push 0
push 0
mov edx, 0xb
mov ecx, esi
call fcn.004463f0
add esp, 0xc
mov dword [esp + 0x64], eax
jmp 0x47eaa3
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x51], 0
je 0x47eac0
mov ecx, dword [esp + 0x20]
mov eax, 0x57ad14
mov dword [eax + 8], edx
mov edx, dword [esp + 0xc]
jmp 0x47eaed
mov ecx, dword [esp + 0x54]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0xc]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x20]
jmp 0x47eaed
dec dword [edi + 0x38]
mov eax, dword [edi + 0x38]
mov dword [esp + 0x28], eax
cmp byte [esp + 0x41], 0
jne 0x47eb14
mov eax, dword [esp + 0x50]
test eax, eax
je 0x47eb00
cmp eax, ecx
jne 0x47eb14
mov eax, dword [ebp + 0x14]
mov ecx, esi
inc eax
push eax
call fcn.0047c180
add esp, 4
mov byte [esp + 0x41], 1
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
cmp dword [eax + 0x24], 0
je 0x47ebee
mov eax, dword [esp + 0x58]
mov edx, dword [eax + ecx*4]
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x47eb4b
push 0
push edx
push 0
mov edx, 0x49
mov ecx, esi
call fcn.004463f0
add esp, 0xc
jmp 0x47eb7e
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x3c]
mov dword [eax + ecx*4], 0x49
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebp + 0x14]
not eax
mov dword [edi + 0x34], eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x20]
mov edx, dword [eax + 0x24]
mov eax, dword [edi]
mov dword [esp + 0x2c], eax
test edx, edx
je 0x47ebb1
push 0
push 0
mov ecx, eax
call fcn.0045de90
mov edi, eax
add esp, 8
mov eax, dword [esp + 0x2c]
jmp 0x47ebb3
xor edi, edi
cmp byte [eax + 0x51], 0
jne 0x47ebd0
push 0x10
push dword [esp + 0x2c]
push edi
push dword [esp + 0x14]
call fcn.00463de0
mov eax, dword [esp + 0x3c]
add esp, 0x10
test edi, edi
je 0x47ebdd
mov edx, edi
mov ecx, eax
call fcn.0045dbe0
mov edi, dword [esp + 8]
mov ecx, dword [esp + 0x14]
mov dword [edi + 0x34], 0
jmp 0x47ebf7
mov eax, dword [ebp + 0x14]
not eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x58]
xor edx, edx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x24], edx
mov eax, dword [eax + ecx*4]
inc eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x20]
movzx eax, word [eax + 0x34]
mov ecx, eax
cmp dx, ax
jae 0x47ee18
mov eax, dword [esp + 0x18]
xor ecx, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x38], ecx
jmp 0x47ec34
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 4]
movsx edx, word [eax + edx*2]
cmp edx, 0xfffffffe
jne 0x47ed86
mov eax, dword [esp + 0x34]
mov dword [edi + 0x34], eax
mov eax, dword [esp + 0x20]
mov edi, dword [edi]
mov dword [esp + 0x24], edi
mov eax, dword [eax + 0x28]
mov edx, dword [eax + ecx + 4]
test edx, edx
je 0x47ec74
push 0
push 0
mov ecx, edi
call fcn.0045de90
add esp, 8
jmp 0x47ec76
xor eax, eax
cmp byte [edi + 0x51], 0
mov dword [esp + 0x1c], eax
jne 0x47ed68
test eax, eax
je 0x47ecf6
cmp byte [eax], 0xa4
jne 0x47ecf6
mov edx, dword [eax + 0x1c]
mov eax, dword [esp + 8]
mov edi, dword [eax + 8]
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x47ecbe
push 0
push dword [esp + 0x14]
mov ecx, edi
push edx
mov edx, 0x4e
call fcn.004463f0
mov edx, dword [esp + 0x28]
add esp, 0xc
jmp 0x47ed70
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x10]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x1c]
mov dword [eax + ecx*4], 0x4e
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x47ed70
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 8]
mov ecx, edi
push edx
mov edx, eax
call fcn.004622f0
mov edx, eax
add esp, 4
mov eax, dword [esp + 0x10]
cmp edx, eax
je 0x47ed68
mov edi, dword [edi + 8]
test edi, edi
je 0x47ed68
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x47ed39
push 0
push eax
push edx
mov edx, 0x4f
mov ecx, edi
call fcn.004463f0
add esp, 0xc
jmp 0x47ed68
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x10]
mov dword [eax + ecx*4], 0x4f
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0x1c]
test edx, edx
je 0x47ed79
mov ecx, dword [esp + 0x24]
call fcn.0045dbe0
mov edi, dword [esp + 8]
mov dword [edi + 0x34], 0
jmp 0x47edf6
cmp edx, 0xffffffff
je 0x47ed9f
mov eax, dword [esp + 0xc]
movsx eax, word [eax + 0x28]
cmp edx, eax
je 0x47ed9f
mov edi, dword [ebp + 0x14]
inc edi
add edi, edx
jmp 0x47eda2
mov edi, dword [ebp + 0x14]
mov ecx, dword [esi + 0x6c]
sar edx, 0x1f
and edx, 1
add edx, 0x4f
cmp dword [esi + 0x70], ecx
jg 0x47edc6
push 0
push dword [esp + 0x14]
mov ecx, esi
push edi
call fcn.004463f0
add esp, 0xc
jmp 0x47edf2
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov byte [eax + ecx*4], dl
mov edx, dword [esp + 0x10]
mov dword [eax + ecx*4 + 4], edi
lea eax, [eax + ecx*4]
xor ecx, ecx
mov dword [eax + 8], edx
mov word [eax + 2], cx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov edi, dword [esp + 8]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x2c]
add dword [esp + 0x38], 0x18
inc edx
inc dword [esp + 0x10]
movzx ecx, word [eax + 0x34]
mov dword [esp + 0x2c], edx
cmp edx, ecx
jl 0x47ec30
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x58]
movzx edi, cx
mov ecx, dword [esi + 0x6c]
mov edx, dword [edx + eax*4]
cmp dword [esi + 0x70], ecx
jg 0x47ee45
push edx
push edi
push dword [esp + 0x20]
mov edx, 0x66
mov ecx, esi
call fcn.004463f0
add esp, 0xc
jmp 0x47ee74
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x18]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x3c]
mov dword [eax + ecx*4], 0x66
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
cmp dword [ebp + 0x18], 0
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x30]
je 0x47eebb
cmp edx, ecx
jne 0x47eebb
cmp byte [ebp + 0x1c], 0
jne 0x47eebb
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x28]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x47eead
push edx
mov edx, esi
call fcn.00446ac0
add esp, 4
jmp 0x47f739
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
jmp 0x47f739
movzx eax, byte [ecx + 0x36]
test eax, eax
jne 0x47eee4
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x28]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x47eead
push edx
mov edx, esi
call fcn.00446ac0
add esp, 4
jmp 0x47f739
cmp byte [ebp + 0x20], 0xb
je 0x47eef0
movzx eax, byte [ebp + 0x20]
jmp 0x47eefb
cmp eax, 0xb
mov edi, 2
cmove eax, edi
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x50], ecx
jne 0x47ef1c
mov edi, dword [esp + 0x44]
xor eax, eax
cmp dword [edi + 8], eax
setne al
lea eax, [eax*2 + 4]
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x14], 0
jne 0x47eff7
cmp dword [ecx + 0x14], 0
jne 0x47eff7
cmp edx, ecx
jne 0x47eff7
cmp eax, 5
jne 0x47eff7
mov eax, dword [esp + 0x48]
mov eax, dword [eax + 0x20]
and eax, 0x2000
mov dword [esp + 0x78], eax
je 0x47ef9e
mov ecx, dword [esp + 8]
xor edx, edx
xor edi, edi
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
and eax, 0x40000
or eax, edx
je 0x47ef75
mov edx, dword [esp + 0xc]
call fcn.00493960
mov edx, eax
mov ecx, edx
test edx, edx
je 0x47ef9e
nop dword [eax + eax]
cmp byte [ecx + 8], 0x75
jne 0x47ef8c
movzx eax, byte [ecx + 9]
or edi, eax
mov ecx, dword [ecx + 0x20]
test ecx, ecx
jne 0x47ef80
xor eax, eax
test edi, edi
cmovne eax, edx
test eax, eax
jne 0x47eff7
mov eax, dword [esp + 0x48]
mov eax, dword [eax + 0x20]
and eax, 0x4000
mov dword [esp + 0x78], eax
je 0x47efd2
mov eax, dword [esp + 0xc]
cmp dword [eax + 0x10], 0
jne 0x47eff7
mov ecx, dword [eax + 0x48]
mov edx, dword [eax]
add ecx, 0x38
push 0
call fcn.00429130
add esp, 4
cmp dword [eax + 8], 0
jne 0x47eff7
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x28]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x47eead
push edx
mov edx, esi
call fcn.00446ac0
add esp, 4
jmp 0x47f739
mov eax, dword [esp + 0x20]
mov edx, dword [esi + 0x6c]
mov dword [esp + 0x24], edx
movzx edi, word [eax + 0x32]
mov dword [esp + 0x2c], edi
cmp dword [esi + 0x70], edx
jg 0x47f032
push dword [esp + 0x18]
mov eax, dword [esp + 0x18]
mov edx, 0x1b
push dword [esp + 0x2c]
add eax, dword [ebp + 0x10]
mov ecx, esi
push eax
call fcn.004463f0
add esp, 0xc
mov edx, eax
jmp 0x47f074
mov edi, dword [esp + 0x2c]
lea eax, [edx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x14]
add esi, dword [ebp + 0x10]
mov edx, dword [esp + 0x24]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x28]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x18]
mov dword [eax + ecx*4 + 0xc], esi
mov esi, dword [esp + 0x3c]
mov dword [eax + ecx*4], 0x1b
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
jne 0x47f08b
mov eax, dword [esi + 0x68]
lea ecx, [edx + edx*4]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], edi
mov edx, dword [esp + 0x20]
cmp edx, dword [esp + 0x30]
jne 0x47f09f
mov edi, dword [esp + 0x18]
mov dword [esp + 0x10], edi
jmp 0x47f0fd
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 8]
cmp eax, 1
jne 0x47f0cc
mov al, byte [edx + 0x13]
test al, al
jne 0x47f0bb
inc dword [edx + 0x2c]
mov edi, dword [edx + 0x2c]
jmp 0x47f0f5
dec al
mov byte [edx + 0x13], al
movzx eax, al
mov edi, dword [edx + eax*4 + 0x90]
jmp 0x47f0f5
mov ecx, dword [edx + 0x1c]
mov edi, dword [edx + 0x20]
mov dword [esp + 0x10], edi
cmp eax, ecx
jg 0x47f0e8
add eax, edi
sub ecx, dword [esp + 0x4c]
mov dword [edx + 0x20], eax
mov dword [edx + 0x1c], ecx
jmp 0x47f0f9
mov eax, dword [edx + 0x2c]
lea edi, [eax + 1]
add eax, dword [esp + 0x4c]
mov dword [edx + 0x2c], eax
mov dword [esp + 0x10], edi
mov edx, dword [esp + 0x20]
cmp dword [ebp + 0x18], 0
jne 0x47f10e
cmp dword [esp + 0x1c], 5
jne 0x47f4a3
mov eax, dword [esp + 0xc]
test byte [eax + 0x24], 0x20
jne 0x47f1f2
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x47f140
mov eax, dword [esp + 0x14]
mov edx, 0x88
add eax, dword [ebp + 0x10]
mov ecx, esi
push 0
push edi
push eax
call fcn.004463f0
add esp, 0xc
jmp 0x47f17a
mov edx, dword [esp + 0x14]
lea eax, [ecx + 1]
add edx, dword [ebp + 0x10]
lea ecx, [ecx + ecx*4]
mov edi, dword [esp + 0x10]
mov dword [esi + 0x6c], eax
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x3c]
mov dword [eax + ecx*4], 0x88
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x47f4a3
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x47f1a4
push eax
push dword [esp + 0x2c]
mov edx, 0x35
mov ecx, esi
push edi
call fcn.004463f0
add esp, 0xc
jmp 0x47f1d2
mov edx, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [ebp + 0x18]
mov dword [eax + ecx*4], 0x35
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0x6c]
test eax, eax
jle 0x47f4a3
lea ecx, [eax + eax*4]
mov edx, 0x90
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
jmp 0x47f4a3
mov edi, dword [esp + 0x30]
cmp edx, edi
je 0x47f2e5
mov eax, dword [esp + 0x30]
xor edi, edi
xor ecx, ecx
mov dword [esp + 0x34], edi
cmp cx, word [eax + 0x32]
jae 0x47f2e1
mov eax, dword [esp + 0x10]
mov dword [esp + 0x38], eax
nop dword [eax]
movzx edx, word [edx + 0x34]
xor ecx, ecx
test edx, edx
je 0x47f24d
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 4]
movzx edi, word [eax + edi*2]
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 4]
nop dword [eax]
cmp di, word [eax]
je 0x47f27e
inc ecx
add eax, 2
cmp ecx, edx
jl 0x47f240
or eax, 0xffffffff
mov ecx, dword [esi + 0x6c]
movsx edx, ax
mov dword [esp + 0x24], edx
cmp dword [esi + 0x70], ecx
jg 0x47f283
mov edi, dword [esp + 0x38]
mov ecx, esi
mov eax, dword [esp + 0x14]
add eax, dword [ebp + 0x10]
push edi
push edx
push eax
mov edx, 0x5a
call fcn.004463f0
add esp, 0xc
jmp 0x47f2bd
movzx eax, cx
jmp 0x47f250
mov edi, dword [esp + 0x14]
lea eax, [ecx + 1]
add edi, dword [ebp + 0x10]
lea ecx, [ecx + ecx*4]
mov edx, dword [esp + 0x24]
mov dword [esi + 0x6c], eax
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x3c]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x38]
mov dword [eax + ecx*4], 0x5a
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], edi
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x30]
inc edi
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x20]
inc ecx
mov dword [esp + 0x38], edi
mov edi, ecx
movzx eax, word [eax + 0x32]
mov dword [esp + 0x34], ecx
cmp ecx, eax
jl 0x47f220
mov edi, dword [esp + 0x30]
cmp dword [ebp + 0x18], 0
je 0x47f4a3
movzx ecx, word [edi + 0x32]
mov eax, dword [esi + 0x6c]
add eax, ecx
mov dword [esp + 0x34], 0x34
mov dword [esp + 0x38], eax
mov eax, dword [edx + 0x38]
mov edx, dword [esp + 0x10]
and al, 3
cmp al, 2
cmove edx, dword [esp + 0x18]
mov dword [esp + 0x74], edx
xor edx, edx
mov dword [esp + 0x2c], edx
test ecx, ecx
je 0x47f4a3
mov eax, dword [edi + 0x20]
mov edx, dword [eax + edx*4]
mov eax, dword [esp + 8]
mov dword [esp + 0x6c], edx
mov ecx, dword [eax]
mov al, byte [ecx + 0x4e]
mov byte [esp + 0x42], al
mov al, byte [ecx + 0xa5]
mov byte [esp + 0x43], al
movzx eax, al
push eax
push edx
mov dl, byte [esp + 0x4a]
call fcn.00473050
add esp, 8
mov edi, eax
cmp byte [esp + 0x43], 0
mov dword [esp + 0x24], edi
jne 0x47f38a
test edi, edi
je 0x47f36f
cmp dword [edi + 0xc], 0
jne 0x47f38a
push dword [esp + 0x6c]
mov dl, byte [esp + 0x46]
mov ecx, dword [esp + 0xc]
push edi
call fcn.00472e10
add esp, 8
mov dword [esp + 0x24], eax
mov edi, eax
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov eax, dword [eax + 4]
movsx edx, word [eax + ecx*2]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x6c], edx
movzx eax, word [eax + 0x32]
dec eax
cmp ecx, eax
jne 0x47f3ba
mov eax, dword [esp + 0x28]
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], 0x35
mov eax, dword [ebp + 0x18]
add ecx, dword [esp + 0x74]
inc eax
add eax, edx
mov dword [esp + 0x78], ecx
mov edx, dword [esi + 0x6c]
mov esi, dword [esp + 0x3c]
cmp dword [esi + 0x70], edx
jg 0x47f3ec
mov edx, dword [esp + 0x34]
push ecx
push dword [esp + 0x3c]
mov ecx, esi
push eax
call fcn.004463f0
add esp, 0xc
mov edx, eax
jmp 0x47f437
mov edi, dword [esp + 0x24]
lea eax, [edx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x6c]
inc esi
mov dword [eax + ecx*4 + 0x10], 0
mov byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x34]
mov byte [eax], cl
xor ecx, ecx
mov word [eax + 2], cx
mov ecx, dword [ebp + 0x18]
add ecx, esi
mov esi, dword [esp + 0x3c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x78]
mov dword [eax + 0xc], ecx
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
jne 0x47f473
test edx, edx
jns 0x47f447
mov edx, dword [esi + 0x6c]
dec edx
mov eax, dword [esi + 0x68]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x47f468
push 0xfffffffffffffffe
push edi
mov edx, eax
mov ecx, esi
call fcn.004472e0
add esp, 8
jmp 0x47f473
test edi, edi
je 0x47f473
mov dword [eax + 0x10], edi
mov byte [eax + 1], 0xfe
mov eax, dword [esi + 0x6c]
test eax, eax
jle 0x47f48a
lea ecx, [eax + eax*4]
mov edx, 0x90
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov edi, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
inc edx
mov dword [esp + 0x2c], edx
movzx eax, word [edi + 0x32]
cmp edx, eax
jl 0x47f326
mov edi, dword [esp + 0x1c]
lea eax, [edi - 1]
cmp eax, 5
ja case.0x47f4b3.5
jmp dword [eax*4 + 0x47f824]
push dword [esp + 0x20]
mov edx, edi
mov edi, dword [esp + 0xc]
mov ecx, edi
call fcn.004720f0
add esp, 4
jmp 0x47f641
mov eax, dword [esp + 0x14]
add eax, dword [ebp + 0x10]
mov edi, dword [esp + 8]
mov ecx, edi
mov edx, dword [esp + 0x44]
push eax
push dword [esp + 0x24]
push dword [esp + 0x14]
call fcn.00498660
add esp, 0xc
jmp 0x47f4fb
mov edi, dword [esp + 8]
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x47f51e
push 0
push dword [ebp + 0x24]
mov edx, 0xb
mov ecx, esi
push 0
call fcn.004463f0
add esp, 0xc
jmp 0x47f641
mov edx, dword [ebp + 0x24]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x47f641
mov eax, dword [esp + 0x48]
xor edi, edi
mov eax, dword [eax + 0x20]
and eax, 0x2000
or eax, edi
je 0x47f5b4
mov ecx, dword [esp + 8]
xor edx, edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
and eax, 0x40000
or eax, edx
je 0x47f586
mov edx, dword [esp + 0xc]
call fcn.00493960
mov edx, eax
mov ecx, edx
test edx, edx
je 0x47f5a3
nop dword [eax]
cmp byte [ecx + 8], 0x75
jne 0x47f59c
movzx eax, byte [ecx + 9]
or edi, eax
mov ecx, dword [ecx + 0x20]
test ecx, ecx
jne 0x47f590
xor ecx, ecx
test edi, edi
cmovne ecx, edx
mov dword [esp + 0x24], ecx
mov edi, ecx
test ecx, ecx
jne 0x47f5ed
mov eax, dword [esp + 8]
mov eax, dword [eax]
mov eax, dword [eax + 0x20]
and eax, 0x4000
or eax, 0
je 0x47f5fd
mov eax, dword [esp + 0xc]
push 0
mov ecx, dword [eax + 0x48]
mov edx, dword [eax]
add ecx, 0x38
call fcn.00429130
add esp, 4
cmp dword [eax + 8], 0
jne 0x47f5ed
mov eax, dword [esp + 0xc]
cmp dword [eax + 0x10], 0
je 0x47f5fd
mov ecx, dword [esp + 8]
mov eax, dword [ecx + 0x74]
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x14], 1
mov edx, dword [ebp + 0x10]
mov eax, dword [esp + 0x14]
add eax, edx
push eax
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x24], eax
sete al
movzx eax, al
push eax
push 5
push 0
push dword [esp + 0x5c]
push dword [esp + 0x24]
push edx
push dword [ebp + 0xc]
mov edx, dword [esp + 0x2c]
push edi
mov edi, dword [esp + 0x2c]
mov ecx, edi
call fcn.00474670
add esp, 0x24
mov dword [esp + 0x60], 1
mov eax, dword [esp + 0x50]
cmp eax, dword [esp + 0x20]
jne 0x47f6d6
mov edx, dword [esp + 0x54]
mov ecx, dword [esi + 0x6c]
inc edx
cmp dword [esi + 0x70], ecx
jg 0x47f672
push 0
push edx
push 0
mov edx, 0xb
mov ecx, esi
call fcn.004463f0
add esp, 0xc
jmp 0x47f6a5
mov edi, dword [esp + 8]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x64]
mov ecx, eax
mov edx, dword [esi + 0x6c]
test eax, eax
jns 0x47f6b5
lea ecx, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
je 0x47f6c7
mov eax, 0x57ad14
mov dword [eax + 8], edx
jmp 0x47f6fd
mov eax, dword [esi + 0x68]
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
jmp 0x47f6fd
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x28]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x47f6f4
push edx
mov edx, esi
call fcn.00446ac0
add esp, 4
jmp 0x47f6fd
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
mov ecx, dword [esp + 0x10]
cmp ecx, dword [esp + 0x18]
je 0x47f739
mov eax, dword [esp + 0x4c]
cmp eax, 1
jne 0x47f72e
test ecx, ecx
je 0x47f739
mov al, byte [edi + 0x13]
mov edx, dword [esp + 0xc]
cmp al, 8
jae 0x47f73d
movzx eax, al
mov dword [edi + eax*4 + 0x90], ecx
inc byte [edi + 0x13]
jmp 0x47f73d
cmp eax, dword [edi + 0x1c]
jle 0x47f739
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], ecx
mov edx, dword [esp + 0xc]
mov edi, dword [esp + 0x20]
inc dword [esp + 0x14]
mov eax, dword [esp + 0x14]
mov edi, dword [edi + 0x14]
mov ecx, edi
mov dword [esp + 0x20], edi
test edi, edi
jne 0x47ea24
mov edx, dword [esp + 0x5c]
test edx, edx
je 0x47f7d8
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x47f780
push 0
push edx
push 0
mov edx, 0xb
mov ecx, esi
call fcn.004463f0
add esp, 0xc
jmp 0x47f7af
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x68]
mov edx, dword [esi + 0x6c]
test ecx, ecx
jns 0x47f7bd
lea ecx, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
je 0x47f7cc
mov eax, 0x57ad14
jmp 0x47f7d5
mov eax, dword [esi + 0x68]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x60]
pop edi
pop esi
mov dword [ecx], eax
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.00517154
mov esp, ebp
pop ebp
ret