Function at 0x490a00
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 0x490a3c
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 0x490a8d
push 0x40
push str.at_most__d_tables_in_a_join
push esi
call fcn.00422b40
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.00420260
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
je 0x490ad7
lea ecx, [esi + 0x48]
push ecx
push 0
push eax
call fcn.004e7890
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov ecx, dword [esp + 0x1c]
cmp byte [ecx + 0x41], 0
je 0x490af0
mov edx, eax
call fcn.0041ffe0
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 0x490b5c
lea eax, [edx*8 + 4]
mov edx, dword [ecx + 0x70]
mov ecx, dword [ecx]
push 0
push eax
call fcn.004203e0
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 0x490b6a
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.0048ad80
lea eax, [esi + 0x148]
mov dword [esp + 0x3c], 0
add esp, 4
cmp dword [eax + 0xc], 0
jle 0x490cbe
mov edi, dword [esp + 0x10]
xor esi, esi
jmp 0x490c26
lea eax, [edi + 0x148]
cmp dword [esp + 0x24], 0
je 0x490c7c
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], fcn.00453a60
mov dword [esp + 0x64], 0x453b70
mov dword [esp + 0x78], 0
call fcn.0044f8a0
cmp byte [esp + 0x74], 0
je 0x490c9f
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.004573f0
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 0x490c20
mov edi, dword [ebp + 0xc]
mov esi, dword [esp + 0x10]
cmp dword [esp + 0x24], 0
jne 0x490cdc
test edi, edi
je 0x490cce
mov al, byte [edi]
mov byte [esi + 0x24], al
test dword [esp + 0x28], 0x400
je 0x490cdc
mov byte [esi + 0x28], 1
mov eax, dword [esp + 0x18]
xor esi, esi
cmp dword [eax], esi
jle 0x490d0a
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 0x490cf0
mov edi, dword [ebp + 0xc]
mov ecx, dword [esp + 0x34]
mov esi, dword [ecx + 0xc]
sub esi, 1
js 0x490d35
mov edi, ecx
push esi
mov edx, edi
mov ecx, eax
call fcn.0048a3a0
mov eax, dword [esp + 0x1c]
add esp, 4
sub esi, 1
jns 0x490d18
mov edi, dword [ebp + 0xc]
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x1c]
cmp byte [eax + 0x41], 0
jne 0x490de0
mov eax, dword [esp + 0x28]
mov esi, dword [ebp + 0x10]
and eax, 0x400
mov dword [esp + 0x44], eax
je 0x490d8b
mov edx, dword [esp + 0x18]
push esi
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.0048b810
add esp, 8
test eax, eax
je 0x490d75
mov edi, dword [esp + 0x10]
mov byte [edi + 0x28], 1
jmp 0x490d8f
test edi, edi
mov edi, dword [esp + 0x10]
jne 0x490d8f
mov eax, 0x200
mov dword [edi + 8], esi
or word [edi + 0x22], ax
jmp 0x490d8f
mov edi, dword [esp + 0x10]
cmp dword [esp + 0x24], 1
jne 0x490da3
lea ecx, [esp + 0x4c]
call fcn.00490830
test eax, eax
jne 0x490e04
lea ecx, [esp + 0x4c]
call fcn.0048f270
test eax, eax
jne 0x490de0
xor edx, edx
mov ecx, edi
call fcn.0048ffa0
mov ecx, dword [esp + 0x1c]
cmp byte [ecx + 0x41], 0
jne 0x490de0
cmp dword [edi + 8], 0
je 0x490e0e
movzx edx, word [edi + 0x20]
mov ecx, edi
inc dx
call fcn.0048ffa0
mov ecx, dword [esp + 0x1c]
cmp byte [ecx + 0x41], 0
je 0x490e08
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.0048cf10
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x1c]
cmp dword [edi + 8], 0
jne 0x490e25
test dword [ecx + 0x18], 0x20000
je 0x490e25
mov dword [edi + 0x18], 0xffffffff
mov dword [edi + 0x1c], 0xffffffff
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x40], 0
jne 0x490de0
cmp byte [ecx + 0x41], 0
jne 0x490de0
cmp byte [edi + 0x29], 2
jb 0x490f4d
test esi, esi
je 0x490f4d
mov eax, 0x400
test word [ecx + 0x3c], ax
jne 0x490f4d
mov edx, esi
mov esi, dword [esp + 0x30]
mov ecx, esi
call fcn.0048b090
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x54]
mov dword [esp + 0x30], eax
test edx, edx
je 0x490e8a
mov ecx, esi
call fcn.0048b090
mov esi, dword [esp + 0x30]
or esi, eax
or dword [esp + 0x2c], edx
mov dword [esp + 0x30], esi
jmp 0x490e8e
mov esi, dword [esp + 0x30]
mov al, byte [edi + 0x29]
cmp al, 2
jb 0x490f4d
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 0x490f4d
cmp word [esp + 0x44], 0
jne 0x490ed7
test dword [ecx + 0x24], 0x1000
je 0x490f4d
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 0x490f49
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 0x490f28
mov ecx, dword [edx + 0x28]
mov eax, dword [edx + 0x2c]
and ecx, edi
and eax, dword [esp + 0x40]
or ecx, eax
je 0x490f1b
mov eax, dword [edx]
test byte [eax + 4], 1
je 0x490f24
add edx, 0x30
cmp edx, esi
jb 0x490f03
jmp 0x490f28
cmp edx, esi
jb 0x490f49
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 0x490ea0
jmp 0x490f4d
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 0x490f84
mov ecx, dword [edi + 0x320]
test dword [ecx + 0x24], 0x1000
je 0x490f84
mov byte [edi + 0x26], 1
mov eax, dword [edx + 0x18]
test byte [eax + 0x2a], 0x20
jne 0x490f84
and dword [ecx + 0x24], 0xffffffbf
mov ecx, dword [esp + 0x24]
test ecx, ecx
jle 0x4911bc
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 0x490fe3
mov eax, dword [esp + 0x1c]
xor edi, edi
mov ecx, dword [eax + 0x14]
test ecx, ecx
jle 0x490fe3
mov eax, dword [eax + 0x10]
add eax, 0xc
cmp dword [eax], edx
je 0x490fe3
inc edi
add eax, 0x10
cmp edi, ecx
jl 0x490fd7
mov eax, dword [esp + 0x30]
mov cl, byte [esi + 0x2a]
mov edx, dword [eax]
mov dword [esp + 0x40], edx
test cl, 2
jne 0x491101
cmp dword [esi + 0xc], 0
jne 0x491101
mov eax, dword [edx + 0x24]
test eax, 0x400
je 0x491047
mov eax, dword [esi + 0x38]
test eax, eax
je 0x491023
mov ecx, dword [esp + 0x1c]
cmp dword [eax], ecx
je 0x491023
mov eax, dword [eax + 0x18]
test eax, eax
jne 0x491018
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.0043e1a0
add esp, 0x14
jmp 0x491101
test cl, 0x10
jne 0x491101
test al, 0x40
jne 0x4910ec
test byte [esp + 0x28], 0x10
jne 0x4910ec
mov edx, dword [esp + 0x10]
mov ecx, 0x36
cmp byte [edx + 0x26], 0
je 0x491081
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.0046acb0
mov edx, dword [esp + 0x1c]
add esp, 0xc
cmp byte [edx + 0x26], 0
jne 0x491105
cmp word [esi + 0x22], 0x40
jge 0x491105
test byte [esi + 0x2a], 0x20
jne 0x491105
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 0x4910d1
shrd edx, ecx, 1
inc esi
shr ecx, 1
mov eax, edx
or eax, ecx
jne 0x4910c4
mov eax, dword [esp + 0x20]
mov ecx, eax
push 0xfffffffffffffff2
push esi
mov edx, dword [eax + 0x20]
dec edx
call fcn.0043e980
mov esi, dword [esp + 0x44]
add esp, 8
jmp 0x491101
push dword [esi]
mov ecx, dword [esp + 0x18]
mov edx, edi
push 0
push dword [esi + 0x1c]
call fcn.0045b920
add esp, 0xc
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x40]
test dword [eax + 0x24], 0x200
je 0x49114d
test byte [esi + 0x2a], 0x20
mov ecx, dword [eax + 0x1c]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], 0x36
je 0x4912a8
mov eax, dword [ecx + 0x34]
and al, 3
cmp al, 2
jne 0x4912a8
test byte [esp + 0x28], 0x40
je 0x4912a8
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx - 0x3c]
mov dword [ecx - 0x38], eax
mov esi, dword [esp + 0x14]
test edi, edi
js 0x49119e
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 0x49119e
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 0x49119e
mov ecx, esi
call fcn.00461d70
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x18]
add eax, 0x50
sub dword [esp + 0x44], 1
mov dword [esp + 0x30], eax
jne 0x490fa1
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 0x490de0
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 0x4913dc
mov esi, dword [esp + 0x10]
add esi, 0x30c
nop dword [eax + eax]
mov eax, dword [esi + 0x14]
test dword [eax + 0x24], 0x4000
je 0x491243
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.0048bb70
mov eax, dword [esp + 0x2c]
add esp, 0x10
cmp byte [eax + 0x41], 0
jne 0x490de0
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.00486f20
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.00487910
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 0x491200
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp byte [edx + 0x26], 0
je 0x4912d9
mov eax, dword [esp + 0x2c]
mov esi, dword [ebp + 0x18]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 8]
test eax, eax
je 0x4912cc
nop
cmp eax, ecx
je 0x4912cc
mov eax, dword [eax + 0x14]
inc esi
test eax, eax
jne 0x4912c0
mov dword [esp + 0x38], 0x37
mov dword [edx + 0x40], esi
jmp 0x491311
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x491304
mov edx, dword [esp + 0x28]
test dl, 0x40
je 0x491304
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 0x491311
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 0x49134e
mov ecx, dword [esp + 0x20]
call fcn.0043df80
test eax, eax
jne 0x491386
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.0043ea70
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx + 0x24]
test al, 0xf
je 0x491151
test eax, 0x8002
jne 0x491151
mov eax, dword [esp + 0x10]
test byte [eax + 0x22], 1
jne 0x491151
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x491151
mov eax, dword [eax + 0x20]
lea eax, [eax + eax*4]
mov byte [ecx + eax*4 - 0x11], 2
jmp 0x491151
mov eax, dword [esp + 0x10]
pop edi
pop esi
mov esp, ebp
pop ebp
ret