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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xf8
mov eax, dword [0xa0b130]
xor eax, esp
mov dword [esp + 0xf4], eax
push esi
lea esi, [esp + 0x50]
mov dword [esp + 0x18], ecx
lea edx, [esp + 0x94]
mov dword [esp + 0x3c], esi
push edi
mov edi, dword [ecx + 0x1d8]
mov eax, edx
mov dword [esp + 0x44], esi
mov esi, dword [ecx + 0x1d4]
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], 8
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x48], 8
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x20], edi
cmp esi, edi
je 0x772e31
mov ecx, dword [esi]
cmp eax, edx
mov edx, dword [esp + 0x90]
mov dword [esp + 0x10], ecx
je 0x77270c
mov edx, dword [esp + 0x8c]
lea eax, [eax + edx*4]
push ecx
lea ecx, [esp + 0x88]
mov dword [esp + 0x18], eax
call fcn.00411f36
cmp eax, dword [esp + 0x14]
jne 0x772ae3
push dword [esp + 0x10]
lea eax, [esp + 0xbc]
push eax
lea ecx, [esp + 0x48]
call fcn.0040608c
call fcn.0040cae0
mov byte [esp + 0x27], al
test al, al
je 0x77277e
mov edx, dword [esp + 0x44]
cmp edx, dword [esp + 0x40]
jne 0x77275f
mov ecx, dword [esp + 0x4c]
lea ecx, [edx + ecx*4]
jmp 0x772766
mov eax, dword [esp + 0x48]
lea ecx, [edx + eax*4]
mov eax, dword [esp + 0xb8]
cmp eax, ecx
jne 0x772777
mov eax, edx
push edx
push eax
jmp 0x77279b
add eax, 4
push edx
push eax
jmp 0x77279b
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x4c]
cmp ecx, dword [esp + 0x40]
je 0x772790
mov eax, dword [esp + 0x48]
lea eax, [ecx + eax*4]
push eax
push dword [esp + 0xbc]
lea ecx, [esp + 0xc8]
call fcn.0040351c
mov eax, dword [esi + 4]
nop word [eax + eax]
push eax
call fcn.0076d390
mov edx, dword [esp + 0x48]
add esp, 4
mov dword [esp + 0x28], eax
cmp edx, dword [esp + 0x40]
jne 0x7727d0
mov ecx, dword [esp + 0x4c]
lea eax, [edx + ecx*4]
jmp 0x7727d7
mov eax, dword [esp + 0x48]
lea eax, [edx + eax*4]
push dword [esp + 0x28]
lea ecx, [esp + 0x44]
mov dword [esp + 0x18], eax
call fcn.00411f36
cmp eax, dword [esp + 0x14]
jne 0x772b01
push dword [esp + 0x28]
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0x8c]
call fcn.0040608c
cmp byte [esp + 0x27], 0
mov ecx, dword [esp + 0x88]
mov eax, dword [esp + 0x90]
je 0x772847
cmp ecx, dword [esp + 0x84]
je 0x77282f
mov eax, dword [esp + 0x8c]
lea edx, [ecx + eax*4]
mov eax, dword [esp + 0x7c]
cmp eax, edx
jne 0x772840
mov eax, ecx
push ecx
push eax
jmp 0x772862
add eax, 4
push ecx
push eax
jmp 0x772862
cmp ecx, dword [esp + 0x84]
je 0x772857
mov eax, dword [esp + 0x8c]
lea eax, [ecx + eax*4]
push eax
push dword [esp + 0x80]
lea ecx, [esp + 0xd0]
call fcn.0040351c
cmp byte [esp + 0x80], 0
je 0x772a90
mov eax, dword [esp + 0x1c]
mov edx, dword [eax + 0x1c4]
mov eax, dword [eax + 0x1d0]
mov dword [esp + 0x14], edx
test eax, eax
je 0x772975
mov ecx, dword [esp + 0x28]
dec eax
shr ecx, 5
xor ecx, dword [esp + 0x28]
shr ecx, 4
and ecx, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x2c], 1
lea eax, [edx + ecx*8]
mov dword [esp + 0x18], eax
mov eax, dword [eax]
cmp dword [esp + 0x28], eax
je 0x7728ed
cmp eax, 0xfffff000
je 0x77296b
mov eax, dword [esp + 0x2c]
add ecx, eax
and ecx, dword [esp + 0x10]
inc eax
mov dword [esp + 0x2c], eax
lea eax, [edx + ecx*8]
mov dword [esp + 0x18], eax
mov eax, dword [eax]
cmp dword [esp + 0x28], eax
jne 0x7728c4
call fcn.00412409
mov dl, al
mov eax, dword [esp + 0x18]
mov byte [esp + 0xf], dl
mov dword [esp + 0x10], eax
test dl, dl
je 0x772930
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov ecx, dword [edx + 0x1d0]
mov edx, dword [esp + 0x10]
add edx, 8
lea ecx, [eax + ecx*8]
cmp dword [esp + 0x10], ecx
cmovne eax, edx
mov dl, byte [esp + 0xf]
mov dword [esp + 0x18], eax
nop dword [eax + eax]
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov eax, dword [edi + 0x1d0]
mov edi, dword [esp + 0x20]
lea eax, [ecx + eax*8]
test dl, dl
jne 0x772950
mov ecx, eax
nop dword [eax + eax]
mov eax, dword [esp + 0x18]
cmp eax, ecx
jne 0x7729da
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x1d8]
jmp 0x7729f2
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x1d0]
mov dword [esp + 0x10], eax
call fcn.00412409
mov ecx, dword [esp + 0x10]
mov dl, al
mov eax, dword [esp + 0x14]
mov byte [esp + 0xf], dl
lea ecx, [eax + ecx*8]
mov dword [esp + 0x10], ecx
test dl, dl
je 0x7729c0
mov edx, dword [esp + 0x1c]
mov ecx, dword [edx + 0x1d0]
mov edx, dword [esp + 0x10]
add edx, 8
lea ecx, [eax + ecx*8]
cmp dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x14]
cmovne eax, edx
mov dl, byte [esp + 0xf]
mov dword [esp + 0x18], eax
jmp 0x772950
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x18], ecx
mov ecx, dword [edi + 0x1d0]
mov edi, dword [esp + 0x20]
lea eax, [eax + ecx*8]
jmp 0x772949
lea ecx, [eax - 8]
test dl, dl
cmove ecx, eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [ecx + 4]
mov eax, dword [eax + 0x1d4]
lea eax, [eax + ecx*8]
mov ecx, dword [esp + 0x1c]
cmp eax, dword [ecx + 0x1d8]
je 0x772a90
mov eax, dword [eax + 4]
lea ecx, [esp + 0x40]
push dword [esp + 0x28]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x78]
push eax
call fcn.0040608c
cmp byte [esp + 0x27], 0
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x4c]
je 0x772a6c
cmp ecx, dword [esp + 0x40]
je 0x772a34
mov eax, dword [esp + 0x48]
lea edx, [ecx + eax*4]
mov eax, dword [esp + 0x74]
cmp eax, edx
jne 0x772a55
mov eax, ecx
push ecx
push eax
lea ecx, [esp + 0x3c]
call fcn.0040351c
mov eax, dword [esp + 0x10]
jmp 0x7727b0
push ecx
add eax, 4
lea ecx, [esp + 0x38]
push eax
call fcn.0040351c
mov eax, dword [esp + 0x10]
jmp 0x7727b0
cmp ecx, dword [esp + 0x40]
je 0x772a76
mov eax, dword [esp + 0x48]
lea eax, [ecx + eax*4]
push eax
push dword [esp + 0x78]
lea ecx, [esp + 0x3c]
call fcn.0040351c
mov eax, dword [esp + 0x10]
jmp 0x7727b0
mov eax, dword [esp + 0x44]
cmp eax, dword [esp + 0x40]
je 0x772ad3
mov eax, dword [esp + 0x4c]
sub eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x48]
shl eax, 2
cmp eax, ecx
jae 0x772abd
cmp ecx, 0x20
jbe 0x772abd
lea ecx, [esp + 0x40]
call fcn.00408be8
jmp 0x772ae3
lea eax, [ecx*4]
push eax
push 0xffffffffffffffff
push dword [esp + 0x4c]
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
add esi, 8
cmp esi, edi
je 0x772e03
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x84]
jmp 0x7726f4
mov edi, dword [esp + 0x28]
mov eax, edi
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
add esi, 0x1c4
lea eax, [esp + 0xdc]
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd8], 8
mov dword [esp + 0x30], 0
call fcn.00412409
mov byte [esp + 0xf], al
mov ecx, edi
xor edx, edx
nop
cmp edx, dword [esp + 0xd8]
jb 0x772b7c
push 4
push 0
lea eax, [esp + 0xe4]
push eax
lea ecx, [esp + 0xdc]
call fcn.00405e1b
mov edx, dword [esp + 0xd4]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xd0]
mov dword [esp + 0x2c], ecx
mov dword [eax + edx*4], ecx
mov ecx, esi
mov eax, dword [esp + 0xd4]
inc eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xd4], eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x30]
push eax
call fcn.00412657
test al, al
je 0x772bfb
cmp byte [esp + 0xf], 0
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
je 0x772bd9
mov edi, dword [esi]
lea edx, [ecx + eax*8]
mov eax, dword [esp + 0x18]
cmp eax, edx
mov edx, edi
lea ecx, [eax + 8]
mov eax, edi
mov edi, dword [esp + 0x28]
cmovne edx, ecx
jmp 0x772be0
mov edx, dword [esp + 0x18]
lea eax, [ecx + eax*8]
cmp byte [esp + 0xf], 0
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x38], eax
lea eax, [edx - 8]
cmove eax, edx
mov edx, dword [eax + 4]
jmp 0x772cf7
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x18]
inc eax
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x18], edx
lea ecx, [eax + eax*2]
mov eax, dword [esp + 0x20]
shl eax, 2
cmp eax, ecx
mov eax, dword [esi + 0xc]
jb 0x772c23
add eax, eax
jmp 0x772c36
mov ecx, eax
shr eax, 3
sub ecx, dword [esi + 8]
sub ecx, dword [esp + 0x20]
cmp ecx, eax
ja 0x772c53
mov eax, dword [esi + 0xc]
push eax
mov ecx, esi
call fcn.00409b9c
lea eax, [esp + 0x18]
mov ecx, esi
push eax
lea eax, [esp + 0x30]
push eax
call fcn.00412657
mov edx, dword [esp + 0x18]
inc dword [esi + 4]
cmp dword [edx], 0xfffff000
je 0x772c61
dec dword [esi + 8]
cmp byte [esp + 0xf], 0
mov eax, dword [esp + 0x14]
mov dword [edx], eax
mov dword [edx + 4], 0
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
mov dword [esp + 0x18], edx
lea eax, [ecx + eax*8]
je 0x772c91
mov edi, dword [esp + 0x28]
lea ecx, [edx + 8]
cmp edx, eax
mov edx, dword [esi]
mov eax, dword [esi]
cmovne edx, ecx
cmp byte [esp + 0xf], 0
lea ecx, [esi + 0x10]
mov dword [esp + 0x38], eax
lea eax, [edx - 8]
cmove eax, edx
mov dword [esp + 0x78], 0
mov edx, dword [ecx + 4]
add eax, 4
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x74], eax
cmp edx, dword [ecx + 8]
je 0x772cd1
mov dword [edx], eax
mov dword [edx + 4], 0
add dword [ecx + 4], 8
jmp 0x772cdf
lea eax, [esp + 0x74]
push eax
push edx
call fcn.004130e3
lea ecx, [esi + 0x10]
mov eax, dword [ecx + 4]
sub eax, dword [ecx]
sar eax, 3
lea edx, [eax - 1]
mov eax, dword [esp + 0x20]
mov dword [eax], edx
mov ecx, dword [esp + 0xd4]
mov eax, dword [esi + 0x10]
mov edx, dword [eax + edx*8 + 4]
mov dword [esp + 0x20], edx
cmp edx, dword [esp + 0x14]
je 0x772d45
cmp ecx, dword [esp + 0xd8]
jb 0x772d34
push 4
push 0
lea eax, [esp + 0xe4]
push eax
lea ecx, [esp + 0xdc]
call fcn.00405e1b
mov ecx, dword [esp + 0xd4]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0xd0]
mov dword [eax + ecx*4], edx
inc dword [esp + 0xd4]
push edx
call fcn.0076d390
mov ecx, eax
add esp, 4
mov dword [esp + 0x14], ecx
cmp ecx, edi
je 0x772d64
mov edx, dword [esp + 0xd4]
jmp 0x772b50
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0xd4]
mov esi, dword [esp + 0xd0]
mov word [esp + 0x3c], 0x103
mov edi, dword [ecx]
mov dword [esp + 0x34], str.EH_pads_cant_handle_each_others_exceptions
mov dword [esp + 0x20], eax
test edi, edi
je 0x772dba
push edi
lea ecx, [esp + 0x38]
call fcn.00415046
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 8]
jb 0x772dac
push 0xa
mov ecx, edi
call fcn.0040c4b4
jmp 0x772db2
mov byte [eax], 0xa
inc dword [edi + 0xc]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
cmp dword [ecx], 0
mov byte [ecx + 0x54], 1
je 0x772de7
lea edi, [esi + eax*4]
cmp esi, edi
je 0x772de7
nop word [eax + eax]
mov eax, dword [esi]
test eax, eax
je 0x772de0
push eax
call fcn.0040a9b6
mov ecx, dword [esp + 0x1c]
add esi, 4
cmp esi, edi
jne 0x772dd0
mov eax, dword [esp + 0xd0]
lea ecx, [esp + 0xdc]
cmp eax, ecx
je 0x772e03
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov eax, dword [esp + 0x44]
cmp eax, dword [esp + 0x40]
je 0x772e17
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov eax, dword [esp + 0x88]
cmp eax, dword [esp + 0x84]
je 0x772e31
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov ecx, dword [esp + 0xfc]
pop edi
pop esi
xor ecx, esp
call fcn.004087b5
mov esp, ebp
pop ebp
ret