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

Disassembly:
push 0xffffffffffffffff
push 0x71bedb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
push 2
mov edi, ecx
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
call fcn.004f87d0
mov ebx, dword [esp + 0x4c]
mov eax, dword [ebx + 0x38]
mov ecx, dword [0x7a39fc]
mov dword [esp + 0x10], eax
mov ecx, dword [ecx + 8]
push eax
call fcn.004ae750
mov esi, eax
xor ebp, ebp
cmp esi, ebp
mov ecx, edi
jne 0x50e476
call fcn.004ef4d0
mov dword [edi + 0x97c], ebp
mov eax, dword [0x745dc4]
jmp 0x50e8df
mov edx, dword [esp + 0x10]
push ebp
push ebp
push edx
call fcn.004f6000
test eax, eax
jne 0x50e551
mov edx, dword [esp + 0x10]
push ebp
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x2c]
push ecx
push edx
mov ecx, edi
call fcn.004ee440
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
xor ecx, ecx
mov cx, word [ebx + 0x6c]
push ebp
lea eax, [esp + 0x70]
push eax
push 3
push ecx
push 0x1b
mov ecx, edi
call fcn.004ccb00
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
xor eax, eax
mov ax, word [ebx + 0x6c]
push ebp
lea edx, [esp + 0x70]
push edx
push 3
mov ecx, edi
push eax
push 0x13
call fcn.004ccb00
push ebp
push ebp
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
push ebp
mov edx, dword [esp + 0x28]
mov eax, dword [edi + 0x8c]
lea ecx, [esp + 0x3c]
push ecx
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push edx
push 1
xor edx, edx
mov dx, word [ebx + 0x6c]
push 0x7f000000
push eax
lea ecx, [esp + 0x60]
push ecx
mov ecx, edi
push edx
call fcn.004f8a50
jmp 0x50e8da
cmp dword [edi + 0x97c], ebp
jne 0x50e699
mov ebp, 1
mov dword [edi + 0x97c], ebp
mov al, byte [esi + 8]
cmp al, byte [0x746639]
je 0x50e583
cmp al, byte [0x746638]
mov dword [esp + 0x4c], 0x274b
jne 0x50e58b
mov dword [esp + 0x4c], 0x274c
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
xor ecx, ecx
mov cx, word [ebx + 0x6c]
push 0
lea eax, [esp + 0x70]
push eax
push 3
mov dword [esp + 0x80], ebp
mov dword [esp + 0x88], 0x3f800000
push ecx
push 0x1b
mov ecx, edi
mov dword [esp + 0x84], 0x40900000
call fcn.004ccb00
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea edx, [esp + 0x60]
push edx
push ebp
lea eax, [esp + 0x64]
push eax
push 2
lea ecx, [esp + 0x78]
push ecx
xor eax, eax
mov ax, word [ebx + 0x6c]
push 2
lea edx, [esp + 0xac]
push edx
push ebp
mov ecx, edi
push eax
push 6
call fcn.004ccb00
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
xor edx, edx
mov dx, word [ebx + 0x6c]
push 0
lea ecx, [esp + 0x70]
push ecx
push 3
mov ecx, edi
push edx
push 0x13
call fcn.004ccb00
push ebp
push 0x1194
mov ecx, edi
call fcn.004ef480
jmp 0x50e8da
mov ecx, dword [edi + 0xa74]
push ebp
push ebp
mov ebx, 1
push ebx
call fcn.005aa570
movsx eax, al
mov dword [esp + 0x4c], eax
cmp dword [edi + 0x4e0], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], ebp
je 0x50e6d5
call fcn.006fc447
cdq
mov ecx, 0x14
idiv ecx
mov ebp, edx
inc ebp
jmp 0x50e6de
mov ebp, 0x14
mov dword [esp + 0x14], ebx
mov al, byte [esi + 8]
cmp al, byte [0x746636]
jne 0x50e7e4
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x40]
mov ecx, dword [edi + 4]
mov eax, dword [eax + 0x2e4]
cmp eax, ecx
mov ecx, esi
jne 0x50e79d
mov eax, dword [esi]
call dword [eax + 0x40]
mov dword [eax + 0x2c8], ebx
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x4c]
push 0x34
call fcn.006fa7e6
add esp, 4
mov dword [esp + 0x20], eax
xor esi, esi
cmp eax, esi
mov dword [esp + 0x44], esi
je 0x50e73b
mov ecx, eax
call fcn.004d69f0
mov esi, eax
mov eax, dword [edi + 4]
push eax
push 0
mov ecx, esi
mov dword [esp + 0x4c], 0xffffffff
call fcn.004d7780
push 0
push 0
mov ecx, esi
call fcn.004d76b0
push ebp
push 1
mov ecx, esi
call fcn.004d76b0
mov ecx, dword [esp + 0x4c]
push ecx
push 2
mov ecx, esi
call fcn.004d76b0
push ebx
push 3
mov ecx, esi
call fcn.004d76b0
mov edx, dword [esp + 0x14]
push edx
push 4
mov ecx, esi
call fcn.004d76b0
cmp dword [esp + 0x18], 1
jne 0x50e88e
push 4
jmp 0x50e8aa
mov edx, dword [esi]
call dword [edx + 0x40]
mov eax, dword [eax + 0x2dc]
add eax, 0xfffffffb
cmp eax, ebx
jl 0x50e7bf
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x40]
mov eax, dword [eax + 0x2dc]
lea ebx, [eax - 5]
mov ecx, dword [esp + 0x4c]
lea edx, [ecx + ebp]
cmp edx, ebx
jl 0x50e71a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x40]
mov dword [eax + 0x2c8], 1
jmp 0x50e71a
cmp al, byte [0x746639]
jne 0x50e837
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
movzx eax, byte [eax + 0x2ec]
sub eax, 5
cmp eax, ebx
jl 0x50e812
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
movzx ebx, byte [eax + 0x2ec]
sub ebx, 5
mov eax, dword [esp + 0x4c]
lea ecx, [eax + ebp]
cmp ecx, ebx
jl 0x50e71a
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
mov dword [eax + 0x2f4], 1
jmp 0x50e71a
cmp al, byte [0x746638]
jne 0x50e716
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x48]
movzx ecx, byte [eax + 0x27c]
sub ecx, 5
cmp ecx, ebx
jl 0x50e869
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x48]
movzx ebx, byte [eax + 0x27c]
sub ebx, 5
mov eax, dword [esp + 0x4c]
lea ecx, [eax + ebp]
cmp ecx, ebx
jl 0x50e71a
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x48]
mov dword [eax + 0x28c], 1
jmp 0x50e71a
mov eax, dword [esp + 0x4c]
add ebp, eax
cmp ebp, ebx
jl 0x50e89c
push 1
jmp 0x50e8aa
mov eax, dword [esp + 0x14]
test eax, eax
je 0x50e8a8
push 3
jmp 0x50e8aa
push 0
mov ecx, esi
push 5
call fcn.004d76b0
push 0x144
push 6
mov ecx, esi
call fcn.004d76b0
push esi
mov ecx, edi
call fcn.004ec700
mov ecx, edi
call fcn.004ef4d0
mov dword [edi + 0x97c], 0
mov eax, dword [0x745dc0]
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret 4