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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc4
push ebx
push esi
mov esi, ecx
cmp dword [esi], 0
push edi
mov dword [esp + 0x18], esi
je 0x7e6248
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x10d4]
test eax, eax
jne 0x7e6248
mov eax, dword [ebx + 0x988]
test eax, eax
je 0x7e6248
mov eax, dword [ebx + 0x5bc]
mov ecx, dword [eax + 0x50c]
test ecx, ecx
je 0x7e6248
mov edi, dword [ebp + 0xc]
mov ecx, dword [0x75d678]
movzx edx, byte [edi]
mov eax, dword [ecx + 0x28]
cmp byte [edx + eax], 0x53
jne 0x7e6248
movzx ecx, byte [edi + 1]
cmp byte [ecx + eax], 0x45
jne 0x7e6248
movzx edx, byte [edi + 2]
cmp byte [edx + eax], 0x4c
jne 0x7e6248
lea eax, [esi + 0x28]
push eax
mov dword [esp + 0x10], eax
call dword [fcn.005df07c]
cmp dword [esi], 0
je 0x7e623d
mov ecx, dword [ebx + 0x1308]
test ecx, ecx
mov eax, dword [ebp + 0x10]
lea edx, [ecx + eax + 0x25]
je 0x7e5e7b
mov esi, dword [ebx + 0x1060]
lea edi, [edi + eax + 1]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp + 0xc]
xor eax, eax
mov ecx, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov eax, dword [ebx + 0x10b0]
mov esi, eax
shr esi, 6
and esi, 8
and eax, 4
or esi, eax
and ecx, 0xfffffffc
shr esi, 2
or esi, ecx
mov ecx, dword [ebx + 0x9e4]
mov eax, dword [ecx]
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 0x9e8]
test eax, eax
mov dword [esp + 0x24], esi
je 0x7e5edc
mov ecx, dword [eax]
mov dword [esp + 0x2c], ecx
jmp 0x7e5ee4
mov dword [esp + 0x2c], 0xffffffff
mov eax, dword [ebx + 0x9f4]
mov ecx, dword [eax]
mov eax, dword [ebx + 0x930]
mov dword [esp + 0x30], ecx
mov ecx, dword [ebx + 0x9f8]
mov dword [esp + 0x34], eax
mov eax, dword [ebx + 0x9a4]
mov dword [esp + 0x38], ecx
mov ecx, dword [ebx + 0x954]
mov dword [esp + 0x3c], eax
mov eax, dword [ebx + 0x9c8]
mov dword [esp + 0x40], ecx
lea edi, [edx + edi - 0x24]
push edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x48], eax
mov ecx, 9
lea esi, [esp + 0x28]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0xc]
push ecx
add edx, 0x58
push edx
call fcn.008478a2
mov esi, eax
add esp, 0xc
test esi, esi
mov dword [esp + 0x20], esi
je 0x7e623d
mov eax, dword [esi + 0x1c]
shl eax, 4
add eax, 7
and eax, 0xfffffff8
mov ecx, dword [eax + esi + 0x58]
add eax, esi
test ecx, ecx
je 0x7e623d
cmp dword [ecx + 0x18], 2
jne 0x7e623d
add eax, 0x28
push eax
call fcn.0084f632
mov eax, dword [esi + 0x1c]
shl eax, 4
lea ecx, [eax + 7]
and ecx, 0xfffffff8
mov edi, dword [ecx + esi + 0x58]
add ecx, esi
add esp, 4
test edi, edi
mov dword [esp + 0x50], ecx
mov dword [esp + 0x4c], edi
mov dword [esp + 0x10], edi
je 0x7e6231
cmp dword [edi + 0x18], 2
jne 0x7e6231
test dword [ebx + 0x12cc], 0x180000
je 0x7e5fca
test byte [ecx + 0x64], 4
jne 0x7e6231
xor edx, edx
mov dl, byte [ecx + 0x64]
lea ecx, [esi + 0x20]
add eax, ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x54], eax
and edx, 2
cmp ecx, eax
mov dword [esp + 0x58], edx
jne 0x7e6012
mov ecx, dword [esp + 0x18]
push esi
call fcn.007e57a2
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x10]
mov edx, dword [esp + 0xc]
inc ecx
push edx
mov dword [eax + 0x10], ecx
call dword [fcn.005df0b0]
jmp 0x7e61b2
mov ecx, dword [esp + 0x14]
mov edi, edi
mov eax, dword [ebx + 0x10c4]
test eax, eax
mov edx, dword [ecx + 0xc]
mov dword [esp + 0x1c], edx
je 0x7e6068
mov ecx, dword [edx + 4]
mov dword [esp + 0x48], ecx
jmp 0x7e6032
mov edi, dword [eax + 0x1b0]
sub edi, 8
cmp edi, ecx
jne 0x7e605e
mov esi, dword [eax + 0x1a0]
lea edi, [edx + 0x10]
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x7e60fd
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x1c]
mov eax, dword [eax + 0x508]
test eax, eax
jne 0x7e6032
xor eax, eax
mov ecx, 0x1b
lea edi, [esp + 0x60]
rep stosd dword es:[edi], eax
push 1
lea eax, [esp + 0x64]
lea edi, [edx + 0x10]
push eax
mov dword [esp + 0x6c], edi
mov edx, dword [edx]
push 1
push ebx
mov dword [esp + 0x7c], edx
mov dword [esp + 0x78], edx
call fcn.007f8842
add esp, 0x10
test eax, eax
jne 0x7e6141
mov eax, dword [esp + 0x9c]
test eax, eax
jne 0x7e6181
mov eax, dword [esp + 0x58]
test eax, eax
je 0x7e60dd
mov eax, dword [esp + 0x1c]
mov cl, byte [eax + 8]
mov eax, dword [eax + 4]
mov byte [esp + 0x5c], cl
mov edx, dword [esp + 0x5c]
push edx
push eax
push edi
push ebx
call fcn.00780582
add esp, 0x10
test eax, eax
je 0x7e6181
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x54]
add eax, 0x10
cmp eax, ecx
mov dword [esp + 0x14], eax
jne 0x7e600c
mov edi, dword [esp + 0x10]
jmp 0x7e5fe7
mov eax, dword [esp + 0xc]
push eax
call dword [fcn.005df0b0]
mov ecx, dword [ebx + 0x5bc]
mov eax, dword [esp + 0x20]
mov dword [ecx + 0x50c], 0
mov edx, dword [eax + 0x1c]
shl edx, 4
add edx, 7
and edx, 0xfffffff8
lea eax, [edx + eax + 0x28]
push eax
call fcn.0084f702
add esp, 4
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [esp + 0xc]
push ecx
call dword [fcn.005df0b0]
mov edx, dword [ebx + 0x5bc]
mov dword [edx + 0x50c], 0
mov eax, dword [esi + 0x1c]
shl eax, 4
add eax, 7
and eax, 0xfffffff8
lea ecx, [eax + esi + 0x28]
push ecx
call fcn.0084f702
add esp, 4
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [esi + 0x1c]
shl edx, 4
add edx, 7
and edx, 0xfffffff8
lea eax, [edx + esi + 0x28]
push eax
call fcn.0084f702
mov ecx, dword [ebx + 0x5bc]
mov dword [ecx + 0x50c], 0
jmp 0x7e623a
mov edi, dword [esp + 0x10]
mov edi, edi
mov eax, dword [edi + 0x1c]
mov edx, dword [edi + 4]
shl eax, 4
add eax, 7
mov ecx, eax
and eax, 0xfffffff8
and ecx, 0xfffffff8
sub edx, eax
lea ecx, [ecx + edi + 0x20]
sub edx, 0x28
push edx
add ecx, 8
push ecx
lea eax, [ebx + 0x5c8]
push eax
call fcn.007be1e2
add esp, 0xc
test eax, eax
jne 0x7e61f4
mov edi, dword [edi + 0x10]
cmp edi, dword [esp + 0x4c]
mov dword [esp + 0x10], edi
jne 0x7e61ac
mov eax, dword [esp + 0x50]
mov ecx, dword [eax + 0x20]
mov dword [ebx + 0x1270], ecx
mov edx, dword [eax + 0x24]
mov dword [ebx + 0x1274], edx
mov eax, dword [esi + 0x1c]
shl eax, 4
add eax, 7
and eax, 0xfffffff8
lea ecx, [eax + esi + 0x28]
push ecx
call fcn.0084f702
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
add ecx, 0x28
push ecx
call fcn.0084f702
add esp, 4
mov edx, dword [esp + 0xc]
push edx
call dword [fcn.005df0b0]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc