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

Disassembly:
push 0xffffffffffffffff
push 0x544318
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
push ebx
push ebp
push esi
mov edx, dword [esp + 0x64]
push edi
push 0
mov edi, ecx
push 0
push 0
lea eax, [esp + 0x2c]
push 0
lea ecx, [esp + 0x78]
push eax
push ecx
push 0
push 0
push edx
mov ecx, edi
mov dword [esp + 0x58], edi
call fcn.0047e860
mov esi, eax
lea eax, [esp + 0x30]
push 0
lea ecx, [esp + 0x3c]
push eax
push ecx
mov ecx, dword [esp + 0x78]
lea edx, [esp + 0x1c]
push 0
lea eax, [esp + 0x3c]
push edx
push eax
push 0
push 0
push ecx
mov ecx, edi
call fcn.0047e860
cmp esi, 0xd
jne 0x486081
cmp eax, esi
jne 0x486081
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x2c]
cmp ecx, eax
jne 0x486081
mov eax, dword [ecx + 0xc8]
test eax, eax
jne 0x485bb3
mov dword [esp + 0x14], 0
jmp 0x485bbd
mov edx, dword [ecx + 0xc0]
mov dword [esp + 0x14], edx
mov eax, dword [ecx + 0x64]
test eax, eax
jne 0x485bc8
xor esi, esi
jmp 0x485bcb
mov esi, dword [ecx + 0x5c]
mov eax, dword [esp + 0x20]
test eax, eax
jle 0x485bfe
mov edi, dword [esp + 0x14]
jmp 0x485bdd
mov ecx, dword [esp + 0x68]
mov eax, dword [esi + eax*4]
add eax, edi
push eax
call fcn.004cd260
cmp eax, 1
je 0x485bfa
mov eax, dword [esp + 0x20]
dec eax
test eax, eax
mov dword [esp + 0x20], eax
jg 0x485bd9
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x10]
test eax, eax
jle 0x485c2d
mov edi, dword [esp + 0x14]
jmp 0x485c10
mov ecx, dword [esp + 0x68]
mov edx, dword [esi + eax*4]
add edx, edi
push edx
call fcn.004cd260
cmp eax, 1
mov eax, dword [esp + 0x10]
je 0x485c2d
dec eax
test eax, eax
mov dword [esp + 0x10], eax
jg 0x485c0c
mov ecx, dword [esp + 0x20]
mov ecx, dword [esi + ecx*4]
mov dword [esp + 0x1c], ecx
mov edi, dword [esi + eax*4]
test ecx, ecx
jle 0x485c4f
mov edx, dword [esp + 0x14]
cmp byte [ecx + edx - 1], 0x6d
jne 0x485c4f
dec ecx
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x14]
lea ecx, [edi + eax]
push ecx
call fcn.004aaf10
mov edx, dword [esp + 0x6c]
add edi, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x1c], edi
mov edi, dword [edx + 0x64]
add esp, 4
shr edi, 2
inc eax
cmp eax, edi
mov dword [esp + 0x10], eax
jge 0x485ca1
mov ebx, dword [esp + 0x14]
mov eax, dword [esi + eax*4]
mov ecx, dword [esp + 0x68]
add eax, ebx
push eax
call fcn.004cd260
cmp eax, 1
je 0x485ca1
mov eax, dword [esp + 0x10]
inc eax
cmp eax, edi
mov dword [esp + 0x10], eax
jl 0x485c80
mov eax, dword [esp + 0x68]
xor ecx, ecx
cmp dword [eax + 0x78], ecx
jne 0x485cb0
xor esi, esi
jmp 0x485cb3
mov esi, dword [eax + 0x70]
mov edx, dword [eax + 0x78]
mov eax, 0x38e38e39
mul edx
mov ebp, edx
mov dword [esp + 0x24], ecx
shr ebp, 1
cmp ebp, ecx
mov dword [esp + 0x28], ecx
jle 0x485f1a
mov edx, dword [esp + 0x1c]
mov cl, byte [esi]
mov ebx, dword [esi + 1]
inc esi
mov byte [esp + 0x6c], cl
mov eax, dword [esp + 0x6c]
add esi, 4
and eax, 0xff
mov edi, dword [esi]
add esi, 4
dec eax
cmp eax, 3
ja case.default.0x485cf6
jmp dword [eax*4 + 0x4860a8]
mov eax, dword [esp + 0x18]
cmp edx, ebx
jg 0x485d13
cmp eax, ebx
jle 0x485d13
cmp eax, edi
jle 0x485dc8
jmp 0x485d17
cmp eax, edi
jle case.default.0x485cf6
cmp edx, ebx
jle case.default.0x485cf6
cmp edx, edi
jle 0x485dc8
jmp case.default.0x485cf6
mov eax, dword [esp + 0x18]
inc edi
cmp edx, ebx
jg 0x485d3c
cmp eax, ebx
jle 0x485d3c
cmp eax, edi
jle 0x485dda
jmp 0x485d40
cmp eax, edi
jle 0x485d4c
cmp edx, ebx
jle 0x485d4c
cmp edx, edi
jl 0x485dda
mov eax, dword [esp + 0x24]
test eax, eax
jne case.default.0x485cf6
cmp cl, 2
je case.default.0x485cf6
cmp edx, ebx
jle case.default.0x485cf6
cmp dword [esp + 0x18], edi
jg case.default.0x485cf6
mov dword [esp + 0x24], 1
mov eax, dword [esp + 0x28]
inc eax
cmp eax, ebp
mov dword [esp + 0x28], eax
jl 0x485cd5
cmp dword [esp + 0x24], 1
jne 0x485f1a
mov ecx, dword [esp + 0x14]
lea esi, [edx + ecx]
mov edx, dword [esp + 0x68]
mov eax, dword [edx + 0xc8]
mov edx, dword [esp + 0x18]
cmp eax, edx
jl 0x485da2
mov eax, edx
lea edi, [eax + ecx]
xor ebp, ebp
cmp esi, edi
jae 0x485f1a
mov bl, byte [esi]
cmp bl, 0x6d
mov byte [esp + 0x6c], bl
jne 0x485e1c
mov al, byte [esi]
inc esi
cmp al, 0x6d
mov byte [esp + 0x6c], al
jne 0x485dec
inc ebp
jmp 0x485df7
push 0x58f244
call fcn.004dc540
add esp, 4
jmp 0x486081
push 0x58f208
call fcn.004dc540
add esp, 4
jmp 0x486081
cmp al, 0x74
jne 0x485df7
dec ebp
je 0x485f12
mov eax, dword [esp + 0x6c]
push eax
call fcn.004ccac0
add esp, 4
cmp eax, 1
jne 0x485e12
mov ecx, esi
call fcn.004ca4e0
add esi, eax
cmp esi, edi
jae 0x485f1a
jmp 0x485dba
cmp bl, 0x6b
jne 0x485e5f
mov al, byte [esi]
inc esi
cmp al, 0x6b
mov byte [esp + 0x6c], al
jne 0x485e2f
inc ebp
jmp 0x485e3a
cmp al, 0x72
jne 0x485e3a
dec ebp
je 0x485f12
mov ecx, dword [esp + 0x6c]
push ecx
call fcn.004ccac0
add esp, 4
cmp eax, 1
jne 0x485e55
mov ecx, esi
call fcn.004ca4e0
add esi, eax
cmp esi, edi
jae 0x485f1a
jmp 0x485e21
cmp bl, 0x6c
jne 0x485e9e
mov al, byte [esi]
inc esi
cmp al, 0x6c
mov byte [esp + 0x6c], al
jne 0x485e72
inc ebp
jmp 0x485e7d
cmp al, 0x73
jne 0x485e7d
dec ebp
je 0x485f12
mov edx, dword [esp + 0x6c]
push edx
call fcn.004ccac0
add esp, 4
cmp eax, 1
jne 0x485e98
mov ecx, esi
call fcn.004ca4e0
add esi, eax
cmp esi, edi
jae 0x485f1a
jmp 0x485e64
cmp bl, 0x70
jne 0x485ed9
mov bl, byte [esi]
inc esi
cmp bl, 0x70
mov byte [esp + 0x6c], bl
jne 0x485eb0
inc ebp
mov eax, dword [esp + 0x6c]
push eax
call fcn.004ccac0
add esp, 4
cmp eax, 1
jne 0x485ecb
mov ecx, esi
call fcn.004ca4e0
add esi, eax
cmp bl, 0x71
jne 0x485ed3
dec ebp
je 0x485f12
cmp esi, edi
jae 0x485f1a
jmp 0x485ea3
mov ecx, dword [esp + 0x6c]
inc esi
push ecx
call fcn.004ccac0
add esp, 4
cmp eax, 1
jne 0x485f00
cmp bl, 0x6e
je 0x486096
mov ecx, esi
call fcn.004ca4e0
add esi, eax
jmp 0x485f12
cmp bl, 0x50
je 0x486096
cmp bl, 0x53
je 0x486096
cmp esi, edi
jb 0x485daf
lea ecx, [esp + 0x44]
call fcn.00473490
xor ebp, ebp
push 0x6a
lea ecx, [esp + 0x48]
mov dword [esp + 0x64], ebp
mov dword [esp + 0x40], ebp
mov word [esp + 0x44], 0xffff
mov word [esp + 0x46], bp
call fcn.004737d0
lea edx, [esp + 0x3c]
push 8
push edx
lea ecx, [esp + 0x4c]
call fcn.00473d50
push ebp
lea ecx, [esp + 0x48]
call fcn.00473750
mov esi, dword [esp + 0x70]
mov ebx, 0x58f1f0
cmp esi, ebp
jne 0x485f70
mov ebx, 0x58f1dc
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
lea ecx, [esp + 0x48]
call fcn.00473750
push ebx
lea ecx, [esp + 0x48]
call fcn.00473800
push 0x136
lea ecx, [esp + 0x48]
call fcn.00473790
mov eax, dword [esp + 0x54]
mov edi, dword [esp + 0x4c]
neg eax
sbb eax, eax
and eax, edi
mov edi, dword [esp + 0x18]
neg esi
sbb esi, esi
mov ecx, edi
and esi, 0x20
add esi, 8
or word [eax + 7], si
mov esi, dword [esp + 0x1c]
sub ecx, esi
mov dword [eax + 1], ecx
mov esi, dword [esp + 0x54]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x30]
mov eax, esi
push edx
neg eax
sbb eax, eax
push esi
and eax, ecx
mov ecx, dword [esp + 0x70]
push eax
mov eax, dword [esp + 0x28]
push eax
add ecx, 0xb8
call fcn.004e8380
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x68]
push esi
push edx
call fcn.004cb050
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x1c]
push 4
push eax
mov eax, dword [esp + 0x70]
lea edx, [ecx*4]
push edx
lea ecx, [eax + 0x54]
call fcn.00473cb0
mov edx, dword [esp + 0x1c]
lea ecx, [esi + edi]
add esi, edx
push ecx
mov ecx, dword [esp + 0x6c]
push esi
call fcn.004cafd0
mov esi, dword [esp + 0x34]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x38]
push ebp
mov eax, dword [esi + 0x78]
push 1
push ebp
add edx, ecx
push eax
push edx
mov ecx, esi
call fcn.004a5a10
push 1
push ebp
push ebp
mov ecx, esi
call fcn.004a6440
push 1
push ebp
mov ecx, esi
call fcn.004a98d0
lea ecx, [esp + 0x44]
mov dword [esp + 0x60], 0xffffffff
mov dword [esp + 0x44], 0x54d7d0
call fcn.00473690
mov ecx, dword [esp + 0x58]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x54
ret 0xc
push 0x58f1a4
call fcn.004dc540
add esp, 4
jmp 0x486081