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

Disassembly:
sub esp, 0x44
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x60]
push ebx
mov ebx, dword [esp + 0x4c]
mov edx, dword [edx]
mov ecx, dword [ecx]
push ebp
mov eax, dword [ebx]
mov ebp, edx
push esi
mov esi, dword [esp + 0x5c]
mov ebx, edx
shl ebx, 4
add ebx, esi
mov dword [esp + 0x1c], eax
push edi
xor edi, edi
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], edi
mov eax, dword [eax + 0x24]
mov dword [esp + 0x14], eax
lea eax, [ebx - 0x10]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x1c], 1
test edx, edx
je 0x7e4f97
cmp dword [eax], ecx
jne 0x7e4f8f
dec ecx
sub eax, 0x10
sub edx, 1
jne 0x7e4f82
mov dword [esp + 0x28], ecx
mov dword [esp + 0x18], edx
mov ecx, dword [esp + 0x78]
nop dword [eax + eax]
mov eax, dword [esp + 0x58]
cmp dword [eax + 0x10], 0
je 0x7e5138
mov edx, dword [eax + 8]
cmp dword [edx + 0x74], 0
je 0x7e5138
test dword [eax + 0x13c], 0x2000
jne 0x7e5138
mov eax, dword [edx + 0x80]
test eax, eax
je 0x7e4fe9
mov eax, dword [eax + 0x5c]
test eax, eax
je 0x7e4fe9
test byte [eax + 0x31c], 8
jne 0x7e5138
mov eax, dword [esp + 0x70]
mov ecx, ebp
shl ecx, 4
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], esi
mov ebx, dword [eax]
mov eax, dword [edx + 0x74]
mov dword [esp + 0x1c], 1
mov dword [esp + 0x2c], ebx
mov eax, dword [eax + 0x40]
mov edx, dword [eax + 0x184]
mov eax, edx
shr eax, 1
cmp ecx, eax
jbe 0x7e504f
mov ebp, edx
mov dword [esp + 0x1c], 0
mov edx, dword [esp + 0x60]
shr ebp, 5
mov eax, ebp
shl eax, 4
mov dword [esp + 0x3c], eax
lea ecx, [eax + esi]
mov eax, dword [esp + 0x18]
shl eax, 4
add eax, edx
cmp ecx, eax
jb 0x7e5053
mov eax, dword [ecx - 0x10]
mov dword [esp + 0x2c], eax
jmp 0x7e5053
mov edx, dword [esp + 0x60]
cmp esi, edx
je 0x7e5085
mov ebx, dword [esp + 0x58]
lea eax, [esp + 0x10]
push eax
push 0
push dword [esp + 0x64]
add ebx, 0xc
lea eax, [esi - 0x10]
push dword [ebx]
push eax
push dword [esp + 0x28]
call fcn.007942a0
mov edi, eax
add esp, 0x18
test edi, edi
jne 0x7e5290
mov eax, dword [esp + 0x10]
mov ebx, ebp
shl ebx, 4
add ebx, esi
mov dword [esp + 0x30], 0
mov dword [esp + 0x24], ebx
mov dword [esp + 0x34], 0
test eax, eax
je 0x7e50ad
mov ecx, dword [eax + 8]
jmp 0x7e50b3
lea eax, [esp + 0x30]
xor ecx, ecx
mov ebp, dword [esp + 0x58]
lea edx, [esp + 0x38]
push edx
push dword [esp + 0x30]
push dword [esp + 0x74]
push eax
mov eax, dword [esp + 0x84]
push ecx
push eax
push 0
push dword [esp + 0x38]
push eax
push dword [ebp + 0x10]
push dword [esp + 0x48]
call fcn.007f1cd0
mov edi, eax
add esp, 0x2c
test edi, edi
jne 0x7e529a
mov edx, dword [esp + 0x10]
test edx, edx
je 0x7e512a
mov ecx, dword [esp + 0x74]
lea ebx, [ebp + 0xc]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [edx], eax
mov dword [edx + 4], ecx
push dword [ebp + 0x14]
push dword [esp + 0x14]
push dword [ebx]
push dword [esp + 0x20]
call fcn.00795f00
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x7e5294
mov ebx, dword [esp + 0x24]
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x10], 0
jmp 0x7e514d
mov ebp, dword [esp + 0x58]
test ecx, ecx
jne 0x7e514d
mov eax, dword [esp + 0x74]
mov dword [eax], ecx
mov dword [eax + 4], 1
cmp esi, ebx
jae 0x7e5270
mov eax, dword [esp + 0x18]
shl eax, 4
add eax, dword [esp + 0x60]
mov dword [esp + 0x2c], eax
cmp esi, eax
jae 0x7e5270
lea eax, [esp + 0x10]
push eax
xor eax, eax
lea ebx, [ebp + 0xc]
test ecx, ecx
mov ecx, 2
cmove eax, ecx
push eax
push dword [esp + 0x64]
push dword [ebx]
push esi
push dword [esp + 0x28]
call fcn.007942a0
mov edi, eax
add esp, 0x18
test edi, edi
je 0x7e51b9
mov ecx, dword [esp + 0x78]
test ecx, ecx
je 0x7e5294
cmp edi, 0xffff86f6
jne 0x7e5294
xor edi, edi
jmp 0x7e525d
cmp dword [esp + 0x78], 0
je 0x7e5205
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
cmp eax, dword [esi + 8]
jne 0x7e5239
mov eax, dword [ecx + 4]
cmp eax, dword [esi + 0xc]
je 0x7e51d8
lea ebx, [ebp + 0xc]
jmp 0x7e5239
mov eax, dword [esp + 0x20]
push 0
push dword [eax + 4]
lea eax, [esp + 0x18]
push dword [esp + 0x64]
push dword [ebx]
push eax
push dword [esp + 0x28]
call fcn.007fb4a0
mov edi, eax
add esp, 0x18
test edi, edi
jne 0x7e52a3
lea ebx, [ebp + 0xc]
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
cmp esi, eax
mov eax, dword [esp + 0x10]
jne 0x7e521d
mov dword [eax + 0x10], 0
jmp 0x7e5223
mov ecx, dword [esi + 0x10]
mov dword [eax + 0x10], ecx
mov eax, dword [esp + 0x74]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x10]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
push dword [eax + 4]
push ecx
push dword [ebx]
push dword [esp + 0x20]
call fcn.00795f00
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x7e5294
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x10], eax
mov ebx, dword [esp + 0x24]
add esi, 0x10
mov eax, dword [esp + 0x2c]
cmp esi, ebx
jb 0x7e5164
cmp dword [esp + 0x1c], 0
jne 0x7e52bf
mov eax, dword [esp + 0x68]
mov esi, ebx
mov ebp, dword [eax]
shl ebp, 4
sub ebp, ebx
add ebp, dword [esp + 0x60]
sar ebp, 4
jmp 0x7e4fa0
mov ebp, dword [esp + 0x58]
mov esi, dword [esp + 0x14]
jmp 0x7e52fe
mov esi, dword [esp + 0x14]
lea ebx, [ebp + 0xc]
jmp 0x7e52fe
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x14]
push dword [eax + 4]
push dword [esp + 0x14]
push dword [ebx]
push esi
call fcn.00795f00
add esp, 0x10
jmp 0x7e52fe
mov ebx, dword [esp + 0x70]
mov esi, dword [esp + 0x28]
mov edx, dword [esp + 0x18]
cmp esi, dword [ebx]
je 0x7e533c
mov eax, dword [esp + 0x68]
cmp edx, dword [eax]
je 0x7e532b
xor eax, eax
lea ebx, [ebp + 0xc]
test ecx, ecx
setne al
push eax
lea eax, [esi + 1]
mov esi, dword [esp + 0x18]
push eax
push dword [ebx]
push dword [ebp + 0x10]
push esi
call fcn.0077c010
mov edi, eax
add esp, 0x14
test edi, edi
je 0x7e531f
mov eax, dword [esp + 0x10]
test eax, eax
je 0x7e5342
push dword [ebp + 0x14]
push eax
push dword [ebx]
push esi
call fcn.00795f00
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x28]
mov ebx, dword [esp + 0x70]
mov ecx, dword [esp + 0x64]
test ecx, ecx
je 0x7e533a
mov eax, dword [ebx]
sub eax, esi
add dword [ecx + 0x1c], eax
mov dword [ebx], esi
mov eax, dword [esp + 0x68]
mov dword [eax], edx
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret