Function at 0x50d930
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x10c
push ebx
mov ebx, dword [esp + 0x114]
push ebp
mov ebp, dword [ebx + 8]
push esi
push edi
mov edi, dword [ebx]
mov dword [esp + 0x40], 1
mov dword [esp + 0x84], 0
mov dword [esp + 0x34], edi
test ebp, ebp
jne 0x50d97b
cmp dword [ebx + 0x74], ebp
jne 0x50d970
test byte [edi + 0x44], 8
jne 0x50d970
mov byte [ebx + 0x17], 1
push ebx
call fcn.004cbd70
add esp, 4
mov ebp, eax
mov esi, dword [esp + 0x124]
test esi, esi
je 0x50fb62
cmp byte [edi + 0x49], 0
jne 0x50fb62
cmp dword [ebx + 0x24], 0
jne 0x50fb62
push 0
push 0
push 0
push 0x15
mov eax, ebx
call fcn.004d7e50
add esp, 0x10
test eax, eax
jne 0x50fb62
push 0x30
push eax
lea eax, [esp + 0xb8]
push eax
call fcn.00586030
mov ecx, dword [esp + 0x134]
add esp, 0xc
cmp byte [ecx], 8
ja 0x50d9ee
mov eax, dword [esi + 0x30]
push edi
call fcn.004c71d0
add esp, 4
and dword [esi + 8], 0xfffffffe
mov dword [esi + 0x30], 0
push 0
push esi
push ebx
call fcn.004fd770
add esp, 0xc
cmp dword [ebx + 0x24], 0
jne 0x50f9bb
mov edx, edi
cmp byte [edx + 0x49], 0
jne 0x50f9bb
mov eax, dword [esp + 0x128]
cmp byte [eax], 9
jne 0x50da27
push ebx
mov eax, esi
call fcn.004dc2e0
add esp, 4
mov ecx, esi
push ecx
mov edi, ebx
call fcn.004fe350
add esp, 4
test eax, eax
jne 0x50f9bb
mov edi, esi
mov eax, dword [edi + 8]
mov esi, dword [edi + 0x20]
mov edx, dword [edi + 0x30]
shr eax, 3
and eax, 1
mov dword [esp + 0x18], eax
xor eax, eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], eax
mov dword [esp + 0x88], edx
mov dword [esp + 0x20], eax
cmp dword [edi + 0x34], eax
jne 0x50dbc6
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
cmp eax, dword [esi]
jge 0x50dbc6
lea eax, [eax + eax*8]
test byte [esi + eax*8 + 0x2c], 8
mov ecx, dword [esi + eax*8 + 0x1c]
mov edx, dword [esi + eax*8 + 0x18]
lea esi, [esi + eax*8 + 8]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x28], edx
je 0x50db11
mov edx, dword [esi + 0x2c]
mov eax, dword [edi + 0x24]
call fcn.004c1a80
test eax, eax
je 0x50db11
mov ecx, dword [esp + 0x34]
mov eax, 0x2000
test word [ecx + 0x44], ax
jne 0x50db11
mov edx, dword [esi + 0x2c]
and byte [esi + 0x24], 0xd7
mov eax, dword [edi + 0x24]
push edx
push eax
call fcn.004b8780
add esp, 8
cmp dword [esp + 0x30], 0
je 0x50dbb4
mov ecx, dword [esp + 0x28]
movsx edx, word [ecx + 0x2a]
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
cmp edx, dword [ecx]
jne 0x50dbfa
test byte [eax + 8], 8
jne 0x50dbb4
mov edx, eax
cmp dword [edx + 0x30], 0
je 0x50db61
cmp dword [esp + 0x20], 0
jne 0x50db61
test dword [edi + 8], 0x40000
je 0x50db61
mov eax, dword [esp + 0x1c]
cmp dword [eax], 1
je 0x50dbb4
mov ecx, eax
test byte [ecx + 0x74], 0xa
jne 0x50dbb4
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebx
mov eax, edi
call fcn.004dcc40
add esp, 0xc
test eax, eax
je 0x50db82
mov dword [esp + 0x20], 0xffffffff
mov edx, dword [esp + 0x34]
cmp byte [edx + 0x49], 0
mov ecx, dword [edi + 0x20]
mov dword [esp + 0x1c], ecx
jne 0x50f9bb
mov eax, dword [esp + 0x128]
cmp byte [eax], 8
mov edi, dword [esp + 0x124]
jbe 0x50dbb4
mov ecx, dword [edi + 0x30]
mov dword [esp + 0x88], ecx
inc dword [esp + 0x20]
cmp dword [edi + 0x34], 0
je 0x50dab1
mov esi, dword [esp + 0x1c]
cmp dword [edi + 0x34], 0
je 0x50dc23
mov ecx, dword [esp + 0x128]
push ecx
push edi
push ebx
call fcn.004fc540
add esp, 0xc
cmp dword [edi + 0x38], 0
mov esi, eax
jne 0x50dbed
mov edx, ebx
call fcn.004bfe20
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x10c
ret
mov edx, dword [esp + 0x30]
mov eax, dword [edx]
mov ecx, dword [eax]
mov eax, dword [esp + 0x28]
mov edx, dword [eax]
movsx eax, word [eax + 0x2a]
push ecx
push edx
push eax
push str.expected__d_columns_for__s_but_got__d
mov esi, ebx
call fcn.004d3500
add esp, 0x10
jmp 0x50f9bb
cmp dword [esi], 1
jle 0x50dc44
mov eax, dword [esp + 0x34]
mov edx, 0x8000
test word [eax + 0x44], dx
jne 0x50dc44
push ebx
call fcn.004f10c0
mov esi, dword [esp + 0x20]
add esp, 4
xor eax, eax
cmp dword [esi], eax
mov dword [esp + 0x20], eax
jle 0x50df17
jmp 0x50dc58
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
lea ecx, [eax + eax*8]
mov eax, dword [edx + ecx*8 + 0x40]
or eax, dword [edx + ecx*8 + 0x44]
lea edi, [edx + ecx*8 + 8]
jne 0x50dc86
mov ecx, dword [edi + 4]
mov edx, dword [edi + 8]
push ecx
push 0x5d3001
push edx
push 0x14
mov eax, ebx
call fcn.004d7e50
add esp, 0x10
mov esi, dword [edi + 0x14]
test esi, esi
je 0x50defb
mov eax, dword [edi + 0x18]
test eax, eax
je 0x50dcb9
test byte [edi + 0x28], 0x10
jne 0x50defb
push 0
push eax
mov eax, dword [edi + 0x1c]
push eax
push 0xc
push ebp
call fcn.004c5720
add esp, 0x14
jmp 0x50defb
mov eax, dword [esp + 0x124]
call fcn.004b6230
mov edx, dword [esp + 0x34]
add dword [ebx + 0xcc], eax
mov ecx, 0x1000
test word [edx + 0x44], cx
jne 0x50dcfe
movzx eax, byte [edi + 0x24]
mov ecx, dword [edi + 0x2c]
mov edx, dword [esp + 0x124]
shr eax, 5
and eax, 1
push eax
mov eax, dword [edx + 0x24]
push ecx
push eax
push esi
push ebx
call fcn.004dd270
add esp, 0x14
cmp dword [esp + 0x20], 0
mov ecx, dword [ebx + 0xec]
mov edx, dword [edi + 8]
mov dword [esp + 0x2c], ecx
mov dword [ebx + 0xec], edx
jne 0x50ddd3
mov eax, dword [esp + 0x1c]
cmp dword [eax], 1
je 0x50dd2f
test byte [eax + 0x74], 0xa
je 0x50ddd3
mov eax, dword [ebp + 0x88]
inc dword [ebx + 0x2c]
mov ecx, dword [ebx + 0x2c]
inc eax
push eax
push 0
push ecx
push 0xd
push ebp
mov dword [esp + 0x3c], eax
mov dword [edi + 0x1c], ecx
call fcn.004c5720
mov eax, dword [esp + 0x3c]
mov ecx, dword [edi + 0x1c]
mov dword [edi + 0x18], eax
xor eax, eax
mov byte [esp + 0x7c], 0xd
mov dword [esp + 0x80], ecx
mov dword [esp + 0x8c], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov edx, dword [esi + 0x14]
push edx
push str.CO_ROUTINE__u
push 1
push ebx
call fcn.004d4fe0
lea eax, [esp + 0x8c]
push eax
push esi
push ebx
call fcn.0050d930
mov dx, word [esi + 6]
mov ecx, dword [edi + 0x10]
mov word [ecx + 0x2c], dx
mov eax, dword [esp + 0xa0]
or dword [edi + 0x28], 0x10
mov dword [edi + 0x20], eax
mov eax, dword [edi + 0x1c]
add esp, 0x30
mov esi, ebp
call fcn.004c5990
mov eax, dword [esp + 0x28]
dec eax
mov edx, ebp
call fcn.004bff30
jmp 0x50dec6
inc dword [ebx + 0x2c]
mov eax, dword [ebx + 0x2c]
push 0
push eax
push 0
push 0x46
push ebp
mov dword [esp + 0x38], 0
mov dword [edi + 0x1c], eax
call fcn.004c5720
mov dword [esp + 0x78], eax
inc eax
add esp, 0x14
test byte [edi + 0x28], 8
mov dword [edi + 0x18], eax
jne 0x50de17
push 0
push 0
push 0
push 0x11
push ebp
call fcn.004c5720
add esp, 0x14
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x1c]
call fcn.004dda90
mov dword [esp + 0x28], eax
test eax, eax
je 0x50de50
mov ecx, eax
mov edx, dword [ecx + 0x2c]
mov eax, dword [edi + 0x2c]
push 0
push edx
push eax
push 0x6f
push ebp
call fcn.004c5720
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx + 0x14]
mov ax, word [edx + 6]
add esp, 0x14
mov word [esi + 6], ax
jmp 0x50de8a
mov ecx, dword [edi + 0x2c]
xor eax, eax
mov byte [esp + 0x68], 0xc
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x78], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov edx, dword [esi + 0x14]
push edx
push str.MATERIALIZE__u
push 1
push ebx
call fcn.004d4fe0
lea eax, [esp + 0x78]
push eax
push esi
push ebx
call fcn.0050d930
add esp, 0x1c
cmp dword [esp + 0x24], 0
mov ecx, dword [edi + 0x10]
mov dx, word [esi + 6]
mov word [ecx + 0x2c], dx
je 0x50dea7
mov eax, dword [esp + 0x24]
mov edx, ebp
call fcn.004bff30
mov edi, dword [edi + 0x1c]
push 0
push 0
push edi
push 0x42
push ebp
call fcn.004c5720
mov edx, eax
mov eax, dword [esp + 0x78]
push ebp
call fcn.004bfea0
add esp, 0x18
mov eax, dword [esp + 0x34]
mov dword [ebx + 0x1c], 0
mov byte [ebx + 0x13], 0
cmp byte [eax + 0x49], 0
jne 0x50f9bb
mov eax, dword [esp + 0x124]
call fcn.004b6230
mov ecx, dword [esp + 0x2c]
sub dword [ebx + 0xcc], eax
mov dword [ebx + 0xec], ecx
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
inc eax
cmp eax, dword [edx]
mov dword [esp + 0x20], eax
jl 0x50dc54
mov edi, dword [esp + 0x124]
mov eax, dword [edi]
mov ecx, dword [edi + 0x24]
mov edx, dword [edi + 0x28]
mov esi, dword [esp + 0x88]
mov dword [esp + 0x48], eax
mov eax, dword [edi + 0x2c]
mov dword [esp + 0x24], ecx
mov ecx, dword [edi + 8]
mov dword [esp + 0x28], eax
mov al, byte [edi + 8]
and al, 1
and cl, 9
mov dword [esp + 0x14], edx
mov byte [esp + 0x68], al
cmp cl, 1
jne 0x50df7e
mov eax, dword [esp + 0x48]
push 0xffffffffffffffff
push esi
call fcn.004b67e0
add esp, 8
test eax, eax
jne 0x50df7e
mov edx, dword [esp + 0x48]
and dword [edi + 8], 0xfffffffe
push eax
mov eax, dword [esp + 0x38]
push edx
push eax
call fcn.004c6da0
add esp, 0xc
mov dword [edi + 0x28], eax
mov dword [esp + 0x14], eax
test esi, esi
je 0x50e035
mov ecx, dword [esp + 0x48]
mov edx, dword [ecx]
push 0
push esi
push ebx
call fcn.004ef980
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0x28]
lea edx, [eax + 1]
mov dword [ebx + 0x28], edx
mov edx, dword [esp + 0x54]
mov ecx, dword [esi]
mov edx, dword [edx]
push 0
lea ecx, [ecx + edx + 1]
push ecx
push eax
push 0x71
push ebp
mov dword [esp + 0xb0], eax
call fcn.004c5720
mov ecx, dword [ebp]
add esp, 0x20
cmp byte [ecx + 0x49], 0
mov esi, eax
je 0x50dfe6
mov eax, dword [esp + 0x10]
push 0xfffffffffffffff7
call fcn.004bff60
add esp, 4
mov dword [esp + 0x9c], esi
jmp 0x50e040
test esi, esi
jge 0x50dff1
mov eax, dword [ebp + 0x88]
dec eax
mov ecx, dword [ebp + 0x58]
lea eax, [eax + eax*4]
cmp byte [ecx + eax*4 + 1], 0
lea ecx, [ecx + eax*4]
je 0x50e01d
mov edx, dword [esp + 0x10]
push edx
push ebp
mov eax, 0xfffffff7
call fcn.004c00f0
add esp, 8
mov dword [esp + 0x9c], esi
jmp 0x50e040
mov eax, dword [esp + 0x10]
test eax, eax
je 0x50e02c
mov dword [ecx + 0x10], eax
mov byte [ecx + 1], 0xf7
mov dword [esp + 0x9c], esi
jmp 0x50e040
mov dword [esp + 0x9c], 0xffffffff
mov eax, dword [esp + 0x128]
cmp byte [eax], 0xc
jne 0x50e064
mov ecx, dword [esp + 0x48]
mov edx, dword [ecx]
mov eax, dword [eax + 4]
push 0
push edx
push eax
push 0x71
push ebp
call fcn.004c5720
add esp, 0x14
mov eax, ebp
call fcn.004c59c0
test dword [edi + 8], 0x4000
mov dword [esp + 0x64], eax
jne 0x50e081
mov ecx, 0x140
mov word [edi + 6], cx
mov edx, dword [esp + 0x64]
mov edi, dword [esp + 0x124]
push edx
push edi
mov esi, ebx
call fcn.004cd590
add esp, 8
cmp dword [edi + 0xc], 0
jne 0x50e0bc
mov eax, dword [esp + 0x9c]
test eax, eax
jl 0x50e0bc
push ebp
mov dl, 0x72
call fcn.004bfe70
add esp, 4
or byte [esp + 0xa8], 1
test byte [edi + 8], 1
je 0x50e169
mov eax, dword [ebx + 0x28]
mov esi, eax
inc eax
mov dword [ebx + 0x28], eax
mov eax, edi
mov ecx, dword [eax]
push 0
push ecx
push ebx
xor edx, edx
mov dword [esp + 0x78], esi
call fcn.004ef980
push 0
push 0
push esi
push 0x71
push ebp
mov edi, eax
call fcn.004c5720
mov ecx, dword [ebp]
add esp, 0x20
cmp byte [ecx + 0x49], 0
mov esi, eax
je 0x50e10d
push 0xfffffffffffffff7
mov eax, edi
call fcn.004bff60
add esp, 4
jmp 0x50e144
test esi, esi
jge 0x50e118
mov eax, dword [ebp + 0x88]
dec eax
lea edx, [eax + eax*4]
mov eax, dword [ebp + 0x58]
cmp byte [eax + edx*4 + 1], 0
lea ecx, [eax + edx*4]
je 0x50e139
push edi
push ebp
mov eax, 0xfffffff7
call fcn.004c00f0
add esp, 8
jmp 0x50e144
test edi, edi
je 0x50e144
mov dword [ecx + 0x10], edi
mov byte [ecx + 1], 0xf7
mov eax, dword [ebp + 0x88]
mov dword [esp + 0x70], esi
test eax, eax
jle 0x50e162
mov edx, dword [ebp + 0x58]
lea ecx, [eax + eax*4]
mov eax, 8
mov word [edx + ecx*4 - 0x12], ax
mov byte [esp + 0x69], 3
jmp 0x50e16e
mov byte [esp + 0x69], 0
mov esi, dword [esp + 0x14]
xor ecx, ecx
cmp dword [esp + 0x18], ecx
jne 0x50e37c
cmp esi, ecx
jne 0x50e37c
movzx edx, byte [esp + 0x68]
mov eax, dword [esp + 0x124]
mov si, word [eax + 8]
mov eax, dword [eax + 0x44]
neg edx
sbb edx, edx
mov edi, 0x4000
and si, di
and edx, 0x100
or dx, si
movzx esi, dx
mov dword [esp + 0x28], eax
cmp eax, ecx
je 0x50e1c4
push eax
mov edi, ebx
call fcn.004f58b0
add esp, 4
mov edi, dword [esp + 0x124]
movsx eax, word [edi + 6]
mov ecx, dword [edi]
mov edx, dword [esp + 0x88]
push eax
mov eax, dword [esp + 0x28]
push esi
push ecx
mov ecx, dword [esp + 0x28]
push edx
push eax
push ecx
push ebx
call fcn.0050a1e0
mov esi, eax
add esp, 0x1c
test esi, esi
je 0x50f9bb
movzx eax, word [esi + 0x48]
cmp ax, word [edi + 6]
jge 0x50e207
mov word [edi + 6], ax
cmp byte [esp + 0x68], 0
je 0x50e219
mov al, byte [esi + 0x33]
test al, al
je 0x50e219
mov byte [esp + 0x69], al
mov edx, dword [esp + 0x88]
test edx, edx
je 0x50e268
cmp byte [esi + 0x34], 0
movsx ecx, byte [esi + 0x2f]
mov dword [esp + 0x8c], ecx
jne 0x50e23a
mov eax, dword [esi + 0x20]
jmp 0x50e24b
movzx eax, byte [esi + 0x2e]
lea eax, [eax + eax*4]
shl eax, 4
mov eax, dword [eax + esi + 0x2b0]
mov dword [esp + 0xa4], eax
cmp ecx, dword [edx]
jne 0x50e268
mov dword [esp + 0x88], 0
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x9c]
test eax, eax
jl 0x50e27e
test edx, edx
jne 0x50e27e
mov edx, ebp
call fcn.004c0080
cmp dword [esp + 0x28], 0
je 0x50e343
mov eax, ebp
call fcn.004c59c0
mov dword [esp + 0x28], eax
mov eax, ebp
call fcn.004c59c0
mov dword [esp + 0x18], eax
mov eax, ebp
call fcn.004c59c0
inc dword [ebx + 0x2c]
mov edi, dword [ebx + 0x2c]
mov edx, dword [esp + 0x124]
push esi
mov esi, dword [esp + 0x2c]
push ebx
mov dword [esp + 0x34], eax
call fcn.004f7620
mov esi, dword [esp + 0x34]
push 0
push esi
push 0
push 0xb
push ebp
call fcn.004c5720
mov edx, dword [esp + 0x44]
mov ecx, ebp
call fcn.004b3900
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x144]
push esi
push ecx
push edx
mov edx, dword [esp + 0x14c]
lea eax, [esp + 0x90]
push eax
lea ecx, [esp + 0xb4]
push ecx
push 0xffffffffffffffff
push edx
mov edx, ebx
mov dword [esp + 0xdc], 0
call fcn.004fb5e0
mov edx, dword [esp + 0x50]
mov ecx, ebp
call fcn.004b3900
push 0
push 0
push edi
push 0x42
push ebp
call fcn.004c5720
add esp, 0x4c
mov edx, esi
mov ecx, ebp
call fcn.004b3900
xor edi, edi
jmp 0x50f90b
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x20]
mov edx, dword [esp + 0x128]
push eax
push ecx
push edx
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x98]
push ecx
mov edx, edi
push 0xffffffffffffffff
push edx
mov edx, ebx
call fcn.004fb5e0
push esi
call fcn.004ca760
add esp, 0x20
xor edi, edi
jmp 0x50f90b
mov edx, dword [esp + 0x124]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x2c], ecx
cmp esi, ecx
je 0x50e3d5
mov ecx, dword [edx]
mov eax, dword [ecx]
test eax, eax
jle 0x50e3ad
add ecx, 0x1a
mov edi, edi
xor edi, edi
mov word [ecx], di
dec eax
add ecx, 0x18
test eax, eax
jg 0x50e3a0
mov eax, dword [esi]
test eax, eax
jle 0x50e3c3
lea ecx, [esi + 0x1a]
xor edi, edi
mov word [ecx], di
dec eax
add ecx, 0x18
test eax, eax
jg 0x50e3b6
cmp word [edx + 6], 0x42
jle 0x50e3db
mov eax, 0x42
mov word [edx + 6], ax
jmp 0x50e3db
xor ecx, ecx
mov word [edx + 6], cx
mov eax, dword [esp + 0x88]
push 0xffffffffffffffff
push esi
call fcn.004b67e0
add esp, 8
test eax, eax
jne 0x50e3f9
mov dword [esp + 0x2c], 1
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x3c]
lea edx, [ecx + 1]
mov dword [eax + 0x3c], edx
lea edx, [ecx - 1]
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], ecx
test ecx, edx
jne 0x50e442
mov eax, ecx
lea ecx, [eax*8 + 4]
mov eax, dword [esp + 0x10]
mov edi, dword [eax + 0x40]
mov esi, dword [eax]
push 0
push ecx
call fcn.004c39b0
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
mov dword [edx + 0x40], eax
add esp, 8
mov eax, edx
mov eax, dword [eax + 0x40]
test eax, eax
je 0x50e450
mov dword [eax + ecx*4], 0xffffffff
mov edx, dword [ebx + 0x2c]
or eax, 0xffffffff
sub eax, ecx
mov dword [esp + 0x44], eax
xor eax, eax
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], eax
mov dword [esp + 0xe8], eax
mov dword [esp + 0xec], eax
mov dword [esp + 0xf0], eax
mov dword [esp + 0xf4], eax
mov dword [esp + 0xf8], eax
mov dword [esp + 0xfc], eax
mov eax, dword [esp + 0x1c]
inc edx
lea ecx, [esp + 0xb0]
mov dword [esp + 0xe0], ebx
mov dword [esp + 0xe4], eax
mov dword [esp + 0xe8], ecx
mov dword [esp + 0xc0], edx
test esi, esi
je 0x50e4cd
mov eax, dword [esi]
mov dword [esp + 0xbc], eax
jmp 0x50e4d8
mov dword [esp + 0xbc], 0
mov ecx, dword [esp + 0x48]
push ecx
lea edx, [esp + 0xe4]
push edx
mov dword [esp + 0xd0], esi
call fcn.004d7220
mov eax, dword [esp + 0x90]
push eax
lea ecx, [esp + 0xec]
push ecx
call fcn.004d7220
mov edi, dword [esp + 0x38]
add esp, 0x10
test edi, edi
je 0x50e579
test esi, esi
je 0x50e52e
mov esi, dword [esp + 0x124]
push ebx
mov ecx, esi
call fcn.004f1880
mov edx, dword [esi + 0x24]
add esp, 4
mov dword [esp + 0x24], edx
lea ecx, [esp + 0x100]
lea eax, [esp + 0xe0]
push edi
push ecx
mov dword [esp + 0x10c], 0x4d6f70
mov dword [esp + 0x110], 0x4b6a30
mov dword [esp + 0x114], 0x4b6a40
mov dword [esp + 0x118], 0
mov dword [esp + 0x120], eax
call fcn.004c1420
add esp, 8
mov eax, dword [esp + 0x124]
cmp dword [eax + 0x28], 0
mov edx, dword [esp + 0xd0]
mov ecx, dword [esp + 0xdc]
mov dword [esp + 0xd4], edx
jne 0x50e5d1
cmp dword [eax + 0x2c], 0
jne 0x50e5d1
cmp ecx, 1
jne 0x50e5d1
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0xd8]
lea eax, [esp + 0x84]
push eax
mov eax, dword [edx]
push ecx
call fcn.004c9550
mov ecx, dword [esp + 0xe4]
add esp, 8
mov byte [esp + 0x3b], al
jmp 0x50e5d6
mov byte [esp + 0x3b], 0
xor esi, esi
test ecx, ecx
jle 0x50e623
xor edi, edi
mov edi, edi
mov eax, dword [esp + 0xd8]
or word [esp + 0xf8], 8
mov ecx, dword [eax + edi]
mov edx, dword [ecx + 0x14]
push edx
lea eax, [esp + 0xe4]
push eax
call fcn.004d7220
mov ecx, 0xfff7
and word [esp + 0x100], cx
mov ecx, dword [esp + 0xe4]
inc esi
add esp, 8
add edi, 0x10
cmp esi, ecx
jl 0x50e5e0
mov edx, dword [ebx + 0x2c]
mov eax, dword [esp + 0x34]
mov dword [esp + 0xc4], edx
cmp byte [eax + 0x49], 0
jne 0x50f9a2
mov edx, dword [esp + 0x14]
test edx, edx
je 0x50f482
mov eax, dword [ebx + 0x28]
push 0
push edx
mov edx, dword [esp + 0xd8]
mov dword [esp + 0xbc], eax
inc eax
push ebx
mov dword [ebx + 0x28], eax
call fcn.004ef980
mov ecx, dword [esp + 0xc8]
mov edx, dword [esp + 0xc0]
push 0
push ecx
push edx
mov esi, eax
push 0x72
push ebp
mov dword [esp + 0x80], esi
call fcn.004c5720
mov ecx, dword [ebp]
add esp, 0x20
cmp byte [ecx + 0x49], 0
mov dword [esp + 0x80], eax
je 0x50e6a9
push 0xfffffffffffffff7
mov eax, esi
call fcn.004bff60
add esp, 4
jmp 0x50e6e0
test eax, eax
jge 0x50e6b4
mov eax, dword [ebp + 0x88]
dec eax
mov ecx, dword [ebp + 0x58]
lea eax, [eax + eax*4]
cmp byte [ecx + eax*4 + 1], 0
lea ecx, [ecx + eax*4]
je 0x50e6d5
push esi
push ebp
mov eax, 0xfffffff7
call fcn.004c00f0
add esp, 8
jmp 0x50e6e0
test esi, esi
je 0x50e6e0
mov dword [ecx + 0x10], esi
mov byte [ecx + 1], 0xf7
mov eax, dword [ebx + 0x2c]
inc eax
mov dword [esp + 0x58], eax
inc eax
mov dword [esp + 0x54], eax
inc eax
mov dword [ebx + 0x2c], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 0x3c]
lea edx, [eax + 1]
mov dword [ecx + 0x3c], edx
lea edx, [eax - 1]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], eax
test eax, edx
jne 0x50e734
lea ecx, [eax*8 + 4]
mov eax, dword [esp + 0x10]
mov edi, dword [eax + 0x40]
mov esi, dword [eax]
push 0
push ecx
call fcn.004c39b0
mov edx, dword [esp + 0x18]
mov dword [edx + 0x40], eax
mov eax, dword [esp + 0x20]
add esp, 8
mov ecx, edx
mov ecx, dword [ecx + 0x40]
test ecx, ecx
je 0x50e742
mov dword [ecx + eax*4], 0xffffffff
inc dword [ebx + 0x2c]
or ecx, 0xffffffff
sub ecx, eax
mov eax, dword [ebx + 0x2c]
mov dword [esp + 0x4c], ecx
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x30], eax
mov eax, dword [ecx + 0x3c]
lea edx, [eax + 1]
mov dword [ecx + 0x3c], edx
lea edx, [eax - 1]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], eax
test eax, edx
jne 0x50e798
lea ecx, [eax*8 + 4]
mov eax, dword [esp + 0x10]
mov edi, dword [eax + 0x40]
mov esi, dword [eax]
push 0
push ecx
call fcn.004c39b0
mov edx, dword [esp + 0x18]
mov dword [edx + 0x40], eax
mov eax, dword [esp + 0x20]
add esp, 8
mov ecx, edx
mov ecx, dword [ecx + 0x40]
test ecx, ecx
je 0x50e7a6
mov dword [ecx + eax*4], 0xffffffff
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
or esi, 0xffffffff
sub esi, eax
mov eax, dword [ebx + 0x2c]
lea edi, [eax + 1]
add eax, edx
lea edx, [eax + 1]
push 0
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x58]
push edx
mov dword [ebx + 0x2c], eax
mov ecx, dword [ecx]
push 0
add ecx, eax
push 0x46
push ebp
mov dword [esp + 0x2c], esi
mov dword [esp + 0x24], edi
mov dword [ebx + 0x2c], ecx
call fcn.004c5720
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
lea edx, [ecx + edi - 1]
push edx
push edi
push 0
push 0x49
push ebp
call fcn.004c5720
mov eax, dword [esp + 0x58]
push 0
push esi
push eax
push 0xc
push ebp
call fcn.004c5720
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x50]
neg ecx
sbb ecx, ecx
and ecx, 0x200
or cx, 0x40
push 0
movzx edx, cx
mov ecx, dword [esp + 0x64]
push edx
mov edx, dword [esp + 0x60]
push 0
push eax
push ecx
push edx
push ebx
call fcn.0050a1e0
add esp, 0x58
mov dword [esp + 0x24], eax
test eax, eax
je 0x50f9a2
movsx ecx, byte [eax + 0x2f]
mov esi, dword [esp + 0x14]
cmp ecx, dword [esi]
jne 0x50e864
mov edi, dword [esp + 0x5c]
mov dword [esp + 0x40], 0
jmp 0x50eba4
cmp byte [esp + 0x68], 0
je 0x50e87d
mov edx, dword [esp + 0x124]
test byte [edx + 8], 1
mov eax, str.DISTINCT
je 0x50e882
mov eax, str.GROUP_BY
push eax
push str.USE_TEMP_B_TREE_FOR__s
push 0
push ebx
call fcn.004d4fe0
mov edi, dword [esi]
mov edx, dword [esp + 0xe0]
add esp, 0x10
mov dword [esp + 0x40], 1
mov eax, edi
mov dword [esp + 0x3c], edi
mov ecx, edi
test edx, edx
jle 0x50e8d2
mov esi, dword [esp + 0xcc]
add esi, 0xc
lea ebx, [ebx]
cmp dword [esi], ecx
jl 0x50e8c6
inc eax
inc ecx
add esi, 0x18
sub edx, 1
jne 0x50e8c0
mov dword [esp + 0x3c], eax
cmp eax, 1
jne 0x50e8f7
mov al, byte [ebx + 0x13]
test al, al
jne 0x50e8e6
inc dword [ebx + 0x2c]
mov edx, dword [ebx + 0x2c]
jmp 0x50e919
dec al
mov byte [ebx + 0x13], al
movzx eax, al
mov edx, dword [ebx + eax*4 + 0x90]
jmp 0x50e919
mov ecx, dword [ebx + 0x1c]
cmp eax, ecx
mov edx, dword [ebx + 0x20]
jg 0x50e90e
lea esi, [eax + edx]
sub ecx, eax
mov dword [ebx + 0x20], esi
mov dword [ebx + 0x1c], ecx
jmp 0x50e919
mov ecx, dword [ebx + 0x2c]
add eax, ecx
lea edx, [ecx + 1]
mov dword [ebx + 0x2c], eax
mov eax, dword [esp + 0x14]
push 0
push 0
push edx
push ebx
mov dword [esp + 0x2c], edx
call fcn.004eea60
add esp, 0x10
cmp dword [esp + 0xd0], 0
mov dword [esp + 0x20], 0
jle 0x50e98f
mov ecx, dword [esp + 0xcc]
xor esi, esi
lea ebx, [ebx]
cmp dword [ecx + esi + 0xc], edi
jl 0x50e97a
mov edx, dword [esp + 0x1c]
mov eax, dword [ecx + esi + 4]
add edx, edi
push edx
push eax
mov eax, dword [ecx + esi + 8]
mov ecx, dword [ecx + esi]
push ebp
call fcn.004ee780
mov ecx, dword [esp + 0xd8]
add esp, 0xc
inc edi
mov eax, dword [esp + 0x20]
inc eax
add esi, 0x18
cmp eax, dword [esp + 0xd0]
mov dword [esp + 0x20], eax
jl 0x50e950
mov al, byte [ebx + 0x13]
test al, al
jne 0x50e99e
inc dword [ebx + 0x2c]
mov edi, dword [ebx + 0x2c]
jmp 0x50e9ad
dec al
movzx ecx, al
mov byte [ebx + 0x13], al
mov edi, dword [ebx + ecx*4 + 0x90]
mov eax, dword [ebp + 0x88]
mov edx, dword [ebp + 0xc]
cmp dword [edx + 0x30], eax
jg 0x50e9d4
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x1c]
push edi
push eax
push ecx
push 0x66
mov esi, ebp
call fcn.004c56e0
add esp, 0x10
jmp 0x50ea0b
mov ecx, dword [ebp + 0x58]
lea edx, [eax + 1]
mov dword [ebp + 0x88], edx
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x1c]
xor edx, edx
mov word [eax + 2], dx
mov edx, dword [esp + 0x3c]
mov byte [eax], 0x66
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], 0
mov byte [eax + 1], 0
mov eax, dword [ebp + 0x88]
mov edx, dword [ebp + 0xc]
cmp dword [edx + 0x30], eax
mov ecx, dword [esp + 0xb4]
jg 0x50ea35
push 0
push edi
push ecx
push 0x84
mov esi, ebp
call fcn.004c56e0
add esp, 0x10
jmp 0x50ea61
lea edx, [eax + 1]
mov dword [ebp + 0x88], edx
mov edx, dword [ebp + 0x58]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
xor edx, edx
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax], 0x84
mov word [eax + 2], dx
mov dword [eax + 8], edi
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x3c]
test edi, edi
je 0x50ea81
mov al, byte [ebx + 0x13]
cmp al, 8
jae 0x50ea81
movzx eax, al
mov dword [ebx + eax*4 + 0x90], edi
inc byte [ebx + 0x13]
cmp esi, 1
jne 0x50eaa0
test ecx, ecx
je 0x50eaab
mov al, byte [ebx + 0x13]
cmp al, 8
jae 0x50eaab
movzx edx, al
mov dword [ebx + edx*4 + 0x90], ecx
inc byte [ebx + 0x13]
jmp 0x50eaab
cmp esi, dword [ebx + 0x1c]
jle 0x50eaab
mov dword [ebx + 0x1c], esi
mov dword [ebx + 0x20], ecx
mov eax, dword [esp + 0x24]
push eax
call fcn.004ca760
mov edi, dword [ebx + 0x28]
mov al, byte [ebx + 0x13]
add esp, 4
lea ecx, [edi + 1]
mov dword [esp + 0x5c], edi
mov dword [esp + 0xb8], edi
mov dword [ebx + 0x28], ecx
test al, al
jne 0x50eadf
inc dword [ebx + 0x2c]
mov ecx, dword [ebx + 0x2c]
mov dword [esp + 0x20], ecx
jmp 0x50eaf4
dec al
movzx edx, al
mov byte [ebx + 0x13], al
mov eax, dword [ebx + edx*4 + 0x90]
mov dword [esp + 0x20], eax
mov ecx, eax
mov eax, dword [ebp + 0x88]
mov edx, dword [ebp + 0xc]
cmp dword [edx + 0x30], eax
jg 0x50eb17
mov eax, dword [esp + 0x3c]
push eax
push ecx
push edi
push 0x74
mov esi, ebp
call fcn.004c56e0
add esp, 0x10
jmp 0x50eb41
lea edx, [eax + 1]
mov dword [ebp + 0x88], edx
mov edx, dword [ebp + 0x58]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
xor edx, edx
mov byte [eax], 0x74
mov word [eax + 2], dx
mov dword [eax + 4], edi
mov dword [eax + 8], ecx
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], edx
mov byte [eax + 1], dl
mov eax, dword [ebp + 0x88]
mov edx, dword [ebp + 0xc]
cmp dword [edx + 0x30], eax
mov ecx, dword [esp + 0xb4]
jg 0x50eb6c
mov eax, dword [esp + 0x44]
push 0
push eax
push ecx
push 0x22
mov esi, ebp
call fcn.004c56e0
add esp, 0x10
jmp 0x50eb9c
lea edx, [eax + 1]
mov dword [ebp + 0x88], edx
mov edx, dword [ebp + 0x58]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x44]
xor edx, edx
mov dword [eax + 8], ecx
xor ecx, ecx
mov byte [eax], 0x22
mov word [eax + 2], dx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov byte [esp + 0xb1], 1
cmp dword [esp + 0x2c], 0
je 0x50ec08
mov edx, dword [esp + 0x34]
test byte [edx + 0x44], 4
jne 0x50ec08
cmp dword [esp + 0x40], 0
jne 0x50ebc6
mov eax, dword [esp + 0x24]
cmp byte [eax + 0x30], 0
je 0x50ec08
mov ecx, dword [ebp]
cmp byte [ecx + 0x49], 0
mov dword [esp + 0x88], 0
jne 0x50ec08
mov eax, dword [esp + 0x9c]
lea edx, [eax + eax*4]
mov eax, dword [ebp + 0x58]
lea esi, [eax + edx*4]
movsx edx, byte [esi + 1]
mov eax, dword [esi + 0x10]
push edx
call fcn.004bff60
add esp, 4
mov byte [esi + 1], 0
mov dword [esi + 0x10], 0
mov byte [esi], 0xab
cmp dword [esp + 0x40], 0
mov eax, dword [ebp + 0x88]
mov dword [esp + 0x3c], eax
je 0x50ec6b
mov edx, dword [ebp + 0xc]
cmp dword [edx + 0x30], eax
mov ecx, dword [esp + 0xb4]
jg 0x50ec3d
mov eax, dword [esp + 0x20]
push edi
push eax
push ecx
push 0x7f
mov esi, ebp
call fcn.004c56e0
add esp, 0x10
jmp 0x50ec6b
lea edx, [eax + 1]
mov dword [ebp + 0x88], edx
mov edx, dword [ebp + 0x58]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
xor edx, edx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x20]
mov byte [eax], 0x7f
mov word [eax + 2], dx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edx
mov byte [eax + 1], dl
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x50]
xor edi, edi
cmp dword [ecx], edi
jle 0x50ed1f
add ecx, 4
mov dword [esp + 0x2c], ecx
cmp dword [esp + 0x40], 0
je 0x50ecf1
mov eax, dword [ebp + 0x88]
mov edx, dword [ebp + 0xc]
cmp dword [edx + 0x30], eax
jg 0x50ecb9
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x5c]
lea ecx, [edi + eax]
push ecx
push edi
push edx
push 0x5a
mov esi, ebp
call fcn.004c56e0
mov esi, dword [esp + 0x60]
add esp, 0x10
jmp 0x50ed0d
lea ecx, [eax + 1]
mov dword [ebp + 0x88], ecx
lea edx, [eax + eax*4]
mov eax, dword [ebp + 0x58]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x5c]
xor ecx, ecx
mov word [eax + 2], cx
lea ecx, [edi + esi]
mov byte [eax], 0x5a
mov dword [eax + 4], edx
mov dword [eax + 8], edi
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], 0
mov byte [eax + 1], 0
jmp 0x50ed0d
mov eax, dword [esp + 0x2c]
lea edx, [edi + esi]
mov byte [esp + 0xb0], 1
mov ecx, dword [eax]
push edx
push ecx
push ebx
call fcn.005178a0
add esp, 0xc
mov ecx, dword [esp + 0x14]
add dword [esp + 0x2c], 0x18
inc edi
cmp edi, dword [ecx]
jl 0x50ec84
mov eax, dword [esp + 0x60]
test eax, eax
je 0x50ed29
inc dword [eax]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0x88]
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x30], ecx
jg 0x50ed52
mov ecx, dword [esp + 0x50]
push edx
mov edx, dword [esp + 0x14]
push ecx
push edx
push 0x57
mov esi, ebp
call fcn.004c56e0
add esp, 0x10
jmp 0x50ed87
mov edi, dword [ebp + 0x58]
lea eax, [ecx + 1]
mov dword [ebp + 0x88], eax
lea eax, [ecx + ecx*4]
lea eax, [edi + eax*4]
xor edi, edi
mov word [eax + 2], di
mov edi, dword [esp + 0x10]
mov byte [eax], 0x57
mov dword [eax + 4], edi
mov dword [eax + 8], esi
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], 0
mov byte [eax + 1], 0
mov eax, ecx
mov ecx, dword [ebp]
cmp byte [ecx + 0x49], 0
je 0x50eda2
mov eax, dword [esp + 0x60]
push 0xfffffffffffffff7
call fcn.004bff60
add esp, 4
xor edi, edi
jmp 0x50eddf
xor edi, edi
cmp eax, edi
jge 0x50edaf
mov eax, dword [ebp + 0x88]
dec eax
mov edx, dword [ebp + 0x58]
lea ecx, [eax + eax*4]
cmp byte [edx + ecx*4 + 1], 0
mov eax, dword [esp + 0x60]
lea ecx, [edx + ecx*4]
je 0x50edd4
push eax
push ebp
mov eax, 0xfffffff7
call fcn.004c00f0
add esp, 8
jmp 0x50eddf
cmp eax, edi
je 0x50eddf
mov dword [ecx + 0x10], eax
mov byte [ecx + 1], 0xf7
mov eax, dword [ebp + 0x88]
mov edx, dword [ebp + 0xc]
mov ecx, eax
mov dword [esp + 0x2c], ecx
inc ecx
cmp dword [edx + 0x30], eax
jg 0x50ee05
push ecx
push edi
push ecx
push 0x10
mov esi, ebp
call fcn.004c56e0
add esp, 0x10
jmp 0x50ee2f
lea edx, [eax + 1]
mov dword [ebp + 0x88], edx
mov edx, dword [ebp + 0x58]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
xor edx, edx
mov byte [eax], 0x10
mov word [eax + 2], dx
mov dword [eax + 4], ecx
mov dword [eax + 8], edi
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], edi
mov byte [eax + 1], dl
mov eax, dword [esp + 0x14]
mov esi, dword [ebx + 8]
mov ecx, dword [eax]
mov eax, dword [esi + 0x88]
mov edx, dword [esi + 0xc]
cmp dword [edx + 0x30], eax
jg 0x50ee5d
mov eax, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x54]
push eax
push ecx
push 0x4d
call fcn.004c56e0
add esp, 0x10
jmp 0x50ee90
lea edx, [eax + 1]
mov dword [esi + 0x88], edx
mov edx, dword [esi + 0x58]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
xor edx, edx
mov word [eax + 2], dx
mov edx, dword [esp + 0x50]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x10]
mov byte [eax], 0x4d
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], edi
mov byte [eax + 1], 0
mov eax, dword [ebp + 0x88]
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x30], eax
jg 0x50eebc
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x54]
push edi
push edx
inc eax
push eax
push 0xc
mov esi, ebp
mov dword [esp + 0x24], eax
call fcn.004c56e0
add esp, 0x10
jmp 0x50eef4
lea ecx, [eax + 1]
mov dword [ebp + 0x88], ecx
lea edx, [eax + eax*4]
mov eax, dword [ebp + 0x58]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x4c]
xor ecx, ecx
mov word [eax + 2], cx
mov ecx, dword [esp + 0x54]
inc ecx
mov byte [eax], 0xc
mov dword [esp + 0x14], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov byte [eax + 1], 0
mov eax, dword [ebp + 0x88]
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x30], eax
jg 0x50ef1b
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x54]
push edi
push edx
push eax
push 0x2f
mov esi, ebp
call fcn.004c56e0
add esp, 0x10
jmp 0x50ef4e
lea ecx, [eax + 1]
mov dword [ebp + 0x88], ecx
lea edx, [eax + eax*4]
mov eax, dword [ebp + 0x58]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x54]
xor ecx, ecx
mov word [eax + 2], cx
mov ecx, dword [esp + 0x44]
mov byte [eax], 0x2f
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov byte [eax + 1], 0
mov eax, dword [ebp + 0x88]
mov edx, dword [ebp + 0xc]
cmp dword [edx + 0x30], eax
jg 0x50ef75
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x30]
push edi
push eax
push ecx
push 0xc
mov esi, ebp
call fcn.004c56e0
add esp, 0x10
jmp 0x50efa8
mov ecx, dword [ebp + 0x58]
lea edx, [eax + 1]
mov dword [ebp + 0x88], edx
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x30]
xor edx, edx
mov word [eax + 2], dx
mov edx, dword [esp + 0x18]
mov byte [eax], 0xc
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov byte [eax + 1], 0
mov eax, dword [esp + 0x2c]
cmp eax, edi
mov ecx, dword [ebp + 0x88]
jge 0x50efb9
lea eax, [ecx - 1]
mov edx, dword [ebp]
cmp byte [edx + 0x49], 0
je 0x50efc9
mov eax, 0x6413f8
jmp 0x50efd2
mov edx, dword [ebp + 0x58]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov esi, dword [esp + 0x58]
mov dword [eax + 8], ecx
lea eax, [esp + 0xb0]
push eax
push esi
push ebx
call fcn.004f1360
mov eax, dword [ebp + 0x88]
mov ecx, dword [ebp + 0xc]
add esp, 0xc
cmp dword [ecx + 0x30], eax
jg 0x50f00d
push edi
mov edx, esi
push edx
push 1
push 0x46
mov esi, ebp
call fcn.004c56e0
add esp, 0x10
jmp 0x50f03b
lea ecx, [eax + 1]
mov dword [ebp + 0x88], ecx
lea edx, [eax + eax*4]
mov eax, dword [ebp + 0x58]
lea eax, [eax + edx*4]
xor ecx, ecx
mov byte [eax], 0x46
mov word [eax + 2], cx
mov dword [eax + 4], 1
mov dword [eax + 8], esi
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov byte [eax + 1], cl
cmp dword [esp + 0x40], edi
je 0x50f09b
mov eax, dword [ebp + 0x88]
mov edx, dword [ebp + 0xc]
cmp dword [edx + 0x30], eax
mov ecx, dword [esp + 0xb4]
jg 0x50f06b
mov eax, dword [esp + 0x3c]
push edi
push eax
push ecx
push 3
mov esi, ebp
call fcn.004c56e0
add esp, 0x10
jmp 0x50f0db
lea edx, [eax + 1]
mov dword [ebp + 0x88], edx
mov edx, dword [ebp + 0x58]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
xor edx, edx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x3c]
mov byte [eax], 3
mov word [eax + 2], dx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov byte [eax + 1], dl
jmp 0x50f0db
mov edx, dword [esp + 0x24]
push edx
call fcn.004ca760
mov ecx, dword [ebp]
add esp, 4
cmp byte [ecx + 0x49], 0
jne 0x50f0db
mov eax, dword [esp + 0x80]
mov edx, dword [ebp + 0x58]
lea eax, [eax + eax*4]
lea esi, [edx + eax*4]
movsx eax, byte [esi + 1]
push eax
mov eax, dword [esi + 0x10]
call fcn.004bff60
add esp, 4
mov byte [esi + 1], 0
mov dword [esi + 0x10], edi
mov byte [esi], 0xab
mov eax, dword [ebp + 0x88]
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x30], eax
jg 0x50f102
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x14]
push edi
push edx
push eax
push 0xc
mov esi, ebp
call fcn.004c56e0
add esp, 0x10
jmp 0x50f135
lea ecx, [eax + 1]
mov dword [ebp + 0x88], ecx
lea edx, [eax + eax*4]
mov eax, dword [ebp + 0x58]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x14]
xor ecx, ecx
mov word [eax + 2], cx
mov ecx, dword [esp + 0x4c]
mov byte [eax], 0xc
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov byte [eax + 1], 0
mov eax, dword [ebp + 0x88]
mov edx, dword [ebp + 0xc]
cmp dword [edx + 0x30], eax
jg 0x50f158
mov eax, dword [esp + 0x44]
push edi
push eax
push edi
push 0xb
mov esi, ebp
call fcn.004c56e0
add esp, 0x10
jmp 0x50f186
lea ecx, [eax + 1]
mov dword [ebp + 0x88], ecx
lea edx, [eax + eax*4]
mov eax, dword [ebp + 0x58]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x44]
xor ecx, ecx
mov byte [eax], 0xb
mov word [eax + 2], cx
mov dword [eax + 4], edi
mov dword [eax + 8], edx
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov byte [eax + 1], cl
mov eax, dword [ebp + 0x88]
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x30], eax
mov dword [esp + 0x80], eax
jg 0x50f1b1
mov edx, dword [esp + 0x54]
push edi
push edx
push 1
push 0x46
mov esi, ebp
call fcn.004c56e0
add esp, 0x10
jmp 0x50f1e3
lea ecx, [eax + 1]
mov dword [ebp + 0x88], ecx
lea edx, [eax + eax*4]
mov eax, dword [ebp + 0x58]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x54]
xor ecx, ecx
mov byte [eax], 0x46
mov word [eax + 2], cx
mov dword [eax + 4], 1
mov dword [eax + 8], edx
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov byte [eax + 1], cl
mov eax, dword [ebp + 0x88]
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x30], eax
jg 0x50f206
mov edx, dword [esp + 0x14]
push edi
push edi
push edx
push 0x42
mov esi, ebp
call fcn.004c56e0
add esp, 0x10
jmp 0x50f234
lea ecx, [eax + 1]
mov dword [ebp + 0x88], ecx
lea edx, [eax + eax*4]
mov eax, dword [ebp + 0x58]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x14]
xor ecx, ecx
mov byte [eax], 0x42
mov word [eax + 2], cx
mov dword [eax + 4], edx
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov byte [eax + 1], cl
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x40]
cmp eax, edi
je 0x50f253
mov ecx, dword [esp + 0x4c]
lea edx, [ecx*4 + 4]
mov ecx, dword [ebp + 0x88]
sub eax, edx
mov dword [eax], ecx
mov eax, dword [ebp + 0x88]
mov edx, dword [ebp + 0xc]
mov ecx, eax
mov dword [esp + 0x4c], ecx
add ecx, 2
cmp dword [edx + 0x30], eax
jg 0x50f27f
mov eax, dword [esp + 0x58]
push edi
push ecx
push eax
push 0x2f
mov esi, ebp
call fcn.004c56e0
add esp, 0x10
jmp 0x50f2ae
lea edx, [eax + 1]
mov dword [ebp + 0x88], edx
mov edx, dword [ebp + 0x58]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
xor edx, edx
mov word [eax + 2], dx
mov edx, dword [esp + 0x58]
mov byte [eax], 0x2f
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov byte [eax + 1], 0
mov eax, dword [ebp + 0x88]
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x30], eax
jg 0x50f2d1
mov edx, dword [esp + 0x14]
push edi
push edi
push edx
push 0x42
mov esi, ebp
call fcn.004c56e0
add esp, 0x10
jmp 0x50f2ff
lea ecx, [eax + 1]
mov dword [ebp + 0x88], ecx
lea edx, [eax + eax*4]
mov eax, dword [ebp + 0x58]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x14]
xor ecx, ecx
mov byte [eax], 0x42
mov word [eax + 2], cx
mov dword [eax + 4], edx
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov byte [eax + 1], cl
lea eax, [esp + 0xb0]
push eax
mov ecx, ebx
call fcn.004c95d0
mov esi, dword [esp + 0x50]
mov ecx, dword [esp + 0x2c]
push 0x10
inc esi
push esi
push ecx
push ebx
call fcn.005142b0
mov edx, dword [esp + 0x94]
mov eax, dword [esp + 0x13c]
push edx
push esi
push eax
mov eax, dword [esp + 0x144]
lea ecx, [esp + 0x88]
push ecx
lea edx, [esp + 0xac]
push edx
push 0xffffffffffffffff
push eax
mov edx, ebx
call fcn.004fb5e0
mov eax, dword [ebp + 0x88]
mov ecx, dword [ebp + 0xc]
add esp, 0x30
cmp dword [ecx + 0x30], eax
jg 0x50f379
mov edx, dword [esp + 0x14]
push edi
push edi
push edx
push 0x42
mov esi, ebp
call fcn.004c56e0
add esp, 0x10
jmp 0x50f3a7
lea ecx, [eax + 1]
mov dword [ebp + 0x88], ecx
lea edx, [eax + eax*4]
mov eax, dword [ebp + 0x58]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x14]
xor ecx, ecx
mov byte [eax], 0x42
mov word [eax + 2], cx
mov dword [eax + 4], edx
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov byte [eax + 1], cl
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x40]
cmp eax, edi
je 0x50f3c6
mov ecx, dword [esp + 0x18]
lea edx, [ecx*4 + 4]
mov ecx, dword [ebp + 0x88]
sub eax, edx
mov dword [eax], ecx
lea edx, [esp + 0xb0]
push edx
mov eax, ebx
call fcn.004f1260
mov eax, dword [ebp + 0x88]
mov ecx, dword [ebp + 0xc]
add esp, 4
cmp dword [ecx + 0x30], eax
jg 0x50f3fb
mov edx, dword [esp + 0x58]
push edi
push edx
push edi
push 0x46
mov esi, ebp
call fcn.004c56e0
add esp, 0x10
jmp 0x50f429
lea ecx, [eax + 1]
mov dword [ebp + 0x88], ecx
lea edx, [eax + eax*4]
mov eax, dword [ebp + 0x58]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x58]
xor ecx, ecx
mov byte [eax], 0x46
mov word [eax + 2], cx
mov dword [eax + 4], edi
mov dword [eax + 8], edx
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov byte [eax + 1], cl
mov eax, dword [ebp + 0x88]
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x30], eax
jg 0x50f44f
mov edx, dword [esp + 0x30]
push edi
push edi
push edx
push 0x42
mov esi, ebp
call fcn.004c56e0
add esp, 0x10
jmp 0x50f8ec
lea ecx, [eax + 1]
mov dword [ebp + 0x88], ecx
lea edx, [eax + eax*4]
mov eax, dword [ebp + 0x58]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x30]
xor ecx, ecx
mov byte [eax], 0x42
mov word [eax + 2], cx
mov dword [eax + 4], edx
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov byte [eax + 1], cl
jmp 0x50f8ec
mov eax, dword [esp + 0x124]
cmp dword [eax + 0x24], 0
mov esi, dword [esp + 0xd8]
jne 0x50f7d4
mov edx, dword [eax]
cmp dword [edx], 1
jne 0x50f7d4
mov eax, dword [eax + 0x20]
cmp dword [eax], 1
jne 0x50f7d4
cmp dword [eax + 0x1c], 0
jne 0x50f7d4
mov eax, dword [eax + 0x18]
cmp dword [eax + 0x38], 0
mov edx, dword [edx + 4]
mov dword [esp + 0x10], eax
jne 0x50f7d4
cmp byte [edx], 0x9f
jne 0x50f7d4
test ecx, ecx
je 0x50f7d4
mov eax, dword [esi + 4]
test dword [eax + 4], 0x100
je 0x50f7d4
test byte [edx + 4], 0x10
jne 0x50f7d4
mov edx, dword [esp + 0x10]
mov ecx, dword [edx + 0x48]
xor esi, esi
mov edi, 0xfff0bdc0
cmp ecx, esi
je 0x50f528
mov eax, dword [ebx]
mov eax, dword [eax + 0x10]
xor edi, edi
cmp dword [eax + 0xc], ecx
je 0x50f528
mov eax, dword [ebx]
mov eax, dword [eax + 0x10]
add eax, 0xc
add eax, 0x10
inc edi
cmp dword [eax], ecx
jne 0x50f520
mov eax, dword [ebx + 0x28]
mov dword [esp + 0x30], eax
inc eax
mov dword [ebx + 0x28], eax
mov eax, dword [ebx + 0x74]
mov ecx, dword [edx + 0x1c]
mov dword [esp + 0x18], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x2c], ecx
cmp eax, esi
jne 0x50f54b
mov eax, ebx
mov edx, dword [eax + 0x54]
mov esi, 1
mov ecx, edi
shl esi, cl
test esi, edx
jne 0x50f56a
or edx, esi
mov dword [eax + 0x54], edx
cmp edi, 1
jne 0x50f56a
call fcn.00502560
mov esi, dword [esp + 0x10]
mov edx, dword [esi]
mov eax, dword [esi + 0x1c]
push edx
push 0
push eax
push edi
mov eax, ebx
call fcn.004c7650
add esp, 0x10
test byte [esi + 0x24], 0x20
je 0x50f5aa
mov eax, dword [esi + 8]
test eax, eax
je 0x50f5a2
nop
mov ecx, dword [eax + 0x38]
and cl, 3
cmp cl, 2
je 0x50f5a2
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x50f590
mov edx, eax
mov dword [esp + 0x24], edx
jmp 0x50f5ae
mov edx, dword [esp + 0x24]
mov eax, dword [esi + 8]
test eax, eax
je 0x50f5e2
test byte [eax + 0x38], 4
jne 0x50f5d7
movzx ecx, word [eax + 0x30]
cmp cx, word [esi + 0x2e]
jge 0x50f5d7
cmp dword [eax + 0x24], 0
jne 0x50f5d7
test edx, edx
je 0x50f5d5
cmp cx, word [edx + 0x30]
jge 0x50f5d7
mov edx, eax
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x50f5b5
mov dword [esp + 0x24], edx
test edx, edx
je 0x50f5ff
mov eax, dword [edx + 0x2c]
push edx
push ebx
mov dword [esp + 0x34], eax
call fcn.004ef620
mov edx, eax
add esp, 8
mov dword [esp + 0x18], edx
jmp 0x50f603
mov edx, dword [esp + 0x18]
mov ecx, dword [ebp + 0x88]
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x30], ecx
jg 0x50f630
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
push edi
push ecx
push edx
push 0x6d
mov esi, ebp
call fcn.004c56e0
mov edx, dword [esp + 0x28]
add esp, 0x10
xor esi, esi
jmp 0x50f667
mov esi, dword [ebp + 0x58]
lea eax, [ecx + 1]
mov dword [ebp + 0x88], eax
lea eax, [ecx + ecx*4]
lea eax, [esi + eax*4]
xor esi, esi
mov word [eax + 2], si
mov esi, dword [esp + 0x30]
mov dword [eax + 4], esi
mov esi, dword [esp + 0x2c]
mov dword [eax + 8], esi
xor esi, esi
mov byte [eax], 0x6d
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], esi
mov byte [eax + 1], 0
mov eax, ecx
mov ecx, dword [ebp]
cmp byte [ecx + 0x49], 0
jne 0x50f684
mov ecx, dword [ebp + 0x58]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov byte [eax + 1], 0xfd
mov dword [eax + 0x10], 1
cmp edx, esi
je 0x50f6ce
mov ecx, dword [ebp]
cmp byte [ecx + 0x49], 0
je 0x50f69f
push 0xfffffffffffffff7
mov eax, edx
call fcn.004bff60
add esp, 4
jmp 0x50f6ce
mov eax, dword [ebp + 0x88]
mov ecx, dword [ebp + 0x58]
dec eax
lea eax, [eax + eax*4]
cmp byte [ecx + eax*4 + 1], 0
lea ecx, [ecx + eax*4]
je 0x50f6c7
push edx
push ebp
mov eax, 0xfffffff7
call fcn.004c00f0
add esp, 8
jmp 0x50f6ce
mov dword [ecx + 0x10], edx
mov byte [ecx + 1], 0xf7
mov edx, dword [esp + 0xd8]
mov ecx, dword [edx + 8]
mov eax, dword [ebp + 0x88]
mov edx, dword [ebp + 0xc]
cmp dword [edx + 0x30], eax
jg 0x50f6fc
mov edi, dword [esp + 0x30]
push 0
push ecx
push edi
push 0x68
mov esi, ebp
call fcn.004c56e0
add esp, 0x10
jmp 0x50f72d
lea edx, [eax + 1]
mov dword [ebp + 0x88], edx
mov edx, dword [ebp + 0x58]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
xor edx, edx
mov word [eax + 2], dx
mov edx, dword [esp + 0x30]
mov byte [eax], 0x68
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], esi
mov byte [eax + 1], 0
mov edi, edx
mov eax, dword [ebp + 0x88]
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x30], eax
jg 0x50f750
push 0
push 0
push edi
push 0x75
mov esi, ebp
call fcn.004c56e0
add esp, 0x10
xor esi, esi
jmp 0x50f77d
mov ecx, dword [ebp + 0x58]
lea edx, [eax + 1]
mov dword [ebp + 0x88], edx
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
xor edx, edx
xor esi, esi
mov byte [eax], 0x75
mov word [eax + 2], dx
mov dword [eax + 4], edi
mov dword [eax + 8], esi
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], esi
mov byte [eax + 1], 0
cmp byte [ebx + 0xc3], 2
jne 0x50f8ab
mov eax, dword [esp + 0x24]
cmp eax, esi
je 0x50f7b0
mov ecx, dword [esp + 0x10]
test byte [ecx + 0x24], 0x20
je 0x50f7a7
mov edx, dword [eax + 0x38]
and dl, 3
cmp dl, 2
je 0x50f7b0
mov ecx, dword [eax]
mov eax, str._USING_COVERING_INDEX
jmp 0x50f7b7
mov ecx, 0x5d3001
mov eax, ecx
push ecx
push eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
push ecx
push str.SCAN_TABLE__s_s_s
push esi
push ebx
call fcn.004d4fe0
add esp, 0x18
jmp 0x50f8ab
xor edi, edi
cmp dword [esp + 0xd4], edi
je 0x50f812
xor eax, eax
test ecx, ecx
jle 0x50f7f8
lea edx, [esi + 4]
mov esi, dword [edx]
test byte [esi + 4], 0x20
jne 0x50f7f8
inc eax
add edx, 0x10
cmp eax, ecx
jl 0x50f7e8
cmp eax, ecx
jne 0x50f812
inc dword [ebx + 0x2c]
mov edi, dword [ebx + 0x2c]
push 0
push edi
push 0
push 0x46
push ebp
call fcn.004c5720
add esp, 0x14
lea edx, [esp + 0xb0]
push edx
mov eax, ebx
call fcn.004f1260
movzx ax, byte [esp + 0x3f]
mov edx, dword [esp + 0x88]
push 0
movzx ecx, ax
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x28]
push 0
push edx
push eax
push ecx
push ebx
call fcn.0050a1e0
mov esi, eax
add esp, 0x20
test esi, esi
je 0x50f9a2
lea edx, [esp + 0xb0]
push edx
push edi
push ebx
call fcn.004f1360
add esp, 0xc
test edi, edi
je 0x50f87a
push 0
push edi
push 1
push 0x46
push ebp
call fcn.004c5720
add esp, 0x14
cmp byte [esi + 0x2f], 0
jle 0x50f893
mov eax, dword [esi + 0x24]
push 0
push eax
push 0
push 0xb
push ebp
call fcn.004c5720
add esp, 0x14
push esi
call fcn.004ca760
lea ecx, [esp + 0xb4]
push ecx
mov ecx, ebx
call fcn.004c95d0
add esp, 8
mov esi, dword [esp + 0x44]
mov edx, dword [esp + 0x28]
push 0x10
push esi
push edx
push ebx
mov dword [esp + 0x98], 0
call fcn.005142b0
mov eax, dword [esp + 0x138]
mov ecx, dword [esp + 0x134]
push esi
push esi
push eax
push 0
push 0
push 0xffffffffffffffff
push ecx
mov edx, ebx
call fcn.004fb5e0
add esp, 0x2c
xor edi, edi
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x40]
cmp eax, edi
je 0x50f90b
mov edx, dword [esp + 0x44]
lea ecx, [edx*4 + 4]
mov edx, dword [ebp + 0x88]
sub eax, ecx
mov dword [eax], edx
cmp byte [esp + 0x69], 3
jne 0x50f926
push str.DISTINCT
push str.USE_TEMP_B_TREE_FOR__s
push edi
push ebx
call fcn.004d4fe0
add esp, 0x10
cmp dword [esp + 0x88], edi
je 0x50f977
cmp dword [esp + 0x8c], edi
mov eax, str.RIGHT_PART_OF_ORDER_BY
jg 0x50f942
mov eax, str.ORDER_BY
push eax
push str.USE_TEMP_B_TREE_FOR__s
push edi
push ebx
call fcn.004d4fe0
mov eax, dword [esp + 0x138]
mov ecx, dword [esp + 0x58]
mov edx, dword [ecx]
mov ecx, dword [esp + 0x134]
push eax
push edx
lea eax, [esp + 0xa0]
push eax
push ecx
push ebx
call fcn.004c8a50
add esp, 0x24
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x40]
cmp eax, edi
je 0x50f996
mov edx, dword [esp + 0x64]
lea ecx, [edx*4 + 4]
mov edx, dword [ebp + 0x88]
sub eax, ecx
mov dword [eax], edx
xor eax, eax
cmp dword [ebx + 0x24], edi
setg al
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x84]
test eax, eax
je 0x50f9bb
mov ecx, dword [esp + 0x34]
push eax
push ecx
call fcn.004c7020
add esp, 8
mov eax, dword [esp + 0xcc]
mov esi, dword [esp + 0x34]
mov edi, eax
test eax, eax
je 0x50fa57
cmp dword [esi + 0x1d8], 0
je 0x50f9e2
mov ecx, esi
call fcn.004acbd0
jmp 0x50fa57
cmp eax, dword [esi + 0x128]
jb 0x50fa02
cmp eax, dword [esi + 0x12c]
jae 0x50fa02
mov edx, dword [esi + 0x124]
mov dword [eax], edx
mov dword [esi + 0x124], eax
jmp 0x50fa57
cmp dword [0x633cb0], 0
je 0x50fa4d
mov eax, dword [0x641778]
test eax, eax
je 0x50fa1e
push eax
call dword [0x633d0c]
add esp, 4
push edi
call dword [0x633ce8]
sub dword [0x641718], eax
dec dword [0x64173c]
push edi
call dword [0x633ce0]
mov eax, dword [0x641778]
add esp, 8
test eax, eax
je 0x50fa57
push eax
call dword [0x633d14]
jmp 0x50fa54
push eax
call dword [0x633ce0]
add esp, 4
mov eax, dword [esp + 0xd8]
mov edi, eax
test eax, eax
je 0x50faef
cmp dword [esi + 0x1d8], 0
je 0x50fa7a
mov ecx, esi
call fcn.004acbd0
jmp 0x50faef
cmp eax, dword [esi + 0x128]
jb 0x50fa9a
cmp eax, dword [esi + 0x12c]
jae 0x50fa9a
mov ecx, dword [esi + 0x124]
mov dword [eax], ecx
mov dword [esi + 0x124], eax
jmp 0x50faef
cmp dword [0x633cb0], 0
je 0x50fae5
mov eax, dword [0x641778]
test eax, eax
je 0x50fab6
push eax
call dword [0x633d0c]
add esp, 4
push edi
call dword [0x633ce8]
sub dword [0x641718], eax
dec dword [0x64173c]
push edi
call dword [0x633ce0]
mov eax, dword [0x641778]
add esp, 8
test eax, eax
je 0x50faef
push eax
call dword [0x633d14]
jmp 0x50faec
push eax
call dword [0x633ce0]
add esp, 4
mov eax, dword [ebx + 0xd0]
test eax, eax
jne 0x50fb0e
pop edi
pop esi
mov dword [ebx + 0xd0], eax
mov eax, dword [esp + 0x38]
pop ebp
pop ebx
add esp, 0x10c
ret
mov ecx, dword [ebx + 8]
test eax, eax
jge 0x50fb1c
mov eax, dword [ecx + 0x88]
dec eax
mov edx, dword [ecx]
cmp byte [edx + 0x49], 0
je 0x50fb41
pop edi
mov eax, 0x6413f8
mov eax, dword [eax + 8]
pop esi
mov dword [ebx + 0xd0], eax
mov eax, dword [esp + 0x38]
pop ebp
pop ebx
add esp, 0x10c
ret
mov ecx, dword [ecx + 0x58]
lea eax, [eax + eax*4]
pop edi
lea eax, [ecx + eax*4]
mov eax, dword [eax + 8]
pop esi
mov dword [ebx + 0xd0], eax
mov eax, dword [esp + 0x38]
pop ebp
pop ebx
add esp, 0x10c
ret
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x10c
ret