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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x44
mov edi, edx
mov dword [esp + 4], ecx
mov eax, dword [edx + 0xc]
mov ebp, dword [edx + 0x10]
mov dword [esp + 0xc], eax
test eax, eax
je 0x10007a98
mov eax, dword [ebp + 0x30]
jmp 0x10007a9b
mov eax, dword [ebp + 0x34]
mov esi, esp
mov dword [esi], eax
mov eax, dword [ebp + 0x50]
lea ebx, [esp + 0x40]
mov dword [ebx], eax
push 4
push 0x3000
push ebx
push esi
call fcn.100076c7
add esp, 0x10
cmp eax, 0xb
je 0x10007adf
mov dword [esp], 0
push 4
push 0x3000
push ebx
push esi
call fcn.100076c7
add esp, 0x10
cmp eax, 0xb
jne 0x10007e03
mov dword [esp + 8], ebp
mov ebx, dword [edi + 0x14]
mov ecx, dword [edi + 0x18]
mov eax, ecx
mov dword [esp + 0x20], ecx
test ecx, ecx
je 0x10007b28
mov esi, dword [edi + 0x24]
mov eax, dword [esp + 0x20]
lea eax, [eax*8]
lea edi, [eax + eax*4]
xor ebp, ebp
mov eax, dword [ebx + ebp + 0x14]
add eax, esi
mov ecx, dword [esp]
add ecx, dword [ebx + ebp + 0xc]
push dword [ebx + ebp + 0x10]
push eax
push ecx
call fcn.100e9d70
add esp, 0xc
add ebp, 0x28
cmp edi, ebp
jne 0x10007b06
mov ecx, dword [esp + 0xc]
mov eax, ecx
shl eax, 4
mov esi, dword [esp]
test ecx, ecx
je 0x10007b41
mov edx, dword [esp + 8]
mov ecx, dword [edx + 0x30]
jmp 0x10007b48
mov edx, dword [esp + 8]
mov ecx, dword [edx + 0x34]
add edx, eax
add edx, 0x78
mov eax, esi
sub eax, ecx
mov dword [esp + 0x1c], edx
je 0x10007bc3
mov ecx, dword [edx + 0x28]
test ecx, ecx
je 0x10007bc3
cmp dword [edx + 0x2c], 0
je 0x10007bc3
add ecx, esi
mov dword [esp + 0x3c], ebx
mov edx, dword [ecx + 4]
test edx, edx
je 0x10007bb5
lea edi, [edx - 8]
cmp edi, 2
jl 0x10007bbc
shr edi, 0x1f
add edx, edi
add edx, 0xfffffff8
sar edx, 1
xor edi, edi
movzx ebx, word [ecx + edi*2 + 8]
mov ebp, ebx
and ebp, 0xf000
cmp ebp, 0x3000
jne 0x10007ba7
and ebx, 0xfff
mov ebp, dword [ecx]
add ebp, esi
add dword [ebx + ebp], eax
inc edi
cmp edx, edi
jne 0x10007b85
mov edx, dword [ecx + 4]
mov ebx, dword [esp + 0x3c]
jmp 0x10007bbc
xor edx, edx
cmp dword [ecx], 0
je 0x10007bc0
add ecx, edx
jmp 0x10007b6a
mov esi, dword [esp]
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0xc], 0
je 0x10007d27
mov eax, dword [esp + 0x1c]
mov ebp, dword [eax + 8]
test ebp, ebp
je 0x10007d27
add ebp, esi
lea ecx, [esi + 2]
mov dword [esp + 0xc], ecx
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x10007c0c
cmp dword [ebp + 0x10], 0
jne 0x10007c0c
cmp dword [ebp], 0
jne 0x10007c0c
cmp dword [ebp + 4], 0
jne 0x10007c0c
cmp dword [ebp + 8], 0
je 0x10007d27
add edi, esi
push edi
call fcn.100ed760
add esp, 4
inc eax
push eax
push edi
lea edi, [esp + 0x18]
push edi
call fcn.100d37c0
add esp, 0xc
cmp dword [esp + 0x10], 0
jne 0x10007de7
push dword [esp + 0x18]
push dword [esp + 0x18]
push edi
call fcn.100075df
add esp, 0xc
mov eax, dword [esp + 0x10]
cmp eax, 0xb
jne 0x10007dff
mov eax, dword [ebp]
mov dword [esp + 0x30], ebp
mov ecx, dword [ebp + 0x10]
add ecx, esi
lea edx, [esi + eax]
test eax, eax
mov dword [esp + 8], ecx
cmove edx, ecx
mov dword [esp + 0x38], edx
mov edi, dword [edx]
test edi, edi
je 0x10007d1b
mov eax, dword [esp + 0x14]
mov dword [esp + 0x24], eax
xor ebp, ebp
mov ecx, dword [esp + 0xc]
test edi, edi
js 0x10007ce4
cmp byte [ecx + edi], 0
je 0x10007d1b
add edi, ecx
push edi
call fcn.100ed760
add esp, 4
inc eax
push eax
push edi
lea eax, [esp + 0x18]
push eax
call fcn.100d37c0
add esp, 0xc
cmp dword [esp + 0x10], 0
jne 0x10007de7
push dword [esp + 0x18]
push dword [esp + 0x18]
push dword [esp + 0x2c]
lea eax, [esp + 0x34]
push eax
call fcn.10007650
add esp, 0x10
mov eax, dword [esp + 0x28]
cmp eax, 0xb
jne 0x10007dee
mov eax, dword [esp + 0x2c]
jmp 0x10007cfd
movzx eax, di
push eax
push dword [esp + 0x28]
call sub.kernel32.dll_GetProcAddress
test eax, eax
je 0x10007df4
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 8]
mov dword [ecx + ebp], eax
mov eax, dword [esp + 0x38]
mov edi, dword [eax + ebp + 4]
add ebp, 4
test edi, edi
mov ecx, dword [esp + 0xc]
jne 0x10007c84
mov ebp, dword [esp + 0x30]
add ebp, 0x14
jmp 0x10007be9
mov eax, dword [esp + 0x20]
test eax, eax
je 0x10007da4
shl eax, 3
lea esi, [eax + eax*4]
xor edi, edi
lea ebp, [esp + 0x10]
mov eax, dword [ebx + edi + 0x10]
mov dword [esp + 0x28], eax
test eax, eax
je 0x10007d9d
mov eax, dword [esp]
add eax, dword [ebx + edi + 0xc]
mov dword [esp + 0x10], eax
mov eax, dword [ebx + edi + 0x24]
bt eax, 0x1d
jb 0x10007d73
bt eax, 0x1e
mov ecx, 1
jae 0x10007d89
shr eax, 0x1f
lea ecx, [eax*2 + 2]
jmp 0x10007d89
mov ecx, 0x10
bt eax, 0x1e
jae 0x10007d89
shr eax, 0x1a
and eax, 0xffffffe0
add eax, 0x20
mov ecx, eax
push ecx
lea eax, [esp + 0x2c]
push eax
push ebp
call fcn.1000775d
add esp, 0xc
cmp eax, 0xb
jne 0x10007e03
add edi, 0x28
cmp esi, edi
jne 0x10007d3b
mov esi, dword [esp]
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0x4c], 0
je 0x10007dd8
mov eax, dword [eax + 0x48]
test eax, eax
je 0x10007dd8
mov edi, dword [esi + eax + 0xc]
mov eax, dword [edi]
test eax, eax
je 0x10007dd8
add edi, 4
push 0
push 1
push esi
call eax
mov eax, dword [edi]
add edi, 4
test eax, eax
jne 0x10007dc5
mov esi, dword [esp]
mov eax, dword [esp + 4]
mov dword [eax + 4], esi
mov dword [eax], 0xb
jmp 0x10007e0e
mov eax, 5
jmp 0x10007e03
mov edx, dword [esp + 0x2c]
jmp 0x10007e03
mov eax, 2
mov edx, dword [esp + 0x34]
jmp 0x10007e03
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 4]
mov dword [ecx], eax
mov eax, ecx
mov dword [ecx + 4], edx
add esp, 0x44
pop esi
pop edi
pop ebx
pop ebp
ret