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

Disassembly:
mov ecx, dword [0x7da588]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x50e867
sub esp, 0x54
mov ebx, dword [esp + 0x6c]
test ebx, ebx
je 0x50e5ac
mov ebp, dword [esp + 0x58]
test byte [ebp], al
mov esi, dword [esp + 0x64]
mov edx, dword [esp + 0x70]
mov edi, dword [esp + 0x68]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x3c], eax
xor eax, eax
mov dword [esp + 0x34], eax
xor eax, eax
mov dword [esp + 0x4c], eax
xor eax, eax
mov dword [esp + 0x48], eax
xor eax, eax
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x3c]
jmp 0x50e5e8
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x54
ret
mov edx, dword [esp + 0x70]
mov ebp, dword [esp + 0x58]
mov dword [esp + 0x34], eax
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], esi
mov eax, dword [esp + 0x5c]
mov ebx, dword [esp + 0x6c]
mov esi, dword [esp + 0x64]
mov esi, dword [esp + 0x34]
sub ebx, esi
cmp ebx, 4
jl 0x50e770
mov ebx, dword [esp + 0x4c]
sub ecx, ebx
cmp ecx, 4
jl 0x50e774
mov dword [esp + 0x38], ecx
lea ecx, [esi + 4]
cmp edx, ecx
jb 0x50e861
cmp esi, ecx
ja 0x50e85a
mov dword [esp + 0x44], ecx
sub edx, esi
neg edx
sar edx, 0x1f
and edx, esi
movzx esi, byte [edi + edx]
movzx esi, byte [esi + ebp + 0x40]
movzx ecx, byte [edi + edx + 1]
movzx ecx, byte [ecx + ebp + 0x40]
mov byte [esp + 0x33], cl
movzx eax, byte [edi + edx + 2]
movzx eax, byte [eax + ebp + 0x40]
movzx edx, byte [edi + edx + 3]
movzx edx, byte [edx + ebp + 0x40]
or ecx, esi
or ecx, eax
or ecx, edx
cmp cl, 0xff
jne 0x50e667
mov eax, 0
jmp 0x50e697
xchg esi, eax
movzx eax, al
xchg esi, eax
shl esi, 0x1a
movzx ebp, byte [esp + 0x33]
xchg ebp, eax
movzx eax, al
xchg ebp, eax
shl ebp, 0x14
or ebp, esi
movzx esi, al
shl esi, 0xe
or esi, ebp
movzx ebp, dl
shl ebp, 8
or ebp, esi
cmp cl, 0xff
mov eax, ebp
mov ebp, dword [esp + 0x58]
je 0x50e6d2
mov ecx, dword [esp + 0x60]
cmp ecx, ebx
jb 0x50e853
mov esi, dword [esp + 0x64]
mov edx, esi
sub esi, ebx
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, ebx
bswap eax
mov ebp, dword [esp + 0x5c]
mov dword [ebp + esi], eax
add ebx, 3
mov eax, dword [esp + 0x44]
mov esi, dword [esp + 0x48]
jmp 0x50e5c8
mov ecx, dword [esp + 0x60]
cmp ecx, ebx
jb 0x50e84c
mov dword [esp], ebp
mov eax, dword [esp + 0x64]
sub eax, ebx
mov edx, eax
neg eax
sar eax, 0x1f
and eax, ebx
mov esi, dword [esp + 0x5c]
add eax, esi
mov dword [esp + 4], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], edi
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x70]
mov dword [esp + 0x18], edx
mov esi, dword [esp + 0x34]
mov dword [esp + 0x1c], esi
call fcn.0050dff0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x4c]
add ecx, ebx
test eax, eax
jne 0x50e760
mov ebp, dword [esp + 0x20]
mov edi, dword [esp + 0x68]
mov ebx, ecx
mov esi, eax
mov dword [esp + 0x50], edx
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x64]
mov eax, ebp
mov ebp, dword [esp + 0x5c]
jmp 0x50e5c8
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], edx
add esp, 0x54
ret
mov ebx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x64]
jmp 0x50e7a4
mov esi, dword [esp + 0x20]
mov ebp, dword [esp + 0x58]
mov ebx, dword [esp + 0x64]
mov edi, dword [esp + 0x70]
mov edi, dword [esp + 0x68]
mov ebx, ecx
mov dword [esp + 0x48], eax
mov dword [esp + 0x50], edx
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x70]
mov edx, dword [esp + 0x6c]
cmp edx, esi
jle 0x50e82b
mov dword [esp + 0x34], esi
mov esi, dword [esp + 0x60]
cmp esi, ebx
jb 0x50e843
mov dword [esp + 0x4c], ebx
mov dword [esp], ebp
sub ecx, ebx
mov dword [esp + 0x44], ecx
sub esi, ebx
neg ecx
sar ecx, 0x1f
and ecx, ebx
add ecx, eax
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
mov ecx, dword [esp + 0x44]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x18], ecx
mov esi, dword [esp + 0x34]
mov dword [esp + 0x1c], esi
call fcn.0050dff0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x4c]
add ecx, ebx
test eax, eax
je 0x50e77a
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], edx
add esp, 0x54
ret
mov dword [esp + 0x74], ebx
mov eax, dword [esp + 0x48]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x7c], eax
add esp, 0x54
ret
mov eax, ebx
mov ecx, esi
call fcn.0046bf50
mov eax, ebx
call fcn.0046bf50
mov eax, ebx
call fcn.0046bf50
mov eax, esi
call fcn.0046bf50
call fcn.0046bf30
nop
call fcn.0046aa70
jmp fcn.0050e550