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

Disassembly:
sub esp, 0x22c
mov eax, dword [0x58cb30]
xor eax, esp
mov dword [esp + 0x228], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x23c]
mov ebp, ecx
push edi
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0x20000000
mov dword [esp + 0xa0], 0x70000000
mov dword [esp + 0xa4], 0xf8000000
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0x7000000
mov dword [esp + 0xbc], 0x3e000000
mov dword [esp + 0xc0], 0x7c000000
mov dword [esp + 0xc4], 0xf8000000
mov dword [esp + 0xc8], 0xf8000000
mov dword [esp + 0xcc], 0xf8000000
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd8], 0x3e00000
mov dword [esp + 0xdc], 0xf800000
mov dword [esp + 0xe0], 0x1f000000
mov dword [esp + 0xe4], 0x3e000000
mov dword [esp + 0xe8], 0x7c000000
mov dword [esp + 0xec], 0xf8000000
mov dword [esp + 0xf0], 0xf8000000
mov dword [esp + 0xf4], 0xf8000000
mov dword [esp + 0xf8], 0x7f8000
mov dword [esp + 0xfc], 0x3ff0000
mov dword [esp + 0x100], 0x7fc0000
mov dword [esp + 0x104], 0xfe00000
mov dword [esp + 0x108], 0x1f800000
mov dword [esp + 0x10c], 0x3e000000
mov dword [esp + 0x110], 0x38000000
mov dword [esp + 0x114], 0x30000000
mov dword [esp + 0x118], 0xf8000000
mov dword [esp + 0x11c], 0x30000000
mov dword [esp + 0x120], 0x7fe000
mov dword [esp + 0x124], 0x1fff800
mov dword [esp + 0x128], 0x7ffe000
mov dword [esp + 0x12c], 0x1fff0000
mov dword [esp + 0x130], 0xe0000000
mov dword [esp + 0x134], 0x60000000
mov dword [esp + 0x138], 0x20000000
mov dword [esp + 0x13c], 0
mov dword [esp + 0x140], 0
mov dword [esp + 0x144], 0
mov dword [esp + 0x148], 0xfe000
mov dword [esp + 0x14c], 0x7ff800
mov dword [esp + 0x150], 0xffffe00
mov dword [esp + 0x154], 0x700ff00
mov dword [esp + 0x158], 0x3001f80
mov dword [esp + 0x15c], 0
mov dword [esp + 0x160], 0
mov dword [esp + 0x164], 0
mov dword [esp + 0x168], 0
mov dword [esp + 0x16c], 0
mov dword [esp + 0x170], 0x1ffe000
mov dword [esp + 0x174], 0xe3f800
mov dword [esp + 0x178], 0x60fe00
mov dword [esp + 0x17c], 0x3f00
mov dword [esp + 0x180], 0x1f80
mov dword [esp + 0x184], 0x780
mov dword [esp + 0x188], 0x180
mov dword [esp + 0x18c], 0
mov dword [esp + 0x190], 0
mov dword [esp + 0x194], 0
mov dword [esp + 0x198], 0x6000
mov dword [esp + 0x19c], 0x1e000
mov dword [esp + 0x1a0], 0x7e000
mov dword [esp + 0x1a4], 0x7800
mov dword [esp + 0x1a8], 0x3e00
mov ecx, dword [esi + 0x18]
mov edi, dword [esi + 0x10]
mov ebx, dword [esi + 0x14]
mov dword [esp + 0x1ac], 0x1f00
mov dword [esp + 0x1b0], 0xf80
lea eax, [ecx + 1]
mov dword [esp + 0x1b4], 0x780
mov dword [esp + 0x1b8], 0x380
mov dword [esp + 0x1bc], 0
mov dword [esp + 0x1c0], 0
mov dword [esp + 0x1c4], 0x400
mov dword [esp + 0x1c8], 0x3c00
mov dword [esp + 0x1cc], 0xfc00
mov dword [esp + 0x1d0], 0xf00
mov dword [esp + 0x1d4], 0x7c0
mov dword [esp + 0x1d8], 0x3e0
mov dword [esp + 0x1dc], 0x1f0
mov dword [esp + 0x1e0], 0xf8
mov dword [esp + 0x1e4], 0xf8
mov dword [esp + 0x1e8], 0
mov dword [esp + 0x1ec], 0
mov dword [esp + 0x1f0], 0
mov dword [esp + 0x1f4], 0
mov dword [esp + 0x1f8], 0x7c0
mov dword [esp + 0x1fc], 0x1c0
mov dword [esp + 0x200], 0x40
mov dword [esp + 0x204], 0x70
mov dword [esp + 0x208], 0x7c
mov dword [esp + 0x20c], 0x7c
mov dword [esp + 0x210], 0
mov dword [esp + 0x214], 0
mov dword [esp + 0x218], 0
mov dword [esp + 0x21c], 0
mov dword [esp + 0x220], 0
mov dword [esp + 0x224], 0
mov dword [esp + 0x228], 0
mov dword [esp + 0x22c], 0x7f
mov dword [esp + 0x230], 0x1e
mov dword [esp + 0x234], 6
mov dword [esp + 0x10], 0xdd800
mov dword [esp + 0x14], 0x6b000
mov dword [esp + 0x18], 0x1c000
mov dword [esp + 0x1c], 0x8000
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0x3e000
mov dword [esp + 0x38], 0x41000
mov dword [esp + 0x3c], 0x3e000
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0x7f000
mov dword [esp + 0x50], 0x380e00
mov dword [esp + 0x54], 0x400100
mov dword [esp + 0x58], 0x380e00
mov dword [esp + 0x5c], 0x7f000
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0x1ffc00
mov dword [esp + 0x68], 0x1e003c0
mov dword [esp + 0x6c], 0x6000030
mov dword [esp + 0x70], 0xc000018
mov dword [esp + 0x74], 0x6000030
mov dword [esp + 0x78], 0x1e003c0
mov dword [esp + 0x7c], 0x1ffc00
mov dword [esi + 0x18], eax
cmp ecx, 0xf
jb 0x50d11a
mov dword [esi], 0
jmp 0x50d19b
mov eax, ecx
xor edx, edx
mov ecx, 0xf
div ecx
mov ecx, dword [esi + 8]
cmp edx, 0xb
jae 0x50d158
test ecx, ecx
lea ecx, [esp + 0x80]
setne al
movzx eax, al
push eax
push 0xdc
push 0xdc
push 0xc8
push ebx
push edi
lea eax, [edx + edx*4]
push 0xa
lea eax, [ecx + eax*8]
jmp 0x50d189
neg ecx
lea eax, [ebx + 5]
push 0
sbb ecx, ecx
push 0xdc
and ecx, 0xffffffe2
push 0x78
add ecx, 0xf
push 0x64
push eax
add ecx, edi
push ecx
lea ecx, [edx - 0xb]
lea eax, [ecx*8]
sub eax, ecx
lea ecx, [esp + 0x28]
push 7
lea eax, [ecx + eax*4]
push 0xa
push 0
push eax
mov ecx, ebp
call fcn.00513770
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], ebx
mov ecx, dword [esp + 0x238]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00530218
add esp, 0x22c
ret 4