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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xb8
mov eax, dword [0x56e00c]
xor eax, esp
mov dword [esp + 0xb4], eax
cmp word [ebp + 0x10], 0
xorps xmm0, xmm0
mov eax, dword [ebp + 8]
mov dword [esp + 0x78], eax
mov eax, dword [ebp + 0x14]
push esi
mov esi, ecx
mov dword [esp + 0x80], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x84], eax
push edi
mov eax, dword [esi]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x2c], 0
mov eax, dword [eax]
mov dword [esp + 0x60], eax
movlpd qword [esp + 0x70], xmm0
je 0x4840dd
test byte [eax + 0x3c], 0x80
je 0x4840dd
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.0048cd50
mov esp, ebp
pop ebp
ret
movzx eax, word [edx]
mov dword [esp + 0x8c], eax
cmp eax, 0x3f
ja 0x4840c7
movzx ecx, ax
xor edx, edx
xor edi, edi
movlpd qword [esp + 0x48], xmm0
mov eax, ecx
movlpd qword [esp + 0x68], xmm0
bts edx, eax
mov byte [esp + 0x20], 1
cmp eax, 0x20
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], 0
cmovae edi, edx
xor edx, edi
cmp eax, 0x40
mov eax, dword [esp + 0x4c]
cmovae edi, edx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x48]
add edx, 0xffffffff
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x6c]
adc edi, 0xffffffff
mov dword [esp + 0x7c], edx
mov edx, dword [esp + 0x70]
mov dword [esp + 0x54], edi
mov edi, dword [esp + 0x74]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edx
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x54]
cmp edi, eax
ja 0x484805
jb 0x484179
cmp edx, dword [esp + 0x7c]
jae 0x484809
movzx eax, word [ebp + 0x10]
mov ecx, dword [esp + 0x30]
cmp dword [esp + 0x34], eax
jg 0x484801
cmp dword [esp + 0x34], 0
jle 0x4841b4
mov esi, dword [esp + 0x2c]
mov edx, dword [esp + 0x58]
or edx, dword [esi + 8]
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x5c]
or edx, dword [esi + 0xc]
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
cmp dword [esp + 0x34], eax
jge 0x4841d5
mov eax, dword [esp + 0x80]
mov edi, dword [esp + 0x34]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + edi*4]
mov edi, dword [esp + 0x10]
jmp 0x4841dc
mov eax, dword [esp + 0x84]
test dword [eax + 0x24], 0x400
mov dword [esp + 0x2c], eax
jne 0x4847fb
mov edx, eax
movzx eax, byte [edx + 0x10]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
shl ecx, 4
mov eax, dword [ecx + eax + 0x38]
mov dword [esp + 0x68], eax
xor eax, eax
mov dword [esp + 0x40], eax
cmp dword [esp + 0x30], eax
jle 0x484362
xor esi, esi
mov dword [esp + 0x24], esi
nop word [eax + 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 + 0x48], ecx
cmovae edx, ecx
and ecx, dword [esp + 0x14]
mov eax, edx
mov dword [esp + 0x28], edx
and eax, edi
or ecx, eax
jne 0x484342
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 4]
mov esi, dword [esi + eax]
test esi, esi
je 0x484282
nop dword [eax + eax]
mov eax, dword [esi + 4]
test eax, 0x1000
je 0x484282
test eax, 0x40000
je 0x48427b
mov eax, dword [esi + 0x14]
mov eax, dword [eax + 4]
mov esi, dword [eax]
jmp 0x48427e
mov esi, dword [esi + 0xc]
test esi, esi
jne 0x484260
cmp byte [esi], 0x9a
jne 0x484342
mov edx, dword [esp + 0x68]
cmp dword [esi + 0x1c], edx
jne 0x484342
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
not eax
push 0
push 0x82
not ecx
push eax
movsx eax, word [esi + 0x20]
push ecx
mov ecx, dword [esp + 0x2c]
push eax
add ecx, 0x148
call fcn.0047e3f0
mov edi, eax
add esp, 0x14
test edi, edi
je 0x48433e
test byte [edi + 0x12], 2
je 0x484324
cmp word [esi + 0x20], 0
jl 0x484324
mov eax, dword [esp + 0x3c]
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x24]
mov edx, dword [edx + eax]
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
call fcn.00451220
test eax, eax
jne 0x4842fb
mov eax, dword [esp + 0x60]
mov eax, dword [eax + 8]
mov esi, dword [eax]
mov eax, dword [esp + 0x1c]
mov edx, dword [edi]
mov ecx, dword [eax]
call fcn.00451220
test eax, eax
jne 0x484315
mov eax, dword [esp + 0x60]
mov eax, dword [eax + 8]
push dword [eax]
push esi
call fcn.00427040
add esp, 8
test eax, eax
jne 0x48433e
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
or edx, dword [esp + 0x48]
or edi, dword [esp + 0x28]
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], edi
jmp 0x484342
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x40]
add dword [esp + 0x24], 0x18
inc eax
mov esi, dword [esp + 0x24]
mov dword [esp + 0x40], eax
cmp eax, dword [esp + 0x30]
jl 0x484220
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + 0x24]
test eax, 0x1000
jne 0x484642
test eax, 0x100
je 0x484386
xor edi, edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x48], edi
lea eax, [edi + 1]
jmp 0x4843b4
mov edi, dword [edx + 0x1c]
mov dword [esp + 0x28], edi
test edi, edi
je 0x4840c7
test byte [edi + 0x38], 4
jne 0x4840c7
movzx eax, word [edi + 0x32]
cmp byte [edi + 0x36], 0
mov dword [esp + 0x48], eax
movzx eax, word [edi + 0x34]
setne byte [esp + 0x20]
movzx eax, ax
xor cl, cl
xor esi, esi
mov byte [esp + 0x1b], 0
mov byte [esp + 0x1a], 0
mov dword [esp + 0x40], ecx
mov dword [esp + 0x50], esi
mov dword [esp + 0x70], eax
test eax, eax
jle 0x484642
nop dword [eax]
movzx ecx, word [edx + 0x18]
cmp esi, ecx
jge 0x48440f
cmp word [edx + 0x1a], 0
jne 0x48440f
mov eax, dword [edx + 0x2c]
mov eax, dword [eax + esi*4]
movzx eax, word [eax + 0x12]
test al, 0x82
je 0x48440f
test al, al
jns 0x48462a
mov byte [esp + 0x20], 0
jmp 0x48462a
test edi, edi
je 0x484435
mov eax, dword [edi + 4]
movsx edx, word [eax + esi*2]
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x24], edx
mov al, byte [esi + eax]
mov byte [esp + 0xf], al
mov eax, dword [edi + 0xc]
movsx eax, word [eax + 0x24]
cmp edx, eax
jne 0x484441
jmp 0x48443a
mov byte [esp + 0xf], 0
or edx, 0xffffffff
mov dword [esp + 0x24], edx
cmp byte [esp + 0x20], 0
je 0x48446e
test edx, edx
js 0x48446e
cmp esi, ecx
jl 0x48446e
mov eax, dword [edi + 0xc]
lea ecx, [edx + edx*2]
mov edx, dword [esp + 0x20]
xor esi, esi
movzx edx, dl
mov eax, dword [eax + 4]
cmp byte [eax + ecx*8 + 0x14], 0
cmove edx, esi
mov dword [esp + 0x20], edx
xor esi, esi
mov byte [esp + 0xe], 1
xor edi, edi
nop word [eax + eax]
cmp esi, dword [esp + 0x30]
jge 0x484557
xor edx, edx
xor ecx, ecx
mov eax, esi
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 0x484548
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 4]
mov edx, dword [edi + eax]
mov eax, edx
test eax, eax
je 0x4844e5
mov ecx, dword [eax + 4]
test ecx, 0x1000
je 0x4844e5
test ecx, 0x40000
je 0x4844de
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 4]
mov eax, dword [eax]
jmp 0x4844e1
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x4844c1
mov ecx, dword [ebp + 0xc]
and ecx, 0x300
neg ecx
sbb cl, cl
and byte [esp + 0xe], cl
cmp byte [eax], 0x9a
jne 0x484548
mov ecx, dword [esp + 0x68]
cmp dword [eax + 0x1c], ecx
jne 0x484548
movsx eax, word [eax + 0x20]
mov ecx, dword [esp + 0x24]
cmp eax, ecx
jne 0x484548
test ecx, ecx
js 0x484585
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
call fcn.00451220
mov ecx, eax
test ecx, ecx
jne 0x48452c
mov eax, dword [esp + 0x60]
mov ecx, dword [eax + 8]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x50]
mov eax, dword [eax + 0x20]
push dword [eax + edx*4]
push dword [ecx]
call fcn.00427040
add esp, 8
test eax, eax
je 0x484585
inc esi
add edi, 0x18
cmp byte [esp + 0xe], 0
jne 0x484480
mov ecx, dword [esp + 0x50]
test ecx, ecx
je 0x48456a
mov eax, dword [esp + 0x48]
movzx eax, ax
cmp ecx, eax
jge 0x48456f
mov byte [esp + 0x20], 0
mov ecx, dword [esp + 0x40]
test cl, cl
je 0x484642
mov byte [esp + 0x20], 1
jmp 0x48464d
mov eax, dword [esp + 0x1c]
mov ecx, 0x100
test word [eax + 0x22], cx
jne 0x4845ed
cmp byte [esp + 0x1b], 0
lea ecx, [esi + esi*2]
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 4]
je 0x4845b5
mov dl, byte [esp + 0xf]
xor dl, byte [esp + 0x1a]
cmp dl, byte [eax + ecx*8 + 0xc]
jne 0x484557
jmp 0x4845ed
mov dh, byte [eax + ecx*8 + 0xc]
xor dh, byte [esp + 0xf]
mov byte [esp + 0x1a], dh
je 0x4845e8
mov eax, dword [esp + 0x34]
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 + 0x88]
cmovae edx, ecx
or dword [eax], ecx
or dword [eax + 4], edx
mov byte [esp + 0x1b], 1
cmp dword [esp + 0x24], 0
mov eax, 1
mov edx, dword [esp + 0x40]
movzx edx, dl
cmovl edx, eax
xor eax, eax
bts eax, esi
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x2c]
xor ecx, ecx
cmp esi, 0x20
cmovae ecx, eax
xor eax, ecx
cmp esi, 0x40
mov esi, dword [esp + 0x50]
cmovae ecx, eax
or dword [esp + 0x14], eax
or dword [esp + 0x10], ecx
inc esi
mov dword [esp + 0x50], esi
cmp esi, dword [esp + 0x70]
jge 0x48456f
mov edi, dword [esp + 0x28]
jmp 0x4843e0
cmp byte [esp + 0x20], 0
je 0x4847db
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x64]
or ecx, dword [eax + 8]
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x38]
or ecx, dword [eax + 0xc]
xor eax, eax
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x48], eax
test ecx, ecx
jle 0x4847df
xor esi, esi
mov dword [esp + 0x28], esi
nop
xor ecx, ecx
xor edx, edx
bts ecx, eax
cmp eax, 0x20
cmovae edx, ecx
xor ecx, edx
cmp eax, 0x40
mov dword [esp + 0x70], ecx
cmovae edx, ecx
and ecx, dword [esp + 0x14]
mov eax, edx
mov dword [esp + 0x68], edx
and eax, dword [esp + 0x10]
or ecx, eax
jne 0x4847bb
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x1c]
add ecx, 0x44
mov eax, dword [eax + 4]
mov eax, dword [esi + eax]
mov dword [esp + 0x40], eax
test eax, eax
jne 0x4846db
xorps xmm0, xmm0
movlpd qword [esp + 0x40], xmm0
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x40]
jmp 0x484742
cmp byte [eax], 0x9a
jne 0x4846ee
mov edx, dword [eax + 0x1c]
call fcn.0047dc90
mov edi, eax
mov esi, edx
jmp 0x484738
mov edx, dword [eax + 0x10]
call fcn.0047dcd0
mov ecx, dword [esp + 0x1c]
mov esi, edx
mov edx, dword [esp + 0x40]
mov edi, eax
lea ecx, [ecx + 0x44]
mov edx, dword [edx + 0xc]
call fcn.0047dcd0
mov ecx, dword [esp + 0x1c]
or edi, eax
mov eax, dword [esp + 0x40]
or esi, edx
lea ecx, [ecx + 0x44]
test dword [eax + 4], 0x800
mov edx, dword [eax + 0x14]
je 0x48472f
call fcn.0047ddd0
jmp 0x484734
call fcn.0047dd60
or edi, eax
or esi, edx
mov eax, edi
or eax, esi
jne 0x48478f
mov eax, dword [esp + 0x40]
xorps xmm0, xmm0
lea ecx, [esp + 0x90]
movaps xmmword [esp + 0x90], xmm0
mov edx, eax
movq qword [esp + 0xa0], xmm0
mov dword [esp + 0xa4], 1
mov dword [esp + 0x90], 0x452b70
mov dword [esp + 0x94], 0x452c60
call fcn.0044f050
cmp dword [esp + 0xa4], 0
je 0x4847bb
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x38]
not ecx
not eax
and ecx, edi
and eax, esi
or ecx, eax
jne 0x4847bb
mov eax, dword [esp + 0x14]
or eax, dword [esp + 0x70]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
or eax, dword [esp + 0x68]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x48]
add dword [esp + 0x28], 0x18
inc eax
mov ecx, dword [esp + 0x30]
mov esi, dword [esp + 0x28]
mov dword [esp + 0x48], eax
cmp eax, ecx
jl 0x484680
jmp 0x4847df
mov ecx, dword [esp + 0x30]
inc dword [esp + 0x34]
cmp byte [esp + 0x20], 0
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
je 0x484801
mov esi, dword [esp + 0x1c]
jmp 0x484161
cmp byte [eax + 0x1d], 0
jne 0x48480f
mov eax, dword [esp + 0x54]
cmp edx, dword [esp + 0x7c]
jne 0x48482a
cmp edi, eax
jne 0x48482a
mov al, byte [esp + 0x8c]
pop edi
pop esi
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.0048cd50
mov esp, ebp
pop ebp
ret
cmp byte [esp + 0x20], 0
jne 0x4848a8
lea eax, [ecx - 1]
mov dword [esp + 0x38], eax
test eax, eax
jle 0x4840c7
xor ecx, ecx
xor edx, edx
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, dword [esp + 0x14]
mov esi, edx
and esi, edi
cmp eax, ecx
jne 0x48486d
cmp esi, edx
je 0x484890
mov eax, dword [esp + 0x38]
dec eax
mov dword [esp + 0x38], eax
test eax, eax
jg 0x484840
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.0048cd50
mov esp, ebp
pop ebp
ret
mov al, byte [esp + 0x38]
pop edi
pop esi
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.0048cd50
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0xbc]
or al, 0xff
pop edi
pop esi
xor ecx, esp
call fcn.0048cd50
mov esp, ebp
pop ebp
ret