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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x50]
cmp eax, dword [ecx + 8]
jbe 0x50beaa
sub esp, 0xd0
mov byte [esp + 0xd4], 0
mov byte [esp + 0xd5], 0
mov byte [esp + 0xd5], 0
mov byte [esp + 0xd4], 0
mov ebx, 0x5ee349
mov dword [esp], ebx
mov dword [esp + 4], 3
call fcn.00509900
mov ebx, dword [esp + 8]
mov dword [esp + 0x8c], ebx
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x90], ebx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x94], ebx
mov byte [esp + 0x25], 0x7f
mov byte [esp + 0x24], 0
mov byte [esp + 0x23], 0
mov byte [esp + 0x22], 1
xor ebx, ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp], 0x5bd1c0
mov dword [esp + 4], 0x10
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0x10
mov dword [esp + 0x10], 0
call fcn.0043b310
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], ecx
mov dword [esp + 0x88], ecx
mov ebp, dword [0x6badc0]
mov edx, dword [0x6badc4]
mov ebx, dword [0x6badc8]
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x84], eax
mov dword [esp + 0x78], edx
cmp edx, eax
jge 0x50bbda
mov eax, edx
mov dword [esp + 0x80], esi
mov dword [esp], esi
mov dword [esp + 0x74], ebp
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
call fcn.00452680
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
movzx ebx, byte [esp + 0x25]
mov esi, ebx
cmp ecx, 0xc
jbe 0x50bea3
mov ebx, edx
add ebx, 0xc
xchg esi, eax
mov byte [ebx], al
xchg esi, eax
movzx ebx, byte [esp + 0x24]
mov esi, ebx
cmp ecx, 0xd
jbe 0x50be9c
mov ebx, edx
add ebx, 0xd
xchg esi, eax
mov byte [ebx], al
xchg esi, eax
movzx ebx, byte [esp + 0x23]
mov esi, ebx
cmp ecx, 0xe
jbe 0x50be95
mov ebx, edx
add ebx, 0xe
xchg esi, eax
mov byte [ebx], al
xchg esi, eax
movzx ebx, byte [esp + 0x22]
mov esi, ebx
cmp ecx, 0xf
jbe 0x50be8e
mov ebx, edx
add ebx, 0xf
xchg esi, eax
mov byte [ebx], al
xchg esi, eax
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x58], ecx
lea ecx, [esp + 0x98]
mov edi, ecx
cmp ecx, 0
je 0x50be87
mov esi, 0x612980
mov edx, ecx
cld
call fcn.00452404
mov ebp, dword [esp + 0x8c]
mov dword [edx], ebp
mov ebp, dword [esp + 0x90]
mov dword [edx + 4], ebp
mov ebp, dword [esp + 0x94]
mov dword [edx + 8], ebp
mov ebp, dword [esp + 0x50]
mov dword [edx + 0x1c], ebp
mov ebp, dword [esp + 0x54]
mov dword [edx + 0x20], ebp
mov ebp, dword [esp + 0x58]
mov dword [edx + 0x24], ebp
mov ebx, edx
mov edx, 2
mov dword [esp + 0x64], 2
mov dword [esp + 0x5c], ebx
xor ebx, ebx
mov byte [esp + 0x26], bl
mov byte [esp + 0x27], bl
xor ecx, ecx
mov dword [esp + 0x60], edx
mov dword [esp + 0x30], edx
mov ebp, dword [esp + 0x30]
cmp ecx, ebp
jge 0x50bd40
mov dword [esp + 0x34], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp], 0x17
mov dword [esp + 4], 1
mov dword [esp + 8], 6
mov edx, dword [0x6ba7f4]
mov ebx, dword [edx]
call ebx
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], ecx
cmp ecx, 0
je 0x50bd67
mov ecx, dword [esp + 0x34]
inc ecx
mov ebp, dword [esp + 0x30]
cmp ecx, ebp
jl 0x50bcf1
movzx ebx, byte [esp + 0x27]
mov ecx, ebx
movzx ebx, byte [esp + 0x26]
mov byte [esp + 0xd4], bl
mov byte [esp + 0xd5], cl
nop
call fcn.00428a70
add esp, 0xd0
ret
mov dword [esp + 0x28], edx
mov dword [esp + 8], edx
mov ebx, dword [0x6ba7e4]
mov dword [esp], 0xc
mov dword [esp + 4], ebx
call fcn.00427ba0
cmp eax, 0
jne 0x50be7a
mov ebx, dword [esp + 0x28]
mov dword [esp], ebx
mov dword [esp + 4], 0x29
mov dword [esp + 8], 0x1b
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x60]
cmp ebx, ebp
jae 0x50be73
mov ebp, dword [esp + 0x5c]
imul ebx, ebx, 0x1c
add ebp, ebx
mov ebx, dword [ebp + 0x18]
mov dword [esp + 0xc], ebx
call fcn.004563b0
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x60]
cmp ebx, ebp
jae 0x50be6c
mov ebp, dword [esp + 0x5c]
imul ebx, ebx, 0x1c
add ebp, ebx
mov dword [esp], ebp
mov dword [esp + 4], 0x17
call fcn.005124b0
mov edx, dword [esp + 8]
mov dword [esp + 0x38], edx
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x3c], ecx
mov ebp, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], ebp
cmp ebp, 0
jne 0x50bd33
mov ebx, dword [esp + 0x28]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.00456420
mov ecx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], ecx
cmp ecx, 0
jne 0x50bd33
mov ecx, 1
mov ebx, dword [esp + 0x2c]
lea ebp, [esp + 0x26]
cmp ebx, 2
jae 0x50be65
add ebp, ebx
mov byte [ebp], cl
jmp 0x50bd33
call fcn.004278c0
ud2
call fcn.004278c0
ud2
call fcn.004278c0
ud2
nop
call fcn.00428a70
add esp, 0xd0
ret
mov dword [ecx], eax
jmp 0x50bc83
call fcn.004278c0
ud2
call fcn.004278c0
ud2
call fcn.004278c0
ud2
call fcn.004278c0
ud2
call fcn.0044fe90
jmp fcn.0050bad0