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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xa8
mov eax, dword [ebp + 8]
mov edx, eax
lea esi, [ebp + 0x10]
lea edi, [ebp + 0xc]
mov dword [esp + 0x98], ecx
mov ecx, dword [esp + 0x98]
mov dword [esp + 0x9c], ecx
mov ecx, dword [esp + 0x9c]
mov ebx, esp
mov dword [esp + 0x58], eax
lea eax, [esp + 0x90]
mov dword [ebx], eax
mov dword [esp + 0x54], edi
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], edx
call fcn.004ee120
sub esp, 4
lea eax, [esp + 0x90]
mov dword [esp + 0xa0], eax
mov dword [esp + 0x5c], 0xc444ab2
mov eax, dword [esp + 0x5c]
mov ecx, 0x437390
mov ecx, eax
sub ecx, 0x78eb7848
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], ecx
jg 0x50f341
jmp 0x50f206
mov eax, dword [esp + 0x48]
sub eax, 0x43e38f2c
mov dword [esp + 0x40], eax
jg 0x50f329
jmp 0x50f21e
mov eax, dword [esp + 0x48]
sub eax, 0xe4b3def
mov dword [esp + 0x3c], eax
jg 0x50f310
jmp 0x50f236
mov eax, dword [esp + 0x48]
sub eax, 0xc444ab1
mov dword [esp + 0x38], eax
jg 0x50f2f7
jmp 0x50f24e
mov eax, dword [esp + 0x48]
sub eax, 0xf0b312dc
mov dword [esp + 0x34], eax
jg 0x50f2df
jmp 0x50f266
mov eax, dword [esp + 0x48]
sub eax, 0xe9ae9773
mov dword [esp + 0x30], eax
jg 0x50f2c7
jmp 0x50f27e
mov eax, dword [esp + 0x48]
sub eax, 0xa6056c47
mov dword [esp + 0x2c], eax
je 0x50f42c
jmp 0x50f296
mov eax, dword [esp + 0x48]
sub eax, 0xa75f4f48
mov dword [esp + 0x28], eax
je 0x50f531
jmp 0x50f2ae
mov eax, dword [esp + 0x48]
add eax, 0x5114b0d0
mov dword [esp + 0x24], eax
je 0x50f524
jmp 0x50f35a
mov eax, dword [esp + 0x48]
sub eax, 0xe9ae9774
mov dword [esp + 0x20], eax
je 0x50f396
jmp 0x50f35a
mov eax, dword [esp + 0x48]
sub eax, 0xf0b312dd
mov dword [esp + 0x1c], eax
je 0x50f53e
jmp 0x50f35a
mov eax, dword [esp + 0x48]
add eax, 0xf3bbb54e
mov dword [esp + 0x18], eax
je 0x50f35f
jmp 0x50f35a
mov eax, dword [esp + 0x48]
add eax, 0xf1b4c210
mov dword [esp + 0x14], eax
je 0x50f4b6
jmp 0x50f35a
mov eax, dword [esp + 0x48]
sub eax, 0x43e38f2d
mov dword [esp + 0x10], eax
je 0x50f400
jmp 0x50f35a
mov eax, dword [esp + 0x48]
add eax, 0x871487b7
mov dword [esp + 0xc], eax
je 0x50f3e7
jmp 0x50f35a
jmp 0x50f574
mov eax, dword [esp + 0xa0]
mov ecx, 2
mov ecx, esp
call fcn.0050f580
mov ecx, dword [esp + 0x54]
call fcn.0050eed0
sub esp, 4
mov ecx, 0x43e38f2d
mov edx, 0xe9ae9774
test al, 1
cmovne ecx, edx
mov dword [esp + 0x5c], ecx
jmp 0x50f574
mov ecx, dword [esp + 0x9c]
mov eax, 0x20000
mov eax, esp
lea edx, [esp + 0x88]
mov dword [eax], edx
call fcn.00468680
sub esp, 4
lea eax, [esp + 0x88]
mov ecx, esp
call fcn.0050f590
mov ecx, dword [esp + 0x50]
call fcn.0050eed0
sub esp, 4
mov ecx, 0x43e38f2d
mov edx, 0x78eb7849
test al, 1
cmovne ecx, edx
mov dword [esp + 0x5c], ecx
jmp 0x50f574
mov ecx, dword [esp + 0x9c]
call fcn.004ab100
mov dword [esp + 0x5c], 0xf0b312dd
jmp 0x50f574
mov eax, esp
mov ecx, dword [esp + 0x50]
mov dword [eax], ecx
mov ecx, dword [esp + 0x54]
call fcn.004aafd0
sub esp, 4
mov ecx, 0xa75f4f48
mov edx, 0xa6056c47
test al, 1
cmovne ecx, edx
mov dword [esp + 0x5c], ecx
jmp 0x50f574
mov eax, dword [esp + 0x54]
call fcn.0050f5a0
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0x78]
mov esi, esp
call fcn.0050f5b0
lea edx, [esp + 0x80]
mov dword [esi], edx
call fcn.004c0c60
sub esp, 8
mov eax, dword [esp + 0x50]
mov ecx, dword [eax]
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0x68]
mov esi, esp
mov dword [esi + 4], edx
lea edx, [esp + 0x70]
mov dword [esi], edx
call fcn.004c0c60
sub esp, 8
lea eax, [esp + 0x70]
lea ecx, [esp + 0x80]
mov edx, esp
call fcn.0050f5c0
call fcn.004aafd0
sub esp, 4
mov ecx, 0xaeeb4f30
mov edx, 0xe4b3df0
test al, 1
cmovne ecx, edx
mov dword [esp + 0x5c], ecx
jmp 0x50f574
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x9c]
mov ecx, dword [ecx + 4]
mov edx, dword [esp + 0x70]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00525660
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x9c]
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x9c]
mov esi, esp
call fcn.0050f5d0
mov dword [esi], ecx
mov ecx, edx
call fcn.004d47c0
sub esp, 8
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x9c]
call fcn.0050f5e0
mov dword [esp + 0x5c], 0xaeeb4f30
jmp 0x50f574
mov dword [esp + 0x5c], 0xa75f4f48
jmp 0x50f574
mov dword [esp + 0x5c], 0xf0b312dd
jmp 0x50f574
mov eax, dword [esp + 0x54]
mov ecx, dword [eax]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0x60]
mov esi, esp
mov dword [esi + 4], edx
mov edx, dword [esp + 0x58]
mov dword [esi], edx
call fcn.004c0c60
sub esp, 8
mov eax, dword [esp + 0x4c]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
jmp 0x50f1e2