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

Disassembly:
sub esp, 0x13c
mov eax, dword [esp + 0x140]
mov dword [esp + 0x11c], eax
mov eax, dword [esp + 0x144]
mov dword [esp + 0x118], eax
mov eax, dword [esp + 0x148]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 0x14c]
mov dword [esp + 0x110], eax
mov eax, dword [esp + 0x150]
mov dword [esp + 0x10c], eax
mov eax, dword [esp + 0x154]
mov dword [esp + 0x108], eax
mov eax, dword [esp + 0x158]
mov dword [esp + 0x104], eax
mov eax, dword [esp + 0x15c]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x160]
mov dword [esp + 0xfc], eax
mov eax, dword [esp + 0x164]
mov dword [esp + 0xf8], eax
mov eax, dword [esp + 0x168]
mov dword [esp + 0xf4], eax
mov eax, dword [esp + 0x16c]
mov dword [esp + 0xf0], eax
mov eax, dword [esp + 0x170]
mov dword [esp + 0xec], eax
mov eax, dword [esp + 0x174]
mov dword [esp + 0xe8], eax
mov eax, dword [esp + 0x178]
mov dword [esp + 0xe4], eax
mov eax, dword [esp + 0x17c]
mov dword [esp + 0xe0], eax
mov eax, dword [esp + 0x180]
mov dword [esp + 0xdc], eax
mov eax, dword [esp + 0x184]
mov dword [esp + 0xd8], eax
mov eax, dword [esp + 0x188]
mov dword [esp + 0xd4], eax
mov eax, dword [esp + 0x18c]
mov dword [esp + 0xd0], eax
mov eax, dword [esp + 0x190]
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0x194]
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0x198]
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0x19c]
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0x1a0]
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0x1a4]
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0x1a8]
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x1ac]
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x1b0]
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x1b4]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x1b8]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x1bc]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x1c0]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x1c4]
mov dword [esp + 0x98], eax
mov eax, dword [0xcb7220]
mov dword [esp + 0x12c], eax
xor eax, eax
mov dword [esp + 0x128], 1
cmp dword [esp + 0x128], 0
je 0x5085e5
cmp dword [esp + 0x128], 1
jne 0x5085df
mov eax, dword [esp + 0x98]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0xbc]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0xc4]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0xc8]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0xcc]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0xd0]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0xd4]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0xd8]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0xdc]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0xe0]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0xe4]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0xe8]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0xec]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0xf0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0xf4]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0xf8]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xfc]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x100]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x104]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x108]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x110]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x114]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x118]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x11c]
mov dword [esp], eax
call sym.___super_fnc__568
mov dword [esp + 0x128], 0
jmp 0x5085e0
nop
jmp 0x508436
nop
mov eax, dword [esp + 0x12c]
sub eax, dword [0xcb7220]
je 0x5085fa
call sym.___stack_chk_fail
add esp, 0x13c
ret