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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e4c18
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x5564b0]
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 0x481bd4
mov eax, dword [edi + 0x1c]
mov eax, dword [eax + 0x10]
cmp byte [eax + 0x28], 0
je 0x481bd4
mov eax, dword [edi + 0x10]
cmp dword [eax*4 + 0x50ca48], 0xa
jne 0x481bd4
cmp dword [edi + 0x14], 3
je 0x481bd4
push ebx
push edi
call fcn.00480450
add esp, 8
jmp 0x482094
cmp dword [edi + 0x14], 3
mov edx, dword [esi]
push edi
mov dword [ebp - 0x38], 0
mov ecx, esi
push ebx
jne 0x481bf1
mov eax, dword [edx + 0x10]
call eax
mov dword [ebp - 0x38], eax
jmp 0x481c01
mov eax, dword [edx + 0xc]
call eax
test al, al
je 0x481c01
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 0x481c1b
mov eax, 1
jmp 0x481c24
push eax
call fcn.004830a0
add esp, 4
cmp ebx, 0xa
lea ebx, [eax + eax]
je 0x481c2e
mov ebx, eax
mov ecx, dword [edi + 0x10]
mov eax, dword [ebp - 0x38]
dec ecx
imul ebx, eax
cmp ecx, 0x11
ja case.default.0x481c41
jmp dword [ecx*4 + 0x4820b0]
cmp dword [edi + 0x14], 3
jne 0x481c8e
mov dword [ebp - 0x30], 0
test eax, eax
jle case.default.0x481c41
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.004803f0
add ebx, eax
mov eax, dword [ebp - 0x30]
inc eax
add esp, 4
mov dword [ebp - 0x30], eax
cmp eax, dword [ebp - 0x38]
jl 0x481c60
jmp case.default.0x481c41
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.004803f0
add esp, 4
add ebx, eax
jmp case.default.0x481c41
cmp dword [edi + 0x14], 3
jne 0x481cf0
mov dword [ebp - 0x30], 0
test eax, eax
jle case.default.0x481c41
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.004830e0
add ebx, eax
mov eax, dword [ebp - 0x30]
inc eax
add esp, 8
mov dword [ebp - 0x30], eax
cmp eax, dword [ebp - 0x38]
jl 0x481cc1
jmp case.default.0x481c41
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.004830e0
add esp, 8
add ebx, eax
jmp case.default.0x481c41
cmp dword [edi + 0x14], 3
jne 0x481d52
mov dword [ebp - 0x30], 0
test eax, eax
jle case.default.0x481c41
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.00480390
add ebx, eax
mov eax, dword [ebp - 0x30]
inc eax
add esp, 4
mov dword [ebp - 0x30], eax
cmp eax, dword [ebp - 0x38]
jl 0x481d24
jmp case.default.0x481c41
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.00480390
add esp, 4
add ebx, eax
jmp case.default.0x481c41
cmp dword [edi + 0x14], 3
jne 0x481db4
mov dword [ebp - 0x30], 0
test eax, eax
jle case.default.0x481c41
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.004803c0
add ebx, eax
mov eax, dword [ebp - 0x30]
inc eax
add esp, 8
mov dword [ebp - 0x30], eax
cmp eax, dword [ebp - 0x38]
jl 0x481d85
jmp case.default.0x481c41
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.004803c0
add esp, 8
add ebx, eax
jmp case.default.0x481c41
cmp dword [edi + 0x14], 3
jne 0x481e24
mov dword [ebp - 0x30], 0
test eax, eax
jle case.default.0x481c41
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 0x481e08
mov eax, 1
jmp 0x481e11
push eax
call fcn.004830a0
add esp, 4
add ebx, eax
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp eax, dword [ebp - 0x38]
jl 0x481de8
jmp case.default.0x481c41
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.00480370
add esp, 4
add ebx, eax
jmp case.default.0x481c41
cmp dword [edi + 0x14], 3
jne 0x481e86
mov dword [ebp - 0x30], 0
test eax, eax
jle case.default.0x481c41
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.004830e0
add ebx, eax
mov eax, dword [ebp - 0x30]
inc eax
add esp, 8
mov dword [ebp - 0x30], eax
cmp eax, dword [ebp - 0x38]
jl 0x481e57
jmp case.default.0x481c41
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.004830e0
add esp, 8
add ebx, eax
jmp case.default.0x481c41
lea ebx, [ebx + eax*4]
jmp case.default.0x481c41
lea ebx, [ebx + eax*8]
jmp case.default.0x481c41
cmp dword [edi + 0x14], 3
jne 0x481f01
mov dword [ebp - 0x30], 0
test eax, eax
jle case.default.0x481c41
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 0x481ed0
jmp case.default.0x481c41
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.0x481c41
cmp dword [edi + 0x14], 3
jne 0x481f65
mov dword [ebp - 0x30], 0
test eax, eax
jle case.default.0x481c41
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.00480420
add ebx, eax
mov eax, dword [ebp - 0x30]
inc eax
add esp, 4
mov dword [ebp - 0x30], eax
cmp eax, dword [ebp - 0x38]
jl 0x481f34
jmp case.default.0x481c41
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.00480420
add esp, 4
add ebx, eax
jmp case.default.0x481c41
cmp dword [edi + 0x14], 3
jne 0x481fcc
mov dword [ebp - 0x30], 0
test eax, eax
jle case.default.0x481c41
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.004803f0
add ebx, eax
mov eax, dword [ebp - 0x30]
inc eax
add esp, 4
mov dword [ebp - 0x30], eax
cmp eax, dword [ebp - 0x38]
jl 0x481f98
jmp case.default.0x481c41
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.004803f0
add esp, 4
add ebx, eax
jmp case.default.0x481c41
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
cmp eax, ecx
jle case.default.0x481c41
jmp 0x482002
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 0x482034
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 0x482040
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 0x482056
mov eax, 1
jmp 0x48205f
push eax
call fcn.004830a0
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 0x482082
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0049acb7
add esp, 4
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp eax, dword [ebp - 0x38]
jl 0x482000
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.0049ab39
mov esp, ebp
pop ebp
ret