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

Disassembly:
mov eax, dword [esp + 4]
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
mov edi, dword [esp + 0x18]
push edi
push ebx
push eax
lea esi, [eax + 0x18]
call fcn.0050a630
add esp, 0xc
test eax, eax
jne 0x50ce43
cmp ebx, 0x211
ja 0x50cd53
je 0x50cd01
lea eax, [ebx - 0xfe]
cmp eax, 0x55
ja case.0x50cb6d.255
movzx eax, byte [eax + 0x50ce94]
jmp dword [eax*4 + 0x50ce4c]
mov ecx, dword [edi]
mov edx, dword [esi + 0x24]
pop edi
pop esi
mov dword [ecx], edx
mov eax, 1
pop ebx
ret
mov eax, dword [edi]
mov cx, word [esi + 0x28]
pop edi
pop esi
mov word [eax], cx
mov eax, 1
pop ebx
ret
mov edx, dword [edi]
mov ax, word [esi + 0x30]
pop edi
pop esi
mov word [edx], ax
mov eax, 1
pop ebx
ret
mov ecx, dword [edi]
mov dx, word [esi + 0x32]
pop edi
pop esi
mov word [ecx], dx
mov eax, 1
pop ebx
ret
mov eax, dword [edi]
mov cx, word [esi + 0x34]
pop edi
pop esi
mov word [eax], cx
mov eax, 1
pop ebx
ret
mov edx, dword [edi]
mov ax, word [esi + 0x36]
pop edi
pop esi
mov word [edx], ax
mov eax, 1
pop ebx
ret
mov ecx, dword [edi]
mov edx, dword [esi + 0x38]
pop edi
pop esi
mov dword [ecx], edx
mov eax, 1
pop ebx
ret
mov eax, dword [edi]
mov cx, word [esi + 0x3c]
pop edi
pop esi
mov word [eax], cx
mov eax, 1
pop ebx
ret
mov edx, dword [edi]
mov ax, word [esi + 0x3e]
pop edi
pop esi
mov word [edx], ax
mov eax, 1
pop ebx
ret
mov ecx, dword [edi]
mov dx, word [esi + 0x5a]
pop edi
pop esi
mov word [ecx], dx
mov eax, 1
pop ebx
ret
mov eax, dword [edi]
mov cx, word [esi + 0x58]
pop edi
pop esi
mov word [eax], cx
mov eax, 1
pop ebx
ret
mov edx, dword [edi]
add edi, 4
mov word [edx], 0
mov cl, byte [esi + 0x28]
mov eax, 1
shl eax, cl
mov ecx, dword [edi]
pop edi
pop esi
sub eax, 1
mov word [ecx], ax
mov eax, 1
pop ebx
ret
mov edx, dword [edi]
mov ax, word [esi + 0xec]
pop edi
pop esi
mov word [edx], ax
mov eax, 1
pop ebx
ret
mov ecx, dword [edi]
mov dx, word [esi + 0xee]
pop edi
pop esi
mov word [ecx], dx
mov eax, 1
pop ebx
ret
mov eax, dword [edi]
mov cx, word [esi + 0x78]
add edi, 4
mov word [eax], cx
mov edx, dword [edi]
mov eax, dword [esi + 0x7c]
pop edi
pop esi
mov dword [edx], eax
mov eax, 1
pop ebx
ret
mov ecx, dword [edi]
mov dx, word [esi + 0x2a]
pop edi
pop esi
mov word [ecx], dx
mov eax, 1
pop ebx
ret
cmp dword [esi + 0xe0], 0
jne 0x50ccc1
call fcn.0050c980
mov eax, dword [edi]
mov ecx, dword [esi + 0xe0]
add edi, 4
mov dword [eax], ecx
movzx edx, word [esi + 0x78]
movzx eax, word [esi + 0x36]
sub eax, edx
cmp eax, 1
jle 0x50ce43
mov ecx, dword [edi]
mov edx, dword [esi + 0xe4]
add edi, 4
mov dword [ecx], edx
mov eax, dword [edi]
mov ecx, dword [esi + 0xe8]
pop edi
pop esi
mov dword [eax], ecx
mov eax, 1
pop ebx
ret
cmp dword [esi + 0xc8], 0
jne 0x50cd40
push 0xc
call fcn.00502a50
fld dword [0x54e190]
mov dword [esi + 0xc8], eax
fstp dword [eax]
mov edx, dword [esi + 0xc8]
fld dword [0x54e18c]
fstp dword [edx + 4]
mov eax, dword [esi + 0xc8]
fld dword [0x54e188]
add esp, 4
fstp dword [eax + 8]
mov ecx, dword [edi]
mov edx, dword [esi + 0xc8]
pop edi
pop esi
mov dword [ecx], edx
mov eax, 1
pop ebx
ret
cmp ebx, 0x80e3
ja 0x50cdfe
je 0x50cdd0
sub ebx, 0x212
je 0x50cdac
sub ebx, 1
je 0x50cd97
sub ebx, 1
jne case.0x50cb6d.255
cmp dword [esi + 0xdc], ebx
jne 0x50cd84
call fcn.0050ca90
mov eax, dword [edi]
mov ecx, dword [esi + 0xdc]
pop edi
pop esi
mov dword [eax], ecx
mov eax, 1
pop ebx
ret
mov edx, dword [edi]
mov ax, word [esi + 0xd0]
pop edi
pop esi
mov word [edx], ax
mov eax, 1
pop ebx
ret
mov ecx, dword [edi]
mov dx, word [esi + 0xcc]
add edi, 4
mov word [ecx], dx
mov eax, dword [edi]
mov cx, word [esi + 0xce]
pop edi
pop esi
mov word [eax], cx
mov eax, 1
pop ebx
ret
cmp word [esi + 0x78], 1
jne 0x50cdee
mov edx, dword [esi + 0x7c]
cmp word [edx], 1
jne 0x50cdee
mov ecx, dword [edi]
pop edi
mov eax, 1
pop esi
mov word [ecx], ax
pop ebx
ret
mov ecx, dword [edi]
pop edi
xor eax, eax
pop esi
mov word [ecx], ax
mov eax, 1
pop ebx
ret
sub ebx, 0x80e4
je 0x50ce36
sub ebx, 1
je 0x50ce26
sub ebx, 1
je 0x50ce16
pop edi
pop esi
xor eax, eax
pop ebx
ret
mov edx, dword [edi]
mov eax, dword [esi + 0x20]
pop edi
pop esi
mov dword [edx], eax
mov eax, 1
pop ebx
ret
mov ecx, dword [edi]
mov edx, dword [esi + 0x14]
pop edi
pop esi
mov dword [ecx], edx
mov eax, 1
pop ebx
ret
mov ax, word [esi + 0x2a]
mov ecx, dword [edi]
sub ax, 1
mov word [ecx], ax
pop edi
pop esi
mov eax, 1
pop ebx
ret