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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ec8d8
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x55a3d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
mov edx, dword [eax + 0x34]
mov edi, dword [ebp + 8]
mov ecx, ebx
mov dword [ebp - 0x34], ebx
call edx
mov esi, eax
mov al, byte [edi + 0x18]
test al, al
je 0x484fd4
mov eax, dword [edi + 0x1c]
mov eax, dword [eax + 0x10]
cmp byte [eax + 0x28], 0
je 0x484fd4
mov eax, dword [edi + 0x10]
cmp dword [eax*4 + 0x5041f0], 0xa
jne 0x484fd4
cmp dword [edi + 0x14], 3
je 0x484fd4
push ebx
push edi
call fcn.004838d0
add esp, 8
jmp 0x485494
cmp dword [edi + 0x14], 3
mov edx, dword [esi]
push edi
mov dword [ebp - 0x38], 0
mov ecx, esi
push ebx
jne 0x484ff1
mov eax, dword [edx + 0x10]
call eax
mov dword [ebp - 0x38], eax
jmp 0x485001
mov eax, dword [edx + 0xc]
call eax
test al, al
je 0x485001
mov dword [ebp - 0x38], 1
mov eax, dword [edi + 0xc]
mov ebx, dword [edi + 0x10]
add eax, eax
add eax, eax
add eax, eax
cmp eax, 0x80
jae 0x48501b
mov eax, 1
jmp 0x485024
push eax
call fcn.004864a0
add esp, 4
cmp ebx, 0xa
lea ebx, [eax + eax]
je 0x48502e
mov ebx, eax
mov ecx, dword [edi + 0x10]
mov eax, dword [ebp - 0x38]
dec ecx
imul ebx, eax
cmp ecx, 0x11
ja case.default.0x485041
jmp dword [ecx*4 + 0x4854b0]
cmp dword [edi + 0x14], 3
jne 0x48508e
mov dword [ebp - 0x30], 0
test eax, eax
jle case.default.0x485041
lea ecx, [ecx]
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
mov edx, dword [esi]
mov edx, dword [edx + 0x70]
push eax
push edi
push ecx
mov ecx, esi
call edx
push eax
call fcn.004837f0
add ebx, eax
mov eax, dword [ebp - 0x30]
inc eax
add esp, 4
mov dword [ebp - 0x30], eax
cmp eax, dword [ebp - 0x38]
jl 0x485060
jmp case.default.0x485041
mov ecx, dword [ebp - 0x34]
mov eax, dword [esi]
mov edx, dword [eax + 0x1c]
push edi
push ecx
mov ecx, esi
call edx
push eax
call fcn.004837f0
add esp, 4
add ebx, eax
jmp case.default.0x485041
cmp dword [edi + 0x14], 3
jne 0x4850f0
mov dword [ebp - 0x30], 0
test eax, eax
jle case.default.0x485041
mov ecx, dword [ebp - 0x30]
mov eax, dword [esi]
mov edx, dword [ebp - 0x34]
mov eax, dword [eax + 0x74]
push ecx
push edi
push edx
mov ecx, esi
call eax
push edx
push eax
call fcn.004864e0
add ebx, eax
mov eax, dword [ebp - 0x30]
inc eax
add esp, 8
mov dword [ebp - 0x30], eax
cmp eax, dword [ebp - 0x38]
jl 0x4850c1
jmp case.default.0x485041
mov edx, dword [esi]
mov eax, dword [ebp - 0x34]
mov edx, dword [edx + 0x20]
push edi
push eax
mov ecx, esi
call edx
push edx
push eax
call fcn.004864e0
add esp, 8
add ebx, eax
jmp case.default.0x485041
cmp dword [edi + 0x14], 3
jne 0x485152
mov dword [ebp - 0x30], 0
test eax, eax
jle case.default.0x485041
mov ecx, dword [ebp - 0x30]
mov eax, dword [esi]
mov edx, dword [ebp - 0x34]
mov eax, dword [eax + 0x70]
push ecx
push edi
push edx
mov ecx, esi
call eax
push eax
call fcn.00483840
add ebx, eax
mov eax, dword [ebp - 0x30]
inc eax
add esp, 4
mov dword [ebp - 0x30], eax
cmp eax, dword [ebp - 0x38]
jl 0x485124
jmp case.default.0x485041
mov edx, dword [esi]
mov eax, dword [ebp - 0x34]
mov edx, dword [edx + 0x1c]
push edi
push eax
mov ecx, esi
call edx
push eax
call fcn.00483840
add esp, 4
add ebx, eax
jmp case.default.0x485041
cmp dword [edi + 0x14], 3
jne 0x4851b4
mov dword [ebp - 0x30], 0
test eax, eax
jle case.default.0x485041
mov ecx, dword [ebp - 0x30]
mov eax, dword [esi]
mov edx, dword [ebp - 0x34]
mov eax, dword [eax + 0x74]
push ecx
push edi
push edx
mov ecx, esi
call eax
push edx
push eax
call fcn.00483870
add ebx, eax
mov eax, dword [ebp - 0x30]
inc eax
add esp, 8
mov dword [ebp - 0x30], eax
cmp eax, dword [ebp - 0x38]
jl 0x485185
jmp case.default.0x485041
mov edx, dword [esi]
mov eax, dword [ebp - 0x34]
mov edx, dword [edx + 0x20]
push edi
push eax
mov ecx, esi
call edx
push edx
push eax
call fcn.00483870
add esp, 8
add ebx, eax
jmp case.default.0x485041
cmp dword [edi + 0x14], 3
jne 0x485224
mov dword [ebp - 0x30], 0
test eax, eax
jle case.default.0x485041
mov ecx, dword [ebp - 0x30]
mov eax, dword [esi]
mov edx, dword [ebp - 0x34]
mov eax, dword [eax + 0x78]
push ecx
push edi
push edx
mov ecx, esi
call eax
cmp eax, 0x80
jae 0x485208
mov eax, 1
jmp 0x485211
push eax
call fcn.004864a0
add esp, 4
add ebx, eax
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp eax, dword [ebp - 0x38]
jl 0x4851e8
jmp case.default.0x485041
mov edx, dword [esi]
mov eax, dword [ebp - 0x34]
mov edx, dword [edx + 0x24]
push edi
push eax
mov ecx, esi
call edx
push eax
call fcn.00483820
add esp, 4
add ebx, eax
jmp case.default.0x485041
cmp dword [edi + 0x14], 3
jne 0x485286
mov dword [ebp - 0x30], 0
test eax, eax
jle case.default.0x485041
mov ecx, dword [ebp - 0x30]
mov eax, dword [esi]
mov edx, dword [ebp - 0x34]
mov eax, dword [eax + 0x7c]
push ecx
push edi
push edx
mov ecx, esi
call eax
push edx
push eax
call fcn.004864e0
add ebx, eax
mov eax, dword [ebp - 0x30]
inc eax
add esp, 8
mov dword [ebp - 0x30], eax
cmp eax, dword [ebp - 0x38]
jl 0x485257
jmp case.default.0x485041
mov edx, dword [esi]
mov eax, dword [ebp - 0x34]
mov edx, dword [edx + 0x28]
push edi
push eax
mov ecx, esi
call edx
push edx
push eax
call fcn.004864e0
add esp, 8
add ebx, eax
jmp case.default.0x485041
lea ebx, [ebx + eax*4]
jmp case.default.0x485041
lea ebx, [ebx + eax*8]
jmp case.default.0x485041
cmp dword [edi + 0x14], 3
jne 0x485301
mov dword [ebp - 0x30], 0
test eax, eax
jle case.default.0x485041
lea ebx, [ebx]
mov ecx, dword [ebp - 0x30]
mov eax, dword [esi]
mov edx, dword [ebp - 0x34]
mov eax, dword [eax + 0x94]
push ecx
push edi
push edx
mov ecx, esi
call eax
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x20]
call eax
add ebx, eax
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp eax, dword [ebp - 0x38]
jl 0x4852d0
jmp case.default.0x485041
mov edx, dword [esi]
mov eax, dword [ebp - 0x34]
mov edx, dword [edx + 0x40]
push edi
push eax
mov ecx, esi
call edx
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x20]
call eax
add ebx, eax
jmp case.default.0x485041
cmp dword [edi + 0x14], 3
jne 0x485365
mov dword [ebp - 0x30], 0
test eax, eax
jle case.default.0x485041
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
mov edx, dword [esi]
mov edx, dword [edx + 0x94]
push eax
push edi
push ecx
mov ecx, esi
call edx
push eax
call fcn.004838a0
add ebx, eax
mov eax, dword [ebp - 0x30]
inc eax
add esp, 4
mov dword [ebp - 0x30], eax
cmp eax, dword [ebp - 0x38]
jl 0x485334
jmp case.default.0x485041
mov ecx, dword [ebp - 0x34]
mov eax, dword [esi]
mov edx, dword [eax + 0x40]
push edi
push ecx
mov ecx, esi
call edx
push eax
call fcn.004838a0
add esp, 4
add ebx, eax
jmp case.default.0x485041
cmp dword [edi + 0x14], 3
jne 0x4853cc
mov dword [ebp - 0x30], 0
test eax, eax
jle case.default.0x485041
mov ecx, dword [ebp - 0x30]
mov eax, dword [esi]
mov edx, dword [ebp - 0x34]
mov eax, dword [eax + 0x90]
push ecx
push edi
push edx
mov ecx, esi
call eax
mov eax, dword [eax + 8]
push eax
call fcn.004837f0
add ebx, eax
mov eax, dword [ebp - 0x30]
inc eax
add esp, 4
mov dword [ebp - 0x30], eax
cmp eax, dword [ebp - 0x38]
jl 0x485398
jmp case.default.0x485041
mov edx, dword [esi]
mov eax, dword [ebp - 0x34]
mov edx, dword [edx + 0x3c]
push edi
push eax
mov ecx, esi
call edx
mov eax, dword [eax + 8]
push eax
call fcn.004837f0
add esp, 4
add ebx, eax
jmp case.default.0x485041
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
cmp eax, ecx
jle case.default.0x485041
jmp 0x485402
xor ecx, ecx
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ecx
mov byte [ebp - 0x2c], 0
cmp dword [edi + 0x14], 3
mov eax, dword [esi]
mov dword [ebp - 4], ecx
lea ecx, [ebp - 0x2c]
push ecx
jne 0x485434
mov edx, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x34]
push edx
mov edx, dword [eax + 0x98]
push edi
push ecx
mov ecx, esi
call edx
jmp 0x485440
mov edx, dword [ebp - 0x34]
mov eax, dword [eax + 0x44]
push edi
push edx
mov ecx, esi
call eax
mov ecx, eax
mov dword [ebp - 0x30], eax
mov eax, dword [ecx + 0x10]
cmp eax, 0x80
jae 0x485456
mov eax, 1
jmp 0x48545f
push eax
call fcn.004864a0
add esp, 4
mov edx, dword [ebp - 0x30]
mov ecx, dword [edx + 0x10]
add ecx, eax
add ebx, ecx
cmp dword [ebp - 0x18], 0x10
mov dword [ebp - 4], 0xffffffff
jb 0x485482
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004b5907
add esp, 4
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp eax, dword [ebp - 0x38]
jl 0x485400
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b58f8
mov esp, ebp
pop ebp
ret