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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebx + 0x70]
sub esp, 0x20
cmp dword [eax + 0xc], 0
push esi
push edi
jne 0x48452b
mov byte [esp + 0x10], 0
jmp 0x484534
mov eax, dword [eax + 0x10]
mov cl, byte [eax]
mov byte [esp + 0x10], cl
movzx eax, byte [esp + 0x10]
mov edx, dword [ebx + 0x24]
mov esi, dword [0x56762c]
push 0
push eax
push 0xf1
push edx
mov dword [esp + 0x24], eax
call esi
mov eax, dword [esp + 0x10]
push eax
mov edi, ebx
call fcn.00483c60
mov ecx, dword [ebx + 0x28]
push 0
push 0
push 0xf1
push ecx
call esi
mov edx, dword [ebx + 0x2c]
push 0
push 0
push 0xf1
push edx
call esi
mov eax, dword [ebx + 0x30]
push 0
push 0
push 0xf1
push eax
call esi
mov ecx, dword [ebx + 0x34]
push 0
push 0
push 0xf1
push ecx
call esi
mov edx, dword [ebx + 0x40]
push 0
push 0
push 0xf1
push edx
call esi
mov eax, dword [ebx + 0x3c]
push 0
push 0
push 0xf1
push eax
call esi
mov ecx, dword [ebx + 0x2bc]
push ecx
call dword [0x567694]
test eax, eax
je 0x4845d7
mov edx, dword [ebx + 0x2bc]
push 0
push edx
call dword [0x56766c]
mov eax, dword [ebx + 0x70]
cmp dword [eax + 0xc], 0
mov byte [esp + 0xf], 0
mov byte [esp + 0xe], 0
jne 0x4845ee
xor eax, eax
jmp 0x4845f4
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x54]
sub eax, 1
cmp eax, 6
ja case.default.0x484600
jmp dword [eax*4 + 0x484850]
mov ecx, dword [ebx + 0x2c]
push 0
push 1
push 0xf1
push ecx
call esi
mov al, byte [esp + 0x10]
mov edx, dword [ebx + 0x70]
mov byte [esp + 0xf], al
mov byte [esp + 0xe], al
mov eax, dword [edx + 0x10]
lea esi, [ebx + 0x210]
add eax, 0x34
mov dword [esi + 0x24], eax
mov byte [esi + 0x29], 1
call fcn.0046f730
test esi, esi
je 0x48465e
mov ecx, dword [ebx + 0x214]
mov esi, dword [0x56762c]
lea eax, [ebx + 0x214]
mov dword [ebx + 0x2bc], ecx
jmp case.0x484600.5
mov esi, dword [0x56762c]
xor eax, eax
mov ecx, dword [eax]
mov dword [ebx + 0x2bc], ecx
jmp case.0x484600.5
mov edx, dword [ebx + 0x30]
push 0
push 1
push 0xf1
push edx
call esi
mov al, byte [esp + 0x10]
mov byte [esp + 0xe], al
mov byte [esp + 0xf], al
mov eax, dword [ebx + 0x70]
mov ecx, dword [eax + 0x10]
lea esi, [ebx + 0x268]
add ecx, 0x34
mov dword [esi + 0x20], ecx
mov byte [esi + 0x51], 1
call fcn.00471430
test esi, esi
je 0x4846ca
mov edx, dword [ebx + 0x26c]
mov esi, dword [0x56762c]
lea eax, [ebx + 0x26c]
mov dword [ebx + 0x2bc], edx
jmp case.0x484600.5
mov esi, dword [0x56762c]
xor eax, eax
mov edx, dword [eax]
mov dword [ebx + 0x2bc], edx
jmp case.0x484600.5
mov eax, dword [ebx + 0x34]
push 0
push 1
push 0xf1
push eax
call esi
mov ecx, dword [ebx + 0x70]
mov edx, dword [ecx + 0x10]
mov al, byte [esp + 0x10]
lea edi, [ebx + 0x78]
add edx, 0x34
mov byte [esp + 0xe], al
mov byte [esp + 0xf], al
mov dword [edi + 0x194], edx
call fcn.00470e60
test edi, edi
je 0x48478e
lea eax, [ebx + 0x7c]
jmp 0x484790
mov ecx, dword [ebx + 0x40]
push 0
push 1
push 0xf1
push ecx
call esi
lea edx, [ebx + 0x248]
test edx, edx
mov byte [esp + 0xe], 0
je 0x48478e
lea eax, [ebx + 0x24c]
jmp 0x484790
mov ecx, dword [ebx + 0x3c]
push 0
push 1
push 0xf1
push ecx
call esi
lea edx, [ebx + 0x248]
test edx, edx
je 0x48478e
lea eax, [ebx + 0x24c]
jmp 0x484790
mov ecx, dword [ebx + 0x28]
push 0
push 1
push 0xf1
push ecx
call esi
mov al, byte [esp + 0x10]
lea edx, [ebx + 0x248]
test edx, edx
mov byte [esp + 0xe], al
mov byte [esp + 0xf], al
je 0x48478e
lea eax, [ebx + 0x24c]
jmp 0x484790
xor eax, eax
mov eax, dword [eax]
mov dword [ebx + 0x2bc], eax
movzx eax, byte [esp + 0xe]
mov ecx, dword [ebx + 0x60]
mov edi, dword [0x567628]
push eax
push ecx
mov dword [esp + 0x18], eax
call edi
mov edx, dword [esp + 0x10]
mov eax, dword [ebx + 0x64]
push edx
push eax
call edi
mov ecx, dword [ebx + 4]
push 0x408
push ecx
call dword [0x56765c]
movzx edx, byte [esp + 0xf]
push edx
push eax
call edi
mov eax, dword [ebx + 0x2bc]
push eax
call dword [0x567694]
test eax, eax
je 0x4847ff
mov ecx, dword [esp + 0x14]
mov edx, dword [ebx + 0x2bc]
push ecx
push edx
call edi
mov eax, dword [ebx + 0x2bc]
push 5
push eax
call dword [0x56766c]
mov ecx, dword [ebx + 0x70]
lea eax, [esp + 0x18]
call fcn.004b8d10
mov edx, dword [ebx + 0x60]
mov ecx, eax
push ecx
push 0
push 0x1002
push edx
call esi
mov ecx, dword [ebx + 0x64]
lea eax, [esp + 0x18]
push eax
push 0
push 0x1002
push ecx
call esi
mov edx, dword [ebx + 0x70]
mov eax, dword [edx + 0x10]
mov edx, dword [ebx + 0x44]
xor ecx, ecx
cmp byte [eax + 0x64], cl
push 0
setne cl
push ecx
push 0xf1
push edx
call esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret