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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
mov eax, dword [0x7741c004]
xor eax, esp
mov dword [esp + 0x78], eax
mov eax, dword [ebp + 0x10]
and dword [esp + 0x18], 0
mov edx, dword [ebp + 0xc]
push ebx
push esi
push edi
mov ebx, ecx
mov dword [esp + 0x2c], edx
mov ecx, dword [ebp + 8]
xor edi, edi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x1c], eax
test eax, eax
je 0x7740bf28
test ecx, ecx
je 0x7740bf28
test edx, edx
je 0x7740bf28
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 0x1c]
mov ecx, esi
call dword [0x7741d0e8]
call esi
mov dword [esp + 0x14], eax
test eax, eax
jne 0x7740ba8f
mov eax, 0x80004005
jmp 0x7740bf2d
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x48]
push 0
push dword [esp + 0x30]
mov esi, dword [eax]
push ecx
push eax
mov ecx, dword [esi + 0xc]
call dword [0x7741d0e8]
call dword [esi + 0xc]
test eax, eax
jne 0x7740bf10
mov eax, dword [esp + 0x48]
push 4
pop esi
cmp eax, 0x46464952
je 0x7740bdcb
cmp eax, 0x5453494c
je 0x7740bca0
cmp eax, 0x686e7470
je 0x7740bbe3
cmp eax, 0x6d746872
je 0x7740bb52
cmp eax, 0x7366746d
jne 0x7740bebc
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push ecx
push 0x14
lea ecx, [esp + 0x64]
mov esi, dword [eax]
push ecx
push eax
mov ecx, dword [esi + 0xc]
call dword [0x7741d0e8]
call dword [esi + 0xc]
mov edi, eax
test edi, edi
js 0x7740bee2
cmp dword [esp + 0x18], 0x14
jne 0x7740bee2
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x5c]
mov dword [ebx + 0x2c], eax
mov eax, dword [esp + 0x64]
mov dword [ebx + 0x30], eax
mov eax, dword [esp + 0x68]
mov dword [ebx + 0x34], eax
mov eax, dword [esp + 0x6c]
mov dword [ebx + 0x24], 1
mov dword [ebx + 0x28], ecx
mov dword [ebx + 0x38], eax
jmp 0x7740bebc
cmp dword [ebx + 0x1c], 0
je 0x7740bb66
push dword [ebx + 0x1c]
call dword [sym.imp.msvcrt.dll_free]
and dword [ebx + 0x1c], 0
pop ecx
movzx eax, word [ebx + 0x18]
xor ecx, ecx
mul esi
seto cl
neg ecx
or ecx, eax
call fcn.77419bda
mov dword [ebx + 0x1c], eax
test eax, eax
je 0x7740bedb
xor edx, edx
xor eax, eax
mov dword [esp + 0x20], edx
cmp ax, word [ebx + 0x18]
jae 0x7740bebc
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push eax
mov eax, dword [ebx + 0x1c]
push 4
mov esi, dword [ecx]
lea eax, [eax + edx*4]
push eax
push ecx
mov ecx, dword [esi + 0xc]
call dword [0x7741d0e8]
call dword [esi + 0xc]
mov edi, eax
test edi, edi
js 0x7740bee2
cmp dword [esp + 0x18], 4
jne 0x7740bee2
mov edx, dword [esp + 0x20]
movzx eax, word [ebx + 0x18]
inc edx
mov dword [esp + 0x20], edx
cmp edx, eax
jl 0x7740bb97
jmp 0x7740bebc
mov ecx, dword [esp + 0x4c]
lea edi, [esp + 0x38]
xor eax, eax
mov dword [esp + 0x20], ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
cmp ecx, 0x10
jb 0x7740bc01
push 0x10
pop ecx
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
push ecx
lea ecx, [esp + 0x40]
mov esi, dword [eax]
push ecx
push eax
mov ecx, dword [esi + 0xc]
call dword [0x7741d0e8]
call dword [esi + 0xc]
mov edi, eax
test edi, edi
js 0x7740bee2
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x18], eax
jne 0x7740bee2
cmp dword [ebx + 0x1c], 0
mov al, byte [esp + 0x3c]
mov byte [ebx + 0x12], al
mov al, byte [esp + 0x3d]
mov byte [ebx + 0x13], al
mov ax, word [esp + 0x3e]
mov word [ebx + 0x16], ax
mov al, byte [esp + 0x42]
mov byte [ebx + 0x14], al
mov al, byte [esp + 0x43]
mov byte [ebx + 0x15], al
mov eax, dword [esp + 0x44]
mov dword [ebx + 0x44], eax
mov al, byte [esp + 0x38]
mov byte [ebx + 0xc], al
mov al, byte [esp + 0x39]
mov byte [ebx + 0xd], al
mov ax, word [esp + 0x3a]
mov word [ebx + 0xe], ax
mov ax, word [esp + 0x40]
mov word [ebx + 0x18], ax
je 0x7740bebc
push dword [ebx + 0x1c]
call dword [sym.imp.msvcrt.dll_free]
and dword [ebx + 0x1c], 0
pop ecx
jmp 0x7740bebc
cmp dword [esp + 0x50], 0x4f464e55
je 0x7740bda3
cmp dword [esp + 0x50], 0x66657270
je 0x7740bd1b
cmp dword [esp + 0x50], 0x74726170
jne 0x7740bebc
mov edi, dword [esp + 0x1c]
mov ecx, edi
call fcn.7740e3c7
mov esi, eax
test esi, esi
je 0x7740bedb
push edi
lea eax, [esp + 0x4c]
mov ecx, esi
push eax
push dword [esp + 0x18]
call fcn.77426d80
mov edi, eax
test edi, edi
js 0x7740bee9
cmp edi, 1
jne 0x7740bd0a
mov ecx, dword [esp + 0x1c]
push esi
call fcn.7740e427
jmp 0x7740bebc
push ebx
push dword [esp + 0x20]
mov ecx, esi
call fcn.7741046f
jmp 0x7740bebc
lea eax, [esp + 0x24]
mov ecx, ebx
push eax
call fcn.7740bf44
mov edi, eax
test edi, edi
js 0x7740bf10
push dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x4c]
push eax
push dword [esp + 0x18]
call fcn.7740c4e6
mov edi, eax
test edi, edi
js 0x7740bf10
jmp 0x7740bebc
mov eax, dword [esp + 0x70]
sub eax, 0x4d414e49
je 0x7740bd66
sub eax, 0xc
jne 0x7740bd89
mov edx, dword [esp + 0x74]
cmp edx, 0x7e
jb 0x7740bd72
push 0x7e
pop edx
mov ecx, dword [esp + 0x14]
lea eax, [ebx + 4]
push eax
call fcn.774078e0
mov edi, eax
test edi, edi
js 0x7740bf10
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x70]
push 0
push ecx
push eax
mov esi, dword [eax]
mov ecx, dword [esi + 0x10]
call dword [0x7741d0e8]
call dword [esi + 0x10]
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x48]
push 0
push ecx
lea ecx, [esp + 0x78]
mov esi, dword [eax]
push ecx
push eax
mov ecx, dword [esi + 0xc]
call dword [0x7741d0e8]
call dword [esi + 0xc]
test eax, eax
je 0x7740bd56
jmp 0x7740bebc
cmp dword [esp + 0x50], 0x44424d44
jne 0x7740bebc
lea edi, [ebx + 0x3c]
mov ecx, dword [edi]
test ecx, ecx
je 0x7740bdf5
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x7741d0e8]
call esi
and dword [edi], 0
push edi
push 0x77401c74
push 3
push 0
push 0x77401c54
call dword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoCreateInstance]
mov edi, eax
test edi, edi
js 0x7740bef5
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x30]
push ecx
push 1
push 0
mov esi, dword [eax]
push 0
push eax
mov ecx, dword [esi + 0x14]
call dword [0x7741d0e8]
call dword [esi + 0x14]
mov edi, eax
test edi, edi
js 0x7740bef5
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x30]
mov eax, dword [esp + 0x30]
push edx
push 0
mov esi, dword [ecx]
add eax, 0xfffffff4
push 0
push eax
push ecx
mov ecx, dword [esi + 0x14]
call dword [0x7741d0e8]
call dword [esi + 0x14]
mov edi, eax
test edi, edi
js 0x7740bef5
mov eax, dword [ebx + 0x3c]
lea ecx, [esp + 0x28]
push ecx
push 0x77401ab0
push eax
mov esi, dword [eax]
mov ecx, dword [esi]
call dword [0x7741d0e8]
call dword [esi]
mov edi, eax
test edi, edi
js 0x7740bef5
mov eax, dword [esp + 0x28]
push dword [esp + 0x14]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x14]
mov ecx, esi
call dword [0x7741d0e8]
call esi
mov edi, eax
mov eax, dword [esp + 0x28]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x7741d0e8]
call esi
test edi, edi
js 0x7740bef5
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x48]
push 0
push ecx
push eax
mov esi, dword [eax]
mov ecx, dword [esi + 0x10]
call dword [0x7741d0e8]
call dword [esi + 0x10]
jmp 0x7740ba8f
mov edi, 0x8007000e
jmp 0x7740bf10
mov edi, 0x80004005
jmp 0x7740bf10
mov ecx, dword [esp + 0x1c]
push esi
call fcn.7740e427
jmp 0x7740bf10
mov ecx, dword [ebx + 0x3c]
test ecx, ecx
je 0x7740bf10
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x7741d0e8]
call esi
and dword [ebx + 0x3c], 0
mov ecx, dword [esp + 0x14]
push ecx
mov eax, dword [ecx]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x7741d0e8]
call esi
mov eax, edi
jmp 0x7740bf2d
mov eax, 0x80070057
mov ecx, dword [esp + 0x84]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.7741a530
mov esp, ebp
pop ebp
ret 0xc