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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa4
push ebx
mov ebx, edx
mov eax, ecx
xor edx, edx
mov dword [esp + 0x30], ebx
xorps xmm0, xmm0
mov dword [esp + 0x3c], eax
push esi
push edi
movlpd qword [esp + 0x78], xmm0
cmp word [ebp + 0x10], dx
je 0x48c4cf
mov eax, dword [eax]
mov eax, dword [eax]
test byte [eax + 0x50], 0x40
je 0x48c4cf
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movzx eax, word [ebx]
mov dword [esp + 0x88], eax
cmp eax, 0x3f
ja 0x48c4c6
movzx esi, ax
xor ecx, ecx
xor ebx, ebx
mov edi, dword [esp + 0x7c]
mov eax, esi
movlpd qword [esp + 0x58], xmm0
bts ecx, eax
movlpd qword [esp + 0x50], xmm0
cmp eax, 0x20
mov byte [esp + 0x1c], 1
mov dword [esp + 0x30], esi
cmovae ebx, ecx
mov dword [esp + 0x3c], edx
xor ecx, ebx
mov dword [esp + 0x10], edi
cmp eax, 0x40
mov eax, dword [ebp + 0xc]
cmovae ebx, ecx
add ecx, 0xffffffff
mov dword [esp + 0x84], ecx
mov ecx, dword [esp + 0x78]
adc ebx, 0xffffffff
and eax, 0x803
mov dword [esp + 0x48], ebx
mov ebx, dword [esp + 0x1c]
neg eax
mov dword [esp + 0x18], ecx
sbb eax, eax
neg eax
add eax, 0x182
movzx eax, ax
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x48]
cmp edi, eax
ja 0x48cd36
jb 0x48c58e
cmp ecx, dword [esp + 0x84]
jae 0x48cd3d
movzx eax, word [ebp + 0x10]
cmp dword [esp + 0x3c], eax
jg 0x48cd32
cmp dword [esp + 0x3c], 0
jle 0x48c5bd
mov esi, dword [esp + 0x64]
or esi, dword [edx + 8]
mov dword [esp + 0x64], esi
mov esi, dword [esp + 0x68]
or esi, dword [edx + 0xc]
mov dword [esp + 0x68], esi
mov esi, dword [esp + 0x30]
mov edx, dword [esp + 0x3c]
cmp edx, eax
jge 0x48c5e2
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x18]
mov edx, dword [eax + edx*4]
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x24], edx
test eax, 0x800
jne 0x48cd12
jmp 0x48c5ec
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x24], edx
test dword [edx + 0x2c], 0x400
jne 0x48cd20
and eax, 0x80
mov dword [esp + 0x58], eax
je 0x48c60a
xor eax, eax
mov word [edx + 0x1e], ax
movzx eax, byte [edx + 0x10]
lea ecx, [eax + eax*8]
mov eax, dword [esp + 0x44]
mov eax, dword [eax + 4]
mov ebx, dword [eax + ecx*8 + 0x34]
xor ecx, ecx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x28], ecx
test esi, esi
jle 0x48c7bc
mov eax, dword [esp + 0x38]
add eax, 8
mov dword [esp + 0xc], eax
mov esi, eax
nop dword [eax + eax]
mov eax, ecx
xor edx, edx
xor ecx, ecx
bts ecx, eax
cmp eax, 0x20
cmovae edx, ecx
xor ecx, edx
cmp eax, 0x40
mov dword [esp + 0x50], ecx
cmovae edx, ecx
and ecx, dword [esp + 0x18]
mov eax, edx
mov dword [esp + 0x4c], edx
and eax, edi
or ecx, eax
jne 0x48c79e
mov esi, dword [esi]
test esi, esi
je 0x48c79a
nop dword [eax]
mov eax, dword [esi + 4]
test eax, 0x82000
je 0x48c6a5
test eax, 0x80000
je 0x48c699
mov eax, dword [esi + 0x14]
mov esi, dword [eax + 8]
jmp 0x48c69c
mov esi, dword [esi + 0xc]
test esi, esi
jne 0x48c680
jmp 0x48c79a
test esi, esi
je 0x48c79a
mov al, byte [esi]
cmp al, 0xa7
je 0x48c6bb
cmp al, 0xa9
jne 0x48c79a
cmp dword [esi + 0x1c], ebx
jne 0x48c79a
mov eax, dword [esp + 0x80]
mov edx, ebx
mov ecx, dword [esp + 0x64]
movzx eax, ax
not ecx
push 0
push eax
mov eax, dword [esp + 0x70]
not eax
push eax
movsx eax, word [esi + 0x20]
push ecx
mov ecx, dword [esp + 0x54]
push eax
lea ecx, [ecx + 0x50]
call fcn.00487a50
mov edi, eax
add esp, 0x14
test edi, edi
je 0x48c796
movzx ebx, word [edi + 0xc]
cmp ebx, 1
jne 0x48c730
mov eax, dword [esp + 0x24]
xor ecx, ecx
movzx edx, word [eax + 0x30]
test edx, edx
jle 0x48c72c
mov eax, dword [eax + 0x38]
nop dword [eax]
cmp edi, dword [eax]
je 0x48c72c
inc ecx
add eax, 4
cmp ecx, edx
jl 0x48c720
cmp ecx, edx
jge 0x48c792
test bl, 0x82
je 0x48c774
cmp word [esi + 0x20], 0
jl 0x48c774
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0xc]
mov esi, dword [eax]
mov ecx, esi
mov edx, dword [edx]
call fcn.00441920
mov ebx, eax
test ebx, ebx
jne 0x48c75a
mov eax, dword [esi]
mov ebx, dword [eax + 8]
mov edx, dword [edi]
mov ecx, esi
call fcn.00441b70
test eax, eax
je 0x48c792
mov edx, dword [eax]
mov ecx, dword [ebx]
call fcn.00409d40
test eax, eax
jne 0x48c792
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
or eax, dword [esp + 0x50]
or edi, dword [esp + 0x4c]
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], edi
jmp 0x48c79a
mov ebx, dword [esp + 0x34]
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0xc]
mov ecx, dword [esp + 0x28]
add esi, 0x14
inc ecx
mov dword [esp + 0xc], esi
mov dword [esp + 0x28], ecx
cmp ecx, dword [esp + 0x30]
jl 0x48c640
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 0x2c]
test eax, 0x1000
jne 0x48cb86
test eax, 0x100
je 0x48c7e8
mov dword [esp + 0x2c], 0
mov ecx, 1
mov dword [esp + 0x50], 0
jmp 0x48c828
mov edx, dword [edx + 0x20]
mov dword [esp + 0x2c], edx
test edx, edx
je 0x48c4c6
test byte [edx + 0x38], 4
jne 0x48c4c6
cmp byte [edx + 0x36], 0
movzx ecx, word [edx + 0x32]
mov dword [esp + 0x50], ecx
movzx ecx, word [edx + 0x34]
je 0x48c81f
mov byte [esp + 0x1c], 1
test eax, 0x8000
je 0x48c824
mov byte [esp + 0x1c], 0
mov edx, dword [esp + 0x24]
xor al, al
xor esi, esi
mov byte [esp + 0x23], al
mov byte [esp + 0x22], al
mov dword [esp + 0x28], eax
movzx eax, cx
mov dword [esp + 0xc], esi
mov dword [esp + 0x78], eax
test eax, eax
jle 0x48cb86
mov dword [esp + 0x4c], esi
nop
movzx ebx, word [edx + 0x18]
mov byte [esp + 0x21], 1
cmp esi, ebx
jge 0x48c8cb
movzx eax, word [edx + 0x32]
cmp esi, eax
jl 0x48c8cb
mov edi, dword [edx + 0x38]
mov eax, dword [esp + 0x80]
mov esi, dword [edi + esi*4]
movzx ecx, word [esi + 0xc]
and eax, ecx
test ax, ax
je 0x48c89b
mov ebx, dword [esp + 0x1c]
test ecx, 0x180
mov ecx, 0
movzx eax, bl
cmove ecx, eax
mov byte [esp + 0x1c], cl
jmp 0x48cb69
test cl, 1
je 0x48c8c7
mov ecx, dword [esp + 0xc]
mov esi, dword [esi]
lea edx, [ecx + 1]
cmp edx, ebx
jge 0x48c8c7
inc ecx
lea ecx, [edi + ecx*4]
mov eax, dword [ecx]
cmp dword [eax], esi
je 0x48c8c1
inc edx
add ecx, 4
cmp edx, ebx
jl 0x48c8b1
jmp 0x48c8c7
xor al, al
mov byte [esp + 0x21], al
mov esi, dword [esp + 0xc]
mov edi, dword [esp + 0x2c]
test edi, edi
je 0x48c8f8
mov eax, dword [edi + 4]
movsx edx, word [eax + esi*2]
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x40], edx
mov cl, byte [esi + eax]
mov eax, dword [edi + 0xc]
and cl, 1
mov byte [esp + 0x17], cl
movsx eax, word [eax + 0x20]
cmp edx, eax
jne 0x48c904
jmp 0x48c8fd
mov byte [esp + 0x17], 0
or edx, 0xffffffff
mov dword [esp + 0x40], edx
mov eax, dword [esp + 0x1c]
test al, al
je 0x48c93d
test edx, edx
js 0x48c92e
cmp esi, ebx
jl 0x48c92e
mov eax, dword [edi + 0xc]
mov ecx, edx
mov ebx, dword [esp + 0x1c]
add ecx, ecx
mov eax, dword [eax + 4]
mov al, byte [eax + ecx*8 + 4]
and al, 0xf
neg al
sbb al, al
and al, bl
xor ecx, ecx
movzx eax, al
cmp edx, 0xfffffffe
cmove eax, ecx
mov dword [esp + 0x1c], eax
mov bh, byte [esp + 0x21]
xor edi, edi
test bh, bh
je 0x48ca66
mov esi, dword [esp + 0x38]
add esi, 8
mov dword [esp + 0x6c], esi
cmp edi, dword [esp + 0x30]
jge 0x48ca66
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 + 0x18]
and ecx, dword [esp + 0x10]
or edx, ecx
jne 0x48ca56
mov ecx, dword [esi]
test ecx, ecx
je 0x48ca56
mov eax, dword [ecx + 4]
test eax, 0x82000
je 0x48c9b6
test eax, 0x80000
je 0x48c9aa
mov ecx, dword [ecx + 0x14]
mov ecx, dword [ecx + 8]
jmp 0x48c9ad
mov ecx, dword [ecx + 0xc]
test ecx, ecx
jne 0x48c991
jmp 0x48ca56
test ecx, ecx
je 0x48ca56
mov al, byte [ebp + 0xc]
mov edx, dword [esp + 0x40]
and al, 0xc0
neg al
sbb al, al
and bh, al
mov bl, bh
cmp edx, 0xffffffff
jl 0x48c9f3
mov al, byte [ecx]
cmp al, 0xa7
je 0x48c9de
cmp al, 0xa9
jne 0x48ca56
mov eax, dword [esp + 0x34]
mov bh, bl
cmp dword [ecx + 0x1c], eax
jne 0x48ca56
movsx eax, word [ecx + 0x20]
cmp eax, edx
jne 0x48ca56
jmp 0x48ca16
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x4c]
push dword [esp + 0x34]
mov eax, dword [eax + 0x28]
mov edx, dword [eax + edx + 8]
call fcn.00449830
add esp, 4
test eax, eax
jne 0x48ca56
mov edx, dword [esp + 0x40]
cmp edx, 0xffffffff
je 0x48ca94
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x6c]
mov esi, dword [eax]
mov ecx, esi
mov edx, dword [edx]
call fcn.00441920
test eax, eax
jne 0x48ca37
mov eax, dword [esi]
mov eax, dword [eax + 8]
mov ecx, dword [esp + 0x2c]
mov bh, bl
mov esi, dword [esp + 0xc]
mov edx, dword [ecx + 0x20]
mov ecx, dword [eax]
mov edx, dword [edx + esi*4]
call fcn.00409d40
test eax, eax
je 0x48ca98
mov esi, dword [esp + 0x6c]
add esi, 0x14
inc edi
mov dword [esp + 0x6c], esi
test bh, bh
jne 0x48c956
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x48ca79
mov eax, dword [esp + 0x50]
movzx eax, ax
cmp ecx, eax
jge 0x48ca7e
mov byte [esp + 0x1c], 0
mov eax, dword [esp + 0x28]
test al, al
je 0x48cb86
mov byte [esp + 0x1c], 1
jmp 0x48cb92
mov esi, dword [esp + 0xc]
cmp word [esp + 0x58], 0
mov ebx, dword [esp + 0x24]
je 0x48caab
lea eax, [esi + 1]
mov word [ebx + 0x1e], ax
test byte [ebp + 0xc], 0x40
jne 0x48cb0f
cmp byte [esp + 0x23], 0
lea eax, [edi + edi*4]
mov ecx, dword [esp + 0x38]
je 0x48cad8
mov al, byte [ecx + eax*4 + 0x10]
mov cl, byte [esp + 0x17]
and al, 1
xor cl, byte [esp + 0x22]
cmp cl, al
sete al
test al, al
je 0x48ca66
jmp 0x48cb0f
mov dl, byte [ecx + eax*4 + 0x10]
and dl, 1
xor dl, byte [esp + 0x17]
mov byte [esp + 0x22], dl
je 0x48cb0a
mov eax, dword [esp + 0x3c]
xor ecx, ecx
bts ecx, eax
xor edx, edx
cmp eax, 0x20
cmovae edx, ecx
xor ecx, edx
cmp eax, 0x40
mov eax, dword [ebp + 0x18]
cmovae edx, ecx
or dword [eax], ecx
or dword [eax + 4], edx
mov byte [esp + 0x23], 1
mov ecx, dword [esp + 0x38]
lea eax, [edi + edi*4]
test byte [ecx + eax*4 + 0x10], 2
je 0x48cb30
movzx eax, word [ebx + 0x18]
cmp esi, eax
jne 0x48ca66
or dword [ebx + 0x2c], 0x80000
cmp dword [esp + 0x40], 0xffffffff
mov eax, 1
mov edx, dword [esp + 0x28]
movzx edx, dl
cmove edx, eax
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x24]
bts eax, edi
cmp edi, 0x20
cmovae ecx, eax
xor eax, ecx
cmp edi, 0x40
cmovae ecx, eax
or dword [esp + 0x18], eax
or dword [esp + 0x10], ecx
mov esi, dword [esp + 0xc]
add dword [esp + 0x4c], 0x14
inc esi
mov dword [esp + 0xc], esi
cmp esi, dword [esp + 0x78]
jl 0x48c850
jmp 0x48ca7e
mov ebx, dword [esp + 0x1c]
test bl, bl
je 0x48ccfe
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x70]
mov esi, dword [esp + 0x30]
or eax, dword [edx + 8]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x74]
or eax, dword [edx + 0xc]
mov dword [esp + 0x74], eax
xor eax, eax
mov dword [esp + 0x50], eax
test esi, esi
jle 0x48cd06
mov esi, dword [esp + 0x38]
add esi, 8
mov dword [esp + 0x28], esi
nop dword [eax]
xor edi, edi
xor edx, edx
bts edi, eax
cmp eax, 0x20
cmovae edx, edi
xor edi, edx
cmp eax, 0x40
mov ecx, edi
cmovae edx, edi
and ecx, dword [esp + 0x18]
mov eax, edx
mov dword [esp + 0x78], edx
and eax, dword [esp + 0x10]
or ecx, eax
jne 0x48ccd0
mov ecx, dword [esp + 0x44]
mov esi, dword [esi]
add ecx, 0x1f0
test esi, esi
je 0x48cc3c
cmp byte [esi], 0xa7
jne 0x48cc26
test byte [esi + 4], 0x20
jne 0x48cc26
mov edx, dword [esi + 0x1c]
call fcn.00487650
mov ebx, eax
mov ecx, edx
jmp 0x48cc4d
test dword [esi + 4], 0x810000
jne 0x48cc3c
mov edx, esi
call fcn.004870c0
mov ebx, eax
mov ecx, edx
jmp 0x48cc4d
xorps xmm0, xmm0
movlpd qword [esp + 0x58], xmm0
mov ebx, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
mov eax, ebx
mov dword [esp + 0x2c], ecx
or eax, ecx
jne 0x48cca2
mov dword [esp + 0x98], fcn.00444010
mov eax, 1
mov word [esp + 0xa8], ax
mov dword [esp + 0x9c], 0x443ea0
mov dword [esp + 0xac], 0
test esi, esi
je 0x48cca2
mov edx, esi
lea ecx, [esp + 0x94]
call fcn.0043e660
cmp word [esp + 0xa8], 0
je 0x48ccd0
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x74]
not ecx
not eax
and ecx, ebx
and eax, dword [esp + 0x2c]
or ecx, eax
mov ecx, dword [esp + 0x18]
jne 0x48ccd4
or ecx, edi
mov edi, dword [esp + 0x10]
or edi, dword [esp + 0x78]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], edi
jmp 0x48ccd8
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x50]
add dword [esp + 0x28], 0x14
inc eax
mov esi, dword [esp + 0x28]
mov dword [esp + 0x50], eax
cmp eax, dword [esp + 0x30]
jl 0x48cbd0
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x30]
jmp 0x48cd0e
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
inc dword [esp + 0x3c]
test bl, bl
jne 0x48c573
jmp 0x48cd32
cmp byte [edx + 0x20], 0
je 0x48cd32
and eax, 0x280
cmp eax, 0x80
jne 0x48cd43
mov eax, dword [esp + 0x48]
cmp ecx, dword [esp + 0x84]
jne 0x48cd51
cmp edi, eax
jne 0x48cd51
mov al, byte [esp + 0x88]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test bl, bl
jne 0x48cdc7
lea ebx, [esi - 1]
test ebx, ebx
jle 0x48c4c6
cmp ebx, 0x40
jge 0x48cd84
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
adc edx, 0xffffffff
jmp 0x48cd9e
xorps xmm0, xmm0
movlpd qword [esp + 0x88], xmm0
mov edx, dword [esp + 0x8c]
mov ecx, dword [esp + 0x88]
mov eax, ecx
mov esi, edx
and eax, dword [esp + 0x18]
and esi, edi
cmp eax, ecx
jne 0x48cdb0
cmp esi, edx
je 0x48cdbe
dec ebx
test ebx, ebx
jg 0x48cd60
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
or al, 0xff
pop ebx
mov esp, ebp
pop ebp
ret