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

Disassembly:
push ebp
mov ecx, 0x771140
push edi
push esi
push ebx
mov ebx, 0x7711c0
sub esp, 0x8c
cmp byte [eax + 0xef], 0
mov edi, dword [edx + 4]
cmovne ecx, ebx
mov dword [esp + 0x54], edi
mov dword [esp + 0x4c], ecx
test edi, edi
je 0x7fda34
mov dword [esp + 0x48], eax
mov eax, dword [edx + 0xc]
mov dword [esp + 0x38], edx
mov dword [esp + 0x64], eax
mov eax, dword [eax + 0xc]
mov edi, eax
mov dword [esp + 0x34], eax
and edi, 2
mov dword [esp + 0x6c], edi
mov edi, eax
shr eax, 4
and edi, 1
mov dword [esp + 0x68], eax
mov dword [esp + 0x50], edi
mov edi, dword [edx]
mov dword [esp + 8], edi
mov edi, dword [edx + 8]
mov dword [esp + 0x30], edi
mov esi, dword [esp + 0x30]
test esi, esi
jle 0x7fd8d9
xor ebx, ebx
mov esi, dword [esp + 8]
mov ebp, dword [esp + 0x48]
mov edi, dword [esp + 0x38]
jmp 0x7fd8b4
call fcn.007b6fd0
mov eax, dword [edi + 8]
add ebx, 1
cmp eax, ebx
jle 0x7fd8d5
mov eax, dword [esi + ebx*4]
cmp byte [eax + 4], 0
jne 0x7fd8a5
mov edx, eax
mov eax, ebp
call fcn.007fd560
test eax, eax
je 0x7fd8aa
add esp, 0x8c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x30], eax
sub esp, 0xc
push 0x766a70
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x64]
mov eax, edi
call fcn.00764cb0
mov esi, dword [edi]
mov eax, dword [esp + 0x48]
add esp, 0x10
mov ebx, dword [esi + 0x28]
mov dword [eax + 8], 0
test ebx, ebx
je 0x7fda34
mov edi, dword [esi + 0x3c]
mov ebx, dword [esi + 0x40]
mov edx, dword [esp + 0x64]
mov dword [eax + 0x2c], edi
mov dword [eax + 0x28], ebx
mov eax, dword [edx]
test byte [esp + 0x68], 1
jne 0x7fd95c
test eax, eax
je 0x7fd95c
mov edx, dword [edx + 4]
cmp edi, edx
jl 0x7fda34
test byte [esp + 0x34], 8
jne 0x7fd946
cmp edi, edx
jg 0x7fda34
sub esp, 4
push edx
push eax
push ebx
call sub.msvcrt.dll_memcmp
add esp, 0x10
test eax, eax
jne 0x7fda34
cmp dword [esp + 0x54], 1
jle 0x7fe0c4
mov edx, dword [esp + 8]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 0x28]
test ecx, ecx
je 0x7fe0c4
cmp edi, dword [eax + 0x3c]
jne 0x7fe0c4
mov dword [esp + 0xc], esi
mov ebp, 1
mov esi, edi
mov edi, edx
jmp 0x7fd9b5
add ebp, 1
cmp dword [esp + 0x54], ebp
je 0x7fe068
mov eax, dword [edi + ebp*4]
mov edx, dword [eax + 0x28]
test edx, edx
je 0x7fda41
cmp esi, dword [eax + 0x3c]
jne 0x7fda41
sub esp, 4
push esi
push dword [eax + 0x40]
push ebx
call sub.msvcrt.dll_memcmp
add esp, 0x10
test eax, eax
je 0x7fd991
mov dword [esp + 0x30], ebp
cmp ebp, 1
mov esi, dword [esp + 0xc]
sete dl
mov eax, dword [esp + 0x6c]
test eax, eax
mov eax, dword [esp + 0x48]
sete byte [esp + 0x5f]
movzx eax, byte [eax + 0xef]
test byte [esp + 0x34], 0x22
jne 0x7fda5f
test dl, dl
je 0x7fda5f
mov edx, dword [esi + 0x38]
test al, al
je 0x7fe014
test edx, edx
jne 0x7fe079
mov eax, dword [esi + 0x4c]
mov edi, dword [esp + 0x38]
mov esi, dword [esi + 0x48]
mov dword [edi + 0x34], eax
mov eax, dword [esp + 0x38]
mov dword [eax + 0x30], esi
mov eax, dword [esp + 0x38]
mov dword [eax + 8], 1
mov eax, 0x64
jmp 0x7fd8ca
add esp, 0x8c
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x30], ebp
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x6c]
test eax, eax
mov eax, dword [esp + 0x48]
sete byte [esp + 0x5f]
movzx eax, byte [eax + 0xef]
mov ebx, dword [esp + 8]
mov edx, dword [esp + 0x30]
lea edi, [ebx + 4]
lea ebx, [ebx + edx*4]
mov edx, esi
mov esi, dword [esp + 0x48]
jmp 0x7fda81
movzx eax, byte [esi + 0xef]
mov edx, dword [edi]
add edi, 4
call fcn.007b7590
cmp ebx, edi
jne 0x7fda75
sub esp, 0xc
push dword [esp + 0x58]
mov edx, dword [esp + 0x40]
mov edi, dword [esp + 0x18]
mov ecx, edx
mov eax, edi
call fcn.00764cb0
mov edx, dword [edi]
add esp, 0x10
mov eax, dword [edx + 0x50]
test eax, eax
je 0x7fdd46
mov eax, dword [esp + 0x48]
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
add eax, 0xef
mov dword [esp + 0x1c], 0
mov dword [esp + 0xc], eax
lea esi, [esi]
nop
mov esi, dword [edx + 0x58]
mov edi, dword [edx + 0x5c]
sub esp, 0xc
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], edi
lea eax, [esp + 0x80]
push eax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x80]
call fcn.007b7620
add esp, 0x10
mov ebx, dword [esp + 0x30]
cmp ebx, 1
je 0x7fe00a
mov eax, dword [esp + 8]
mov edx, dword [eax + 4]
mov eax, dword [edx + 0x50]
test eax, eax
je 0x7fe00a
mov eax, dword [edx + 0x58]
mov ecx, dword [edx + 0x5c]
mov ebp, 1
xor eax, esi
xor ecx, edi
or ecx, eax
je 0x7fdb6f
jmp 0x7fdb89
mov eax, dword [esp + 8]
mov edx, dword [eax + ebp*4]
mov eax, dword [edx + 0x50]
test eax, eax
je 0x7fdb89
mov eax, dword [edx + 0x58]
mov ecx, dword [edx + 0x5c]
xor eax, esi
xor ecx, edi
or ecx, eax
jne 0x7fdb89
sub esp, 0xc
xor ecx, ecx
add ebp, 1
push 0
mov eax, dword [esp + 0x1c]
call fcn.007b7620
add esp, 0x10
cmp ebp, ebx
jne 0x7fdb53
test byte [esp + 0x34], 4
jne 0x7fde10
cmp byte [esp + 0x5f], 0
jne 0x7fdba7
mov eax, dword [esp + 0x74]
test eax, eax
jle 0x7fdd12
mov eax, dword [esp + 0x48]
cmp byte [eax + 0xef], 0
je 0x7fdf02
mov edi, dword [esp + 0x1c]
test edi, edi
jle 0x7fddf0
mov eax, dword [esp + 0x40]
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 0x44]
cmp ebx, eax
mov edi, esi
sbb edi, edx
jge 0x7fdf2a
sub eax, ebx
sbb edx, esi
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
xor ecx, ecx
lea esi, [esi]
lea esi, [esi]
shrd eax, edx, 7
shr edx, 7
add ecx, 1
mov esi, edx
or esi, eax
jne 0x7fdc00
mov eax, dword [esp + 0x50]
test eax, eax
je 0x7fdc20
mov eax, dword [esp + 0x74]
lea ecx, [ecx + eax + 1]
mov edi, dword [esp + 0x38]
add ecx, dword [esp + 0x1c]
mov eax, dword [edi + 0x10]
cmp ecx, dword [edi + 0x14]
jg 0x7fdee0
add eax, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
test byte [esp + 0x34], 0x20
je 0x7fde40
mov esi, dword [esp + 0x70]
mov eax, dword [esp + 0x74]
xor ebx, ebx
mov dword [esp + 0x18], 0
movzx edx, byte [esi]
add eax, esi
mov dword [esp + 0x10], eax
cmp dl, 1
je 0x7fdf92
cmp dl, 2
je 0x7fdfa0
test dl, 0xfe
je 0x7fdc91
lea esi, [esi]
add esi, 1
mov eax, edx
movzx edx, byte [esi]
and eax, 0xffffff80
or eax, edx
test al, 0xfe
jne 0x7fdc80
cmp dword [esp + 0x10], esi
jbe 0x7fdcdf
mov dword [esp + 0x60], ebp
lea esi, [esi]
nop
add esi, 1
lea edx, [esp + 0x78]
mov eax, esi
call fcn.00763c40
add esi, eax
movzx eax, byte [esi]
cmp al, 2
je 0x7fdd60
test al, 0xfe
je 0x7fdcd5
nop
and eax, 0xffffff80
add esi, 1
mov edx, eax
movzx eax, byte [esi]
or edx, eax
and edx, 0xfe
jne 0x7fdcc0
cmp dword [esp + 0x10], esi
ja 0x7fdca0
mov ebp, dword [esp + 0x60]
test ebx, ebx
je 0x7fdcf6
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
mov byte [edi + eax], 0
add eax, 1
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
test eax, eax
je 0x7fdd12
add dword [esp + 0x1c], eax
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x44], edx
mov dword [esp + 0x40], eax
sub esp, 0xc
mov ecx, ebp
push dword [esp + 0x58]
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x40]
mov eax, edi
call fcn.00764cb0
mov edx, dword [edi]
add esp, 0x10
mov ecx, dword [edx + 0x50]
test ecx, ecx
jne 0x7fdae0
mov edx, dword [esp + 0x1c]
test edx, edx
jg 0x7fe0a0
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x30]
mov dword [eax + 8], edi
jmp 0x7fd88d
mov eax, dword [esp + 0x14]
add eax, dword [esp + 0x18]
mov dword [esp + 0x3c], eax
test ebx, ebx
je 0x7fdf40
mov edi, dword [esp + 0x3c]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x58], esi
mov byte [edi], 1
mov edi, dword [esp + 0x14]
add eax, 1
mov dword [esp + 0x18], eax
mov ebp, dword [esp + 0x7c]
add edi, eax
mov ecx, edi
mov dword [esp + 0x3c], edi
mov edi, dword [esp + 0x78]
mov esi, ecx
jmp 0x7fdda4
mov esi, eax
mov ecx, edi
mov edx, edi
lea eax, [esi + 1]
shrd edi, ebp, 7
or ecx, 0xffffff80
shr ebp, 7
mov byte [eax - 1], cl
mov ecx, ebp
or ecx, edi
jne 0x7fdda2
sub eax, dword [esp + 0x3c]
add eax, dword [esp + 0x18]
mov ecx, esi
and edx, 0x7f
lea edi, [eax + 1]
mov esi, dword [esp + 0x58]
mov byte [ecx], dl
mov ebx, 1
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x14]
mov byte [edi + eax], 2
movzx eax, byte [esi]
jmp 0x7fdcbb
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
sub eax, dword [esp + 0x40]
sbb edx, dword [esp + 0x44]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
jmp 0x7fdbec
mov eax, dword [esp + 0x64]
sub esp, 0xc
xor edx, edx
lea edi, [esp + 0x80]
mov eax, dword [eax + 8]
push edi
lea ecx, [esp + 0x80]
call fcn.00765660
add esp, 0x10
jmp 0x7fdb94
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x28]
mov dword [esp + 0x10], ebp
mov edi, dword [esp + 0x2c]
jmp 0x7fde54
mov ecx, eax
mov ebx, esi
mov edx, esi
shrd esi, edi, 7
lea eax, [ecx + 1]
shr edi, 7
or ebx, 0xffffff80
mov ebp, edi
mov byte [eax - 1], bl
or ebp, esi
jne 0x7fde52
and edx, 0x7f
sub eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x50]
mov byte [ecx], dl
mov edx, dword [esp + 0x24]
add dword [esp + 0x1c], eax
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x44], edx
mov dword [esp + 0x40], eax
test ebx, ebx
je 0x7fdd12
mov ebx, dword [esp + 0x38]
mov edi, dword [esp + 0x1c]
sub esp, 4
mov eax, dword [ebx + 0x10]
push dword [esp + 0x78]
push dword [esp + 0x78]
add eax, edi
push eax
call sub.msvcrt.dll_memcpy
mov eax, dword [esp + 0x84]
mov edx, dword [ebx + 0x10]
add eax, edi
lea edi, [eax + 1]
mov byte [edx + eax], 0
mov dword [esp + 0x2c], edi
add esp, 0x10
jmp 0x7fdd12
sub esp, 8
add ecx, ecx
mov dword [edi + 0x14], ecx
push ecx
push eax
call fcn.0077dcf0
add esp, 0x10
test eax, eax
je 0x7fe0d6
mov dword [edi + 0x10], eax
jmp 0x7fdc34
mov esi, dword [esp + 0x1c]
test esi, esi
jle 0x7fddf0
mov eax, dword [esp + 0x40]
mov ebx, dword [esp + 0x20]
mov edx, dword [esp + 0x44]
mov esi, dword [esp + 0x24]
cmp eax, ebx
mov eax, edx
sbb eax, esi
jl 0x7fddf0
add esp, 0x8c
mov eax, 0x10b
pop ebx
pop esi
pop edi
pop ebp
ret
mov edi, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x58], esi
mov esi, eax
jmp 0x7fdf52
mov esi, eax
mov ecx, edi
mov edx, edi
lea eax, [esi + 1]
shrd edi, ebp, 7
or ecx, 0xffffff80
shr ebp, 7
mov byte [eax - 1], cl
mov ecx, ebp
or ecx, edi
jne 0x7fdf50
sub eax, dword [esp + 0x3c]
add dword [esp + 0x18], eax
mov ecx, esi
and edx, 0x7f
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov byte [ecx], dl
mov esi, dword [esp + 0x58]
add eax, edi
mov dword [esp + 0x3c], eax
jmp 0x7fdd74
cmp esi, eax
jb 0x7fdc97
jmp 0x7fdd12
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x3c], esi
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x18], ebp
mov esi, ecx
jmp 0x7fdfc2
mov esi, ebx
mov ecx, eax
mov edi, eax
lea ebx, [esi + 1]
shrd eax, edx, 7
or ecx, 0xffffff80
shr edx, 7
mov byte [ebx - 1], cl
mov ecx, edx
or ecx, eax
jne 0x7fdfc0
mov eax, edi
mov ecx, esi
mov edx, ebx
mov esi, dword [esp + 0x3c]
sub edx, dword [esp + 0x14]
and eax, 0x7f
mov ebp, dword [esp + 0x18]
lea edi, [edx + 1]
mov byte [ecx], al
mov dword [esp + 0x18], edi
mov byte [ebx], 2
mov ebx, 1
movzx edx, byte [esi]
jmp 0x7fdc74
mov ebp, 1
jmp 0x7fdb89
mov ebx, dword [esi + 0x4c]
mov edi, dword [esp + 0x38]
mov esi, dword [esi + 0x48]
mov dword [edi + 0x34], ebx
test edx, edx
je 0x7fda18
mov eax, dword [edi + 0x10]
cmp ebx, dword [edi + 0x14]
jle 0x7fe04b
sub esp, 8
lea edx, [ebx + ebx]
mov dword [edi + 0x14], edx
push edx
push eax
call fcn.0077dcf0
add esp, 0x10
test eax, eax
je 0x7fe085
mov dword [edi + 0x10], eax
sub esp, 4
push ebx
push esi
push eax
call sub.msvcrt.dll_memcpy
mov edi, dword [esp + 0x48]
add esp, 0x10
mov eax, dword [edi + 0x10]
mov dword [edi + 0x30], eax
jmp 0x7fda1f
mov eax, dword [esp + 0x54]
mov esi, dword [esp + 0xc]
mov dword [esp + 0x30], eax
jmp 0x7fda49
mov edx, esi
call fcn.007b7590
jmp 0x7fda8a
mov edi, dword [esp + 0x38]
mov eax, dword [edi + 0x10]
mov dword [edi + 8], 1
mov dword [edi + 0x30], eax
mov eax, 7
jmp 0x7fd8ca
mov edi, dword [esp + 0x38]
mov eax, dword [edi + 0x10]
mov dword [edi + 0x30], eax
mov eax, edi
mov edi, dword [esp + 0x1c]
mov dword [eax + 0x34], edi
mov edi, dword [esp + 0x30]
mov dword [eax + 8], edi
mov eax, 0x64
jmp 0x7fd8ca
mov edx, 1
mov dword [esp + 0x30], 1
jmp 0x7fd9d7
mov eax, 7
jmp 0x7fd8ca