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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x78
push esi
mov esi, ecx
mov dword [esp + 0x14], edx
push edi
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x14], esi
mov eax, dword [esi + 8]
mov dword [esp + 0x20], eax
mov eax, dword [esi]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x5c], 0
test edi, edi
je 0x488c1c
xor ecx, ecx
cmp dword [edi], 0x40
cmovge edi, ecx
mov dword [ebp + 0xc], edi
mov al, byte [eax + 0x3c]
mov ecx, dword [ebp + 0x14]
and al, 0x20
mov byte [esp + 0xf], al
mov eax, ecx
and eax, 0xfbff
mov dword [esp + 0x54], edi
cmp byte [esp + 0xf], 0
movzx edx, ax
movzx eax, cx
cmove edx, eax
movzx eax, dx
mov ecx, eax
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx]
cmp ecx, 0x40
jle 0x488c6d
push 0x40
push str.at_most__d_tables_in_a_join
push esi
call fcn.00422020
add esp, 0xc
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test al, 0x40
mov eax, 1
push 0
cmovne ecx, eax
mov dword [esp + 0x28], ecx
lea esi, [ecx + ecx*4]
mov ecx, dword [esp + 0x20]
shl esi, 4
add esi, 0x2e7
and esi, 0xfffffff8
lea eax, [esi + 0x48]
push eax
call fcn.0041f6d0
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
je 0x488cb7
lea ecx, [esi + 0x48]
push ecx
push 0
push eax
call fcn.004df150
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov ecx, dword [esp + 0x1c]
cmp byte [ecx + 0x41], 0
je 0x488cd0
mov edx, eax
call fcn.0041f450
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
mov byte [eax + 0x29], cl
mov ecx, dword [esp + 0x18]
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 0x10]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x20]
mov dword [eax + 0x40], 0xffffffff
mov dword [eax + 0x3c], 0xffffffff
mov dword [eax], edx
mov dword [eax + 8], edi
mov ecx, dword [ecx + 0x18]
mov dword [esp + 0x44], ecx
mov edx, dword [ecx + 0x6c]
mov dword [esp + 0x40], edx
lea eax, [edx + 1]
mov dword [ecx + 0x6c], eax
lea eax, [edx - 1]
test edx, eax
jne 0x488d3c
lea eax, [edx*8 + 4]
mov edx, dword [ecx + 0x70]
mov ecx, dword [ecx]
push 0
push eax
call fcn.0041f830
mov ecx, dword [esp + 0x4c]
add esp, 8
mov edx, dword [esp + 0x40]
mov dword [ecx + 0x70], eax
mov eax, dword [ecx + 0x70]
test eax, eax
je 0x488d4a
mov dword [eax + edx*4], 0xffffffff
mov ecx, dword [esp + 0x10]
not edx
mov eax, dword [esp + 0x28]
mov dword [esp + 0x4c], ecx
push 0x48
mov word [ecx + 0x22], ax
mov eax, dword [esp + 0x18]
mov dword [ecx + 0x30], edx
mov dword [ecx + 0x34], edx
lea edx, [ecx + 0x44]
mov dword [esp + 0x34], edx
mov eax, dword [eax + 0x1a4]
mov dword [ecx + 0x38], eax
lea eax, [ecx + 0x148]
add ecx, esi
mov dword [esp + 0x38], eax
mov esi, dword [esp + 0x14]
mov dword [esp + 0x54], eax
mov dword [esp + 0x5c], ecx
lea eax, [ecx + 0x38]
mov dword [ecx + 0x24], 0
mov dword [ecx + 0x30], eax
xor eax, eax
mov word [ecx + 0x28], ax
mov eax, 3
mov word [ecx + 0x2c], ax
lea ecx, [esi + 0x148]
mov dword [edx], 0
lea eax, [ecx + 0x18]
mov edx, dword [ebp + 8]
mov dword [ecx], esi
mov dword [ecx + 4], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 8
mov dword [ecx + 0x14], eax
call fcn.00483c70
lea eax, [esi + 0x148]
mov dword [esp + 0x3c], 0
add esp, 4
cmp dword [eax + 0xc], 0
jle 0x488e9e
mov edi, dword [esp + 0x10]
xor esi, esi
jmp 0x488e06
lea eax, [edi + 0x148]
cmp dword [esp + 0x24], 0
je 0x488e5c
mov edx, dword [eax + 0x14]
lea ecx, [esp + 0x60]
xorps xmm0, xmm0
mov dword [esp + 0x78], 0
movaps xmmword [esp + 0x60], xmm0
movq qword [esp + 0x70], xmm0
mov edx, dword [esi + edx]
mov byte [esp + 0x74], 2
mov dword [esp + 0x60], 0x4512c0
mov dword [esp + 0x64], 0x4513d0
mov dword [esp + 0x78], 0
call fcn.0044d510
cmp byte [esp + 0x74], 0
je 0x488e7f
lea eax, [edi + 0x148]
mov edx, dword [eax + 0x14]
mov ecx, dword [esp + 0x14]
push 0x10
push dword [edi + 0x34]
mov edx, dword [esi + edx]
call fcn.00454ae0
mov eax, dword [edi + 0x15c]
add esp, 8
or word [esi + eax + 0x14], 4
mov eax, dword [esp + 0x38]
add esi, 0x30
inc eax
mov dword [esp + 0x38], eax
cmp eax, dword [edi + 0x154]
jl 0x488e00
mov edi, dword [ebp + 0xc]
mov esi, dword [esp + 0x10]
cmp dword [esp + 0x24], 0
jne 0x488ebc
test edi, edi
je 0x488eae
mov al, byte [edi]
mov byte [esi + 0x24], al
test dword [esp + 0x28], 0x400
je 0x488ebc
mov byte [esi + 0x28], 1
mov eax, dword [esp + 0x18]
xor esi, esi
cmp dword [eax], esi
jle 0x488eea
mov edi, dword [esp + 0x30]
lea edx, [eax + 0x38]
nop dword [eax]
mov ecx, dword [edi]
lea edx, [edx + 0x50]
mov eax, dword [edx - 0x50]
inc esi
mov dword [edi + ecx*4 + 4], eax
mov eax, dword [esp + 0x18]
inc dword [edi]
cmp esi, dword [eax]
jl 0x488ed0
mov edi, dword [ebp + 0xc]
mov ecx, dword [esp + 0x34]
mov esi, dword [ecx + 0xc]
sub esi, 1
js 0x488f15
mov edi, ecx
push esi
mov edx, edi
mov ecx, eax
call fcn.004832b0
mov eax, dword [esp + 0x1c]
add esp, 4
sub esi, 1
jns 0x488ef8
mov edi, dword [ebp + 0xc]
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x1c]
cmp byte [eax + 0x41], 0
jne 0x488fc0
mov eax, dword [esp + 0x28]
mov esi, dword [ebp + 0x10]
and eax, 0x400
mov dword [esp + 0x44], eax
je 0x488f6b
mov edx, dword [esp + 0x18]
push esi
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.00484460
add esp, 8
test eax, eax
je 0x488f55
mov edi, dword [esp + 0x10]
mov byte [edi + 0x28], 1
jmp 0x488f6f
test edi, edi
mov edi, dword [esp + 0x10]
jne 0x488f6f
mov eax, 0x200
mov dword [edi + 8], esi
or word [edi + 0x22], ax
jmp 0x488f6f
mov edi, dword [esp + 0x10]
cmp dword [esp + 0x24], 1
jne 0x488f83
lea ecx, [esp + 0x4c]
call fcn.00488a10
test eax, eax
jne 0x488fe4
lea ecx, [esp + 0x4c]
call fcn.00487760
test eax, eax
jne 0x488fc0
xor edx, edx
mov ecx, edi
call fcn.00488240
mov ecx, dword [esp + 0x1c]
cmp byte [ecx + 0x41], 0
jne 0x488fc0
cmp dword [edi + 8], 0
je 0x488fee
movzx edx, word [edi + 0x20]
mov ecx, edi
inc dx
call fcn.00488240
mov ecx, dword [esp + 0x1c]
cmp byte [ecx + 0x41], 0
je 0x488fe8
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, dword [ecx + 0x38]
mov dword [edx + 0x1a4], eax
mov edx, ecx
mov ecx, dword [esp + 0x1c]
call fcn.004855d0
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x1c]
cmp dword [edi + 8], 0
jne 0x489005
test dword [ecx + 0x18], 0x20000
je 0x489005
mov dword [edi + 0x18], 0xffffffff
mov dword [edi + 0x1c], 0xffffffff
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x40], 0
jne 0x488fc0
cmp byte [ecx + 0x41], 0
jne 0x488fc0
cmp byte [edi + 0x29], 2
jb 0x48912d
test esi, esi
je 0x48912d
mov eax, 0x400
test word [ecx + 0x3c], ax
jne 0x48912d
mov edx, esi
mov esi, dword [esp + 0x30]
mov ecx, esi
call fcn.00483ef0
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x54]
mov dword [esp + 0x30], eax
test edx, edx
je 0x48906a
mov ecx, esi
call fcn.00483ef0
mov esi, dword [esp + 0x30]
or esi, eax
or dword [esp + 0x2c], edx
mov dword [esp + 0x30], esi
jmp 0x48906e
mov esi, dword [esp + 0x30]
mov al, byte [edi + 0x29]
cmp al, 2
jb 0x48912d
mov edx, dword [edi + 4]
nop dword [eax]
movzx eax, al
add eax, 9
lea eax, [eax + eax*4]
add eax, eax
mov ecx, dword [edi + eax*8]
movzx eax, byte [ecx + 0x10]
lea eax, [eax + eax*4]
add eax, eax
test byte [edx + eax*8 + 0x2c], 8
je 0x48912d
cmp word [esp + 0x44], 0
jne 0x4890b7
test dword [ecx + 0x24], 0x1000
je 0x48912d
mov eax, dword [ecx + 0xc]
mov edi, dword [ecx + 8]
mov ecx, edi
mov dword [esp + 0x40], eax
and ecx, esi
and eax, dword [esp + 0x2c]
or ecx, eax
jne 0x489129
mov eax, dword [esp + 0x50]
mov edx, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
lea esi, [eax + eax*2]
shl esi, 4
add esi, edx
cmp edx, esi
jae 0x489108
mov ecx, dword [edx + 0x28]
mov eax, dword [edx + 0x2c]
and ecx, edi
and eax, dword [esp + 0x40]
or ecx, eax
je 0x4890fb
mov eax, dword [edx]
test byte [eax + 4], 1
je 0x489104
add edx, 0x30
cmp edx, esi
jb 0x4890e3
jmp 0x489108
cmp edx, esi
jb 0x489129
mov edi, dword [esp + 0x10]
dec dword [esp + 0x24]
mov esi, dword [esp + 0x30]
mov al, byte [edi + 0x29]
mov edx, dword [edi + 4]
dec al
mov byte [edi + 0x29], al
cmp al, 2
jae 0x489080
jmp 0x48912d
mov edi, dword [esp + 0x10]
mov ecx, dword [edi]
movsx eax, word [edi + 0x20]
mov edx, dword [esp + 0x18]
add dword [ecx + 0x1a4], eax
test byte [esp + 0x28], 4
je 0x489164
mov ecx, dword [edi + 0x320]
test dword [ecx + 0x24], 0x1000
je 0x489164
mov byte [edi + 0x26], 1
mov eax, dword [edx + 0x18]
test byte [eax + 0x2a], 0x20
jne 0x489164
and dword [ecx + 0x24], 0xffffffbf
mov ecx, dword [esp + 0x24]
test ecx, ecx
jle 0x48939c
lea eax, [edi + 0x320]
mov dword [esp + 0x44], ecx
mov ecx, dword [ebp + 0x18]
mov dword [esp + 0x30], eax
movzx eax, byte [eax - 0x14]
mov edi, 0xfff0bdc0
lea eax, [eax + eax*4]
shl eax, 4
add eax, edx
mov dword [esp + 0x2c], eax
mov esi, dword [eax + 0x18]
mov dword [esp + 0x3c], esi
mov edx, dword [esi + 0x40]
test edx, edx
je 0x4891c3
mov eax, dword [esp + 0x1c]
xor edi, edi
mov ecx, dword [eax + 0x14]
test ecx, ecx
jle 0x4891c3
mov eax, dword [eax + 0x10]
add eax, 0xc
cmp dword [eax], edx
je 0x4891c3
inc edi
add eax, 0x10
cmp edi, ecx
jl 0x4891b7
mov eax, dword [esp + 0x30]
mov cl, byte [esi + 0x2a]
mov edx, dword [eax]
mov dword [esp + 0x40], edx
test cl, 2
jne 0x4892e1
cmp dword [esi + 0xc], 0
jne 0x4892e1
mov eax, dword [edx + 0x24]
test eax, 0x400
je 0x489227
mov eax, dword [esi + 0x38]
test eax, eax
je 0x489203
mov ecx, dword [esp + 0x1c]
cmp dword [eax], ecx
je 0x489203
mov eax, dword [eax + 0x18]
test eax, eax
jne 0x4891f8
mov ecx, dword [esp + 0x20]
mov edx, 0x98
push 0xfffffffffffffff6
push eax
mov eax, dword [esp + 0x34]
push 0
push 0
push dword [eax + 0x38]
call fcn.0043c9d0
add esp, 0x14
jmp 0x4892e1
test cl, 0x10
jne 0x4892e1
test al, 0x40
jne 0x4892cc
test byte [esp + 0x28], 0x10
jne 0x4892cc
mov edx, dword [esp + 0x10]
mov ecx, 0x36
cmp byte [edx + 0x26], 0
je 0x489261
mov eax, dword [esp + 0x2c]
mov ecx, 0x37
mov eax, dword [eax + 0x38]
mov dword [edx + 0x3c], eax
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x18]
push esi
mov edx, dword [eax + 0x38]
push edi
call fcn.00467050
mov edx, dword [esp + 0x1c]
add esp, 0xc
cmp byte [edx + 0x26], 0
jne 0x4892e5
cmp word [esi + 0x22], 0x40
jge 0x4892e5
test byte [esi + 0x2a], 0x20
jne 0x4892e5
mov eax, dword [esp + 0x2c]
xor esi, esi
mov edx, dword [eax + 0x48]
mov ecx, dword [eax + 0x4c]
mov eax, edx
or eax, ecx
je 0x4892b1
shrd edx, ecx, 1
inc esi
shr ecx, 1
mov eax, edx
or eax, ecx
jne 0x4892a4
mov eax, dword [esp + 0x20]
mov ecx, eax
push 0xfffffffffffffff2
push esi
mov edx, dword [eax + 0x20]
dec edx
call fcn.0043d0e0
mov esi, dword [esp + 0x44]
add esp, 8
jmp 0x4892e1
push dword [esi]
mov ecx, dword [esp + 0x18]
mov edx, edi
push 0
push dword [esi + 0x1c]
call fcn.00458e40
add esp, 0xc
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x40]
test dword [eax + 0x24], 0x200
je 0x48932d
test byte [esi + 0x2a], 0x20
mov ecx, dword [eax + 0x1c]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], 0x36
je 0x489488
mov eax, dword [ecx + 0x34]
and al, 3
cmp al, 2
jne 0x489488
test byte [esp + 0x28], 0x40
je 0x489488
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx - 0x3c]
mov dword [ecx - 0x38], eax
mov esi, dword [esp + 0x14]
test edi, edi
js 0x48937e
mov eax, dword [esi + 0x198]
mov ecx, edi
test eax, eax
cmovne esi, eax
mov eax, 1
shl eax, cl
mov edx, dword [esi + 0x14c]
test edx, eax
jne 0x48937e
mov eax, dword [esi]
bts edx, edi
mov dword [esi + 0x14c], edx
mov edx, edi
add edx, edx
mov eax, dword [eax + 0x10]
mov eax, dword [eax + edx*8 + 0xc]
mov eax, dword [eax]
mov dword [esi + edi*4 + 0x150], eax
cmp edi, 1
jne 0x48937e
mov ecx, esi
call fcn.0045ebd0
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x18]
add eax, 0x50
sub dword [esp + 0x44], 1
mov dword [esp + 0x30], eax
jne 0x489181
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x20]
mov dword [edi + 0x2c], eax
mov eax, dword [esp + 0x1c]
cmp byte [eax + 0x41], 0
jne 0x488fc0
or ecx, 0xffffffff
or edx, 0xffffffff
xor edi, edi
mov dword [esp + 0x38], ecx
mov dword [esp + 0x44], edx
cmp dword [esp + 0x24], edi
jle 0x4895bc
mov esi, dword [esp + 0x10]
add esi, 0x30c
nop dword [eax + eax]
mov eax, dword [esi + 0x14]
test dword [eax + 0x24], 0x4000
je 0x489423
lea eax, [esi - 0x2c]
push eax
movzx eax, byte [esi]
push edx
mov edx, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x24]
lea eax, [eax + eax*4]
add ecx, 8
shl eax, 4
add eax, ecx
mov ecx, dword [esp + 0x20]
push eax
call fcn.00484760
mov eax, dword [esp + 0x2c]
add esp, 0x10
cmp byte [eax + 0x41], 0
jne 0x488fc0
push dword [esp + 0x28]
movzx eax, byte [esi]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push eax
lea eax, [esi - 0x2c]
push edi
push eax
call fcn.00480040
mov eax, dword [esp + 0x30]
mov edx, edi
push dword [esp + 0x54]
mov ecx, dword [esp + 0x24]
mov eax, dword [eax + 0x20]
mov dword [esi - 0xc], eax
mov eax, dword [esp + 0x4c]
push eax
call fcn.00480a40
mov ecx, dword [esi - 0x14]
inc edi
mov dword [esp + 0x50], eax
add esp, 0x18
mov eax, dword [esp + 0x10]
add esi, 0x50
mov dword [esp + 0x44], edx
mov dword [eax + 0x30], ecx
mov ecx, dword [esp + 0x38]
cmp edi, dword [esp + 0x24]
jl 0x4893e0
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp byte [edx + 0x26], 0
je 0x4894b9
mov eax, dword [esp + 0x2c]
mov esi, dword [ebp + 0x18]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 8]
test eax, eax
je 0x4894ac
nop
cmp eax, ecx
je 0x4894ac
mov eax, dword [eax + 0x14]
inc esi
test eax, eax
jne 0x4894a0
mov dword [esp + 0x38], 0x37
mov dword [edx + 0x40], esi
jmp 0x4894f1
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x4894e4
mov edx, dword [esp + 0x28]
test dl, 0x40
je 0x4894e4
mov ecx, edx
mov esi, eax
and ecx, 0x1000
neg ecx
sbb ecx, ecx
add ecx, 0x36
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x3c]
jmp 0x4894f1
mov edx, dword [esp + 0x14]
mov esi, dword [edx + 0x44]
lea eax, [esi + 1]
mov dword [edx + 0x44], eax
mov edx, dword [esp + 0x30]
mov eax, esi
mov dword [edx - 0x38], eax
mov eax, dword [ecx + 0x28]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x20]
mov edx, ecx
mov eax, dword [eax + 0x18]
mov dword [esp + 0x2c], ecx
cmp dword [eax + 0x54], ecx
jg 0x48952e
mov ecx, dword [esp + 0x20]
call fcn.0043c7b0
test eax, eax
jne 0x489566
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
mov edx, dword [eax + 0x20]
lea eax, [edx + 1]
mov edx, dword [esp + 0x20]
lea ecx, [ecx + ecx*4]
mov dword [edx + 0x20], eax
mov eax, dword [edx + 4]
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 0xc], edi
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x38]
mov dword [eax + 0x10], 0
mov byte [eax], cl
mov ecx, dword [esp + 0x48]
mov dword [eax + 8], ecx
mov byte [eax + 1], 0
mov esi, dword [esp + 0x14]
mov ecx, esi
mov edx, dword [esp + 0x3c]
call fcn.0043d1d0
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx + 0x24]
test al, 0xf
je 0x489331
test eax, 0x8002
jne 0x489331
mov eax, dword [esp + 0x10]
test byte [eax + 0x22], 1
jne 0x489331
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x489331
mov eax, dword [eax + 0x20]
lea eax, [eax + eax*4]
mov byte [ecx + eax*4 - 0x11], 2
jmp 0x489331
mov eax, dword [esp + 0x10]
pop edi
pop esi
mov esp, ebp
pop ebp
ret