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

Disassembly:
push 0xffffffffffffffff
push 0x4f5540
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x52a6ec]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x52a6ec]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x7c]
mov edi, ecx
mov eax, dword [edi]
mov esi, edx
mov edx, dword [eax + 0x44]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], esi
call edx
mov ebx, eax
test ebp, ebp
je 0x485635
mov ecx, dword [esp + 0x78]
mov eax, dword [ebp + 0x18]
and ecx, 7
cmp ecx, dword [eax*4 + 0x500bb0]
je 0x485bba
cmp dword [ebp + 0x1c], 3
jne 0x485635
cmp eax, 9
je 0x485635
cmp eax, 0xa
je 0x485635
cmp eax, 0xb
je 0x485635
cmp eax, 0xc
je 0x485635
cmp ecx, 2
je 0x485653
mov eax, dword [ebx]
mov edx, dword [eax + 8]
push edi
mov ecx, ebx
call edx
mov ecx, eax
mov eax, dword [esp + 0x78]
push esi
call fcn.004848f0
add esp, 4
jmp 0x485bf7
lea edi, [esp + 0x1c]
call fcn.00429fa0
test al, al
je case.0x485683.9
mov eax, dword [esp + 0x1c]
mov edi, esi
push eax
mov ecx, edi
call fcn.0048a120
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x18]
dec eax
cmp eax, 0x11
ja case.default.0x485683
jmp dword [eax*4 + 0x486060]
mov ecx, edi
call fcn.0048a1f0
test eax, eax
jle case.default.0x485683
lea esp, [esp]
lea ecx, [esp + 0x1c]
push ecx
mov esi, edi
call fcn.0043f190
add esp, 4
test al, al
je case.0x485683.9
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [ebx]
mov edx, dword [edx + 0xdc]
push eax
push ebp
push ecx
mov ecx, ebx
call edx
mov ecx, edi
call fcn.0048a1f0
test eax, eax
jg 0x4856a0
mov edx, dword [esp + 0x24]
mov eax, edi
call fcn.0048a1b0
jmp case.default.0x485bc0
mov ecx, edi
call fcn.0048a1f0
test eax, eax
jle case.default.0x485683
jmp 0x485700
mov esi, dword [esp + 0x18]
lea edi, [esp + 0x1c]
call fcn.00484500
test al, al
je case.0x485683.9
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov eax, dword [ebx]
push ecx
mov ecx, dword [esp + 0x18]
push edx
mov edx, dword [eax + 0xe0]
push ebp
push ecx
mov ecx, ebx
call edx
mov ecx, esi
call fcn.0048a1f0
test eax, eax
jg 0x485700
mov edi, ecx
mov edx, dword [esp + 0x24]
mov eax, edi
call fcn.0048a1b0
jmp case.default.0x485bc0
mov ecx, edi
call fcn.0048a1f0
test eax, eax
jle case.default.0x485683
lea esp, [esp]
lea eax, [esp + 0x1c]
push eax
mov esi, edi
call fcn.00484550
add esp, 4
test al, al
je case.0x485683.9
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [ebx]
mov edx, dword [edx + 0xdc]
push eax
push ebp
push ecx
mov ecx, ebx
call edx
mov ecx, edi
call fcn.0048a1f0
test eax, eax
jg 0x485760
mov edx, dword [esp + 0x24]
mov eax, edi
call fcn.0048a1b0
jmp case.default.0x485bc0
mov ecx, edi
call fcn.0048a1f0
test eax, eax
jle case.default.0x485683
mov esi, ecx
jmp 0x4857c0
lea edi, [esp + 0x1c]
mov ecx, esi
call fcn.00484580
test al, al
je case.0x485683.9
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov eax, dword [ebx]
push ecx
mov ecx, dword [esp + 0x18]
push edx
mov edx, dword [eax + 0xe0]
push ebp
push ecx
mov ecx, ebx
call edx
mov ecx, esi
call fcn.0048a1f0
test eax, eax
jg 0x4857c0
mov edx, dword [esp + 0x24]
mov edi, ecx
mov eax, edi
call fcn.0048a1b0
jmp case.default.0x485bc0
mov ecx, edi
call fcn.0048a1f0
test eax, eax
jle case.default.0x485683
jmp 0x485820
mov esi, dword [esp + 0x18]
lea edi, [esp + 0x1c]
call fcn.00429fa0
test al, al
je case.0x485683.9
mov ecx, dword [esp + 0x1c]
mov eax, dword [ebx]
mov edx, dword [esp + 0x14]
mov eax, dword [eax + 0xe4]
push ecx
push ebp
push edx
mov ecx, ebx
call eax
mov ecx, esi
call fcn.0048a1f0
test eax, eax
jg 0x485820
mov edx, dword [esp + 0x24]
mov edi, ecx
mov eax, edi
call fcn.0048a1b0
jmp case.default.0x485bc0
mov ecx, edi
call fcn.0048a1f0
test eax, eax
jle case.default.0x485683
jmp 0x485880
lea esi, [esp + 0x1c]
mov ecx, edi
call fcn.0042a010
test al, al
je case.0x485683.9
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [ebx]
mov edx, dword [edx + 0xe8]
push eax
mov eax, dword [esp + 0x18]
push ecx
push ebp
push eax
mov ecx, ebx
call edx
mov ecx, edi
call fcn.0048a1f0
test eax, eax
jg 0x485880
mov edx, dword [esp + 0x24]
mov eax, edi
call fcn.0048a1b0
jmp case.default.0x485bc0
mov ecx, edi
call fcn.0048a1f0
test eax, eax
jle case.default.0x485683
lea esp, [esp]
lea esi, [esp + 0x1c]
mov eax, edi
call fcn.004845e0
test al, al
je case.0x485683.9
mov ecx, dword [esp + 0x1c]
mov eax, dword [ebx]
mov edx, dword [esp + 0x14]
mov eax, dword [eax + 0xe4]
push ecx
push ebp
push edx
mov ecx, ebx
call eax
mov ecx, edi
call fcn.0048a1f0
test eax, eax
jg 0x4858e0
mov edx, dword [esp + 0x24]
mov eax, edi
call fcn.0048a1b0
jmp case.default.0x485bc0
mov ecx, edi
call fcn.0048a1f0
test eax, eax
jle case.default.0x485683
lea esi, [esp + 0x1c]
mov ecx, edi
call fcn.00483940
test al, al
je case.0x485683.9
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [ebx]
mov edx, dword [edx + 0xe8]
push eax
mov eax, dword [esp + 0x18]
push ecx
push ebp
push eax
mov ecx, ebx
call edx
mov ecx, edi
call fcn.0048a1f0
test eax, eax
jg 0x485934
mov edx, dword [esp + 0x24]
mov eax, edi
call fcn.0048a1b0
jmp case.default.0x485bc0
mov ecx, edi
call fcn.0048a1f0
test eax, eax
jle case.default.0x485683
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x1c]
push eax
mov eax, edi
call fcn.00484640
add esp, 4
test al, al
je case.0x485683.9
mov eax, dword [esp + 0x1c]
mov edx, dword [ebx]
mov edx, dword [edx + 0xdc]
push eax
push ebp
push esi
mov ecx, ebx
call edx
mov ecx, edi
call fcn.0048a1f0
test eax, eax
jg 0x485991
mov edx, dword [esp + 0x24]
mov eax, edi
call fcn.0048a1b0
jmp case.default.0x485bc0
mov ecx, edi
call fcn.0048a1f0
test eax, eax
jle case.default.0x485683
mov esi, ecx
jmp 0x4859f0
lea edi, [esp + 0x1c]
mov ecx, esi
call fcn.004846a0
test al, al
je case.0x485683.9
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov eax, dword [ebx]
push ecx
mov ecx, dword [esp + 0x18]
push edx
mov edx, dword [eax + 0xe0]
push ebp
push ecx
mov ecx, ebx
call edx
mov ecx, esi
call fcn.0048a1f0
test eax, eax
jg 0x4859f0
mov edx, dword [esp + 0x24]
mov edi, ecx
mov eax, edi
call fcn.0048a1b0
jmp case.default.0x485bc0
mov ecx, edi
call fcn.0048a1f0
test eax, eax
jle case.default.0x485683
mov esi, dword [esp + 0x14]
nop
lea eax, [esp + 0x1c]
push eax
mov eax, edi
call fcn.00484640
add esp, 4
test al, al
je case.0x485683.9
fld dword [esp + 0x1c]
mov edx, dword [ebx]
mov eax, dword [edx + 0xec]
push ecx
fstp dword [esp]
push ebp
push esi
mov ecx, ebx
call eax
mov ecx, edi
call fcn.0048a1f0
test eax, eax
jg 0x485a50
mov edx, dword [esp + 0x24]
mov eax, edi
call fcn.0048a1b0
jmp case.default.0x485bc0
mov ecx, edi
call fcn.0048a1f0
test eax, eax
jle case.default.0x485683
mov esi, ecx
lea esp, [esp]
lea edi, [esp + 0x1c]
mov ecx, esi
call fcn.004846a0
test al, al
je case.0x485683.9
fld qword [esp + 0x1c]
mov edx, dword [ebx]
mov eax, dword [esp + 0x14]
mov edx, dword [edx + 0xf0]
sub esp, 8
fstp qword [esp]
push ebp
push eax
mov ecx, ebx
call edx
mov ecx, esi
call fcn.0048a1f0
test eax, eax
jg 0x485ab0
mov edx, dword [esp + 0x24]
mov edi, ecx
mov eax, edi
call fcn.0048a1b0
jmp case.default.0x485bc0
mov ecx, edi
call fcn.0048a1f0
test eax, eax
jle case.default.0x485683
jmp 0x485b10
lea eax, [esp + 0x1c]
push eax
mov esi, edi
call fcn.0042a080
add esp, 4
test al, al
je case.0x485683.9
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [ebx]
mov edx, dword [edx + 0xf4]
push eax
push ebp
push ecx
mov ecx, ebx
call edx
mov ecx, edi
call fcn.0048a1f0
test eax, eax
jg 0x485b10
mov edx, dword [esp + 0x24]
mov eax, edi
call fcn.0048a1b0
jmp case.default.0x485bc0
mov ecx, edi
call fcn.0048a1f0
test eax, eax
jle case.default.0x485683
lea eax, [esp + 0x1c]
push eax
mov esi, edi
call fcn.0043f190
add esp, 4
test al, al
je case.0x485683.9
mov ecx, dword [esp + 0x1c]
mov eax, dword [ebp + 0x30]
call fcn.00467eb0
test eax, eax
je 0x485ba2
mov edx, dword [ebx]
mov edx, dword [edx + 0xfc]
push eax
mov eax, dword [esp + 0x18]
push ebp
push eax
mov ecx, ebx
call edx
mov ecx, edi
call fcn.0048a1f0
test eax, eax
jg 0x485b68
mov edx, dword [esp + 0x24]
mov eax, edi
call fcn.0048a1b0
jmp case.default.0x485bc0
dec eax
cmp eax, 0x11
ja case.default.0x485bc0
jmp dword [eax*4 + 0x4860a8]
lea eax, [esp + 0x14]
push eax
call fcn.0043f190
add esp, 4
test al, al
je case.0x485683.9
cmp dword [ebp + 0x1c], 3
jne 0x485c16
mov eax, dword [esp + 0x14]
mov edx, dword [ebx]
mov edx, dword [edx + 0xdc]
push eax
push ebp
push edi
mov ecx, ebx
call edx
mov al, 1
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.004c9392
add esp, 0x60
ret
mov ecx, dword [esp + 0x14]
mov eax, dword [ebx]
mov edx, dword [eax + 0x5c]
push ecx
push ebp
push edi
mov ecx, ebx
jmp 0x485bf3
lea edi, [esp + 0x24]
call fcn.00484500
test al, al
je case.0x485683.9
cmp dword [ebp + 0x1c], 3
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov eax, dword [ebx]
push ecx
mov ecx, dword [esp + 0x18]
push edx
push ebp
push ecx
mov ecx, ebx
jne 0x485c57
mov edx, dword [eax + 0xe0]
call edx
jmp case.default.0x485bc0
mov edx, dword [eax + 0x60]
call edx
jmp case.default.0x485bc0
lea eax, [esp + 0x14]
push eax
call fcn.00484550
add esp, 4
test al, al
jne 0x485bdc
xor al, al
jmp 0x485bf7
lea edi, [esp + 0x24]
mov ecx, esi
call fcn.00484580
test al, al
jne 0x485c33
jmp 0x485bf7
lea edi, [esp + 0x18]
call fcn.00429fa0
test al, al
je case.0x485683.9
cmp dword [ebp + 0x1c], 3
jne 0x485cba
mov ecx, dword [esp + 0x18]
mov eax, dword [ebx]
mov edx, dword [esp + 0x14]
mov eax, dword [eax + 0xe4]
push ecx
push ebp
push edx
mov ecx, ebx
call eax
jmp case.default.0x485bc0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [ebx]
mov edx, dword [edx + 0x64]
push eax
push ebp
push ecx
mov ecx, ebx
jmp 0x485bf3
mov ecx, dword [esp + 0x18]
lea esi, [esp + 0x24]
call fcn.0042a010
test al, al
je case.0x485683.9
cmp dword [ebp + 0x1c], 3
jne 0x485d05
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov eax, dword [ebx]
mov eax, dword [eax + 0xe8]
push ecx
push edx
push ebp
push edi
mov ecx, ebx
call eax
jmp case.default.0x485bc0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [ebx]
mov edx, dword [edx + 0x68]
push eax
push ecx
push ebp
push edi
mov ecx, ebx
call edx
jmp case.default.0x485bc0
mov eax, dword [esp + 0x18]
lea esi, [esp + 0x14]
call fcn.004845e0
test al, al
je case.0x485683.9
cmp dword [ebp + 0x1c], 3
mov ecx, dword [esp + 0x14]
mov eax, dword [ebx]
push ecx
push ebp
mov ecx, ebx
push edi
jne 0x485d50
mov edx, dword [eax + 0xe4]
jmp 0x485bf3
mov edx, dword [eax + 0x64]
jmp 0x485bf3
mov ecx, dword [esp + 0x18]
lea esi, [esp + 0x24]
call fcn.00483940
test al, al
jne 0x485ce2
jmp 0x485bf7
lea eax, [esp + 0x14]
push eax
mov eax, esi
call fcn.00484640
add esp, 4
test al, al
jne 0x485bdc
jmp 0x485bf7
lea edi, [esp + 0x24]
mov ecx, esi
call fcn.004846a0
test al, al
jne 0x485c33
jmp 0x485bf7
lea eax, [esp + 0x14]
push eax
mov eax, esi
call fcn.00484640
add esp, 4
test al, al
je case.0x485683.9
cmp dword [ebp + 0x1c], 3
fld dword [esp + 0x14]
mov edx, dword [ebx]
push ecx
fstp dword [esp]
push ebp
mov ecx, ebx
push edi
jne 0x485dde
mov eax, dword [edx + 0xec]
call eax
jmp case.default.0x485bc0
mov eax, dword [edx + 0x6c]
call eax
jmp case.default.0x485bc0
lea edi, [esp + 0x24]
mov ecx, esi
call fcn.004846a0
test al, al
je case.0x485683.9
fld qword [esp + 0x24]
sub esp, 8
cmp dword [ebp + 0x1c], 3
fstp qword [esp]
push ebp
jne 0x485e22
mov edx, dword [ebx]
mov eax, dword [esp + 0x20]
mov edx, dword [edx + 0xf0]
push eax
mov ecx, ebx
call edx
jmp case.default.0x485bc0
mov ecx, dword [esp + 0x20]
mov eax, dword [ebx]
mov edx, dword [eax + 0x70]
push ecx
mov ecx, ebx
call edx
jmp case.default.0x485bc0
lea eax, [esp + 0x14]
push eax
call fcn.0042a080
add esp, 4
test al, al
je case.0x485683.9
cmp dword [ebp + 0x1c], 3
jne 0x485e66
mov eax, dword [esp + 0x14]
mov edx, dword [ebx]
mov edx, dword [edx + 0xf4]
push eax
push ebp
push edi
mov ecx, ebx
jmp 0x485bf3
mov ecx, dword [esp + 0x14]
mov eax, dword [ebx]
mov edx, dword [eax + 0x74]
push ecx
push ebp
push edi
mov ecx, ebx
jmp 0x485bf3
lea eax, [esp + 0x24]
push eax
call fcn.0043f190
add esp, 4
test al, al
je case.0x485683.9
mov esi, dword [esp + 0x24]
mov eax, dword [ebp + 0x30]
mov ecx, esi
call fcn.00467eb0
mov ecx, ebx
test eax, eax
je 0x485ec4
cmp dword [ebp + 0x1c], 3
mov edx, dword [ebx]
push eax
push ebp
push edi
jne 0x485eba
mov eax, dword [edx + 0xfc]
call eax
jmp case.default.0x485bc0
mov eax, dword [edx + 0x7c]
call eax
jmp case.default.0x485bc0
mov eax, esi
mov esi, dword [esp + 0x78]
cdq
push edx
mov edx, dword [ebx]
push eax
mov eax, dword [edx + 8]
push edi
shr esi, 3
call eax
mov ecx, eax
mov eax, esi
call fcn.00489670
jmp case.default.0x485bc0
xor eax, eax
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], eax
mov byte [esp + 0x2c], al
lea ecx, [esp + 0x2c]
mov dword [esp + 0x70], eax
push ecx
mov eax, esi
call fcn.00484440
add esp, 4
test al, al
jne 0x485f27
lea ecx, [esp + 0x2c]
mov dword [esp + 0x70], 0xffffffff
call fcn.00406230
xor al, al
jmp 0x485bf7
cmp dword [ebp + 0x1c], 3
jne 0x485f3c
mov edx, dword [ebx]
mov edx, dword [edx + 0xf8]
lea eax, [esp + 0x2c]
push eax
jmp 0x485f46
mov eax, dword [ebx]
mov edx, dword [eax + 0x78]
lea ecx, [esp + 0x2c]
push ecx
push ebp
push edi
mov ecx, ebx
call edx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x70], 0xffffffff
call fcn.00406230
jmp case.default.0x485bc0
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], 0
mov byte [esp + 0x48], 0
lea eax, [esp + 0x48]
push eax
mov eax, esi
mov dword [esp + 0x74], 1
call fcn.00484480
add esp, 4
test al, al
jne 0x485faa
lea ecx, [esp + 0x48]
mov dword [esp + 0x70], 0xffffffff
call fcn.00406230
xor al, al
jmp 0x485bf7
cmp dword [ebp + 0x1c], 3
jne 0x485fbf
mov edx, dword [ebx]
mov edx, dword [edx + 0xf8]
lea eax, [esp + 0x48]
push eax
jmp 0x485fc9
mov eax, dword [ebx]
mov edx, dword [eax + 0x78]
lea ecx, [esp + 0x48]
push ecx
push ebp
push edi
mov ecx, ebx
call edx
lea ecx, [esp + 0x48]
mov dword [esp + 0x70], 0xffffffff
call fcn.00406230
jmp case.default.0x485bc0
cmp dword [ebp + 0x1c], 3
mov esi, dword [esi + 0x38]
mov eax, dword [ebx]
push esi
push ebp
mov ecx, ebx
push edi
jne 0x485ffd
mov edx, dword [eax + 0x100]
jmp 0x486003
mov edx, dword [eax + 0x80]
call edx
mov ecx, dword [esp + 0x78]
mov esi, dword [esp + 0x18]
shr ecx, 3
push ecx
mov ecx, eax
call fcn.004846d0
add esp, 4
test al, al
jne case.default.0x485bc0
jmp 0x485bf7
cmp dword [ebp + 0x1c], 3
mov eax, dword [esi + 0x38]
mov edx, dword [ebx]
push eax
push ebp
mov ecx, ebx
push edi
jne 0x486040
mov eax, dword [edx + 0x100]
jmp 0x486046
mov eax, dword [edx + 0x80]
call eax
mov ebx, eax
mov eax, esi
call fcn.00484710
test al, al
jne case.default.0x485bc0
jmp 0x485bf7