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

Disassembly:
push 0xffffffffffffffff
push 0x77c274
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x534
push ebp
push esi
mov esi, dword [esp + 0x550]
xor ebp, ebp
mov dword [esp + 0x18], ebp
mov eax, dword [esi]
push 2
add eax, 1
push 0x880480
push eax
mov dword [esp + 0x44], ecx
mov byte [esp + 0x1b], 0
call fcn.0074f4cd
add esp, 0xc
test eax, eax
jne 0x5efe66
mov ecx, dword [esi]
cmp byte [ecx + 8], 0x2a
jne 0x5efe66
mov al, byte [ecx + 9]
movsx edx, al
cmp byte [edx + ecx + 9], 0x7d
mov byte [esp + 0xd], al
jne 0x5efe66
push ebx
xor eax, eax
push edi
mov dword [esp + 0x25], eax
mov byte [esp + 0x29], al
lea eax, [ecx + 4]
push 4
push eax
lea eax, [esp + 0x2c]
push eax
mov byte [esp + 0x30], 0
call fcn.0074fc30
mov ecx, dword [esi]
mov al, byte [ecx + 3]
xor cl, cl
add esp, 0xc
xor dl, dl
test al, 8
mov byte [esp + 0x16], cl
mov byte [esp + 0x14], cl
mov dword [esp + 0x18], ebp
je 0x5ef686
mov bl, byte [esp + 0x24]
mov byte [esp + 0x14], bl
test al, 4
mov bl, byte [esp + 0x25]
jne 0x5ef692
mov bl, byte [esp + 0x16]
test al, 2
je 0x5ef69a
mov dl, byte [esp + 0x26]
test al, 1
je 0x5ef6a2
mov cl, byte [esp + 0x27]
movzx esi, byte [esp + 0x14]
shl esi, 8
movzx eax, bl
add esi, eax
movzx edx, dl
shl esi, 8
add esi, edx
movzx eax, cl
shl esi, 8
push 0x24
add esi, eax
call fcn.0074caae
add esp, 4
mov dword [esp + 0x2c], eax
cmp eax, ebp
mov dword [esp + 0x54c], ebp
je 0x5ef6e7
mov ecx, eax
call fcn.0042d690
mov edi, eax
mov dword [esp + 0x38], edi
jmp 0x5ef6ed
mov dword [esp + 0x38], ebp
mov edi, ebp
push ebp
push ebp
mov ebx, 1
push ebx
push esi
mov ecx, edi
mov dword [esp + 0x55c], 0xffffffff
call fcn.004a89c0
cmp eax, ebp
mov dword [esp + 0x10], eax
je 0x5efe47
mov ecx, dword [esp + 0x55c]
mov eax, dword [ecx]
cmp eax, ebp
mov edi, dword [esp + 0x560]
mov dword [esp + 0x3c], ebp
jle 0x5ef811
mov edx, dword [edi]
add edx, dword [esp + 0x554]
add eax, ebx
push edx
push eax
lea eax, [esp + 0x14c]
push eax
call fcn.0067acb0
push 0x2c
call fcn.0074caae
mov esi, eax
add esp, 0x10
mov dword [esp + 0x2c], esi
cmp esi, ebp
mov dword [esp + 0x54c], ebx
je 0x5ef794
lea ecx, [esp + 0x144]
push ecx
lea ecx, [esp + 0x50]
call fcn.004028b0
push 0xfffffffffffffff6
lea edx, [esp + 0x50]
push edx
mov ecx, esi
mov byte [esp + 0x554], 2
mov dword [esp + 0x28], ebx
call fcn.005edf90
mov esi, eax
jmp 0x5ef79a
mov ebx, dword [esp + 0x20]
xor esi, esi
test bl, 1
mov dword [esp + 0x54c], 0xffffffff
je 0x5ef7b6
lea ecx, [esp + 0x4c]
and ebx, 0xfffffffe
call fcn.0045deb0
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0x144]
push eax
add ecx, 0x268
call fcn.00439b60
mov ecx, eax
call fcn.0053a2e0
push esi
lea ecx, [esp + 0x30]
mov dword [esi + 4], eax
call fcn.005ee8c0
push eax
mov ecx, 0x1b0a690
mov dword [esp + 0x550], 4
call fcn.005ee380
mov ecx, dword [esp + 0x30]
cmp ecx, ebp
mov dword [esp + 0x54c], 0xffffffff
je 0x5ef815
call fcn.00435470
jmp 0x5ef815
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x55c]
mov edx, dword [ecx]
add dword [edi], edx
push 0xe4
call fcn.0074caae
mov esi, eax
add esp, 4
mov dword [esp + 0x2c], esi
cmp esi, ebp
mov dword [esp + 0x54c], 5
je 0x5ef87c
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 8]
cmp eax, ebp
je 0x5ef851
mov eax, dword [eax]
jmp 0x5ef853
xor eax, eax
push eax
lea ecx, [esp + 0x50]
call fcn.004028b0
lea ecx, [esp + 0x4c]
or ebx, 2
push ecx
mov ecx, esi
mov byte [esp + 0x550], 6
mov dword [esp + 0x24], ebx
call fcn.005ee000
mov esi, eax
jmp 0x5ef87e
xor esi, esi
test bl, 2
mov dword [esp + 0x54c], 0xffffffff
je 0x5ef897
lea ecx, [esp + 0x4c]
call fcn.0045deb0
cmp byte [esp + 0x15], 1
jne 0x5ef969
xor eax, eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], eax
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], eax
mov dword [esi + 0x68], eax
mov dword [esi + 0x6c], eax
mov dword [esi + 0x70], eax
mov dword [esi + 0x74], eax
mov dword [esi + 0x78], eax
mov dword [esi + 0x7c], eax
mov dword [esi + 0x80], eax
mov dword [esi + 0x84], eax
mov dword [esi + 0x88], eax
mov dword [esi + 0x8c], eax
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], eax
mov dword [esi + 0x98], eax
mov dword [esi + 0x9c], eax
mov dword [esi + 0xa0], eax
mov dword [esi + 0xa4], eax
mov dword [esi + 0xa8], eax
mov dword [esi + 0xac], eax
mov dword [esi + 0xb0], eax
mov dword [esi + 0xb4], eax
mov dword [esi + 0xb8], eax
mov dword [esi + 0xbc], eax
mov dword [esi + 0xc0], eax
mov dword [esi + 0xc4], eax
mov dword [esi + 0xc8], eax
mov dword [esi + 0xcc], eax
mov dword [esi + 0xd0], eax
mov dword [esi + 0xd4], eax
mov dword [esi + 0xd8], eax
mov dword [esi + 0xdc], eax
mov dword [esi + 0xe0], eax
lea ebx, [eax + 9]
jmp 0x5efc4b
mov edx, dword [esp + 0x558]
mov eax, dword [edx]
mov cl, byte [eax + 0xa]
xor edx, edx
test cl, 1
mov dword [esp + 0x18], edx
mov dword [esp + 0x48], 0xa
mov byte [esp + 0x1c], dl
mov byte [esp + 0x1f], dl
mov byte [esp + 0x16], dl
mov byte [esp + 0x14], dl
mov byte [esp + 0x15], dl
mov byte [esp + 0x17], dl
mov byte [esp + 0x1d], dl
mov byte [esp + 0x1e], dl
jne 0x5ef9bb
mov dl, byte [eax + 0xb]
mov dword [esp + 0x18], 1
mov byte [esp + 0x14], dl
mov edx, dword [esp + 0x18]
test cl, 2
jne 0x5ef9cf
mov bl, byte [eax + edx + 0xb]
add edx, 1
mov dword [esp + 0x18], edx
mov byte [esp + 0x16], bl
test cl, 4
jne 0x5ef9e3
mov bl, byte [eax + edx + 0xb]
add edx, 1
mov dword [esp + 0x18], edx
mov byte [esp + 0x1f], bl
test cl, 8
jne 0x5ef9f7
mov bl, byte [eax + edx + 0xb]
add edx, 1
mov dword [esp + 0x18], edx
mov byte [esp + 0x1c], bl
test cl, 0x10
jne 0x5efa0b
mov bl, byte [eax + edx + 0xb]
add edx, 1
mov dword [esp + 0x18], edx
mov byte [esp + 0x1e], bl
test cl, 0x20
jne 0x5efa1f
mov bl, byte [eax + edx + 0xb]
add edx, 1
mov dword [esp + 0x18], edx
mov byte [esp + 0x1d], bl
test cl, 0x40
jne 0x5efa31
mov bl, byte [eax + edx + 0xb]
add edx, 1
mov dword [esp + 0x18], edx
jmp 0x5efa35
mov bl, byte [esp + 0x17]
test cl, cl
js 0x5efa48
mov al, byte [eax + edx + 0xb]
add edx, 1
mov dword [esp + 0x18], edx
mov byte [esp + 0x15], al
movzx edi, byte [esp + 0x14]
movzx ecx, byte [esp + 0x16]
movzx eax, byte [esp + 0x1f]
shl edi, 8
add edi, ecx
movzx ecx, byte [esp + 0x1c]
shl edi, 8
add edi, eax
movzx eax, byte [esp + 0x1e]
shl edi, 8
add edi, ecx
movzx ecx, byte [esp + 0x1d]
shl eax, 8
add eax, ecx
shl eax, 8
movzx ecx, bl
add eax, ecx
movzx ecx, byte [esp + 0x15]
shl eax, 8
add eax, ecx
cmp edi, ebp
mov dword [esp + 0x2c], eax
jne 0x5efb64
cmp eax, ebp
jne 0x5efb64
xor eax, eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], eax
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], eax
mov dword [esi + 0x68], eax
mov dword [esi + 0x6c], eax
mov dword [esi + 0x70], eax
mov dword [esi + 0x74], eax
mov dword [esi + 0x78], eax
mov dword [esi + 0x7c], eax
mov dword [esi + 0x80], eax
mov dword [esi + 0x84], eax
mov dword [esi + 0x88], eax
mov dword [esi + 0x8c], eax
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], eax
mov dword [esi + 0x98], eax
mov dword [esi + 0x9c], eax
mov dword [esi + 0xa0], eax
mov dword [esi + 0xa4], eax
mov dword [esi + 0xa8], eax
mov dword [esi + 0xac], eax
mov dword [esi + 0xb0], eax
mov dword [esi + 0xb4], eax
mov dword [esi + 0xb8], eax
mov dword [esi + 0xbc], eax
mov dword [esi + 0xc0], eax
mov dword [esi + 0xc4], eax
mov dword [esi + 0xc8], eax
mov dword [esi + 0xcc], eax
mov dword [esi + 0xd0], eax
mov dword [esi + 0xd4], eax
mov dword [esi + 0xd8], eax
mov dword [esi + 0xdc], eax
mov dword [esi + 0xe0], eax
jmp 0x5efc47
lea ecx, [esi + 0x4c]
mov ebx, 1
mov dword [esp + 0x34], ebp
mov dword [esp + 0x20], ecx
jmp 0x5efb80
cmp ebx, 0x1e
mov dword [esp + ebx*4 + 0xa8], ebp
mov ebp, 1
jg 0x5efb99
mov ecx, ebx
shl ebp, cl
test eax, ebp
jmp 0x5efba0
lea ecx, [ebx - 0x1e]
shl ebp, cl
test edi, ebp
je 0x5efc27
mov eax, dword [esp + 0x558]
mov ecx, dword [eax]
add ecx, dword [esp + 0x34]
mov ax, word [ecx + edx + 0xb]
cmp al, 0xff
lea edx, [ecx + edx + 0xb]
mov word [esp + 0x24], ax
mov dl, byte [edx + 2]
mov byte [esp + 0x26], dl
jne 0x5efbd3
movsx ecx, byte [esp + 0x25]
jmp 0x5efbea
mov al, byte [esp + 0x25]
cmp al, 0xfe
jne 0x5efbe7
movzx eax, dl
mov dword [esp + ebx*4 + 0xa8], eax
jmp 0x5efbf9
movzx ecx, al
movzx edx, dl
shl ecx, 8
add ecx, edx
mov dword [esp + ebx*4 + 0xa8], ecx
mov ebp, dword [esp + ebx*4 + 0xa8]
mov ecx, dword [esp + 0x10]
add dword [esp + 0x3c], 1
add dword [esp + 0x34], 3
push ebp
push ebx
call fcn.004a83c0
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov dword [eax], ebp
mov eax, dword [esp + 0x2c]
xor ebp, ebp
jmp 0x5efc36
mov ecx, dword [esp + 0x20]
xor ebp, ebp
mov dword [esp + ebx*4 + 0xa8], ebp
mov dword [ecx], ebp
add dword [esp + 0x20], 4
add ebx, 1
cmp ebx, 0x27
jl 0x5efb80
mov ebx, dword [esp + 0x48]
push 0x3f
lea edx, [esp + 0x6d]
push ebp
push edx
mov byte [esp + 0x74], 0
call fcn.0074d440
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 8]
add esp, 0xc
cmp eax, ebp
je 0x5efc70
mov eax, dword [eax + 0x1c]
jmp 0x5efc72
xor eax, eax
push eax
push 0x880478
lea ecx, [esp + 0x70]
push 0x40
push ecx
call fcn.0067ad00
lea eax, [esp + 0x78]
add esp, 0x10
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x5efc90
sub eax, edx
push eax
lea edx, [esp + 0x6c]
push edx
lea ecx, [esi + 0xc]
call fcn.00402660
cmp byte [0x992082], 0
je 0x5efcbd
push 0x1b1cd34
call dword [0x794290]
cmp byte [0x992082], 0
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + 0x268]
mov edi, dword [ecx + 0x14]
je 0x5efcde
push 0x1b1cd34
call dword [0x79428c]
lea edx, [esp + 0x68]
push edx
mov ecx, edi
call fcn.0053a2e0
mov dword [esi + 4], eax
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 8]
cmp eax, ebp
je case.default.0x5efd0b
mov eax, dword [eax + 0x17c]
cmp eax, 5
ja case.default.0x5efd0b
jmp dword [eax*4 + 0x5efe8c]
mov al, 0xb9
mov byte [esp + 0x10], al
mov byte [esp + 0x11], al
mov byte [esp + 0x12], al
mov byte [esp + 0x13], 0xff
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x44], ecx
jmp case.default.0x5efd0b
mov byte [esp + 0x10], 0xff
mov byte [esp + 0x11], 0xff
mov byte [esp + 0x12], 0xff
mov byte [esp + 0x13], 0xff
mov edx, dword [esp + 0x10]
mov dword [esi + 0x44], edx
jmp case.default.0x5efd0b
mov byte [esp + 0x10], 0
mov byte [esp + 0x11], 0xff
mov byte [esp + 0x12], 0
jmp 0x5efd94
mov byte [esp + 0x10], 0x43
mov byte [esp + 0x11], 0x6e
mov byte [esp + 0x12], 0xfb
mov byte [esp + 0x13], 0xff
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x44], ecx
jmp case.default.0x5efd0b
mov byte [esp + 0x10], 0x89
mov byte [esp + 0x11], 0x26
jmp 0x5efd38
mov byte [esp + 0x10], 0xf3
mov byte [esp + 0x11], 0x58
mov byte [esp + 0x12], 2
mov byte [esp + 0x13], 0xff
mov eax, dword [esp + 0x10]
mov dword [esi + 0x44], eax
mov byte [esp + 0x2c], 0
mov ecx, dword [esp + 0x2c]
push ecx
push esi
lea ecx, [esp + 0x4c]
mov dword [esp + 0x48], esi
call fcn.005ee110
mov eax, dword [0x1b0a694]
mov ecx, dword [eax + 4]
lea edi, [eax + 4]
lea edx, [esp + 0x40]
push edx
push ecx
push eax
mov ecx, 0x1b0a690
mov dword [esp + 0x558], 8
call fcn.0045ab40
push 1
mov ecx, 0x1b0a690
mov esi, eax
call fcn.00687760
mov ecx, dword [esp + 0x44]
cmp ecx, ebp
mov dword [edi], esi
mov eax, dword [esi + 4]
mov dword [eax], esi
mov dword [esp + 0x54c], 0xffffffff
je 0x5efe0c
call fcn.00435470
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x38]
lea eax, [eax + eax*2]
lea edx, [eax + ebx]
lea esi, [edx + ecx + 2]
mov edx, dword [esp + 0x558]
add dword [edx], esi
mov edx, dword [esp + 0x55c]
add eax, ebx
lea ecx, [eax + ecx + 2]
mov eax, dword [esp + 0x560]
mov dword [edx], ebp
add dword [eax], ecx
mov bl, 1
jmp 0x5efe4b
mov bl, byte [esp + 0x17]
cmp edi, ebp
je 0x5efe59
mov edx, dword [edi]
mov eax, dword [edx]
push 1
mov ecx, edi
call eax
pop edi
test bl, bl
pop ebx
jne 0x5efe73
mov esi, dword [esp + 0x550]
mov eax, dword [esp + 0x554]
add dword [esi], 1
add dword [eax], 1
mov ecx, dword [esp + 0x53c]
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x540
ret 0x10