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

Disassembly:
sub esp, 0x70
push ebx
push ebp
mov ebp, ecx
mov dword [esp + 0xc], 0
push esi
push edi
mov edi, edx
mov dword [esp + 0x30], 0
mov eax, dword [ebp]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x84]
mov ebx, dword [edi + 0x34]
mov dword [esp + 0x20], edi
mov dword [esp + 0x2c], 0
movups xmm0, xmmword [eax]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x54], eax
movups xmmword [esp + 0x44], xmm0
cmp dword [ebx + 0x30], 0
mov dword [esp + 0x28], 0
je 0x47c5fe
movzx eax, byte [edi + 4]
sub eax, 0x74
je 0x47c5dd
sub eax, 1
je 0x47c5d6
sub eax, 1
je 0x47c5cf
mov eax, str.UNION
jmp 0x47c5e2
mov eax, str.INTERSECT
jmp 0x47c5e2
mov eax, str.EXCEPT
jmp 0x47c5e2
mov eax, str.UNION_ALL
push eax
push str.ORDER_BY_clause_should_come_after__s_not_before
push ebp
call fcn.00422040
add esp, 0xc
mov dword [esp + 0x14], 1
jmp 0x47d40b
cmp dword [ebx + 0x3c], 0
je 0x47c64b
movzx eax, byte [edi + 4]
sub eax, 0x74
je 0x47c63e
sub eax, 1
je 0x47c631
sub eax, 1
je 0x47c624
mov eax, str.UNION
push eax
push str.LIMIT_clause_should_come_after__s_not_before
jmp 0x47c5e8
mov eax, str.INTERSECT
push eax
push str.LIMIT_clause_should_come_after__s_not_before
jmp 0x47c5e8
mov eax, str.EXCEPT
push eax
push str.LIMIT_clause_should_come_after__s_not_before
jmp 0x47c5e8
mov eax, str.UNION_ALL
push eax
push str.LIMIT_clause_should_come_after__s_not_before
jmp 0x47c5e8
call fcn.0047b830
mov cl, byte [esp + 0x44]
mov esi, eax
mov dword [esp + 0x40], esi
cmp cl, 0xc
jne 0x47c6ee
mov eax, dword [edi]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x3c], ecx
mov eax, dword [eax]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0x18]
cmp dword [eax + 0x54], ecx
jg 0x47c691
mov ecx, esi
call fcn.0043d1e0
test eax, eax
jne 0x47c6c5
mov ecx, dword [esp + 0x3c]
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0x38]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x34]
mov word [eax + ecx*4], 0x39
mov byte [eax + ecx*4 + 3], 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 [esi + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [esi]
shl ecx, 2
cmp byte [eax + 0x41], 0
je 0x47c6dd
mov eax, 0x4dda1b
jmp 0x47c6e5
mov eax, dword [esi + 4]
add eax, 0xffffffef
add eax, ecx
mov cl, 0xe
mov byte [eax], 8
mov byte [esp + 0x44], cl
movzx eax, word [edi + 6]
test eax, 0x200
je 0x47c74f
mov eax, dword [edi + 0x34]
mov ebx, 1
test eax, eax
je 0x47c710
mov edi, eax
inc ebx
mov eax, dword [edi + 0x34]
test eax, eax
jne 0x47c705
nop
mov esi, dword [edi + 0x34]
lea eax, [esp + 0x44]
push eax
mov edx, edi
mov dword [edi + 0x34], 0
mov ecx, ebp
call fcn.00480f30
add esp, 4
mov dword [esp + 0x14], eax
mov dword [edi + 0x34], esi
test eax, eax
jne 0x47d40b
mov eax, ebx
cdq
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], edx
mov edi, dword [edi + 0x38]
test edi, edi
jne 0x47c710
jmp 0x47d40b
test eax, 0x2000
je 0x47c76c
lea eax, [esp + 0x44]
mov edx, edi
push eax
mov ecx, ebp
call fcn.0047be50
add esp, 4
jmp 0x47d236
cmp dword [edi + 0x30], 0
je 0x47c78e
mov ecx, dword [esp + 0x84]
mov edx, edi
push ecx
mov ecx, ebp
call fcn.0047dcb0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret
movzx eax, byte [edi + 4]
sub eax, 0x73
je 0x47cef9
sub eax, 1
je 0x47cc08
sub eax, 1
je 0x47cef9
mov eax, dword [ebp + 0x44]
mov dword [esp + 0x18], eax
inc eax
mov dword [esp + 0x24], eax
inc eax
mov dword [ebp + 0x44], eax
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 0x20]
mov dword [esp + 0x3c], edx
cmp dword [eax + 0x54], edx
jg 0x47c7e2
mov ecx, esi
call fcn.0043d1e0
test eax, eax
je 0x47c7de
mov edx, 1
jmp 0x47c81a
mov edx, dword [esp + 0x3c]
mov eax, dword [esi + 4]
lea ecx, [edx + edx*4]
inc dword [esi + 0x20]
mov edi, dword [esp + 0x18]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x20]
mov word [eax + ecx*4], 0x39
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov dword [edi + 0x10], edx
mov ecx, edi
mov eax, dword [edi + 0x38]
test eax, eax
je 0x47c82f
mov ecx, eax
mov eax, dword [ecx + 0x38]
test eax, eax
jne 0x47c826
or word [ecx + 6], 0x10
mov edx, ebx
mov eax, dword [esp + 0x18]
mov ecx, ebp
mov dword [esp + 0x5c], eax
mov eax, dword [ebp + 0x1d0]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x58]
push eax
mov word [esp + 0x5c], 1
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
call fcn.00480f30
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
jne 0x47d40b
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 0x20]
mov ecx, edx
mov dword [esp + 0x3c], edx
cmp dword [eax + 0x54], edx
jg 0x47c8a4
mov ecx, esi
call fcn.0043d1e0
test eax, eax
je 0x47c89d
mov edx, 1
jmp 0x47c8df
mov ecx, dword [esi + 0x20]
mov edx, dword [esp + 0x3c]
mov edi, dword [esp + 0x24]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x20]
mov word [eax + ecx*4], 0x39
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov dword [edi + 0x14], edx
mov ecx, ebp
mov eax, dword [edi + 0x3c]
mov edx, edi
mov dword [esp + 0x3c], eax
mov eax, dword [edi + 0x40]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x5c], eax
mov dword [edi + 0x34], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov eax, dword [ebp + 0x1d0]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x58]
push eax
call fcn.00480f30
mov dword [esp + 0x18], eax
add esp, 4
mov eax, dword [edi + 0x34]
mov dword [edi + 0x34], ebx
mov ecx, dword [ebx + 0x1c]
mov dword [esp + 0x30], eax
mov eax, dword [ebx + 0x18]
cmp dword [edi + 0x1c], ecx
jb 0x47c94e
ja 0x47c948
cmp dword [edi + 0x18], eax
jbe 0x47c94e
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], ecx
mov edx, dword [edi + 0x3c]
mov ecx, dword [esp + 0x1c]
call fcn.00450900
cmp byte [esp + 0x44], 9
mov eax, dword [esp + 0x3c]
mov dword [edi + 0x3c], eax
mov eax, dword [esp + 0x38]
mov dword [edi + 0x40], eax
jne 0x47c98f
mov eax, dword [edi + 0x34]
mov ecx, edi
test eax, eax
je 0x47c981
mov ecx, eax
mov eax, dword [ecx + 0x34]
test eax, eax
jne 0x47c978
push dword [ecx]
xor edx, edx
mov ecx, ebp
call fcn.0047af00
add esp, 4
mov ecx, esi
call fcn.0043d630
mov ebx, eax
mov ecx, esi
mov dword [esp + 0x38], ebx
call fcn.0043d630
push ebx
mov edx, edi
mov dword [esp + 0x40], eax
mov ecx, ebp
call fcn.0047b910
mov ecx, dword [esi + 0x18]
add esp, 4
mov ebx, dword [esi + 0x20]
mov eax, ebx
cmp dword [ecx + 0x54], ebx
jg 0x47c9cf
mov ecx, esi
call fcn.0043d1e0
test eax, eax
jne 0x47ca04
mov eax, dword [esi + 0x20]
mov edx, dword [esp + 0x18]
lea ecx, [ebx + ebx*4]
inc eax
mov dword [esi + 0x20], eax
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x38]
mov word [eax + ecx*4], 0x6d
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov al, byte [ebp + 0x13]
test al, al
jne 0x47ca13
inc dword [ebp + 0x48]
mov ebx, dword [ebp + 0x48]
jmp 0x47ca1f
dec al
mov byte [ebp + 0x13], al
movzx eax, al
mov ebx, dword [ebp + eax*4 + 0x18]
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 0x20]
mov ecx, edx
mov dword [esp + 0x34], edx
cmp dword [eax + 0x54], edx
jg 0x47ca4c
mov ecx, esi
call fcn.0043d1e0
test eax, eax
je 0x47ca45
mov dword [esp + 0x34], 1
jmp 0x47ca7f
mov ecx, dword [esi + 0x20]
mov edx, dword [esp + 0x34]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x18]
mov word [eax + ecx*4], 0x66
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
push 0
push ebx
push dword [esp + 0x44]
mov edx, 0x45
mov ecx, esi
push dword [esp + 0x30]
call fcn.0043d580
add esp, 0x10
test ebx, ebx
je 0x47cace
mov dl, byte [ebp + 0x13]
cmp dl, 8
jae 0x47cace
xor ecx, ecx
lea eax, [ebp + 0x74]
nop word [eax + eax]
cmp dword [eax + 0xc], ebx
je 0x47caca
inc ecx
add eax, 0x14
cmp ecx, 0xa
jl 0x47cab0
movzx eax, dl
mov dword [ebp + eax*4 + 0x18], ebx
inc byte [ebp + 0x13]
jmp 0x47cace
mov byte [eax + 6], 1
push dword [esp + 0x38]
mov ebx, dword [esp + 0x40]
lea eax, [esp + 0x48]
push ebx
push eax
push 0
push 0
push dword [esp + 0x2c]
mov edx, edi
mov ecx, ebp
push dword [edi]
call fcn.004791d0
mov edx, dword [esi + 0x18]
add esp, 0x1c
mov ecx, dword [edx + 0x70]
test ecx, ecx
je 0x47cb0a
lea eax, [ebx*4 + 4]
sub ecx, eax
mov eax, dword [esi + 0x20]
mov dword [ecx], eax
mov eax, dword [esi + 0x20]
dec eax
mov dword [edx + 0x58], eax
mov eax, dword [esi + 0x18]
mov ebx, dword [esi + 0x20]
mov ecx, ebx
cmp dword [eax + 0x54], ebx
jg 0x47cb2c
mov ecx, esi
call fcn.0043d1e0
test eax, eax
jne 0x47cb63
mov ecx, dword [esi + 0x20]
mov edx, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ebx + ebx*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x34]
mov word [eax + ecx*4], 8
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esi + 0x18]
mov ecx, dword [edx + 0x70]
test ecx, ecx
je 0x47cb7f
mov eax, dword [esp + 0x38]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [esi + 0x20]
mov dword [ecx], eax
mov eax, dword [esi + 0x20]
dec eax
mov dword [edx + 0x58], eax
mov eax, dword [esi + 0x18]
mov ebx, dword [esi + 0x20]
mov ecx, ebx
cmp dword [eax + 0x54], ebx
jg 0x47cba1
mov ecx, esi
call fcn.0043d1e0
test eax, eax
jne 0x47cbd8
mov ecx, dword [esi + 0x20]
mov edx, dword [esp + 0x24]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ebx + ebx*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x3d
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
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 + 0x18]
mov ebx, dword [esi + 0x20]
cmp dword [eax + 0x54], ebx
jg 0x47cbf2
mov ecx, esi
call fcn.0043d1e0
test eax, eax
jne 0x47d236
mov eax, dword [esi + 4]
lea ecx, [ebx + ebx*4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0x18]
mov dword [eax + ecx*4 + 4], edx
jmp 0x47d213
xor eax, eax
mov edx, ebx
mov dword [esp + 0x24], eax
mov ecx, ebp
mov eax, dword [edi + 8]
mov dword [ebx + 8], eax
mov eax, dword [edi + 0xc]
mov dword [ebx + 0xc], eax
mov eax, dword [edi + 0x3c]
mov dword [ebx + 0x3c], eax
mov eax, dword [edi + 0x40]
mov dword [ebx + 0x40], eax
mov eax, dword [ebp + 0x1d0]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x44]
push eax
call fcn.00480f30
add esp, 4
mov dword [esp + 0x14], eax
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
test eax, eax
jne 0x47d40b
mov dword [edi + 0x34], eax
mov ecx, dword [ebx + 8]
mov dword [edi + 8], ecx
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x3c], ecx
mov dword [edi + 0xc], eax
test ecx, ecx
je 0x47ce05
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 0x20]
mov dword [esp + 0x24], edx
cmp dword [eax + 0x54], edx
jg 0x47cc9e
mov ecx, esi
call fcn.0043d1e0
test eax, eax
je 0x47cc9a
mov dword [esp + 0x24], 1
jmp 0x47ccd2
mov edx, dword [esp + 0x24]
mov eax, dword [esi + 4]
lea ecx, [edx + edx*4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0x3c]
mov word [eax + ecx*4], 0x2e
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [edi + 0xc]
mov dword [esp + 0x38], edx
test edx, edx
je 0x47ce05
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x3c], ecx
cmp dword [eax + 0x54], ecx
jg 0x47cd08
mov ecx, esi
call fcn.0043d1e0
test eax, eax
jne 0x47cd37
mov eax, dword [esi + 0x20]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
jmp 0x47cd0a
mov eax, ecx
inc eax
lea ecx, [ecx + ecx*4]
mov dword [esi + 0x20], eax
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x8b
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi + 0xc]
mov ecx, dword [esi + 0x20]
mov edx, ecx
mov dword [esp + 0x34], eax
inc eax
mov dword [esp + 0x30], eax
mov eax, dword [edi + 8]
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 0x3c], ecx
cmp dword [eax + 0x54], ecx
jg 0x47cd6d
mov ecx, esi
call fcn.0043d1e0
test eax, eax
jne 0x47cda4
mov edx, dword [esi + 0x20]
mov ecx, dword [esp + 0x3c]
lea eax, [edx + 1]
mov edx, dword [esp + 0x38]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x34]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x30]
mov word [eax + ecx*4], 0x59
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi + 0xc]
mov ecx, dword [esi + 0x20]
inc eax
mov dword [esp + 0x34], eax
mov eax, dword [edi + 8]
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 0x3c], ecx
cmp dword [eax + 0x54], ecx
jg 0x47cdd1
mov ecx, esi
call fcn.0043d1e0
test eax, eax
jne 0x47ce05
mov ecx, dword [esp + 0x3c]
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0x38]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x34]
mov word [eax + ecx*4], 0x8b
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0xffffffff
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebp + 0x1d0]
mov edx, edi
mov dword [esp + 0x28], eax
mov ecx, ebp
lea eax, [esp + 0x44]
push eax
call fcn.00480f30
mov dword [esp + 0x18], eax
add esp, 4
mov eax, dword [edi + 0x34]
mov dword [edi + 0x34], ebx
mov ecx, dword [ebx + 0x1c]
mov dword [esp + 0x30], eax
mov eax, dword [ebx + 0x18]
add eax, dword [edi + 0x18]
mov dword [edi + 0x18], eax
adc ecx, dword [edi + 0x1c]
mov dword [esp + 0x38], ecx
mov dword [edi + 0x1c], ecx
mov ecx, dword [ebx + 0x3c]
mov dword [esp + 0x34], eax
test ecx, ecx
je 0x47ceb1
test dword [ecx + 4], 0x400
je 0x47ce5d
mov eax, dword [ecx + 8]
jmp 0x47ce98
movzx eax, byte [ecx]
sub eax, 0x9d
je 0x47ce82
sub eax, 1
jne 0x47ceb1
mov ecx, dword [ecx + 0xc]
lea edx, [esp + 0x3c]
call fcn.004517c0
test eax, eax
je 0x47ceb1
mov eax, dword [esp + 0x3c]
jmp 0x47ce98
mov ecx, dword [ecx + 0xc]
lea edx, [esp + 0x3c]
call fcn.004517c0
test eax, eax
je 0x47ceb1
mov eax, dword [esp + 0x3c]
neg eax
test eax, eax
jle 0x47ceb1
cdq
cmp dword [esp + 0x38], edx
jb 0x47ceb1
ja 0x47ceab
cmp dword [esp + 0x34], eax
jbe 0x47ceb1
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], edx
mov edx, dword [esp + 0x24]
test edx, edx
je 0x47d236
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
dec ecx
mov dword [eax + 0x58], ecx
mov eax, dword [esi]
mov ebx, dword [esi + 0x20]
cmp byte [eax + 0x41], 0
je 0x47cedf
mov eax, 0x4dda18
mov dword [eax + 8], ebx
jmp 0x47d236
test edx, edx
lea eax, [ebx - 1]
cmovns eax, edx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 8], ebx
lea eax, [eax + ecx*4]
jmp 0x47d236
cmp cl, 1
jne 0x47cf0b
mov eax, dword [esp + 0x48]
mov dword [esp + 0x18], eax
jmp 0x47cf92
mov eax, dword [ebp + 0x44]
mov dword [esp + 0x18], eax
inc eax
mov dword [ebp + 0x44], eax
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 0x20]
mov dword [esp + 0x3c], edx
cmp dword [eax + 0x54], edx
jg 0x47cf3b
mov ecx, esi
call fcn.0043d1e0
test eax, eax
je 0x47cf37
mov edx, 1
jmp 0x47cf73
mov edx, dword [esp + 0x3c]
mov eax, dword [esi + 4]
lea ecx, [edx + edx*4]
inc dword [esi + 0x20]
mov edi, dword [esp + 0x18]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x20]
mov word [eax + ecx*4], 0x39
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov dword [edi + 0x10], edx
mov ecx, edi
mov eax, dword [edi + 0x38]
test eax, eax
je 0x47cf89
nop
mov ecx, eax
mov eax, dword [ecx + 0x38]
test eax, eax
jne 0x47cf80
or word [ecx + 6], 0x10
mov eax, dword [esp + 0x18]
mov dword [esp + 0x70], eax
mov edx, ebx
mov eax, dword [ebp + 0x1d0]
mov ecx, ebp
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x6c]
push eax
mov word [esp + 0x70], 1
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
call fcn.00480f30
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
jne 0x47d40b
cmp byte [edi + 4], 0x75
mov edx, edi
mov dword [edi + 0x34], eax
mov ecx, ebp
mov eax, dword [edi + 0x3c]
mov dword [esp + 0x3c], eax
mov eax, dword [edi + 0x40]
mov dword [esp + 0x38], eax
sete al
inc al
mov dword [edi + 0x3c], 0
mov byte [esp + 0x6c], al
mov dword [edi + 0x40], 0
mov eax, dword [ebp + 0x1d0]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x6c]
push eax
call fcn.00480f30
mov edx, dword [edi + 0x30]
add esp, 4
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
call fcn.00451530
cmp byte [edi + 4], 0x73
mov eax, dword [edi + 0x34]
mov dword [esp + 0x30], eax
mov dword [edi + 0x34], ebx
mov dword [edi + 0x30], 0
jne 0x47d04e
mov eax, dword [ebx + 0x18]
add dword [edi + 0x18], eax
mov eax, dword [ebx + 0x1c]
adc dword [edi + 0x1c], eax
mov edx, dword [edi + 0x3c]
mov ecx, dword [esp + 0x1c]
call fcn.00450900
mov eax, dword [esp + 0x3c]
mov dword [edi + 0x3c], eax
mov eax, dword [esp + 0x38]
mov dword [edi + 0x40], eax
mov al, byte [esp + 0x44]
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
cmp al, 1
je 0x47d236
cmp al, 9
jne 0x47d0a7
mov eax, dword [edi + 0x34]
mov ecx, edi
test eax, eax
je 0x47d099
nop
mov ecx, eax
mov eax, dword [ecx + 0x34]
test eax, eax
jne 0x47d090
push dword [ecx]
xor edx, edx
mov ecx, ebp
call fcn.0047af00
add esp, 4
mov ecx, esi
call fcn.0043d630
mov ebx, eax
mov ecx, esi
mov dword [esp + 0x38], ebx
call fcn.0043d630
push ebx
mov edx, edi
mov dword [esp + 0x40], eax
mov ecx, ebp
call fcn.0047b910
mov eax, dword [esi + 0x18]
add esp, 4
mov ebx, dword [esi + 0x20]
mov ecx, ebx
cmp dword [eax + 0x54], ebx
jg 0x47d0e7
mov ecx, esi
call fcn.0043d1e0
test eax, eax
jne 0x47d120
mov ecx, dword [esi + 0x20]
mov edx, dword [esp + 0x38]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ebx + ebx*4]
mov eax, dword [esi + 4]
mov ebx, dword [esp + 0x18]
mov word [eax + ecx*4], 0x6d
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x47d128
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x38]
mov eax, dword [esi + 0x20]
mov ecx, ebp
push edx
push dword [esp + 0x40]
mov dword [esp + 0x3c], eax
mov edx, edi
lea eax, [esp + 0x4c]
push eax
push 0
push 0
push ebx
push dword [edi]
call fcn.004791d0
mov edx, dword [esi + 0x18]
add esp, 0x1c
mov ecx, dword [edx + 0x70]
test ecx, ecx
je 0x47d168
mov eax, dword [esp + 0x3c]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [esi + 0x20]
mov dword [ecx], eax
mov eax, dword [esi + 0x20]
dec eax
mov dword [edx + 0x58], eax
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
mov edx, ecx
mov dword [esp + 0x3c], ecx
cmp dword [eax + 0x54], ecx
jg 0x47d192
mov ecx, esi
call fcn.0043d1e0
test eax, eax
jne 0x47d1c5
mov edx, dword [esi + 0x20]
mov ecx, dword [esp + 0x3c]
lea eax, [edx + 1]
mov edx, dword [esp + 0x34]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 8
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esi + 0x18]
mov ecx, dword [edx + 0x70]
test ecx, ecx
je 0x47d1e1
mov eax, dword [esp + 0x38]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [esi + 0x20]
mov dword [ecx], eax
mov eax, dword [esi + 0x20]
dec eax
mov dword [edx + 0x58], eax
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x3c], ecx
cmp dword [eax + 0x54], ecx
jg 0x47d206
mov ecx, esi
call fcn.0043d1e0
test eax, eax
jne 0x47d236
mov ecx, dword [esp + 0x3c]
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
inc dword [esi + 0x20]
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 0x10], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 8], 0
mov byte [eax + ecx*4 + 3], 0
mov word [eax + ecx*4], 0x3d
movzx edx, byte [edi + 4]
xor eax, eax
cmp byte [edi + 4], 0x74
mov ecx, ebp
setne al
push eax
push dword [esp + 0x2c]
push dword [esp + 0x34]
call fcn.0047a2e0
add esp, 0xc
test byte [edi + 6], 0x10
je 0x47d40b
mov eax, dword [edi]
xor ecx, ecx
mov eax, dword [eax]
mov dword [esp + 0x28], eax
lea eax, [eax + eax*4]
add eax, 0x1d
mov edx, eax
mov dword [esp + 0x3c], eax
call fcn.0041f7a0
mov ebx, eax
mov dword [esp + 0x34], ebx
test ebx, ebx
je 0x47d3fb
push dword [esp + 0x3c]
push 0
push ebx
call fcn.004a3c90
mov edx, dword [esp + 0x34]
mov eax, 1
mov word [ebx + 6], dx
add esp, 0xc
mov word [ebx + 8], ax
lea ecx, [edx + 6]
lea ecx, [ebx + ecx*4]
mov dword [ebx + 0x10], ecx
mov ecx, dword [esp + 0x1c]
mov al, byte [ecx + 0x3e]
mov dword [ebx + 0xc], ecx
lea ecx, [ebx + 0x14]
mov byte [ebx + 4], al
mov dword [ebx], 1
xor ebx, ebx
mov dword [esp + 0x2c], ecx
test edx, edx
jle 0x47d340
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x38], ebx
nop word [eax + eax]
mov edx, dword [edi + 0x34]
test edx, edx
je 0x47d2fc
push ebx
mov ecx, ebp
call fcn.0047bc40
mov ecx, dword [esp + 0x30]
add esp, 4
test eax, eax
jne 0x47d319
jmp 0x47d2fe
xor eax, eax
mov edx, dword [edi]
cmp ebx, dword [edx]
jge 0x47d319
mov edx, dword [edx + 4]
mov ecx, ebp
mov eax, dword [esp + 0x38]
mov edx, dword [edx + eax]
call fcn.0044fb40
mov ecx, dword [esp + 0x2c]
mov dword [ecx], eax
test eax, eax
jne 0x47d324
mov eax, dword [esi + 8]
mov dword [ecx], eax
add dword [esp + 0x38], 0x18
inc ebx
mov edx, dword [esp + 0x28]
add ecx, 4
mov dword [esp + 0x2c], ecx
cmp ebx, edx
jl 0x47d2e0
mov esi, dword [esp + 0x40]
nop dword [eax]
lea ebp, [edi + 0x10]
mov dword [esp + 0x3c], 0
mov edi, dword [esp + 0x34]
nop
mov eax, dword [ebp]
test eax, eax
js 0x47d3d0
lea ebx, [eax + eax*4]
mov eax, dword [esi]
shl ebx, 2
cmp byte [eax + 0x41], 0
je 0x47d36c
mov eax, 0x4dda18
jmp 0x47d371
mov eax, dword [esi + 4]
add eax, ebx
mov dword [eax + 8], edx
inc dword [edi]
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov dword [esp + 0x40], eax
test eax, eax
je 0x47d3a6
cmp byte [ecx + 0x41], 0
jne 0x47d3a6
push dword [eax + ebx + 0x10]
movsx edx, byte [eax + ebx + 1]
call fcn.0043d920
mov eax, dword [esp + 0x44]
mov dword [eax + ebx + 0x10], edi
mov byte [eax + ebx + 1], 0xfa
jmp 0x47d3b1
push edi
mov edx, 0xfffffffa
call fcn.0043d920
mov ecx, dword [esp + 0x40]
add esp, 4
mov edx, dword [esp + 0x28]
inc ecx
mov dword [ebp], 0xffffffff
add ebp, 4
mov dword [esp + 0x3c], ecx
cmp ecx, 2
jl 0x47d350
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
mov edi, dword [edi + 0x34]
mov dword [esp + 0x20], edi
test edi, edi
jne 0x47d340
mov ebx, dword [esp + 0x34]
add dword [ebx], 0xffffffff
jne 0x47d40b
push ebx
call fcn.0041f4b0
add esp, 4
jmp 0x47d40b
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x14], 7
mov byte [eax + 0x41], 1
mov ecx, dword [esp + 0x84]
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x30]
push 1
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x54]
mov dword [ecx + 0xc], eax
mov ecx, dword [esp + 0x20]
call fcn.00478200
mov eax, dword [esp + 0x18]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret