Function at 0x7740bcfc
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
jne 0x7740bd41
mov eax, 0x80070057
jmp 0x7740c202
test ecx, ecx
je 0x7740bd37
test edx, edx
je 0x7740bd37
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 0x7740bd6b
mov eax, 0x80004005
jmp 0x7740c202
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 0x7740c1ec
mov eax, dword [esp + 0x48]
push 4
pop esi
cmp eax, 0x46464952
je 0x7740c0a7
cmp eax, 0x5453494c
je 0x7740bf7c
cmp eax, 0x686e7470
je 0x7740bebf
cmp eax, 0x6d746872
je 0x7740be2e
cmp eax, 0x7366746d
jne 0x7740c198
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 0x7740c1be
cmp dword [esp + 0x18], 0x14
jne 0x7740c1be
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 0x7740c198
cmp dword [ebx + 0x1c], 0
je 0x7740be42
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.7741a35a
mov dword [ebx + 0x1c], eax
test eax, eax
je 0x7740c1b7
xor edx, edx
xor eax, eax
mov dword [esp + 0x20], edx
cmp ax, word [ebx + 0x18]
jae 0x7740c198
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 0x7740c1be
cmp dword [esp + 0x18], 4
jne 0x7740c1be
mov edx, dword [esp + 0x20]
movzx eax, word [ebx + 0x18]
inc edx
mov dword [esp + 0x20], edx
cmp edx, eax
jl 0x7740be73
jmp 0x7740c198
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 0x7740bedd
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 0x7740c1be
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x18], eax
jne 0x7740c1be
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 0x7740c198
push dword [ebx + 0x1c]
call dword [sym.imp.msvcrt.dll_free]
and dword [ebx + 0x1c], 0
pop ecx
jmp 0x7740c198
cmp dword [esp + 0x50], 0x4f464e55
je 0x7740c07f
cmp dword [esp + 0x50], 0x66657270
je 0x7740bff7
cmp dword [esp + 0x50], 0x74726170
jne 0x7740c198
mov edi, dword [esp + 0x1c]
mov ecx, edi
call fcn.7740e6d2
mov esi, eax
test esi, esi
je 0x7740c1b7
push edi
lea eax, [esp + 0x4c]
mov ecx, esi
push eax
push dword [esp + 0x18]
call fcn.77407cbb
mov edi, eax
test edi, edi
js 0x7740c1c5
cmp edi, 1
jne 0x7740bfe6
mov ecx, dword [esp + 0x1c]
push esi
call fcn.7740e732
jmp 0x7740c198
push ebx
push dword [esp + 0x20]
mov ecx, esi
call fcn.774107db
jmp 0x7740c198
lea eax, [esp + 0x24]
mov ecx, ebx
push eax
call fcn.7740c219
mov edi, eax
test edi, edi
js 0x7740c1ec
push dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x4c]
push eax
push dword [esp + 0x18]
call fcn.77426ea0
mov edi, eax
test edi, edi
js 0x7740c1ec
jmp 0x7740c198
mov eax, dword [esp + 0x70]
sub eax, 0x4d414e49
je 0x7740c042
sub eax, 0xc
jne 0x7740c065
mov edx, dword [esp + 0x74]
cmp edx, 0x7e
jb 0x7740c04e
push 0x7e
pop edx
mov ecx, dword [esp + 0x14]
lea eax, [ebx + 4]
push eax
call fcn.77407aa2
mov edi, eax
test edi, edi
js 0x7740c1ec
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 0x7740c032
jmp 0x7740c198
cmp dword [esp + 0x50], 0x44424d44
jne 0x7740c198
lea edi, [ebx + 0x3c]
mov ecx, dword [edi]
test ecx, ecx
je 0x7740c0d1
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 0x77401c94
push 3
push 0
push 0x77401c74
call dword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoCreateInstance]
mov edi, eax
test edi, edi
js 0x7740c1d1
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 0x7740c1d1
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 0x7740c1d1
mov eax, dword [ebx + 0x3c]
lea ecx, [esp + 0x28]
push ecx
push 0x77401ad0
push eax
mov esi, dword [eax]
mov ecx, dword [esi]
call dword [0x7741d0e8]
call dword [esi]
mov edi, eax
test edi, edi
js 0x7740c1d1
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 0x7740c1d1
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 0x7740bd6b
mov edi, 0x8007000e
jmp 0x7740c1ec
mov edi, 0x80004005
jmp 0x7740c1ec
mov ecx, dword [esp + 0x1c]
push esi
call fcn.7740e732
jmp 0x7740c1ec
mov ecx, dword [ebx + 0x3c]
test ecx, ecx
je 0x7740c1ec
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
mov ecx, dword [esp + 0x84]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.7741ad00
mov esp, ebp
pop ebp
ret 0xc