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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x84
mov eax, ecx
mov dword [esp + 0x34], 0
push ebx
push esi
push edi
mov ecx, dword [eax]
mov edi, edx
mov ebx, dword [eax + 8]
mov dword [esp + 0x38], ecx
mov ecx, dword [eax + 0x38]
dec ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], ecx
dec ecx
mov dword [eax + 0x38], ecx
mov esi, dword [edi + 0x30]
mov al, byte [edi]
mov dword [esp + 0x34], ecx
mov ecx, dword [edi + 0x34]
mov edx, dword [esi]
mov dword [esp + 0x14], edi
mov dword [esp + 0x30], 0
mov dword [esp + 0x48], ebx
mov byte [esp + 0x13], al
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x50], esi
mov dword [esp + 0x28], edx
cmp al, 0x85
je 0x4e32f1
mov eax, dword [esp + 0x38]
mov edi, 1
cmp byte [eax + 0x51], 0
jne 0x4e32ed
lea eax, [edx + edx*4]
shl eax, 2
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x14]
nop dword [eax + eax]
mov eax, dword [eax + 0x1c]
cmp edi, dword [eax]
jg 0x4e32ed
xor ecx, ecx
test edx, edx
jle 0x4e324f
lea edx, [esi + 0x14]
mov esi, dword [esp + 0x28]
movzx eax, word [edx]
cmp eax, edi
je 0x4e3247
inc ecx
add edx, 0x14
cmp ecx, esi
jl 0x4e3238
mov esi, dword [esp + 0x50]
mov edx, dword [esp + 0x28]
cmp ecx, edx
jne 0x4e32da
mov ecx, dword [esp + 0x38]
push 0
push 0x35
call fcn.00486970
mov esi, eax
add esp, 8
test esi, esi
je 0x4e334f
push 0x34
push 0
push esi
call sub.VCRUNTIME140.dll_memset
mov edx, dword [esp + 0x5c]
add esp, 0xc
mov ecx, dword [esp + 0x18]
or eax, 0xffffffff
mov byte [esi], 0x98
mov word [esi + 0x22], ax
mov byte [esi + 0x34], 0
or dword [esi + 4], 0x400
push esi
mov dword [esi + 0x18], 1
mov dword [esi + 8], edi
call fcn.004bbe70
mov edx, dword [esp + 0x2c]
mov esi, eax
mov eax, dword [esp + 0x18]
add esp, 4
mov dword [esp + 0x50], esi
mov dword [eax + 0x30], esi
test esi, esi
je 0x4e32de
mov ecx, dword [esp + 0x4c]
inc edx
mov dword [esp + 0x28], edx
mov word [ecx + esi + 0x14], di
add ecx, 0x14
mov dword [esp + 0x4c], ecx
jmp 0x4e32de
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x38]
inc edi
cmp byte [ecx + 0x51], 0
je 0x4e3220
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x38]
lea eax, [edx*4 + 4]
push 0
push eax
call fcn.00486970
add esp, 8
mov dword [esp + 0x58], eax
test eax, eax
je 0x4e335b
mov edi, dword [esp + 0x28]
mov ecx, 1
mov dword [eax], edi
cmp edi, ecx
jl 0x4e3336
lea edx, [esi + 0x14]
mov ebx, eax
movzx eax, word [edx]
lea edx, [edx + 0x14]
dec eax
mov dword [ebx + ecx*4], eax
inc ecx
cmp ecx, edi
jle 0x4e3323
mov ebx, dword [esp + 0x48]
mov edi, dword [esp + 0x14]
mov edx, edi
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.004e1d90
add esp, 4
mov dword [esp + 0x5c], eax
jmp 0x4e3363
mov eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esp + 0x5c], 0
mov eax, dword [esp + 0x18]
mov edx, esi
mov dword [edi + 0x30], esi
push 0
mov ecx, dword [eax]
call fcn.004bb620
mov ecx, dword [esp + 0x30]
add esp, 4
cmp byte [esp + 0x13], 0x85
mov dword [ecx + 0x30], eax
jne 0x4e3393
mov dword [esp + 0x50], 0
jmp 0x4e348e
mov eax, dword [edi + 0x1c]
mov ecx, dword [esp + 0x18]
mov esi, dword [eax]
mov eax, dword [ecx + 0x2c]
mov dword [esp + 0x4c], esi
lea edx, [eax + 1]
inc eax
add eax, esi
mov dword [esp + 0x50], edx
mov dword [ecx + 0x2c], eax
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x4e33ce
push 0
push edx
push 0
mov edx, 0x45
mov ecx, ebx
call fcn.004a5870
add esp, 0xc
jmp 0x4e3401
mov edi, 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], 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
mov ecx, dword [esp + 0x38]
mov edx, esi
push 1
call fcn.004e07a0
add esp, 4
mov dword [esp + 0x30], eax
test eax, eax
je 0x4e348e
xor esi, esi
cmp dword [esp + 0x4c], esi
jle 0x4e348e
mov ebx, dword [esp + 0x14]
lea ecx, [eax + 0x14]
xor edi, edi
mov dword [esp + 0x44], ecx
nop
mov edx, dword [ebx + 0x34]
test edx, edx
je 0x4e344e
mov ecx, dword [esp + 0x18]
push esi
call fcn.004e1d40
mov ecx, dword [esp + 0x48]
add esp, 4
test eax, eax
jne 0x4e3468
jmp 0x4e3450
xor eax, eax
mov edx, dword [ebx + 0x1c]
cmp esi, dword [edx]
jge 0x4e3468
mov edx, dword [edx + edi + 4]
mov ecx, dword [esp + 0x18]
call fcn.004ba010
mov ecx, dword [esp + 0x44]
mov dword [ecx], eax
add edi, 0x14
mov eax, dword [esp + 0x30]
add ecx, 4
mov dword [esp + 0x44], ecx
mov eax, dword [eax + 0x10]
mov byte [esi + eax], 0
inc esi
cmp esi, dword [esp + 0x4c]
jl 0x4e3430
mov ebx, dword [esp + 0x48]
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
mov edx, edi
mov ecx, dword [esp + 0x18]
mov dword [edi + 0x34], 0
push str.ORDER
mov dword [eax + 0x38], 0
push dword [edi + 0x30]
call fcn.004b9420
mov eax, dword [esp + 0x34]
add esp, 8
cmp dword [eax + 0x34], 0
jne 0x4e34d6
mov ecx, dword [esp + 0x18]
mov edx, eax
push str.ORDER
push dword [eax + 0x30]
call fcn.004b9420
add esp, 8
push dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov edx, edi
call fcn.004e1c00
add esp, 4
cmp dword [edi + 8], 0
je 0x4e35b9
cmp byte [esp + 0x13], 0x85
jne 0x4e35b9
mov ecx, dword [esp + 0x18]
mov esi, dword [ecx + 0x2c]
inc esi
lea eax, [esi + 1]
mov dword [ecx + 0x2c], eax
mov edx, dword [edi + 0xc]
mov dword [esp + 0x44], eax
test edx, edx
je 0x4e3519
inc edx
jmp 0x4e351c
mov edx, dword [edi + 8]
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x4e3539
push 0
push esi
push edx
mov edx, 0x4d
mov ecx, ebx
call fcn.004a5870
add esp, 0xc
jmp 0x4e3568
mov edi, 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], 0x4d
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 0x4e3588
push 0
push dword [esp + 0x48]
mov edx, 0x4d
mov ecx, ebx
push esi
call fcn.004a5870
add esp, 0xc
jmp 0x4e35c3
mov edx, dword [esp + 0x44]
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], esi
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4e35c3
mov dword [esp + 0x44], 0
xor esi, esi
mov edx, dword [edi + 0x3c]
test edx, edx
je 0x4e35d3
mov ecx, dword [esp + 0x38]
call fcn.004bb0e0
mov ecx, dword [esp + 0x18]
mov dword [edi + 0x3c], 0
mov byte [esp + 0x78], 0xd
mov dword [esp + 0x88], 0
mov eax, dword [ecx + 0x2c]
inc eax
mov dword [esp + 0x80], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x84], 0
lea edx, [eax + 1]
mov byte [esp + 0x60], 0xd
mov dword [esp + 0x1c], edx
add edx, 2
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x64], eax
mov dword [ecx + 0x2c], edx
movzx eax, byte [edi]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x70], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
sub eax, 0x85
je 0x4e366f
sub eax, 1
je 0x4e3668
sub eax, 1
je 0x4e3661
mov eax, str.UNION
jmp 0x4e3674
mov eax, str.INTERSECT
jmp 0x4e3674
mov eax, str.EXCEPT
jmp 0x4e3674
mov eax, str.UNION_ALL
push eax
push str.MERGE___s_
push 1
push ecx
call fcn.004a5da0
mov eax, dword [ebx + 0x6c]
add esp, 0x10
mov dword [esp + 0x4c], eax
lea edx, [eax + 1]
cmp dword [ebx + 0x70], eax
jg 0x4e36b0
push edx
push 0
push dword [esp + 0x28]
mov edx, 0xd
mov ecx, ebx
call fcn.004a5870
add esp, 0xc
mov dword [esp + 0x4c], eax
jmp 0x4e36e0
mov edi, dword [esp + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0x68]
mov dword [ebx + 0x6c], edx
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x14]
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 + 0x2c]
push str.LEFT
push 1
mov dword [eax + 8], esi
mov esi, dword [esp + 0x20]
push esi
call fcn.004a5da0
mov edx, dword [esp + 0x38]
lea eax, [esp + 0x84]
add esp, 0xc
mov ecx, esi
push eax
call fcn.004e6720
mov ecx, dword [ebx + 0x6c]
add esp, 4
cmp dword [ebx + 0x70], ecx
jg 0x4e3732
push 0
push 0
push dword [esp + 0x28]
mov edx, 0x42
mov ecx, ebx
call fcn.004a5870
add esp, 0xc
jmp 0x4e3765
mov edx, dword [esp + 0x20]
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 eax, dword [ebx]
mov edx, dword [ebx + 0x6c]
cmp byte [eax + 0x51], 0
je 0x4e3788
mov eax, 0x5f50d8
jmp 0x4e379d
mov ecx, dword [esp + 0x4c]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0x68]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov eax, dword [ebx + 0x6c]
mov dword [esp + 0x54], eax
lea esi, [eax + 1]
cmp dword [ebx + 0x70], eax
jg 0x4e37cb
push esi
push 0
push dword [esp + 0x24]
mov edx, 0xd
mov ecx, ebx
call fcn.004a5870
add esp, 0xc
mov dword [esp + 0x54], eax
jmp 0x4e37f7
mov edx, dword [esp + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0x68]
mov dword [ebx + 0x6c], esi
mov dword [eax + ecx*4], 0xd
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x14]
mov edi, dword [edi + 8]
mov ecx, dword [esp + 0x44]
push str.RIGHT
mov esi, dword [eax + 0xc]
push 1
push dword [esp + 0x20]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], 0
call fcn.004a5da0
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x6c]
mov ecx, dword [esp + 0x24]
add esp, 0xc
push eax
call fcn.004e6720
mov eax, dword [esp + 0x18]
add esp, 4
mov dword [eax + 8], edi
mov edi, eax
mov dword [edi + 0xc], esi
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x4e3864
push 0
push 0
push dword [esp + 0x24]
mov edx, 0x42
mov ecx, ebx
call fcn.004a5870
add esp, 0xc
jmp 0x4e3897
mov edx, dword [esp + 0x1c]
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 edx, edi
push dword [esp + 0x24]
mov esi, dword [ebp + 8]
push dword [esp + 0x34]
mov ecx, dword [esp + 0x20]
push dword [esp + 0x58]
mov byte [eax + 0x13], 0
mov eax, dword [ebx + 0xc]
mov dword [eax + 0x1c], 0
mov eax, dword [esp + 0x28]
inc eax
push eax
lea eax, [esp + 0x88]
push esi
push eax
call fcn.004e2dc0
mov dword [esp + 0x5c], eax
add esp, 0x18
mov al, byte [esp + 0x13]
cmp al, 0x85
je 0x4e38e4
cmp al, 0x84
jne 0x4e390c
push dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x64]
push dword [esp + 0x34]
mov edx, edi
push dword [esp + 0x58]
push dword [esp + 0x48]
push esi
push eax
call fcn.004e2dc0
add esp, 0x18
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4e3923
add dword [eax], 0xffffffff
jne 0x4e3923
mov ecx, dword [eax + 0xc]
mov edx, eax
call fcn.00486680
mov al, byte [esp + 0x13]
cmp al, 0x86
je 0x4e3aea
cmp al, 0x87
je 0x4e3aea
mov esi, dword [ebx + 0x6c]
mov dword [esp + 0x30], esi
cmp dword [ebx + 0x70], esi
jg 0x4e3964
push 0
push dword [esp + 0x44]
mov edx, 0xc
mov ecx, ebx
push dword [esp + 0x44]
call fcn.004a5870
mov esi, eax
add esp, 0xc
mov dword [esp + 0x30], esi
jmp 0x4e3997
mov edx, dword [esp + 0x3c]
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 + 0x40]
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 + 0x4c], edx
cmp dword [ebx + 0x70], edx
jg 0x4e39c2
push 0
push dword [esp + 0x28]
mov edx, 0xe
mov ecx, ebx
push dword [esp + 0x24]
call fcn.004a5870
add esp, 0xc
mov dword [esp + 0x4c], eax
jmp 0x4e39f5
lea eax, [edx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebx + 0x68]
mov edx, dword [esp + 0x1c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x24]
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 0x4e3a13
push 0
push esi
push 0
mov edx, 0xb
mov ecx, ebx
call fcn.004a5870
add esp, 0xc
jmp 0x4e3a42
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 + 0x2c]
movzx esi, word [eax + 2]
movzx eax, word [edi + 2]
movsx ecx, ax
movsx edx, si
cmp ax, si
jl 0x4e3aa7
lea eax, [edx + 0x31]
cmp ecx, eax
jle 0x4e3a71
movzx eax, word [edi + 2]
mov word [edi + 2], ax
mov eax, dword [esp + 0x30]
jmp 0x4e3af8
lea eax, [edx + 0x1f]
cmp ecx, eax
jle 0x4e3a8a
movzx eax, word [edi + 2]
inc eax
movzx eax, ax
mov word [edi + 2], ax
mov eax, dword [esp + 0x30]
jmp 0x4e3af8
sub ecx, edx
movzx eax, byte [ecx + str._n_n_t_t_b_b_a_a_a]
movzx ecx, word [edi + 2]
add ax, cx
movzx eax, ax
mov word [edi + 2], ax
mov eax, dword [esp + 0x30]
jmp 0x4e3af8
lea eax, [ecx + 0x31]
cmp edx, eax
jle 0x4e3aba
mov eax, esi
mov word [edi + 2], ax
mov eax, dword [esp + 0x30]
jmp 0x4e3af8
lea eax, [ecx + 0x1f]
cmp edx, eax
jle 0x4e3ad1
lea eax, [esi + 1]
movzx eax, ax
mov word [edi + 2], ax
mov eax, dword [esp + 0x30]
jmp 0x4e3af8
sub edx, ecx
movzx eax, byte [edx + str._n_n_t_t_b_b_a_a_a]
add ax, si
movzx eax, ax
mov word [edi + 2], ax
mov eax, dword [esp + 0x30]
jmp 0x4e3af8
mov ecx, dword [esp + 0x24]
mov eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x4c], ecx
cmp byte [esp + 0x13], 0x87
jne 0x4e3b1e
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x2c]
movzx eax, word [eax + 2]
cmp word [edi + 2], ax
jle 0x4e3c24
mov word [edi + 2], ax
jmp 0x4e3c24
mov esi, dword [ebx + 0x6c]
mov dword [esp + 0x48], esi
cmp dword [ebx + 0x70], esi
jg 0x4e3b4d
mov eax, dword [esp + 0x1c]
mov edx, 0xc
push 0
push dword [esp + 0x48]
inc eax
mov ecx, ebx
push eax
call fcn.004a5870
mov esi, eax
add esp, 0xc
mov dword [esp + 0x48], esi
jmp 0x4e3b81
mov edx, dword [esp + 0x1c]
lea eax, [esi + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [esi + esi*4]
mov eax, dword [ebx + 0x68]
inc edx
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x44]
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 0x4e3ba4
push 0
push dword [esp + 0x28]
mov edx, 0xe
mov ecx, ebx
push dword [esp + 0x28]
call fcn.004a5870
add esp, 0xc
jmp 0x4e3bd7
mov edx, dword [esp + 0x20]
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 + 0x24]
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 0x4e3bf5
push 0
push esi
push 0
mov edx, 0xb
mov ecx, ebx
call fcn.004a5870
add esp, 0xc
jmp 0x4e3c24
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 esi, dword [ebx + 0x6c]
mov dword [esp + 0x50], esi
cmp dword [ebx + 0x70], esi
jg 0x4e3c53
mov eax, dword [esp + 0x1c]
mov edx, 0xc
push 0
push dword [esp + 0x48]
inc eax
mov ecx, ebx
push eax
call fcn.004a5870
mov esi, eax
add esp, 0xc
mov dword [esp + 0x50], esi
jmp 0x4e3c8b
mov edx, dword [esp + 0x1c]
lea eax, [esi + 1]
mov edi, dword [esp + 0x14]
lea ecx, [esi + esi*4]
mov dword [ebx + 0x6c], eax
inc edx
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x44]
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 0x4e3cae
push 0
push dword [esp + 0x34]
mov edx, 0xe
mov ecx, ebx
push dword [esp + 0x28]
call fcn.004a5870
add esp, 0xc
jmp 0x4e3ce1
mov edx, dword [esp + 0x20]
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 + 0x30]
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 0x4e3d02
push 0
push dword [esp + 0x38]
mov edx, 0xb
mov ecx, ebx
push 0
call fcn.004a5870
add esp, 0xc
jmp 0x4e3d35
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], 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 al, byte [esp + 0x13]
cmp al, 0x85
jne 0x4e3d46
mov dword [esp + 0x44], esi
jmp 0x4e3e0e
cmp al, 0x87
jne 0x4e3d58
mov dword [esp + 0x44], esi
inc esi
mov dword [esp + 0x50], esi
jmp 0x4e3e0e
mov edx, dword [ebx + 0x6c]
mov dword [esp + 0x44], edx
cmp dword [ebx + 0x70], edx
jg 0x4e3d83
push 0
push dword [esp + 0x34]
mov edx, 0xe
mov ecx, ebx
push dword [esp + 0x28]
call fcn.004a5870
add esp, 0xc
mov dword [esp + 0x44], eax
jmp 0x4e3db6
lea eax, [edx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebx + 0x68]
mov edx, dword [esp + 0x20]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x30]
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 0x4e3dd7
push 0
push dword [esp + 0x38]
mov edx, 0xb
mov ecx, ebx
push 0
call fcn.004a5870
add esp, 0xc
jmp 0x4e3e0a
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], 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 al, byte [esp + 0x13]
mov ecx, dword [ebx + 0x6c]
mov dword [esp + 0x30], ecx
cmp al, 0x85
je 0x4e3e1d
cmp al, 0x84
jne 0x4e3e70
cmp dword [ebx + 0x70], ecx
jg 0x4e3e3d
push 0
push dword [esp + 0x44]
mov edx, 0xc
mov ecx, ebx
push dword [esp + 0x44]
call fcn.004a5870
add esp, 0xc
jmp 0x4e3e70
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 + 4], edx
mov edx, dword [esp + 0x40]
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 + 0x48]
cmp dword [ebx + 0x70], ecx
jg 0x4e3e94
push 0
push esi
push dword [esp + 0x24]
mov edx, 0xe
mov ecx, ebx
call fcn.004a5870
add esp, 0xc
jmp 0x4e3ec3
mov edx, dword [esp + 0x1c]
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 0x4e3ee4
push 0
push dword [esp + 0x38]
mov edx, 0xb
mov ecx, ebx
push 0
call fcn.004a5870
add esp, 0xc
jmp 0x4e3f17
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], 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 [ebx]
mov edx, dword [ebx + 0x6c]
cmp byte [eax + 0x51], 0
je 0x4e3f29
mov eax, 0x5f50d8
jmp 0x4e3f3e
mov ecx, dword [esp + 0x54]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0x68]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x4e3f65
mov edx, dword [esp + 0x4c]
mov ecx, ebx
push 0
push edx
push dword [esp + 0x28]
mov edx, 0xe
call fcn.004a5870
add esp, 0xc
jmp 0x4e3f98
mov edx, dword [esp + 0x20]
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 + 0x4c]
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 0x4e3fb8
push 0
push esi
push dword [esp + 0x24]
mov edx, 0xe
mov ecx, ebx
call fcn.004a5870
add esp, 0xc
jmp 0x4e3fe7
mov edx, dword [esp + 0x1c]
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 + 0xc]
mov edx, dword [esp + 0x34]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4e4005
push edx
mov edx, ebx
call fcn.004a5f70
add esp, 4
jmp 0x4e400e
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 0x4e402f
push 0
push 0
push 0
mov edx, 0x55
mov ecx, ebx
call fcn.004a5870
add esp, 0xc
mov edx, eax
jmp 0x4e4062
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
push 0xfffffffffffffff1
push dword [esp + 0x5c]
mov ecx, ebx
call fcn.004a6660
mov esi, dword [ebx + 0x6c]
add esp, 8
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x68]
mov dword [esp + 0x58], eax
cmp dword [ebx + 0x70], esi
jg 0x4e40a2
push dword [esp + 0x28]
mov ecx, ebx
push edx
push eax
mov edx, 0x56
call fcn.004a5870
add esp, 0xc
mov esi, eax
jmp 0x4e40d5
mov edi, dword [esp + 0x58]
lea eax, [esi + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [esi + esi*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x28]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x14]
mov dword [eax + ecx*4], 0x56
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
push 0xfffffffffffffff7
push dword [esp + 0x60]
mov edx, esi
mov ecx, ebx
call fcn.004a6660
mov ecx, dword [ebx + 0x6c]
add esp, 8
test ecx, ecx
jle 0x4e4101
mov eax, dword [ebx + 0x68]
lea ecx, [ecx + ecx*4]
mov edx, 1
mov word [eax + ecx*4 - 0x12], dx
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x4e4126
mov edx, dword [esp + 0x30]
mov ecx, ebx
push edx
mov edx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x58]
push edx
mov edx, 0x10
call fcn.004a5870
add esp, 0xc
jmp 0x4e4159
mov edx, dword [esp + 0x50]
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 + 0x44]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x30]
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 + 0x24]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4e4177
push edx
mov edx, ebx
call fcn.004a5f70
add esp, 4
jmp 0x4e4180
mov ecx, dword [ecx + 0x40]
mov eax, dword [ebx + 0x6c]
mov dword [ecx + edx*4], eax
mov edx, dword [edi + 0x34]
test edx, edx
je 0x4e4195
mov ecx, dword [esp + 0x38]
push 1
call fcn.004dec80
add esp, 4
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x18]
mov dword [edi + 0x34], eax
mov dword [eax + 0x38], edi
mov ecx, dword [ebx + 0xd4]
test ecx, ecx
jne 0x4e41b1
xor eax, eax
jmp 0x4e41d7
mov edx, dword [ebx + 8]
test ecx, ecx
jns 0x4e41bc
mov ecx, dword [edx + 0x6c]
dec ecx
mov eax, dword [edx]
cmp byte [eax + 0x51], 0
je 0x4e41cb
mov eax, 0x5f50d8
jmp 0x4e41d4
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
setne al
pop ebx
mov esp, ebp
pop ebp
ret