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

Disassembly:
push 0xffffffffffffffff
push 0x543f58
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.0047e4d0
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.0047e4d0
cmp esi, 0xd
jne 0x485cf1
cmp eax, esi
jne 0x485cf1
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x2c]
cmp ecx, eax
jne 0x485cf1
mov eax, dword [ecx + 0xc8]
test eax, eax
jne 0x485823
mov dword [esp + 0x14], 0
jmp 0x48582d
mov edx, dword [ecx + 0xc0]
mov dword [esp + 0x14], edx
mov eax, dword [ecx + 0x64]
test eax, eax
jne 0x485838
xor esi, esi
jmp 0x48583b
mov esi, dword [ecx + 0x5c]
mov eax, dword [esp + 0x20]
test eax, eax
jle 0x48586e
mov edi, dword [esp + 0x14]
jmp 0x48584d
mov ecx, dword [esp + 0x68]
mov eax, dword [esi + eax*4]
add eax, edi
push eax
call fcn.004cced0
cmp eax, 1
je 0x48586a
mov eax, dword [esp + 0x20]
dec eax
test eax, eax
mov dword [esp + 0x20], eax
jg 0x485849
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x10]
test eax, eax
jle 0x48589d
mov edi, dword [esp + 0x14]
jmp 0x485880
mov ecx, dword [esp + 0x68]
mov edx, dword [esi + eax*4]
add edx, edi
push edx
call fcn.004cced0
cmp eax, 1
mov eax, dword [esp + 0x10]
je 0x48589d
dec eax
test eax, eax
mov dword [esp + 0x10], eax
jg 0x48587c
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 0x4858bf
mov edx, dword [esp + 0x14]
cmp byte [ecx + edx - 1], 0x6d
jne 0x4858bf
dec ecx
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x14]
lea ecx, [edi + eax]
push ecx
call fcn.004aab80
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 0x485911
mov ebx, dword [esp + 0x14]
mov eax, dword [esi + eax*4]
mov ecx, dword [esp + 0x68]
add eax, ebx
push eax
call fcn.004cced0
cmp eax, 1
je 0x485911
mov eax, dword [esp + 0x10]
inc eax
cmp eax, edi
mov dword [esp + 0x10], eax
jl 0x4858f0
mov eax, dword [esp + 0x68]
xor ecx, ecx
cmp dword [eax + 0x78], ecx
jne 0x485920
xor esi, esi
jmp 0x485923
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 0x485b8a
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.0x485966
jmp dword [eax*4 + 0x485d18]
mov eax, dword [esp + 0x18]
cmp edx, ebx
jg 0x485983
cmp eax, ebx
jle 0x485983
cmp eax, edi
jle 0x485a38
jmp 0x485987
cmp eax, edi
jle case.default.0x485966
cmp edx, ebx
jle case.default.0x485966
cmp edx, edi
jle 0x485a38
jmp case.default.0x485966
mov eax, dword [esp + 0x18]
inc edi
cmp edx, ebx
jg 0x4859ac
cmp eax, ebx
jle 0x4859ac
cmp eax, edi
jle 0x485a4a
jmp 0x4859b0
cmp eax, edi
jle 0x4859bc
cmp edx, ebx
jle 0x4859bc
cmp edx, edi
jl 0x485a4a
mov eax, dword [esp + 0x24]
test eax, eax
jne case.default.0x485966
cmp cl, 2
je case.default.0x485966
cmp edx, ebx
jle case.default.0x485966
cmp dword [esp + 0x18], edi
jg case.default.0x485966
mov dword [esp + 0x24], 1
mov eax, dword [esp + 0x28]
inc eax
cmp eax, ebp
mov dword [esp + 0x28], eax
jl 0x485945
cmp dword [esp + 0x24], 1
jne 0x485b8a
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 0x485a12
mov eax, edx
lea edi, [eax + ecx]
xor ebp, ebp
cmp esi, edi
jae 0x485b8a
mov bl, byte [esi]
cmp bl, 0x6d
mov byte [esp + 0x6c], bl
jne 0x485a8c
mov al, byte [esi]
inc esi
cmp al, 0x6d
mov byte [esp + 0x6c], al
jne 0x485a5c
inc ebp
jmp 0x485a67
push 0x58f1ec
call fcn.004dc1b0
add esp, 4
jmp 0x485cf1
push 0x58f1b0
call fcn.004dc1b0
add esp, 4
jmp 0x485cf1
cmp al, 0x74
jne 0x485a67
dec ebp
je 0x485b82
mov eax, dword [esp + 0x6c]
push eax
call fcn.004cc730
add esp, 4
cmp eax, 1
jne 0x485a82
mov ecx, esi
call fcn.004ca150
add esi, eax
cmp esi, edi
jae 0x485b8a
jmp 0x485a2a
cmp bl, 0x6b
jne 0x485acf
mov al, byte [esi]
inc esi
cmp al, 0x6b
mov byte [esp + 0x6c], al
jne 0x485a9f
inc ebp
jmp 0x485aaa
cmp al, 0x72
jne 0x485aaa
dec ebp
je 0x485b82
mov ecx, dword [esp + 0x6c]
push ecx
call fcn.004cc730
add esp, 4
cmp eax, 1
jne 0x485ac5
mov ecx, esi
call fcn.004ca150
add esi, eax
cmp esi, edi
jae 0x485b8a
jmp 0x485a91
cmp bl, 0x6c
jne 0x485b0e
mov al, byte [esi]
inc esi
cmp al, 0x6c
mov byte [esp + 0x6c], al
jne 0x485ae2
inc ebp
jmp 0x485aed
cmp al, 0x73
jne 0x485aed
dec ebp
je 0x485b82
mov edx, dword [esp + 0x6c]
push edx
call fcn.004cc730
add esp, 4
cmp eax, 1
jne 0x485b08
mov ecx, esi
call fcn.004ca150
add esi, eax
cmp esi, edi
jae 0x485b8a
jmp 0x485ad4
cmp bl, 0x70
jne 0x485b49
mov bl, byte [esi]
inc esi
cmp bl, 0x70
mov byte [esp + 0x6c], bl
jne 0x485b20
inc ebp
mov eax, dword [esp + 0x6c]
push eax
call fcn.004cc730
add esp, 4
cmp eax, 1
jne 0x485b3b
mov ecx, esi
call fcn.004ca150
add esi, eax
cmp bl, 0x71
jne 0x485b43
dec ebp
je 0x485b82
cmp esi, edi
jae 0x485b8a
jmp 0x485b13
mov ecx, dword [esp + 0x6c]
inc esi
push ecx
call fcn.004cc730
add esp, 4
cmp eax, 1
jne 0x485b70
cmp bl, 0x6e
je 0x485d06
mov ecx, esi
call fcn.004ca150
add esi, eax
jmp 0x485b82
cmp bl, 0x50
je 0x485d06
cmp bl, 0x53
je 0x485d06
cmp esi, edi
jb 0x485a1f
lea ecx, [esp + 0x44]
call fcn.00473110
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.00473450
lea edx, [esp + 0x3c]
push 8
push edx
lea ecx, [esp + 0x4c]
call fcn.004739d0
push ebp
lea ecx, [esp + 0x48]
call fcn.004733d0
mov esi, dword [esp + 0x70]
mov ebx, 0x58f198
cmp esi, ebp
jne 0x485be0
mov ebx, 0x58f184
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.004733d0
push ebx
lea ecx, [esp + 0x48]
call fcn.00473480
push 0x136
lea ecx, [esp + 0x48]
call fcn.00473410
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.004e8020
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x68]
push esi
push edx
call fcn.004cacc0
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.00473930
mov edx, dword [esp + 0x1c]
lea ecx, [esi + edi]
add esi, edx
push ecx
mov ecx, dword [esp + 0x6c]
push esi
call fcn.004cac40
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.004a5680
push 1
push ebp
push ebp
mov ecx, esi
call fcn.004a60b0
push 1
push ebp
mov ecx, esi
call fcn.004a9540
lea ecx, [esp + 0x44]
mov dword [esp + 0x60], 0xffffffff
mov dword [esp + 0x44], 0x54d7d0
call fcn.00473310
mov ecx, dword [esp + 0x58]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x54
ret 0xc
push 0x58f14c
call fcn.004dc1b0
add esp, 4
jmp 0x485cf1