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

Disassembly:
sub esp, 0x64
push ebx
mov ebx, dword [esp + 0x6c]
push ebp
push edi
push 0xffffffffffffffff
mov eax, dword [ebx + 0x38]
xor edi, edi
mov dword [esp + 0x18], 0
mov ebp, dword [eax + 0x2c]
mov eax, dword [ebx + 0x3c]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x24], eax
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push eax
push dword [ebx + 0x38]
call fcn.004768e0
add esp, 0xc
test eax, eax
je 0x47621a
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
lea eax, [edi + 1]
pop edi
pop ebp
pop ebx
add esp, 0x64
ret
push esi
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x18]
push eax
push 1
push dword [ebx + 0x38]
call fcn.004765b0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x47659a
cmp dword [esp + 0x14], edi
je 0x476368
mov ebx, dword [esp + 0x7c]
nop word [eax + eax]
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x476255
mov edi, dword [esp + 0x18]
sub ecx, edx
mov edx, edi
lea esi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x476267
sub edx, esi
cmp ecx, edx
jne 0x4762a1
mov ecx, edi
mov eax, ebx
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x476298
test dl, dl
je 0x476294
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x476298
add eax, 2
add ecx, 2
test dl, dl
jne 0x476278
xor eax, eax
jmp 0x47629d
sbb eax, eax
or eax, 1
test eax, eax
je 0x4762e6
push edi
call fcn.004738c0
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0
push eax
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x84]
push 0
push dword [eax + 0x38]
call fcn.004765b0
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x476366
cmp dword [esp + 0x14], eax
jne 0x476250
jmp 0x476366
mov eax, dword [ebp + 4]
push dword [ebp + 0x14]
mov eax, dword [eax + 0x72]
call eax
mov edi, dword [esp + 0x7c]
add esp, 4
mov edx, dword [edi + 0x24]
test edx, edx
je 0x4764d7
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x476308
sub ecx, esi
je 0x4764d7
mov eax, dword [edi + 0x38]
mov ecx, edx
mov ebx, dword [ebp + 0x14]
mov ebp, dword [eax + 0x2c]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x476325
sub ecx, esi
jne 0x476339
push 4
push 0x5061b0
jmp 0x47634b
mov ecx, edx
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x476340
sub ecx, esi
push ecx
push edx
mov eax, dword [ebp + 4]
push 1
push ebx
mov eax, dword [eax + 0x4a]
call eax
add esp, 0x10
test eax, eax
je 0x4763ba
mov ebp, dword [esp + 0x1c]
mov esi, 1
xor edi, edi
xor ebx, ebx
mov ecx, dword [ebp + 0x14]
cmp ecx, 0xffffffff
je 0x476385
mov eax, dword [ebp + 4]
push ecx
mov eax, dword [eax + 0x36]
call eax
add esp, 4
mov dword [ebp + 0x14], 0xffffffff
mov eax, dword [esp + 0x88]
test eax, eax
je 0x47658d
mov ecx, dword [esp + 0x8c]
test ecx, ecx
je 0x47658d
mov dword [eax], edi
mov dword [ecx], ebx
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, esi
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x64
ret
lea eax, [esp + 0x18]
mov dword [esp + 0x54], 0
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x12]
mov dword [esp + 0x60], eax
lea eax, [esp + 0x13]
mov dword [esp + 0x6c], eax
mov eax, dword [edi + 0x38]
mov dword [esp + 0x18], 0
mov byte [esp + 0x12], 1
mov byte [esp + 0x13], 1
mov dword [esp + 0x38], 0
mov dword [esp + 0x40], 4
mov dword [esp + 0x44], 0x10
mov dword [esp + 0x48], 0x5200a0
mov dword [esp + 0x4c], 0xc
mov dword [esp + 0x50], 3
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 1
mov dword [esp + 0x64], 1
mov dword [esp + 0x68], 2
mov dword [esp + 0x70], 1
mov edi, dword [eax + 0x2c]
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 0x20]
mov dword [esp + 0x54], ecx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x476458
sub ecx, edx
mov dword [esp + 0x58], ecx
lea ecx, [esp + 0x38]
mov eax, dword [edi + 4]
push 5
push ecx
push ebx
mov eax, dword [eax + 0x6a]
call eax
add esp, 0xc
test eax, eax
je 0x476483
mov esi, 1
jmp 0x4764ba
mov eax, dword [edi + 4]
lea ecx, [esp + 0x20]
push ecx
push 1
lea ecx, [esp + 0x30]
mov eax, dword [eax + 0x6e]
push ecx
push ebx
call eax
add esp, 0x10
test eax, eax
jne 0x4764a9
cmp dword [esp + 0x20], eax
je 0x4764a9
xor esi, esi
jmp 0x4764ae
mov esi, 8
mov eax, dword [edi + 4]
push ebx
mov eax, dword [eax + 0x72]
call eax
add esp, 4
mov eax, dword [ebp + 4]
push ebx
mov eax, dword [eax + 0x4e]
call eax
mov ebp, dword [esp + 0x20]
add esp, 4
test esi, esi
je 0x4764d7
cmp esi, 8
jne 0x476366
mov eax, dword [esp + 0x78]
lea ecx, [esp + 0x2c]
mov esi, dword [esp + 0x14]
mov edi, dword [ebp + 0x14]
mov dword [esp + 0x2c], 0x11
mov eax, dword [eax + 0x38]
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
push 1
mov ebx, dword [eax + 0x2c]
push ecx
push esi
push edi
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0x62]
call eax
add esp, 0x10
test eax, eax
jne 0x476361
push dword [esp + 0x34]
call fcn.00473980
add esp, 4
mov dword [esp + 0x30], eax
test eax, eax
je 0x476361
mov eax, dword [ebx + 4]
lea ecx, [esp + 0x2c]
push 1
push ecx
push esi
mov eax, dword [eax + 0x62]
push edi
call eax
add esp, 0x10
test eax, eax
je 0x47655d
push dword [esp + 0x30]
call fcn.004738c0
add esp, 4
jmp 0x476361
mov ecx, dword [esp + 0x84]
mov edi, dword [esp + 0x30]
mov ebx, dword [esp + 0x34]
test ecx, ecx
je 0x476586
mov edx, dword [esp + 0x24]
mov eax, dword [ebp + 0x10]
mov dword [edx], eax
mov eax, dword [esp + 0x14]
mov dword [edx + 4], eax
mov eax, dword [esp + 0x14]
mov dword [ecx], eax
xor esi, esi
jmp 0x47636a
test edi, edi
je 0x47659a
push edi
call fcn.004738c0
add esp, 4
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, esi
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x64
ret