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

Disassembly:
sub esp, 0x78
mov ecx, dword [esp + 0x7c]
push ebx
push ebp
push esi
mov eax, dword [ecx]
mov esi, dword [esp + 0x8c]
mov ebx, dword [ecx + 8]
mov dword [esp + 0x28], eax
mov eax, dword [ecx + 0x38]
dec eax
mov dword [esp + 0x34], 0
mov dword [esp + 0x1c], eax
dec eax
mov dword [ecx + 0x38], eax
mov ecx, dword [esi + 0x34]
push edi
mov edi, dword [esi + 0x30]
mov dword [esp + 0x28], eax
movzx eax, byte [esi]
mov dword [esp + 0x30], 0
mov edx, dword [edi]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x10], edx
cmp eax, 0x85
je 0x479af6
mov eax, dword [esp + 0x2c]
mov esi, 1
cmp byte [eax + 0x51], 0
jne 0x479aef
mov eax, dword [esp + 0x90]
lea ebp, [edx + edx*4]
shl ebp, 2
mov eax, dword [eax + 0x1c]
cmp esi, dword [eax]
jg 0x479aef
xor ecx, ecx
test edx, edx
jle 0x479a67
mov ebx, dword [esp + 0x10]
lea edx, [edi + 0x14]
lea esp, [esp]
movzx eax, word [edx]
cmp eax, esi
je 0x479a5f
inc ecx
add edx, 0x14
cmp ecx, ebx
jl 0x479a50
mov ebx, dword [esp + 0x48]
mov edx, dword [esp + 0x10]
cmp ecx, edx
jne 0x479ad9
push 0
lea eax, [esp + 0x54]
mov dword [esp + 0x54], 0
push eax
push 0x98
push dword [esp + 0x38]
mov dword [esp + 0x64], 0
call fcn.00494250
add esp, 0x10
test eax, eax
je 0x479b53
or dword [eax + 4], 0x400
push eax
push edi
push dword [esp + 0x94]
mov dword [eax + 8], esi
call fcn.004981a0
mov edx, dword [esp + 0x1c]
mov edi, eax
mov eax, dword [esp + 0x9c]
add esp, 0xc
mov dword [eax + 0x30], edi
test edi, edi
je 0x479ae0
inc edx
mov word [edi + ebp + 0x14], si
mov dword [esp + 0x10], edx
add ebp, 0x14
jmp 0x479ae0
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x2c]
inc esi
cmp byte [ecx + 0x51], 0
je 0x479a31
mov esi, dword [esp + 0x90]
lea eax, [edx*4 + 4]
push 0
push eax
push dword [esp + 0x34]
call fcn.00491d60
mov ebp, dword [esp + 0x1c]
add esp, 0xc
mov dword [esp + 0x44], eax
test eax, eax
je 0x479b60
mov ecx, 1
mov dword [eax], ebp
cmp ebp, ecx
jl 0x479b3b
lea edx, [edi + 0x14]
mov ebx, eax
movzx eax, word [edx]
lea edx, [edx + 0x14]
dec eax
mov dword [ebx + ecx*4], eax
inc ecx
cmp ecx, ebp
jle 0x479b28
mov ebx, dword [esp + 0x48]
push 1
push esi
push dword [esp + 0x94]
call fcn.0047aaf0
add esp, 0xc
mov dword [esp + 0x4c], eax
jmp 0x479b68
pop edi
pop esi
pop ebp
mov eax, 7
pop ebx
add esp, 0x78
ret
mov dword [esp + 0x4c], 0
mov eax, dword [esp + 0x8c]
push 0
mov dword [esi + 0x30], edi
push edi
push dword [eax]
call fcn.00498490
mov ecx, dword [esp + 0x30]
add esp, 0xc
mov edi, dword [esp + 0x1c]
mov dword [ecx + 0x30], eax
cmp edi, 0x85
jne 0x479b9f
mov dword [esp + 0x40], 0
jmp 0x479cae
mov eax, dword [esi + 0x1c]
mov ecx, dword [esp + 0x8c]
mov edi, dword [eax]
mov eax, dword [ecx + 0x2c]
mov dword [esp + 0x50], edi
lea edx, [eax + 1]
inc eax
add eax, edi
mov dword [esp + 0x40], edx
mov dword [ecx + 0x2c], eax
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x479bd9
push 0
push edx
push 0
push 0x45
push ebx
call fcn.004752f0
add esp, 0x14
jmp 0x479c0c
mov ebp, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0x45
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
push 1
push edi
push dword [esp + 0x34]
call fcn.004a5d00
add esp, 0xc
mov dword [esp + 0x30], eax
test eax, eax
je 0x479caa
xor esi, esi
test edi, edi
jle 0x479ca3
mov ebp, dword [esp + 0x50]
xor edi, edi
mov ebx, dword [esp + 0x90]
add eax, 0x14
mov dword [esp + 0x3c], eax
mov eax, dword [ebx + 0x34]
test eax, eax
je 0x479c5f
push esi
push eax
push dword [esp + 0x94]
call fcn.00479960
add esp, 0xc
test eax, eax
jne 0x479c7b
jmp 0x479c61
xor eax, eax
mov ecx, dword [ebx + 0x1c]
cmp esi, dword [ecx]
jge 0x479c7b
push dword [ecx + edi + 4]
push dword [esp + 0x90]
call fcn.00496db0
add esp, 8
mov ecx, dword [esp + 0x3c]
add edi, 0x14
mov dword [ecx], eax
add ecx, 4
mov eax, dword [esp + 0x30]
mov dword [esp + 0x3c], ecx
mov eax, dword [eax + 0x10]
mov byte [esi + eax], 0
inc esi
cmp esi, ebp
jl 0x479c41
mov ebx, dword [esp + 0x48]
mov ebp, dword [esp + 0x10]
mov esi, dword [esp + 0x90]
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
push str.ORDER
mov dword [esi + 0x34], 0
mov dword [eax + 0x38], 0
push dword [esi + 0x30]
push esi
push dword [esp + 0x98]
call fcn.004af090
mov eax, dword [esp + 0x34]
add esp, 0x10
cmp dword [eax + 0x34], 0
jne 0x479cfa
push str.ORDER
push dword [eax + 0x30]
push eax
push dword [esp + 0x98]
call fcn.004af090
add esp, 0x10
push dword [esp + 0x20]
push esi
push dword [esp + 0x94]
call fcn.00459030
add esp, 0xc
cmp dword [esi + 8], 0
je 0x479ddb
cmp edi, 0x85
jne 0x479ddb
mov ecx, dword [esp + 0x8c]
mov edi, dword [ecx + 0x2c]
inc edi
lea eax, [edi + 1]
mov dword [ecx + 0x2c], eax
mov edx, dword [esi + 0xc]
mov dword [esp + 0x3c], eax
test edx, edx
je 0x479d43
inc edx
jmp 0x479d46
mov edx, dword [esi + 8]
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x479d5f
push 0
push edi
push edx
push 0x4d
push ebx
call fcn.004752f0
add esp, 0x14
jmp 0x479d8e
mov ebp, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0x4d
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 ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x479daa
push 0
push dword [esp + 0x40]
push edi
push 0x4d
push ebx
call fcn.004752f0
add esp, 0x14
jmp 0x479de5
mov edx, dword [esp + 0x3c]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0x4d
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x479de5
mov dword [esp + 0x3c], 0
xor edi, edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x479df9
push eax
push dword [esp + 0x30]
call fcn.00497330
add esp, 8
mov ecx, dword [esp + 0x8c]
mov dword [esi + 0x3c], 0
mov byte [esp + 0x70], 0xd
mov dword [esp + 0x80], 0
inc dword [ecx + 0x2c]
mov edx, dword [ecx + 0x2c]
mov dword [esp + 0x18], edx
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], 0
lea eax, [edx + 1]
mov dword [esp + 0x7c], 0
mov dword [esp + 0x14], eax
add eax, 2
mov dword [esp + 0x34], eax
mov dword [ecx + 0x2c], eax
lea eax, [edx + 1]
mov dword [esp + 0x5c], eax
movzx eax, byte [esi]
mov byte [esp + 0x58], 0xd
mov dword [esp + 0x68], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
sub eax, 0x85
je 0x479e8f
dec eax
je 0x479e88
dec eax
je 0x479e81
mov eax, str.UNION
jmp 0x479e94
mov eax, str.INTERSECT
jmp 0x479e94
mov eax, str.EXCEPT
jmp 0x479e94
mov eax, str.UNION_ALL
push eax
push str.MERGE___s_
push 1
push ecx
call fcn.004bfdb0
mov esi, dword [ebx + 0x6c]
add esp, 0x10
lea edx, [esi + 1]
cmp dword [ebx + 0x70], esi
jg 0x479ec6
push edx
push 0
push dword [esp + 0x20]
push 0xd
push ebx
call fcn.004752f0
add esp, 0x14
mov esi, eax
jmp 0x479ef6
mov eax, dword [ebx + 0x68]
lea ecx, [esi + esi*4]
mov ebp, dword [esp + 0x18]
mov dword [ebx + 0x6c], edx
mov dword [eax + ecx*4 + 4], ebp
mov ebp, dword [esp + 0x10]
mov dword [eax + ecx*4], 0xd
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x24]
push str.LEFT
push 1
mov dword [eax + 8], edi
mov edi, dword [esp + 0x94]
push edi
call fcn.004bfdb0
lea eax, [esp + 0x7c]
push eax
push dword [esp + 0x34]
push edi
call fcn.004b0790
mov ecx, dword [ebx + 0x6c]
add esp, 0x18
cmp dword [ebx + 0x70], ecx
jg 0x479f40
push 0
push 0
push dword [esp + 0x20]
push 0x42
push ebx
call fcn.004752f0
add esp, 0x14
jmp 0x479f73
mov edx, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0x42
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 [ebx + 0xc]
mov byte [eax + 0x13], 0
mov eax, dword [ebx + 0xc]
mov dword [eax + 0x1c], 0
mov edx, dword [ebx + 0x6c]
test esi, esi
jns 0x479f8e
lea esi, [edx - 1]
mov eax, dword [ebx]
cmp byte [eax + 0x51], 0
je 0x479f9d
mov eax, 0x50e22c
jmp 0x479fa6
mov eax, dword [ebx + 0x68]
lea ecx, [esi + esi*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov eax, dword [ebx + 0x6c]
mov dword [esp + 0x50], eax
lea edx, [eax + 1]
cmp dword [ebx + 0x70], eax
jg 0x479fd0
push edx
push 0
push dword [esp + 0x1c]
push 0xd
push ebx
call fcn.004752f0
add esp, 0x14
mov dword [esp + 0x50], eax
jmp 0x479ffc
mov esi, dword [esp + 0x14]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0x68]
mov dword [ebx + 0x6c], edx
mov dword [eax + ecx*4], 0xd
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x3c]
push str.RIGHT
push 1
mov edi, dword [eax + 8]
mov esi, dword [eax + 0xc]
push dword [esp + 0x94]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], 0
call fcn.004bfdb0
lea eax, [esp + 0x64]
push eax
push dword [esp + 0xa0]
push dword [esp + 0xa0]
call fcn.004b0790
mov eax, dword [esp + 0xa8]
add esp, 0x18
mov dword [eax + 8], edi
mov edi, eax
mov dword [edi + 0xc], esi
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x47a071
push 0
push 0
push dword [esp + 0x1c]
push 0x42
push ebx
call fcn.004752f0
add esp, 0x14
jmp 0x47a0a4
mov edx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0x42
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 [ebx + 0xc]
push dword [esp + 0x20]
mov esi, dword [esp + 0x98]
push dword [esp + 0x34]
mov byte [eax + 0x13], 0
mov eax, dword [ebx + 0xc]
push dword [esp + 0x48]
mov dword [eax + 0x1c], 0
mov eax, dword [esp + 0x20]
inc eax
push eax
push esi
lea eax, [esp + 0x84]
push eax
push edi
push dword [esp + 0xa8]
call fcn.00472f60
mov dword [esp + 0x5c], eax
add esp, 0x20
mov eax, dword [esp + 0x1c]
cmp eax, 0x85
je 0x47a0fd
cmp eax, 0x84
jne 0x47a127
push dword [esp + 0x20]
lea eax, [esp + 0x5c]
push dword [esp + 0x34]
push dword [esp + 0x48]
push dword [esp + 0x40]
push esi
push eax
push edi
push dword [esp + 0xa8]
call fcn.00472f60
add esp, 0x20
mov dword [esp + 0x38], eax
mov esi, dword [esp + 0x30]
test esi, esi
je 0x47a1e7
dec dword [esi]
jne 0x47a1e7
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x47a192
cmp dword [ecx + 0x1f8], 0
je 0x47a15a
push esi
push ecx
call fcn.00478920
add esp, 8
jmp 0x47a1e7
cmp esi, dword [ecx + 0x14c]
jae 0x47a192
cmp esi, dword [ecx + 0x144]
jb 0x47a17a
mov eax, dword [ecx + 0x140]
mov dword [esi], eax
mov dword [ecx + 0x140], esi
jmp 0x47a1e7
cmp esi, dword [ecx + 0x148]
jb 0x47a192
mov eax, dword [ecx + 0x138]
mov dword [esi], eax
mov dword [ecx + 0x138], esi
jmp 0x47a1e7
cmp dword [0x5061d8], 0
je 0x47a1dd
mov eax, dword [0x50df18]
test eax, eax
je 0x47a1ae
push eax
call dword [0x506228]
add esp, 4
push esi
call dword [0x506204]
sub dword [0x50de98], eax
dec dword [0x50debc]
push esi
call dword [0x5061fc]
mov eax, dword [0x50df18]
add esp, 8
test eax, eax
je 0x47a1e7
push eax
call dword [0x506230]
jmp 0x47a1e4
push esi
call dword [0x5061fc]
add esp, 4
mov eax, dword [esp + 0x1c]
cmp eax, 0x86
je 0x47a3be
cmp eax, 0x87
je 0x47a3be
mov esi, dword [ebx + 0x6c]
mov dword [esp + 0x30], esi
cmp dword [ebx + 0x70], esi
jg 0x47a22a
push 0
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push 0xc
push ebx
call fcn.004752f0
mov esi, eax
add esp, 0x14
mov dword [esp + 0x30], esi
jmp 0x47a25d
mov edx, dword [esp + 0x34]
lea eax, [esi + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [esi + esi*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x38]
mov dword [eax + ecx*4], 0xc
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [ebx + 0x6c]
mov dword [esp + 0x40], edx
cmp dword [ebx + 0x70], edx
jg 0x47a284
push 0
push dword [esp + 0x24]
push dword [esp + 0x1c]
push 0xe
push ebx
call fcn.004752f0
add esp, 0x14
mov dword [esp + 0x40], eax
jmp 0x47a2b7
lea eax, [edx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebx + 0x68]
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x20]
mov dword [eax + ecx*4], 0xe
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x47a2d1
push 0
push esi
push 0
push 0xb
push ebx
call fcn.004752f0
add esp, 0x14
jmp 0x47a300
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x24]
movzx edx, word [edi + 2]
movzx ecx, word [eax + 2]
cmp dx, cx
jl 0x47a369
movsx esi, cx
movsx ecx, dx
lea eax, [esi + 0x31]
cmp ecx, eax
jle 0x47a331
mov esi, dword [esp + 0x30]
mov eax, edx
mov word [edi + 2], ax
mov eax, dword [esp + 0x1c]
jmp 0x47a3c8
lea eax, [esi + 0x1f]
cmp ecx, eax
jle 0x47a34c
mov esi, dword [esp + 0x30]
lea eax, [edx + 1]
movzx eax, ax
mov word [edi + 2], ax
mov eax, dword [esp + 0x1c]
jmp 0x47a3c8
sub ecx, esi
mov esi, dword [esp + 0x30]
movzx eax, byte [ecx + str._n_n_t_t_b_b_a_a_a]
add ax, dx
movzx eax, ax
mov word [edi + 2], ax
mov eax, dword [esp + 0x1c]
jmp 0x47a3c8
movsx esi, dx
movsx edx, cx
lea eax, [esi + 0x31]
cmp edx, eax
jle 0x47a386
mov esi, dword [esp + 0x30]
mov eax, ecx
mov word [edi + 2], ax
mov eax, dword [esp + 0x1c]
jmp 0x47a3c8
lea eax, [esi + 0x1f]
cmp edx, eax
jle 0x47a3a1
mov esi, dword [esp + 0x30]
lea eax, [ecx + 1]
movzx eax, ax
mov word [edi + 2], ax
mov eax, dword [esp + 0x1c]
jmp 0x47a3c8
sub edx, esi
mov esi, dword [esp + 0x30]
movzx eax, byte [edx + str._n_n_t_t_b_b_a_a_a]
add ax, cx
movzx eax, ax
mov word [edi + 2], ax
mov eax, dword [esp + 0x1c]
jmp 0x47a3c8
mov ecx, dword [esp + 0x20]
mov esi, ecx
mov dword [esp + 0x40], ecx
cmp eax, 0x87
jne 0x47a413
mov eax, dword [esp + 0x24]
movzx eax, word [eax + 2]
cmp word [edi + 2], ax
jle 0x47a3e1
mov word [edi + 2], ax
mov edi, esi
mov edx, dword [ebx + 0x6c]
mov dword [esp + 0x30], edx
cmp dword [ebx + 0x70], edx
jg 0x47a511
mov eax, dword [esp + 0x14]
push 0
push dword [esp + 0x40]
inc eax
push eax
push 0xc
push ebx
call fcn.004752f0
add esp, 0x14
mov dword [esp + 0x30], eax
jmp 0x47a549
mov edi, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], edi
jg 0x47a436
mov eax, dword [esp + 0x14]
push 0
push dword [esp + 0x40]
inc eax
push eax
push 0xc
push ebx
call fcn.004752f0
add esp, 0x14
mov edi, eax
jmp 0x47a46e
mov edx, dword [esp + 0x14]
lea eax, [edi + 1]
mov ebp, dword [esp + 0x10]
lea ecx, [edi + edi*4]
mov dword [ebx + 0x6c], eax
inc edx
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + ecx*4], 0xc
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x47a48d
push 0
push dword [esp + 0x24]
push dword [esp + 0x20]
push 0xe
push ebx
call fcn.004752f0
add esp, 0x14
jmp 0x47a4c0
mov edx, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x20]
mov dword [eax + ecx*4], 0xe
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x47a4dd
push 0
push edi
push 0
push 0xb
push ebx
call fcn.004752f0
add esp, 0x14
jmp 0x47a3e3
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x47a3e3
mov ebp, dword [esp + 0x10]
lea eax, [edx + 1]
lea ecx, [edx + edx*4]
mov dword [ebx + 0x6c], eax
mov eax, dword [ebx + 0x68]
mov edx, dword [esp + 0x14]
inc edx
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + ecx*4], 0xc
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x47a565
push 0
push esi
push dword [esp + 0x20]
push 0xe
push ebx
call fcn.004752f0
add esp, 0x14
jmp 0x47a594
mov edx, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0xe
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x47a5b1
push 0
push dword [esp + 0x2c]
push 0
push 0xb
push ebx
call fcn.004752f0
add esp, 0x14
jmp 0x47a5e4
mov edx, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 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 + 0x1c]
cmp eax, 0x85
jne 0x47a5fc
mov eax, dword [esp + 0x30]
mov dword [esp + 0x10], eax
jmp 0x47a6b8
cmp eax, 0x87
jne 0x47a615
mov eax, dword [esp + 0x30]
mov dword [esp + 0x10], eax
inc eax
mov dword [esp + 0x30], eax
jmp 0x47a6b8
mov edx, dword [ebx + 0x6c]
mov dword [esp + 0x10], edx
cmp dword [ebx + 0x70], edx
jg 0x47a639
push 0
push esi
push dword [esp + 0x20]
push 0xe
push ebx
call fcn.004752f0
add esp, 0x14
mov dword [esp + 0x10], eax
jmp 0x47a668
lea eax, [edx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebx + 0x68]
mov edx, dword [esp + 0x18]
mov dword [eax + ecx*4], 0xe
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x47a685
push 0
push dword [esp + 0x2c]
push 0
push 0xb
push ebx
call fcn.004752f0
add esp, 0x14
jmp 0x47a6b8
mov edx, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 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 + 0x1c]
mov ecx, dword [ebx + 0x6c]
mov dword [esp + 0x3c], ecx
cmp eax, 0x85
je 0x47a6d1
cmp eax, 0x84
jne 0x47a720
cmp dword [ebx + 0x70], ecx
jg 0x47a6ed
push 0
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push 0xc
push ebx
call fcn.004752f0
add esp, 0x14
jmp 0x47a720
mov edx, dword [esp + 0x34]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x38]
mov dword [eax + ecx*4], 0xc
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0x6c]
mov esi, dword [esp + 0x14]
cmp dword [ebx + 0x70], ecx
jg 0x47a73d
push 0
push edi
push esi
push 0xe
push ebx
call fcn.004752f0
add esp, 0x14
jmp 0x47a768
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0xe
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x47a785
push 0
push dword [esp + 0x2c]
push 0
push 0xb
push ebx
call fcn.004752f0
add esp, 0x14
jmp 0x47a7b8
mov edx, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 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 + 0x50]
mov edx, dword [ebx + 0x6c]
test ecx, ecx
jns 0x47a7c6
lea ecx, [edx - 1]
mov eax, dword [ebx]
cmp byte [eax + 0x51], 0
je 0x47a7d5
mov eax, 0x50e22c
jmp 0x47a7de
mov eax, dword [ebx + 0x68]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x47a801
mov edx, dword [esp + 0x40]
push 0
push edx
push dword [esp + 0x20]
push 0xe
push ebx
call fcn.004752f0
add esp, 0x14
jmp 0x47a834
mov edx, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x40]
mov dword [eax + ecx*4], 0xe
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x47a84d
push 0
push edi
push esi
push 0xe
push ebx
call fcn.004752f0
add esp, 0x14
jmp 0x47a878
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0xe
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0xc]
mov edx, dword [esp + 0x28]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x47a896
push edx
push ebx
push ecx
call fcn.00483c50
add esp, 0xc
jmp 0x47a89f
mov ecx, dword [ecx + 0x40]
mov eax, dword [ebx + 0x6c]
mov dword [ecx + edx*4], eax
mov edx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], edx
jg 0x47a8bc
push 0
push 0
push 0
push 0x55
push ebx
call fcn.004752f0
add esp, 0x14
mov edx, eax
jmp 0x47a8ef
lea eax, [edx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0x55
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 [ebx]
cmp byte [eax + 0x51], 0
je 0x47a908
push dword [esp + 0x44]
push 0xfffffffffffffff1
push eax
call fcn.00462150
add esp, 0xc
jmp 0x47a941
test edx, edx
jns 0x47a910
mov edx, dword [ebx + 0x6c]
dec edx
mov eax, dword [ebx + 0x68]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x47a932
push 0xfffffffffffffff1
push dword [esp + 0x48]
push eax
push ebx
call fcn.004d0560
add esp, 0x10
jmp 0x47a941
mov ecx, dword [esp + 0x44]
test ecx, ecx
je 0x47a941
mov dword [eax + 0x10], ecx
mov byte [eax + 1], 0xf1
mov edx, dword [ebx + 0x6c]
mov esi, dword [esp + 0x60]
mov edi, dword [esp + 0x78]
cmp dword [ebx + 0x70], edx
jg 0x47a963
push ebp
push esi
push edi
push 0x56
push ebx
call fcn.004752f0
add esp, 0x14
mov edx, eax
jmp 0x47a98e
lea eax, [edx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebx + 0x68]
mov ebx, dword [esp + 0x48]
mov dword [eax + ecx*4], 0x56
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], ebp
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebx]
cmp byte [eax + 0x51], 0
je 0x47a9a8
mov ecx, dword [esp + 0x4c]
push ecx
push 0xfffffffffffffff7
push eax
call fcn.00462150
add esp, 0xc
jmp 0x47a9de
test edx, edx
jns 0x47a9b0
mov edx, dword [ebx + 0x6c]
dec edx
mov eax, dword [ebx + 0x68]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x4c]
je 0x47a9d3
push 0xfffffffffffffff7
push ecx
push eax
push ebx
call fcn.004d0560
add esp, 0x10
jmp 0x47a9de
test ecx, ecx
je 0x47a9de
mov dword [eax + 0x10], ecx
mov byte [eax + 1], 0xf7
mov eax, dword [ebx + 0x6c]
test eax, eax
jle 0x47a9f5
lea ecx, [eax + eax*4]
mov edx, 1
mov eax, dword [ebx + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x47aa18
mov edx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x14]
push edx
push dword [esp + 0x38]
push 0x10
push ebx
call fcn.004752f0
add esp, 0x14
jmp 0x47aa4b
mov edx, dword [esp + 0x30]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x10]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + ecx*4], 0x10
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0xc]
mov edx, dword [esp + 0x20]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x47aa69
push edx
push ebx
push ecx
call fcn.00483c50
add esp, 0xc
jmp 0x47aa72
mov ecx, dword [ecx + 0x40]
mov eax, dword [ebx + 0x6c]
mov dword [ecx + edx*4], eax
mov ebx, dword [esp + 0x90]
mov eax, dword [ebx + 0x34]
test eax, eax
je 0x47aa8f
push 1
push eax
push dword [esp + 0x34]
call fcn.00456a20
add esp, 0xc
mov eax, dword [esp + 0x24]
mov dword [ebx + 0x34], eax
mov dword [eax + 0x38], ebx
mov ebx, dword [esp + 0x8c]
mov ecx, dword [ebx + 0xd4]
test ecx, ecx
jne 0x47aaae
xor eax, eax
jmp 0x47aad4
mov edx, dword [ebx + 8]
test ecx, ecx
jns 0x47aab9
mov ecx, dword [edx + 0x6c]
dec ecx
mov eax, dword [edx]
cmp byte [eax + 0x51], 0
je 0x47aac8
mov eax, 0x50e22c
jmp 0x47aad1
mov eax, dword [edx + 0x68]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov eax, dword [eax + 8]
mov dword [ebx + 0xd4], eax
xor eax, eax
cmp dword [ebx + 0x24], eax
pop edi
pop esi
pop ebp
setne al
pop ebx
add esp, 0x78
ret