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

Disassembly:
push 0xffffffffffffffff
push 0x5443c8
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.0047e8a0
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.0047e8a0
cmp esi, 0xd
jne 0x4860c1
cmp eax, esi
jne 0x4860c1
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x2c]
cmp ecx, eax
jne 0x4860c1
mov eax, dword [ecx + 0xc8]
test eax, eax
jne 0x485bf3
mov dword [esp + 0x14], 0
jmp 0x485bfd
mov edx, dword [ecx + 0xc0]
mov dword [esp + 0x14], edx
mov eax, dword [ecx + 0x64]
test eax, eax
jne 0x485c08
xor esi, esi
jmp 0x485c0b
mov esi, dword [ecx + 0x5c]
mov eax, dword [esp + 0x20]
test eax, eax
jle 0x485c3e
mov edi, dword [esp + 0x14]
jmp 0x485c1d
mov ecx, dword [esp + 0x68]
mov eax, dword [esi + eax*4]
add eax, edi
push eax
call fcn.004cd2f0
cmp eax, 1
je 0x485c3a
mov eax, dword [esp + 0x20]
dec eax
test eax, eax
mov dword [esp + 0x20], eax
jg 0x485c19
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x10]
test eax, eax
jle 0x485c6d
mov edi, dword [esp + 0x14]
jmp 0x485c50
mov ecx, dword [esp + 0x68]
mov edx, dword [esi + eax*4]
add edx, edi
push edx
call fcn.004cd2f0
cmp eax, 1
mov eax, dword [esp + 0x10]
je 0x485c6d
dec eax
test eax, eax
mov dword [esp + 0x10], eax
jg 0x485c4c
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 0x485c8f
mov edx, dword [esp + 0x14]
cmp byte [ecx + edx - 1], 0x6d
jne 0x485c8f
dec ecx
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x14]
lea ecx, [edi + eax]
push ecx
call fcn.004aaf50
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 0x485ce1
mov ebx, dword [esp + 0x14]
mov eax, dword [esi + eax*4]
mov ecx, dword [esp + 0x68]
add eax, ebx
push eax
call fcn.004cd2f0
cmp eax, 1
je 0x485ce1
mov eax, dword [esp + 0x10]
inc eax
cmp eax, edi
mov dword [esp + 0x10], eax
jl 0x485cc0
mov eax, dword [esp + 0x68]
xor ecx, ecx
cmp dword [eax + 0x78], ecx
jne 0x485cf0
xor esi, esi
jmp 0x485cf3
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 0x485f5a
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.0x485d36
jmp dword [eax*4 + 0x4860e8]
mov eax, dword [esp + 0x18]
cmp edx, ebx
jg 0x485d53
cmp eax, ebx
jle 0x485d53
cmp eax, edi
jle 0x485e08
jmp 0x485d57
cmp eax, edi
jle case.default.0x485d36
cmp edx, ebx
jle case.default.0x485d36
cmp edx, edi
jle 0x485e08
jmp case.default.0x485d36
mov eax, dword [esp + 0x18]
inc edi
cmp edx, ebx
jg 0x485d7c
cmp eax, ebx
jle 0x485d7c
cmp eax, edi
jle 0x485e1a
jmp 0x485d80
cmp eax, edi
jle 0x485d8c
cmp edx, ebx
jle 0x485d8c
cmp edx, edi
jl 0x485e1a
mov eax, dword [esp + 0x24]
test eax, eax
jne case.default.0x485d36
cmp cl, 2
je case.default.0x485d36
cmp edx, ebx
jle case.default.0x485d36
cmp dword [esp + 0x18], edi
jg case.default.0x485d36
mov dword [esp + 0x24], 1
mov eax, dword [esp + 0x28]
inc eax
cmp eax, ebp
mov dword [esp + 0x28], eax
jl 0x485d15
cmp dword [esp + 0x24], 1
jne 0x485f5a
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 0x485de2
mov eax, edx
lea edi, [eax + ecx]
xor ebp, ebp
cmp esi, edi
jae 0x485f5a
mov bl, byte [esi]
cmp bl, 0x6d
mov byte [esp + 0x6c], bl
jne 0x485e5c
mov al, byte [esi]
inc esi
cmp al, 0x6d
mov byte [esp + 0x6c], al
jne 0x485e2c
inc ebp
jmp 0x485e37
push 0x58f294
call fcn.004dc5d0
add esp, 4
jmp 0x4860c1
push 0x58f258
call fcn.004dc5d0
add esp, 4
jmp 0x4860c1
cmp al, 0x74
jne 0x485e37
dec ebp
je 0x485f52
mov eax, dword [esp + 0x6c]
push eax
call fcn.004ccb50
add esp, 4
cmp eax, 1
jne 0x485e52
mov ecx, esi
call fcn.004ca570
add esi, eax
cmp esi, edi
jae 0x485f5a
jmp 0x485dfa
cmp bl, 0x6b
jne 0x485e9f
mov al, byte [esi]
inc esi
cmp al, 0x6b
mov byte [esp + 0x6c], al
jne 0x485e6f
inc ebp
jmp 0x485e7a
cmp al, 0x72
jne 0x485e7a
dec ebp
je 0x485f52
mov ecx, dword [esp + 0x6c]
push ecx
call fcn.004ccb50
add esp, 4
cmp eax, 1
jne 0x485e95
mov ecx, esi
call fcn.004ca570
add esi, eax
cmp esi, edi
jae 0x485f5a
jmp 0x485e61
cmp bl, 0x6c
jne 0x485ede
mov al, byte [esi]
inc esi
cmp al, 0x6c
mov byte [esp + 0x6c], al
jne 0x485eb2
inc ebp
jmp 0x485ebd
cmp al, 0x73
jne 0x485ebd
dec ebp
je 0x485f52
mov edx, dword [esp + 0x6c]
push edx
call fcn.004ccb50
add esp, 4
cmp eax, 1
jne 0x485ed8
mov ecx, esi
call fcn.004ca570
add esi, eax
cmp esi, edi
jae 0x485f5a
jmp 0x485ea4
cmp bl, 0x70
jne 0x485f19
mov bl, byte [esi]
inc esi
cmp bl, 0x70
mov byte [esp + 0x6c], bl
jne 0x485ef0
inc ebp
mov eax, dword [esp + 0x6c]
push eax
call fcn.004ccb50
add esp, 4
cmp eax, 1
jne 0x485f0b
mov ecx, esi
call fcn.004ca570
add esi, eax
cmp bl, 0x71
jne 0x485f13
dec ebp
je 0x485f52
cmp esi, edi
jae 0x485f5a
jmp 0x485ee3
mov ecx, dword [esp + 0x6c]
inc esi
push ecx
call fcn.004ccb50
add esp, 4
cmp eax, 1
jne 0x485f40
cmp bl, 0x6e
je 0x4860d6
mov ecx, esi
call fcn.004ca570
add esi, eax
jmp 0x485f52
cmp bl, 0x50
je 0x4860d6
cmp bl, 0x53
je 0x4860d6
cmp esi, edi
jb 0x485def
lea ecx, [esp + 0x44]
call fcn.004733a0
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.004736e0
lea edx, [esp + 0x3c]
push 8
push edx
lea ecx, [esp + 0x4c]
call fcn.00473c60
push ebp
lea ecx, [esp + 0x48]
call fcn.00473660
mov esi, dword [esp + 0x70]
mov ebx, 0x58f240
cmp esi, ebp
jne 0x485fb0
mov ebx, 0x58f22c
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.00473660
push ebx
lea ecx, [esp + 0x48]
call fcn.00473710
push 0x136
lea ecx, [esp + 0x48]
call fcn.004736a0
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.004e8420
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x68]
push esi
push edx
call fcn.004cb0e0
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.00473bc0
mov edx, dword [esp + 0x1c]
lea ecx, [esi + edi]
add esi, edx
push ecx
mov ecx, dword [esp + 0x6c]
push esi
call fcn.004cb060
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.004a5a50
push 1
push ebp
push ebp
mov ecx, esi
call fcn.004a6480
push 1
push ebp
mov ecx, esi
call fcn.004a9910
lea ecx, [esp + 0x44]
mov dword [esp + 0x60], 0xffffffff
mov dword [esp + 0x44], 0x54d7d0
call fcn.004735a0
mov ecx, dword [esp + 0x58]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x54
ret 0xc
push 0x58f1f4
call fcn.004dc5d0
add esp, 4
jmp 0x4860c1