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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xb4
mov eax, dword [0x7741c004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp + 8]
xor eax, eax
and dword [ebp - 0x90], eax
xor ebx, ebx
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x88], ecx
mov eax, dword [ecx]
push ecx
mov dword [ebp - 0x84], edi
mov esi, dword [eax + 0x1c]
mov ecx, esi
call dword [0x7741d0e0]
call esi
mov dword [ebp - 0x80], eax
jmp 0x7740e754
cmp dword [ebp - 0x18], 0x46464952
je 0x7740e4b3
cmp dword [ebp - 0x18], 0x66657270
je 0x7740e496
cmp dword [ebp - 0x18], 0x6c797473
jne 0x7740e739
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x90], 1
mov dword [ebp - 0x7c], edx
cmp edx, 0x5e
jb 0x7740e406
push 0x5e
pop edx
mov dword [ebp - 0x7c], edx
mov ecx, dword [ebp - 0x80]
mov eax, dword [ecx]
mov esi, dword [eax + 0xc]
lea eax, [ebp - 0xa4]
push eax
push edx
lea eax, [ebp - 0x78]
push eax
push ecx
mov ecx, esi
call dword [0x7741d0e0]
call esi
mov ebx, eax
test ebx, ebx
js 0x7740e780
mov eax, dword [ebp - 0x7c]
cmp dword [ebp - 0xa4], eax
jne 0x7740e780
and dword [edi + 0x60], 0
lea eax, [ebp - 0x78]
and dword [edi + 0x5c], 0
lea ecx, [edi + 0x54]
push eax
call fcn.77414caa
mov al, byte [ebp - 0x58]
xor edx, edx
movzx ecx, word [ebp - 0x54]
mov byte [edi + 0x64], al
mov al, byte [ebp - 0x56]
mov byte [edi + 0x65], al
movzx eax, word [ebp - 0x52]
div ecx
lea ecx, [edi + 0x4c]
mov word [edi + 0x66], ax
movzx eax, word [ebp - 0x4e]
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x3a]
fild dword [ebp - 0x7c]
push eax
fstp qword [edi + 0x68]
call fcn.77414caa
add edi, 0x3c
lea esi, [ebp - 0x4a]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jmp 0x7740e733
lea eax, [ebp - 0x18]
mov ecx, edi
push eax
push dword [ebp - 0x80]
call fcn.7740ceca
mov ebx, eax
test ebx, ebx
js 0x7740e78e
jmp 0x7740e739
cmp dword [ebp - 0x10], 0x4e424141
je 0x7740e56e
cmp dword [ebp - 0x10], 0x54504141
jne 0x7740e739
cmp dword [ebp - 0x90], 0
je 0x7740e739
push 8
call dword [sym.imp.msvcrt.dll_malloc]
mov esi, eax
pop ecx
test esi, esi
je 0x7740e789
xor ebx, ebx
push 0x48
mov dword [esi + 4], ebx
call dword [sym.imp.msvcrt.dll_malloc]
pop ecx
test eax, eax
je 0x7740e787
push ecx
push ebx
mov ecx, eax
call fcn.7740b19c
mov ecx, eax
mov dword [esi], ecx
test ecx, ecx
je 0x7740e789
lea eax, [edi + 0x38]
push eax
lea eax, [edi + 0x70]
push eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x88]
call fcn.7740c339
mov ebx, eax
test ebx, ebx
js 0x7740e780
mov eax, dword [esi]
lea ecx, [edi + 0x18]
push ecx
test byte [eax + 0x16], 0x10
je 0x7740e563
call dword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
lea ecx, [edi + 0x78]
push esi
call fcn.77410bf0
lea eax, [edi + 0x18]
push eax
call dword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
jmp 0x7740e739
call dword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
lea ecx, [edi + 0x74]
jmp 0x7740e54e
push 8
call dword [sym.imp.msvcrt.dll_malloc]
mov edi, eax
pop ecx
test edi, edi
je 0x7740e789
push edi
push 0x77401c84
xor eax, eax
push 3
push eax
mov dword [edi + 4], eax
push 0x77401c64
mov dword [edi], eax
call dword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoCreateInstance]
mov ebx, eax
mov eax, edi
mov dword [ebp - 0x7c], eax
test ebx, ebx
js 0x7740e7e9
mov ecx, dword [ebp - 0x80]
mov eax, dword [ecx]
mov esi, dword [eax + 0x14]
lea eax, [ebp - 0xb0]
push eax
push 1
push 0
push 0
push ecx
mov ecx, esi
call dword [0x7741d0e0]
call esi
mov ebx, eax
mov eax, edi
mov dword [ebp - 0x7c], eax
test ebx, ebx
js 0x7740e7e9
mov edx, dword [ebp - 0x80]
mov ecx, dword [ebp - 0xb0]
add ecx, 0xfffffff4
mov eax, dword [edx]
mov esi, dword [eax + 0x14]
lea eax, [ebp - 0xb0]
push eax
push 0
push 0
push ecx
push edx
mov ecx, esi
call dword [0x7741d0e0]
call esi
mov ebx, eax
mov eax, edi
mov dword [ebp - 0x7c], eax
test ebx, ebx
js 0x7740e7e9
mov ecx, dword [edi]
mov eax, dword [ecx]
mov esi, dword [eax]
lea eax, [ebp - 0x94]
push eax
push 0x77401ac0
push ecx
mov ecx, esi
call dword [0x7741d0e0]
call esi
mov ebx, eax
mov eax, edi
mov dword [ebp - 0x7c], eax
test ebx, ebx
js 0x7740e7e9
mov ecx, dword [ebp - 0x94]
push dword [ebp - 0x80]
push ecx
mov eax, dword [ecx]
mov esi, dword [eax + 0x14]
mov ecx, esi
call dword [0x7741d0e0]
call esi
test eax, eax
je 0x7740e660
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x94]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x7741d0e0]
call esi
mov ecx, dword [edi]
and dword [ebp - 0x98], 0
and dword [ebp - 0x8c], 0
mov eax, dword [ecx]
mov esi, dword [eax]
lea eax, [ebp - 0x8c]
push eax
push 0x77401e04
push ecx
mov ecx, esi
call dword [0x7741d0e0]
call esi
mov ebx, eax
mov eax, edi
mov dword [ebp - 0x7c], eax
test ebx, ebx
js 0x7740e7e9
mov ecx, dword [ebp - 0x8c]
mov eax, dword [ecx]
mov esi, dword [eax + 0xc]
lea eax, [ebp - 0x98]
push eax
push ecx
mov ecx, esi
call dword [0x7741d0e0]
call esi
mov ebx, eax
test ebx, ebx
js 0x7740e6ea
test byte [ebp - 0x98], 2
je 0x7740e6ea
mov ecx, dword [ebp - 0x84]
mov eax, dword [edi]
mov dword [ecx + 0x80], eax
mov eax, dword [ebp - 0x8c]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x7741d0e0]
call esi
mov dword [ebp - 0x7c], edi
mov eax, edi
test ebx, ebx
js 0x7740e7e9
mov esi, dword [ebp - 0x84]
add esi, 0x18
push esi
call dword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
mov ecx, dword [ebp - 0x84]
push esi
mov eax, dword [ecx + 0x7c]
mov dword [edi + 4], eax
mov dword [ecx + 0x7c], edi
call dword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
mov edi, dword [ebp - 0x84]
mov eax, dword [ebp - 0x88]
lea ecx, [ebp - 0x18]
push 0
push ecx
push eax
mov esi, dword [eax]
mov ecx, dword [esi + 0x10]
call dword [0x7741d0e0]
call dword [esi + 0x10]
mov ecx, dword [ebp - 0x88]
push 0
push dword [ebp - 0x9c]
mov eax, dword [ecx]
mov esi, dword [eax + 0xc]
lea eax, [ebp - 0x18]
push eax
push ecx
mov ecx, esi
call dword [0x7741d0e0]
call esi
test eax, eax
je 0x7740e3c4
jmp 0x7740e78e
mov ebx, 0x80004005
jmp 0x7740e78e
mov dword [esi], ebx
mov ebx, 0x8007000e
mov ecx, dword [ebp - 0x80]
push ecx
mov eax, dword [ecx]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x7741d0e0]
call esi
mov eax, dword [ebp - 0x84]
mov esi, dword [eax + 0x70]
test esi, esi
je 0x7740e7c6
lea edi, [eax + 0x64]
mov ecx, dword [esi]
push edi
add ecx, 0xa4
call fcn.7740b174
mov esi, dword [esi + 4]
test esi, esi
jne 0x7740e7b1
test ebx, ebx
jne 0x7740e7d6
mov eax, dword [ebp - 0xa0]
test eax, eax
je 0x7740e7d6
mov ebx, eax
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.7741af30
leave
ret 8
mov ecx, dword [eax]
test ecx, ecx
je 0x7740e802
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x7741d0e0]
call esi
mov eax, dword [ebp - 0x7c]
push eax
call dword [sym.imp.msvcrt.dll_free]
pop ecx
jmp 0x7740e78e