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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov dword [ebp - 0xc], 0
cmp dword [ebp - 0xc], 2
je 0x516371
cmp dword [ebp - 0xc], 2
ja 0x516503
cmp dword [ebp - 0xc], 0
je 0x516410
cmp dword [ebp - 0xc], 1
je 0x516509
jmp 0x516503
mov eax, dword [ebp + 0x80]
mov dword [esp + 0x4c], eax
mov eax, dword [ebp + 0x7c]
mov dword [esp + 0x48], eax
mov eax, dword [ebp + 0x78]
mov dword [esp + 0x44], eax
mov eax, dword [ebp + 0x74]
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 0x70]
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 0x68]
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0x64]
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x4c]
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0x48]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0x44]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x40]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x3c]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x38]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x34]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x30]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x2c]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x28]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x24]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym.___super_fnc__3466
mov dword [ebp - 0xc], 1
jmp 0x516504
mov eax, dword [ebp + 0x84]
mov dword [esp + 0x7c], eax
mov eax, dword [ebp + 0x80]
mov dword [esp + 0x78], eax
mov eax, dword [ebp + 0x7c]
mov dword [esp + 0x74], eax
mov eax, dword [ebp + 0x78]
mov dword [esp + 0x70], eax
mov eax, dword [ebp + 0x74]
mov dword [esp + 0x6c], eax
mov eax, dword [ebp + 0x70]
mov dword [esp + 0x68], eax
mov eax, dword [ebp + 0x6c]
mov dword [esp + 0x64], eax
mov eax, dword [ebp + 0x68]
mov dword [esp + 0x60], eax
mov eax, dword [ebp + 0x64]
mov dword [esp + 0x5c], eax
mov eax, dword [ebp + 0x60]
mov dword [esp + 0x58], eax
mov eax, dword [ebp + 0x5c]
mov dword [esp + 0x54], eax
mov eax, dword [ebp + 0x58]
mov dword [esp + 0x50], eax
mov eax, dword [ebp + 0x54]
mov dword [esp + 0x4c], eax
mov eax, dword [ebp + 0x50]
mov dword [esp + 0x48], eax
mov eax, dword [ebp + 0x4c]
mov dword [esp + 0x44], eax
mov eax, dword [ebp + 0x48]
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 0x44]
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 0x40]
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0x3c]
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x38]
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0x34]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0x30]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x2c]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x28]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x24]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym.___super_fnc__3465
mov dword [ebp - 0xc], 2
jmp 0x516504
nop
jmp 0x516348
nop
leave
ret