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

Disassembly:
sub esp, 0x84
push ebx
mov ebx, dword [esp + 0x8c]
xor edx, edx
xorps xmm0, xmm0
push ebp
push esi
mov eax, dword [ebx]
push edi
movlpd qword [esp + 0x64], xmm0
mov eax, dword [eax]
mov dword [esp + 0x54], eax
cmp word [esp + 0xa8], dx
je 0x4900d8
test byte [eax + 0x3c], 0x80
jne 0x490a52
mov eax, dword [esp + 0x9c]
movzx eax, word [eax]
mov dword [esp + 0x74], eax
cmp eax, 0x3f
ja 0x490a52
movzx ecx, ax
xor ebp, ebp
xor esi, esi
movlpd qword [esp + 0x40], xmm0
mov eax, ecx
movlpd qword [esp + 0x24], xmm0
bts ebp, eax
mov byte [esp + 0x20], 1
cmp eax, 0x20
mov dword [esp + 0x34], ecx
cmovae esi, ebp
xor ebp, esi
cmp eax, 0x40
mov eax, dword [esp + 0x44]
cmovae esi, ebp
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x40]
add ebp, 0xffffffff
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x28]
adc esi, 0xffffffff
mov dword [esp + 0x70], ebp
xor edi, edi
mov ebp, dword [esp + 0x68]
mov dword [esp + 0x6c], esi
mov esi, dword [esp + 0x64]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x60], edi
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], esi
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x6c]
cmp ebp, eax
ja 0x4909cc
jb 0x49017a
cmp esi, dword [esp + 0x70]
jae 0x4909d0
movzx eax, word [esp + 0xa8]
cmp edi, eax
jg 0x4909eb
test edi, edi
jle 0x4901ab
mov ebx, dword [esp + 0x4c]
or ebx, dword [edx + 8]
mov dword [esp + 0x4c], ebx
mov ebx, dword [esp + 0x50]
or ebx, dword [edx + 0xc]
mov dword [esp + 0x50], ebx
mov ebx, dword [esp + 0x98]
cmp edi, eax
jge 0x4901be
mov eax, dword [esp + 0xa0]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + edi*4]
jmp 0x4901c5
mov eax, dword [esp + 0xac]
mov edx, dword [eax + 0x24]
mov dword [esp + 0x30], eax
test edx, 0x400
jne 0x4909e5
movzx eax, byte [eax + 0x10]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 4]
shl ecx, 4
mov edi, dword [ecx + eax + 0x38]
xor eax, eax
mov dword [esp + 0x38], edi
mov dword [esp + 0x24], eax
cmp dword [esp + 0x34], eax
jbe 0x4903ba
xor edx, edx
mov dword [esp + 0x18], edx
xor ebp, ebp
xor ebx, ebx
bts ebp, eax
cmp eax, 0x20
cmovae ebx, ebp
xor ebp, ebx
cmp eax, 0x40
mov ecx, ebp
cmovae ebx, ebp
and ecx, esi
mov eax, ebx
mov dword [esp + 0x40], ebx
and eax, dword [esp + 0x10]
or ecx, eax
jne 0x490391
mov eax, dword [esp + 0x9c]
mov eax, dword [eax + 4]
mov esi, dword [edx + eax]
test esi, esi
je 0x490262
nop
mov eax, dword [esi + 4]
test eax, 0x1000
je 0x490262
test eax, 0x40000
je 0x49025b
mov eax, dword [esi + 0x14]
mov eax, dword [eax + 4]
mov esi, dword [eax]
jmp 0x49025e
mov esi, dword [esi + 0xc]
test esi, esi
jne 0x490240
cmp byte [esi], 0x9a
jne 0x49038d
cmp dword [esi + 0x18], edi
jne 0x49038d
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
not eax
push 0
push 0x82
push eax
movsx eax, word [esi + 0x1c]
not ecx
push ecx
push eax
mov eax, dword [esp + 0xac]
add eax, 0x148
push edi
push eax
call fcn.0042fd50
mov edi, eax
add esp, 0x1c
test edi, edi
je 0x490389
test byte [edi + 0x12], 2
je 0x49036f
cmp word [esi + 0x1c], 0
jl 0x49036f
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0x18]
mov eax, dword [eax + 4]
push dword [eax + ecx]
mov eax, dword [esp + 0x9c]
push dword [eax]
call fcn.00456a00
add esp, 8
test eax, eax
jne 0x4902f0
mov eax, dword [esp + 0x54]
mov eax, dword [eax + 8]
mov esi, dword [eax]
mov eax, dword [esp + 0x98]
push dword [edi]
push dword [eax]
call fcn.00456a00
add esp, 8
test eax, eax
jne 0x490310
mov eax, dword [esp + 0x54]
mov eax, dword [eax + 8]
mov edx, dword [eax]
test esi, esi
jne 0x49031c
neg edx
sbb edx, edx
jmp 0x49036b
test edx, edx
je 0x490389
mov bl, byte [esi]
test bl, bl
je 0x490351
mov al, bl
sub esi, edx
nop word [eax + eax]
movzx ecx, byte [edx]
mov bl, al
movzx eax, al
mov al, byte [eax + 0x4eb938]
cmp al, byte [ecx + 0x4eb938]
jne 0x490351
mov al, byte [esi + edx + 1]
inc edx
mov bl, al
test al, al
jne 0x490330
movzx eax, byte [edx]
movzx ecx, byte [eax + 0x4eb938]
movzx eax, bl
mov ebx, dword [esp + 0x40]
movzx edx, byte [eax + 0x4eb938]
sub edx, ecx
test edx, edx
jne 0x490389
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x38]
or esi, ebp
mov ebp, dword [esp + 0x10]
or ebp, ebx
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebp
jmp 0x490395
mov edi, dword [esp + 0x38]
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
add dword [esp + 0x18], 0x18
inc eax
mov edx, dword [esp + 0x18]
mov dword [esp + 0x24], eax
cmp eax, dword [esp + 0x34]
jl 0x490203
mov esi, dword [esp + 0x30]
mov edx, dword [esi + 0x24]
jmp 0x4903be
mov esi, dword [esp + 0x30]
test edx, 0x1000
jne 0x49070f
test edx, 0x100
je 0x4903e1
xor ebx, ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
lea eax, [ebx + 1]
jmp 0x49040f
mov ebx, dword [esi + 0x1c]
mov dword [esp + 0x3c], ebx
test ebx, ebx
je 0x490a52
test byte [ebx + 0x34], 4
jne 0x490a52
movzx eax, word [ebx + 0x2e]
cmp byte [ebx + 0x32], 0
mov dword [esp + 0x40], eax
movzx eax, word [ebx + 0x30]
setne byte [esp + 0x20]
movzx eax, ax
xor cl, cl
xor edx, edx
mov byte [esp + 0x1f], 0
mov byte [esp + 0x1e], 0
mov dword [esp + 0x24], ecx
mov dword [esp + 0x48], edx
mov dword [esp + 0x64], eax
test eax, eax
je 0x49070f
movzx ecx, word [esi + 0x18]
cmp edx, ecx
jge 0x49046b
cmp word [esi + 0x2a], 0
jne 0x49046b
mov eax, dword [esi + 0x30]
mov eax, dword [eax + edx*4]
movzx eax, word [eax + 0x12]
test al, 0x82
je 0x49046b
test al, 0x80
mov ecx, 0
mov eax, dword [esp + 0x20]
movzx eax, al
cmove ecx, eax
mov byte [esp + 0x20], cl
jmp 0x4906f7
test ebx, ebx
je 0x490491
mov eax, dword [ebx + 4]
movsx esi, word [eax + edx*2]
mov eax, dword [ebx + 0x1c]
mov dword [esp + 0x18], esi
mov al, byte [edx + eax]
mov byte [esp + 0x1d], al
mov eax, dword [ebx + 0xc]
movsx eax, word [eax + 0x20]
cmp esi, eax
jne 0x49049d
jmp 0x490496
mov byte [esp + 0x1d], 0
or esi, 0xffffffff
mov dword [esp + 0x18], esi
cmp byte [esp + 0x20], 0
je 0x4904ca
test esi, esi
js 0x4904ca
cmp edx, ecx
jl 0x4904ca
mov eax, dword [ebx + 0xc]
lea ecx, [esi + esi*2]
mov edx, dword [esp + 0x20]
xor edi, edi
movzx edx, dl
mov eax, dword [eax + 4]
cmp byte [eax + ecx*8 + 0x14], 0
cmove edx, edi
mov dword [esp + 0x20], edx
xor edi, edi
mov bh, 1
xor ebp, ebp
cmp edi, dword [esp + 0x34]
jge 0x49061b
xor edx, edx
xor ecx, ecx
mov eax, edi
bts edx, eax
cmp eax, 0x20
cmovae ecx, edx
xor edx, ecx
cmp eax, 0x40
cmovae ecx, edx
and edx, dword [esp + 0x14]
and ecx, dword [esp + 0x10]
or edx, ecx
jne 0x49060f
mov eax, dword [esp + 0x9c]
mov eax, dword [eax + 4]
mov eax, dword [eax + ebp]
mov edx, eax
test eax, eax
je 0x490538
mov ecx, dword [eax + 4]
test ecx, 0x1000
je 0x490538
test ecx, 0x40000
je 0x490531
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 4]
mov eax, dword [eax]
jmp 0x490534
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x490514
mov ecx, dword [esp + 0xa4]
and ecx, 0x300
neg ecx
sbb cl, cl
and bh, cl
cmp byte [eax], 0x9a
mov cl, bh
mov bl, bh
mov byte [esp + 0x2f], cl
jne 0x49060f
mov esi, dword [esp + 0x38]
cmp dword [eax + 0x18], esi
mov esi, dword [esp + 0x18]
jne 0x49060f
movsx eax, word [eax + 0x1c]
cmp eax, esi
jne 0x49060f
test esi, esi
js 0x490650
mov eax, dword [esp + 0x98]
push edx
push dword [eax]
call fcn.00456a00
mov esi, eax
add esp, 8
test esi, esi
jne 0x4905a0
mov eax, dword [esp + 0x54]
mov esi, dword [eax + 8]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x48]
mov esi, dword [esi]
mov eax, dword [eax + 0x20]
mov ecx, dword [eax + ecx*4]
test esi, esi
jne 0x4905ba
neg ecx
sbb ecx, ecx
jmp 0x490607
test ecx, ecx
jne 0x4905c2
mov bh, bl
jmp 0x49060f
mov bl, byte [esi]
mov edx, ecx
test bl, bl
je 0x4905f1
mov al, bl
sub esi, ecx
nop
movzx ecx, byte [edx]
mov bl, al
movzx eax, al
mov al, byte [eax + 0x4eb938]
cmp al, byte [ecx + 0x4eb938]
jne 0x4905f1
mov al, byte [edx + esi + 1]
inc edx
mov bl, al
test al, al
jne 0x4905d0
movzx eax, bl
movzx ecx, byte [eax + 0x4eb938]
movzx eax, byte [edx]
movzx eax, byte [eax + 0x4eb938]
sub ecx, eax
mov bh, byte [esp + 0x2f]
test ecx, ecx
je 0x49064c
inc edi
add ebp, 0x18
test bh, bh
jne 0x4904d0
mov edx, dword [esp + 0x48]
test edx, edx
je 0x49062e
mov eax, dword [esp + 0x40]
movzx eax, ax
cmp edx, eax
jge 0x490633
mov byte [esp + 0x20], 0
mov ebp, dword [esp + 0x10]
cmp byte [esp + 0x24], 0
je 0x49070f
mov byte [esp + 0x20], 1
jmp 0x49071a
mov esi, dword [esp + 0x18]
test dword [esp + 0xa4], 0x100
jne 0x4906b7
cmp byte [esp + 0x1f], 0
lea ecx, [edi + edi*2]
mov eax, dword [esp + 0x9c]
mov eax, dword [eax + 4]
mov al, byte [eax + ecx*8 + 0xc]
je 0x490683
mov cl, byte [esp + 0x1d]
xor cl, byte [esp + 0x1e]
cmp cl, al
jne 0x49061b
jmp 0x4906b7
xor al, byte [esp + 0x1d]
mov byte [esp + 0x1e], al
je 0x4906b2
mov eax, dword [esp + 0x60]
xor ecx, ecx
bts ecx, eax
xor edx, edx
cmp eax, 0x20
cmovae edx, ecx
xor ecx, edx
cmp eax, 0x40
mov eax, dword [esp + 0xb0]
cmovae edx, ecx
or dword [eax], ecx
or dword [eax + 4], edx
mov byte [esp + 0x1f], 1
mov eax, dword [esp + 0x24]
test esi, esi
mov ebp, dword [esp + 0x10]
mov ecx, 1
mov edx, dword [esp + 0x48]
mov esi, dword [esp + 0x30]
movzx eax, al
cmovs eax, ecx
xor ecx, ecx
mov dword [esp + 0x24], eax
xor eax, eax
bts eax, edi
cmp edi, 0x20
cmovae ecx, eax
xor eax, ecx
cmp edi, 0x40
cmovae ecx, eax
or dword [esp + 0x14], eax
or ebp, ecx
mov dword [esp + 0x10], ebp
inc edx
mov dword [esp + 0x48], edx
cmp edx, dword [esp + 0x64]
jge 0x490637
mov ebx, dword [esp + 0x3c]
jmp 0x490434
cmp byte [esp + 0x20], 0
je 0x4909a1
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x34]
or eax, dword [edx + 8]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x5c]
or eax, dword [edx + 0xc]
mov dword [esp + 0x5c], eax
xor eax, eax
mov dword [esp + 0x40], eax
test ecx, ecx
je 0x4909a9
xor esi, esi
mov dword [esp + 0x18], esi
nop dword [eax]
xor ecx, ecx
xor edx, edx
bts ecx, eax
cmp eax, 0x20
cmovae edx, ecx
xor ecx, edx
cmp eax, 0x40
mov dword [esp + 0x64], ecx
cmovae edx, ecx
and ecx, dword [esp + 0x14]
mov eax, edx
mov dword [esp + 0x3c], edx
and eax, ebp
or ecx, eax
jne 0x490983
mov eax, dword [esp + 0x9c]
mov ebp, dword [esp + 0x98]
add ebp, 0x44
mov eax, dword [eax + 4]
mov ebx, dword [esi + eax]
test ebx, ebx
jne 0x4907b2
xorps xmm0, xmm0
movlpd qword [esp + 0x24], xmm0
mov eax, dword [esp + 0x24]
mov ebp, dword [esp + 0x28]
mov dword [esp + 0x24], eax
jmp 0x49084c
cmp byte [ebx], 0x9a
jne 0x4907fc
mov edx, dword [ebp]
xor eax, eax
test edx, edx
jle 0x4907d2
mov esi, dword [ebx + 0x18]
lea ecx, [ebp + 4]
cmp dword [ecx], esi
je 0x4907e5
inc eax
add ecx, 4
cmp eax, edx
jl 0x4907c6
xorps xmm0, xmm0
movlpd qword [esp + 0x24], xmm0
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
jmp 0x49083a
xor esi, esi
xor edi, edi
bts esi, eax
cmp eax, 0x20
cmovae edi, esi
xor esi, edi
cmp eax, 0x40
cmovae edi, esi
jmp 0x49083a
push dword [ebx + 0x10]
push ebp
call fcn.0042f5b0
push dword [ebx + 0xc]
mov esi, eax
mov edi, edx
push ebp
call fcn.0042f5b0
add esp, 0x10
or esi, eax
mov eax, dword [ebx + 0x14]
or edi, edx
test dword [ebx + 4], 0x800
push eax
push ebp
je 0x49082e
call fcn.0042f360
jmp 0x490833
call fcn.0042f1d0
add esp, 8
or esi, eax
or edi, edx
mov dword [esp + 0x24], esi
mov ebp, edi
or esi, edi
jne 0x490947
mov esi, dword [esp + 0x18]
mov dword [esp + 0x90], 0
xorps xmm0, xmm0
movq qword [esp + 0x88], xmm0
mov byte [esp + 0x8c], 1
mov dword [esp + 0x90], 0
movups xmmword [esp + 0x78], xmm0
mov dword [esp + 0x78], 0x42f250
mov dword [esp + 0x7c], 0x447230
test ebx, ebx
je 0x490947
movzx eax, byte [ebx]
add eax, 0xffffffe5
cmp eax, 0x81
ja case.0x4908a7.28
movzx eax, byte [eax + 0x490a70]
jmp dword [eax*4 + 0x490a60]
test dword [ebx + 4], 0x80000
jne case.0x4908a7.28
mov byte [esp + 0x8c], 0
jmp 0x49097f
test dword [ebx + 4], 0x4000
jne 0x490947
push dword [ebx + 0xc]
lea eax, [esp + 0x7c]
push eax
call fcn.00482c40
add esp, 8
test eax, eax
jne 0x49093d
push dword [ebx + 0x10]
lea eax, [esp + 0x7c]
push eax
call fcn.00482c40
add esp, 8
test eax, eax
jne 0x49093d
test dword [ebx + 4], 0x800
mov edi, dword [ebx + 0x14]
je 0x490915
lea eax, [esp + 0x78]
push edi
push eax
call fcn.00482d00
add esp, 8
jmp 0x49093d
test edi, edi
je 0x49093d
mov esi, dword [edi]
mov edi, dword [edi + 4]
test esi, esi
jle 0x49093d
push dword [edi]
lea eax, [esp + 0x7c]
push eax
call fcn.00482c40
add esp, 8
test eax, eax
jne 0x49093d
dec esi
add edi, 0x18
test esi, esi
jg 0x490922
cmp byte [esp + 0x8c], 0
je 0x49097b
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x5c]
not ecx
and ecx, dword [esp + 0x24]
not eax
mov esi, dword [esp + 0x18]
and eax, ebp
or ecx, eax
mov ebp, dword [esp + 0x10]
jne 0x490983
mov eax, dword [esp + 0x14]
or eax, dword [esp + 0x64]
or ebp, dword [esp + 0x3c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ebp
jmp 0x490983
mov esi, dword [esp + 0x18]
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x40]
add esi, 0x18
mov ecx, dword [esp + 0x34]
inc eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x18], esi
cmp eax, ecx
jl 0x490750
jmp 0x4909a5
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov edi, dword [esp + 0x60]
mov esi, dword [esp + 0x14]
inc edi
cmp byte [esp + 0x20], 0
mov ebx, dword [esp + 0x98]
mov dword [esp + 0x60], edi
jne 0x490162
mov eax, dword [esp + 0x6c]
cmp esi, dword [esp + 0x70]
jne 0x4909eb
cmp ebp, eax
jne 0x4909eb
mov al, byte [esp + 0x74]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x84
ret
cmp byte [eax + 0x1d], 0
jne 0x4909d6
cmp byte [esp + 0x20], 0
jne 0x490a45
lea ebx, [ecx - 1]
test ebx, ebx
jle 0x490a52
nop dword [eax]
xor ecx, ecx
xor edx, edx
mov eax, ebx
bts ecx, eax
cmp eax, 0x20
cmovae edx, ecx
xor ecx, edx
cmp eax, 0x40
cmovae edx, ecx
add ecx, 0xffffffff
mov eax, ecx
adc edx, 0xffffffff
and eax, esi
mov esi, edx
and esi, ebp
cmp eax, ecx
jne 0x490a2d
cmp esi, edx
je 0x490a38
dec ebx
test ebx, ebx
jle 0x490a52
mov esi, dword [esp + 0x14]
jmp 0x490a00
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
add esp, 0x84
ret
pop edi
pop esi
pop ebp
or al, 0xff
pop ebx
add esp, 0x84
ret
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x84
ret