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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5f65c3
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x64c874]
xor eax, esp
mov dword [esp + 0xe0], eax
push ebx
push esi
push edi
mov eax, dword [0x64c874]
xor eax, esp
push eax
lea eax, [esp + 0xf8]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x10], ebx
mov edi, edx
add ebx, 0xa84
mov dword [esp + 0x14], edi
mov dword [esp + 0x20], ebx
jmp 0x50eb50
mov eax, dword [ebx + 4]
mov esi, dword [eax]
mov dword [esp + 0x8c], eax
lea esp, [esp]
cmp ebx, ebx
je 0x50eb69
call fcn.005b8b18
cmp esi, dword [esp + 0x8c]
je 0x50eba5
cmp esi, dword [ebx + 4]
jne 0x50eb7c
call fcn.005b8b18
mov eax, dword [esi + 0x2c]
lea ecx, [eax + 4]
mov eax, dword [eax]
push ecx
lea edx, [esp + 0x94]
push edx
add eax, 0x14
mov ecx, edi
call fcn.004a7870
cmp esi, dword [ebx + 4]
jne 0x50eba1
call fcn.005b8b18
mov esi, dword [esi]
jmp 0x50eb60
call fcn.00518840
mov esi, dword [esp + 0x10]
mov byte [esi + 0xcd8], 0
mov dword [edi], 0
call fcn.005d95d0
mov dword [edi + 4], eax
cmp byte [esi + 0xbb8], 0
jne 0x50f5dd
mov ebx, dword [esp + 0x10]
xor eax, eax
lea edi, [esi + 0xa4c]
mov dword [esp + 0x64], eax
mov edx, 2
mov dword [esp + 0x68], eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov word [esp + 0x64], dx
mov word [esp + 0x66], ax
mov dword [esp + 0x68], eax
mov ecx, 7
lea esi, [esp + 0x64]
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
lea edi, [ebx + 0xa68]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov word [esp + 0x48], dx
mov word [esp + 0x4a], ax
mov dword [esp + 0x4c], eax
mov ecx, 7
lea esi, [esp + 0x48]
add ebx, 0xa30
rep movsd dword es:[edi], dword [esi]
push ebx
lea esi, [esp + 0x9c]
mov dword [esp + 0x38], ebx
call fcn.004a90b0
mov ecx, esi
call fcn.00564dc0
test al, al
mov byte [esp + 0xd4], 0
je 0x50f001
xor eax, eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], eax
mov dword [esp + 0x100], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], eax
movzx eax, word [ebx + 2]
push eax
call dword [0x5fd71c]
mov edx, dword [ebp + 8]
movzx ecx, ax
mov eax, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x14]
push edx
push 0
add eax, 0xa2c
push eax
sub esp, 0x1c
mov esi, esp
lea edi, [esp + 0xc4]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x48], esp
call fcn.004a8fa0
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 0xe0]
call fcn.0050e610
cmp dword [esp + 0xd8], 0
je 0x50eda6
cmp word [ebx], 2
jne 0x50ed69
mov eax, dword [esp + 0xd0]
push eax
jmp 0x50ed71
mov ecx, dword [esp + 0xd0]
push ecx
call fcn.005da0e0
mov edx, dword [esp + 0x20]
mov word [ebx + 2], ax
mov esi, dword [edx + 4]
mov ecx, dword [esi + 4]
lea eax, [esp + 0xb4]
push eax
push ecx
push esi
call fcn.00519c80
mov ecx, dword [esp + 0x20]
mov edi, eax
call fcn.00519cc0
mov dword [esi + 4], edi
mov eax, dword [edi + 4]
mov dword [eax], edi
call fcn.00564fe0
test al, al
je 0x50ee63
xor eax, eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], eax
movzx eax, word [ebx + 2]
push eax
mov dword [esp + 0x9c], 1
call dword [0x5fd71c]
mov edx, dword [esp + 0x14]
push edx
mov edx, dword [esp + 0x34]
movzx ecx, ax
mov eax, dword [ebp + 8]
push eax
push 1
push edx
sub esp, 0x1c
mov esi, esp
lea edi, [esp + 0xc4]
mov dword [esp + 0x48], esp
call fcn.004a8fa0
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 0xe0]
call fcn.0050e610
cmp dword [esp + 0xd8], 0
je 0x50ee63
mov eax, dword [esp + 0x20]
mov esi, dword [eax + 4]
mov edx, dword [esi + 4]
lea ecx, [esp + 0xb4]
push ecx
push edx
push esi
call fcn.00519c80
mov ecx, dword [esp + 0x20]
mov edi, eax
call fcn.00519cc0
mov dword [esi + 4], edi
mov eax, dword [edi + 4]
mov dword [eax], edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x38]
call fcn.00583270
mov byte [esp + 0x100], 1
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x40]
cmp esi, edi
jbe 0x50ee89
call fcn.005b8b18
cmp esi, edi
lea eax, [esp + 0x38]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], esi
jbe 0x50ee9e
call fcn.005b8b18
mov dword [esp + 0x84], edi
mov eax, dword [esp + 0x28]
xor edi, edi
cmp eax, edi
je 0x50eeb7
lea ecx, [esp + 0x38]
cmp eax, ecx
je 0x50eebc
call fcn.005b8b18
cmp esi, dword [esp + 0x84]
je 0x50ef93
cmp dword [esp + 0x28], edi
jne 0x50eed4
call fcn.005b8b18
mov edx, dword [esp + 0x28]
cmp esi, dword [edx + 8]
jb 0x50eee2
call fcn.005b8b18
cmp dword [esi], 1
jne 0x50ef23
mov ecx, esi
call fcn.00564bf0
test al, al
jne 0x50ef23
push esi
call fcn.00564d00
add esp, 4
test al, al
jne 0x50ef23
movzx eax, word [ebx + 2]
push eax
call dword [0x5fd71c]
mov edi, dword [esp + 0x2c]
movzx ecx, ax
lea esi, [esp + 0x98]
call fcn.004a8fa0
mov edi, dword [esp + 0x18]
jmp 0x50ef67
cmp dword [esi], edi
jne 0x50ef79
mov ecx, esi
call fcn.00564bf0
test al, al
jne 0x50ef79
push esi
call fcn.00564d00
add esp, 4
test al, al
jne 0x50ef79
movzx eax, word [ebx + 2]
push eax
call dword [0x5fd71c]
mov edi, dword [esp + 0x2c]
movzx ecx, ax
lea esi, [esp + 0x98]
call fcn.004a8fa0
mov edi, dword [esp + 0x10]
add edi, 0xa68
mov ecx, 7
lea esi, [esp + 0x98]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
cmp esi, dword [eax + 8]
jb 0x50ef87
call fcn.005b8b18
add esi, 0x7c
mov dword [esp + 0x2c], esi
jmp 0x50eea5
mov eax, dword [esp + 0x3c]
cmp eax, edi
je 0x50efa4
push eax
call fcn.0059b877
add esp, 4
mov dword [esp + 0x100], 0xffffffff
mov esi, dword [esp + 0xdc]
cmp esi, edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
je 0x50f133
lea ecx, [esi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x50f133
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x50f133
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
jmp 0x50f133
xor eax, eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], eax
mov ecx, dword [esp + 0x14]
mov edx, dword [ebp + 8]
push ecx
push edx
push eax
mov eax, dword [esp + 0x1c]
lea ecx, [eax + 0xa2c]
push ecx
mov dword [esp + 0x40], ecx
sub esp, 0x1c
mov dword [esp + 0x12c], 2
mov edi, esp
mov ecx, 7
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
lea edx, [esp + 0xe0]
mov ecx, eax
mov dword [esp + 0x48], esp
call fcn.0050e610
cmp dword [esp + 0xd8], 0
je 0x50f0f3
mov eax, dword [esp + 0x20]
mov esi, dword [eax + 4]
mov edx, dword [esi + 4]
lea ecx, [esp + 0xb4]
push ecx
push edx
push esi
call fcn.00519c80
mov ecx, dword [esp + 0x20]
mov edi, eax
call fcn.00519cc0
mov dword [esi + 4], edi
mov eax, dword [edi + 4]
push ebx
lea esi, [esp + 0x9c]
mov dword [eax], edi
call fcn.004a90b0
cmp dword [esp + 0x98], 1
mov ecx, 7
mov esi, ebx
jne 0x50f0e7
mov edi, dword [esp + 0x18]
jmp 0x50f0f1
mov edi, dword [esp + 0x10]
add edi, 0xa68
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x100], 0xffffffff
mov esi, dword [esp + 0xdc]
test esi, esi
je 0x50f133
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x50f133
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x50f133
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
movzx eax, word [ebx + 2]
push eax
call dword [0x5fd71c]
push ebx
lea esi, [esp + 0x9c]
movzx edi, ax
call fcn.004a90b0
mov ecx, edi
mov edi, esi
lea esi, [esp + 0xb4]
call fcn.004a8fa0
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov eax, esi
push eax
add ecx, 0xd20
push ecx
call fcn.0057eb00
mov edx, ebx
mov eax, dword [edx]
neg eax
sbb eax, eax
test eax, fcn.00489120
je 0x50f282
mov edi, dword [esp + 0x30]
cmp dword [edi], 0
jle 0x50f1c3
mov esi, dword [esp + 0x34]
movzx eax, word [esi + 2]
push eax
call dword [0x5fd71c]
movzx eax, ax
add eax, 1
movzx eax, ax
push eax
call fcn.005da0e0
mov ebx, dword [esp + 0x20]
mov word [esi + 2], ax
add dword [edi], 0xffffffff
mov edi, dword [esp + 0x14]
jmp 0x50eb50
mov ebx, dword [esp + 0x10]
add ebx, 0x380
lea esi, [ebx + 0x14]
push esi
call dword [0x5fd18c]
mov eax, dword [ebx + 0x10]
cmp eax, dword [ebx + 0x30]
push esi
jb 0x50f1eb
call dword [0x5fd188]
jmp 0x50f3ea
test byte [ebx + 0x2c], 0x41
setne byte [esp + 0x2b]
call dword [0x5fd188]
cmp byte [esp + 0x27], 0
je 0x50f3ea
mov ecx, dword [0x65ae48]
mov esi, dword [esp + 0x10]
mov edx, dword [0x65ae4c]
mov dword [esp + 0xbc], ecx
add esi, 0xa30
mov ecx, 7
lea edi, [esp + 0xc4]
mov dword [esp + 0xc0], edx
mov dword [esp + 0xb4], 0x61a134
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x14]
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], ecx
lea edx, [esp + 0xb4]
push edx
push ebx
mov dword [esp + 0x108], 3
call fcn.004c4090
mov dword [esp + 0x100], 0xffffffff
jmp 0x50f3ee
mov ebx, dword [esp + 0x10]
movzx eax, word [ebx + 0xe3e]
mov dword [ebx + 0xd1c], eax
cmp word [ebx + 0xa30], 2
movzx eax, word [ebx + 0xa32]
push eax
jne 0x50f2af
mov esi, dword [0x5fd71c]
call esi
jmp 0x50f2bb
call dword [0x5fd71c]
mov esi, dword [0x5fd71c]
movzx edi, ax
movzx eax, word [ebx + 0xa32]
push eax
call esi
movzx eax, ax
movzx ecx, di
mov edi, dword [ebx + 0x10d4]
test edi, edi
movzx edx, ax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x30], edx
je 0x50f356
mov eax, dword [ebx + 0x10e8]
cmp eax, 0xffffffff
je 0x50f338
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x3c]
push ecx
call fcn.0057a5f0
test al, al
je 0x50f321
mov edx, dword [esp + 0x30]
cmp dword [esp + 0x34], edx
jne 0x50f321
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x28], eax
jne 0x50f321
cmp dword [esp + 0x1c], 1
je 0x50f356
mov edi, dword [ebx + 0x10e8]
mov esi, dword [ebx + 0x10d4]
call fcn.0057a7e0
mov esi, dword [0x5fd71c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x30]
mov eax, dword [ebx + 0x10d4]
push ecx
push edx
push 1
push eax
call fcn.0057a8c0
mov dword [ebx + 0x10e8], eax
movzx eax, word [ebx + 0xa32]
push eax
call esi
movzx edi, ax
movzx eax, word [ebx + 0xa32]
push eax
call esi
movzx eax, ax
movzx eax, ax
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x10d8]
test eax, eax
movzx esi, di
je 0x50f3ea
mov edi, dword [ebx + 0x10ec]
cmp edi, 0xffffffff
je 0x50f3d1
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x24]
push ecx
call fcn.0056bc10
test al, al
je 0x50f3be
mov edx, dword [esp + 0x18]
cmp dword [esp + 0x1c], edx
jne 0x50f3be
cmp dword [esp + 0x28], esi
jne 0x50f3be
cmp dword [esp + 0x34], 1
je 0x50f3ea
mov eax, dword [ebx + 0x10ec]
mov ecx, dword [ebx + 0x10d8]
push eax
push ecx
call fcn.0056ba00
mov edx, dword [esp + 0x18]
mov ecx, dword [ebx + 0x10d8]
push esi
push edx
push 1
call fcn.0056b6a0
mov dword [ebx + 0x10ec], eax
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
movsx ecx, byte [eax + 0x164]
mov ebx, dword [eax + 0xd64]
cmp ebx, 0xffffffff
mov dword [esp + 0x18], ecx
jne 0x50f40f
mov edi, 0x2719
jmp 0x50f441
push 0
call dword [0x5fd720]
push 4
lea edx, [esp + 0x1c]
push edx
push 3
push 0
push ebx
call fcn.005da0da
mov ebx, eax
call fcn.005d95d0
mov edi, eax
call fcn.005da0e6
test ebx, ebx
mov dword [esi], eax
mov dword [esi + 4], edi
jne 0x50f44b
xor edi, edi
call fcn.005d95d0
mov dword [esi + 4], eax
mov dword [esi], edi
mov eax, dword [esp + 0x10]
mov edi, dword [eax + 0xdd4]
cmp edi, 0xffffffff
jne 0x50f461
mov edi, 0x2719
jmp 0x50f491
push 0
call dword [0x5fd720]
push 4
lea ecx, [esp + 0x1c]
push ecx
push 3
push 0
push edi
call fcn.005da0da
mov edi, eax
call fcn.005d95d0
mov ebx, eax
call fcn.005da0e6
test edi, edi
mov dword [esi], eax
mov dword [esi + 4], ebx
jne 0x50f49b
call fcn.005d95d0
mov dword [esi + 4], eax
mov dword [esi], edi
mov dword [esi], 0
call fcn.005d95d0
mov edi, dword [esp + 0x20]
mov dword [esi + 4], eax
mov edx, dword [edi + 4]
mov esi, dword [edx]
mov ebx, edx
cmp edi, edi
je 0x50f4bd
call fcn.005b8b18
cmp esi, ebx
je 0x50f4f5
cmp esi, dword [edi + 4]
jne 0x50f4d5
call fcn.005b8b18
cmp esi, dword [edi + 4]
jne 0x50f4d5
call fcn.005b8b18
movzx eax, byte [esi + 0x28]
push eax
lea ecx, [esi + 0x2c]
push ecx
mov ecx, dword [esp + 0x18]
call fcn.0050ff90
cmp esi, dword [edi + 4]
jne 0x50f4f1
call fcn.005b8b18
mov esi, dword [esi]
jmp 0x50f4b4
mov esi, dword [esp + 0x10]
mov ecx, esi
call fcn.0050f6d0
mov ecx, esi
call fcn.0050f970
cmp dword [esi + 0xa8c], 0
je 0x50f5dd
mov edx, dword [edi + 4]
mov esi, dword [edx]
cmp esi, edx
jne 0x50f522
call fcn.005b8b18
mov ecx, dword [esi + 0x2c]
mov edx, dword [esp + 0x14]
add ecx, 4
lea ebx, [esp + 0x98]
call fcn.005663f0
mov eax, dword [esp + 0x14]
cmp dword [eax], 0
jne 0x50f5dd
cmp word [esp + 0x98], 2
jne 0x50f55a
mov ecx, dword [esp + 0x9a]
push ecx
jmp 0x50f562
mov edx, dword [esp + 0x9a]
push edx
call dword [0x5fd71c]
mov ebx, dword [esp + 0x10]
movzx eax, ax
movzx esi, ax
mov eax, dword [ebx + 0x10d4]
test eax, eax
mov dword [esp + 0x1c], esi
je 0x50f5ac
mov edi, dword [ebx + 0x10e0]
cmp edi, 0xffffffff
je 0x50f596
mov esi, eax
call fcn.0057a7e0
mov esi, dword [esp + 0x1c]
mov eax, dword [ebx + 0x10d4]
push esi
push esi
push 2
push eax
call fcn.0057a8c0
mov dword [ebx + 0x10e0], eax
mov ecx, dword [ebx + 0x10d8]
test ecx, ecx
je 0x50f5dd
mov eax, dword [ebx + 0x10e4]
cmp eax, 0xffffffff
je 0x50f5c8
push eax
push ecx
call fcn.0056ba00
mov ecx, dword [ebx + 0x10d8]
push esi
push esi
push 2
call fcn.0056b6a0
mov dword [ebx + 0x10e4], eax
mov ecx, dword [esp + 0xf8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xe0]
xor ecx, esp
call fcn.005b88a9
mov esp, ebp
pop ebp
ret 4