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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffea4
mov eax, 0xf9df68
push ebx
push esi
push edi
lea edi, [ebp - 0xd8]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
call fcn.00f4f878
test byte [ebx + 0x40], 1
jne 0xd6f780
mov al, 1
mov edx, dword [edi]
mov dword fs:[0], edx
jmp 0xd7006d
push 0x400
push ebx
mov ecx, dword [ebx + 8]
call dword [ecx + 0x16c]
add esp, 8
lea edx, [ebx + 0x54]
mov eax, edx
mov ecx, dword [eax]
mov dword [ebp - 0x14c], ecx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x148], ecx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x144], ecx
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x140], eax
cmp dword [esi + 4], 5
jne 0xd6fe1f
mov ax, word [esi + 0xc]
and ax, 0xffff
mov word [ebp - 0xda], ax
mov eax, edx
mov ecx, dword [esi + 0xc]
shr ecx, 0x10
mov word [ebp - 0xdc], cx
mov edx, dword [eax + 0xc]
sub edx, dword [eax + 4]
inc edx
mov dword [ebp - 0xe8], edx
mov ecx, dword [eax + 8]
sub ecx, dword [eax]
inc ecx
mov eax, ecx
lea ecx, [ebp - 0xf0]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0xe0], eax
movzx eax, word [ebp - 0xdc]
movzx edx, word [ebp - 0xda]
mov dword [ebp - 0xf0], edx
mov dword [ebp - 0xec], eax
lea eax, [ebp - 0x14c]
push ecx
push eax
call fcn.00e211d0
add esp, 8
cmp dword [esi + 8], 1
je 0xd6f853
lea edx, [ebp - 0x14c]
push edx
push ebx
mov ecx, dword [ebx + 8]
call dword [ecx + 0x178]
add esp, 8
test byte [ebx + 0x44], 1
setne al
and eax, 1
test al, al
je 0xd6fc54
push ebx
call fcn.00e51d20
cmp dword [esi + 8], 1
pop ecx
jne 0xd6f912
mov edx, dword [ebx + 0x78]
mov ecx, dword [edx + 0x14]
or byte [ecx + 0x1c], 1
test byte [ebx + 0x40], 4
setne al
and eax, 1
test al, al
je 0xd6f9c0
and dword [ebx + 0x40], 0xfffffffb
mov word [edi + 0x10], 8
mov edx, 0xf98c0c
mov ecx, 0xf98b5c
mov dword [ebp - 0x1c], edx
lea eax, [ebp - 0x24]
mov dword [ebp - 0x18], 0x12
mov byte [ebp - 0x14], 0
inc dword [edi + 0x1c]
mov dword [ebp - 0x1c], ecx
mov byte [ebp - 0xc], 1
inc dword [edi + 0x1c]
mov word [edi + 0x10], 0x14
mov dword [ebp - 0xf4], ebx
push eax
mov ecx, dword [0x10309ec]
mov edx, dword [ebp - 0xf4]
push edx
push ecx
mov eax, dword [ecx + 8]
call dword [eax + 0x40]
add esp, 0xc
push 1
push ebx
call fcn.00e54da0
dec dword [edi + 0x1c]
add esp, 8
dec dword [edi + 0x1c]
lea edx, [ebp - 0x24]
push 0
push edx
call fcn.00dc4ce4
mov word [edi + 0x10], 0
add esp, 8
jmp 0xd6f9c0
mov ecx, dword [ebx + 0x78]
mov eax, dword [ecx + 0x14]
test byte [eax + 0x1c], 1
je 0xd6f9c0
mov edx, dword [ebx + 0x78]
mov ecx, dword [edx + 0x14]
and byte [ecx + 0x1c], 0xfe
test byte [ebx + 0x40], 4
jne 0xd6f9c0
push 4
push ebx
mov eax, dword [ebx + 8]
call dword [eax + 0x16c]
add esp, 8
and dword [ebx + 0x40], 0xfffffff7
push 1
push ebx
call fcn.00e54c50
add esp, 8
mov word [edi + 0x10], 0x20
mov edx, 0xf98c0c
mov ecx, 0xf98b6c
mov dword [ebp - 0x3c], edx
lea eax, [ebp - 0x44]
mov dword [ebp - 0x38], 0x11
mov byte [ebp - 0x34], 0
inc dword [edi + 0x1c]
mov dword [ebp - 0x3c], ecx
mov byte [ebp - 0x2c], 1
inc dword [edi + 0x1c]
mov word [edi + 0x10], 0x2c
mov dword [ebp - 0xf8], ebx
push eax
mov ecx, dword [0x10309ec]
mov edx, dword [ebp - 0xf8]
push edx
push ecx
mov eax, dword [ecx + 8]
call dword [eax + 0x40]
dec dword [edi + 0x1c]
add esp, 0xc
dec dword [edi + 0x1c]
lea edx, [ebp - 0x44]
push 0
push edx
call fcn.00dc4ce4
mov word [edi + 0x10], 0
add esp, 8
mov word [edi + 0x10], 0x38
cmp dword [0x10292b4], 0
je 0xd6f9d7
mov ecx, dword [0x10292b4]
jmp 0xd6f9de
call fcn.00da3d94
mov ecx, eax
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
inc dword [eax]
inc dword [edi + 0x1c]
mov word [edi + 0x10], 0x50
mov edx, dword [ebx + 0x3c]
push edx
call sub.USER32.DLL_IsIconic
test eax, eax
je 0xd6fad1
mov word [edi + 0x10], 0x5c
push ebx
lea eax, [ebp - 0x48]
push eax
call fcn.00e53548
add esp, 8
lea edx, [ebp - 0x48]
inc dword [edi + 0x1c]
mov dword [ebp - 0xfc], edx
mov ecx, dword [ebp - 0xfc]
mov eax, dword [ecx]
cmp dword [eax + 4], 0
sete dl
and edx, 1
xor ecx, ecx
mov cl, dl
cmp ecx, 1
sbb eax, eax
neg eax
push eax
dec dword [edi + 0x1c]
mov edx, dword [ebp - 0x48]
dec dword [edx]
sete cl
and ecx, 1
test cl, cl
je 0xd6fa6c
mov eax, dword [ebp - 0x48]
cmp eax, dword [0x10292b4]
jne 0xd6fa62
xor edx, edx
mov dword [0x10292b4], edx
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.00da4338
pop ecx
pop eax
test eax, eax
je 0xd6fad1
mov word [edi + 0x10], 0x74
push ebx
lea edx, [ebp - 0x4c]
push edx
call fcn.00e53548
add esp, 8
lea ecx, [ebp - 0x4c]
push ecx
inc dword [edi + 0x1c]
lea eax, [ebp - 4]
push eax
call fcn.00da4388
add esp, 8
dec dword [edi + 0x1c]
mov edx, dword [ebp - 0x4c]
dec dword [edx]
sete cl
and ecx, 1
test cl, cl
je 0xd6fac6
mov eax, dword [ebp - 0x4c]
cmp eax, dword [0x10292b4]
jne 0xd6fabc
xor edx, edx
mov dword [0x10292b4], edx
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.00da4338
pop ecx
mov word [edi + 0x10], 0x50
jmp 0xd6fb9d
mov word [edi + 0x10], 0x8c
push ebx
lea eax, [ebp - 0x50]
push eax
call fcn.00e534c8
add esp, 8
lea edx, [ebp - 0x50]
inc dword [edi + 0x1c]
mov dword [ebp - 0x100], edx
mov ecx, dword [ebp - 0x100]
mov eax, dword [ecx]
cmp dword [eax + 4], 0
sete dl
and edx, 1
xor ecx, ecx
mov cl, dl
cmp ecx, 1
sbb eax, eax
neg eax
push eax
dec dword [edi + 0x1c]
mov edx, dword [ebp - 0x50]
dec dword [edx]
sete cl
and ecx, 1
test cl, cl
je 0xd6fb3d
mov eax, dword [ebp - 0x50]
cmp eax, dword [0x10292b4]
jne 0xd6fb33
xor edx, edx
mov dword [0x10292b4], edx
mov ecx, dword [ebp - 0x50]
push ecx
call fcn.00da4338
pop ecx
pop eax
test al, al
je 0xd6fb9d
mov word [edi + 0x10], 0xa4
push ebx
lea edx, [ebp - 0x54]
push edx
call fcn.00e534c8
add esp, 8
lea ecx, [ebp - 0x54]
push ecx
inc dword [edi + 0x1c]
lea eax, [ebp - 4]
push eax
call fcn.00da4388
add esp, 8
dec dword [edi + 0x1c]
mov edx, dword [ebp - 0x54]
dec dword [edx]
sete cl
and ecx, 1
test cl, cl
je 0xd6fb97
mov eax, dword [ebp - 0x54]
cmp eax, dword [0x10292b4]
jne 0xd6fb8d
xor edx, edx
mov dword [0x10292b4], edx
mov ecx, dword [ebp - 0x54]
push ecx
call fcn.00da4338
pop ecx
mov word [edi + 0x10], 0x50
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0xd6fc19
test byte [0xf9c6d4], 0xf0
je 0xd6fbc9
push 1
lea edx, [ebp - 4]
push edx
call fcn.00da8c7c
add esp, 8
push eax
mov ecx, dword [ebx + 0x3c]
push ecx
call sub.USER32.DLL_SetWindowTextW
jmp 0xd6fc19
mov word [edi + 0x10], 0xbc
lea eax, [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
push edx
call fcn.00da837c
add esp, 8
lea ecx, [ebp - 0x5c]
add dword [edi + 0x1c], 3
mov dword [ebp - 0x104], ecx
mov eax, dword [ebp - 0x104]
mov edx, dword [eax + 4]
mov ecx, dword [edx + 4]
push ecx
mov eax, dword [ebx + 0x3c]
push eax
call sub.USER32.DLL_SetWindowTextA
dec dword [edi + 0x1c]
dec dword [edi + 0x1c]
dec dword [edi + 0x1c]
push 0
lea edx, [ebp - 0x5c]
push edx
call fcn.00d95e5c
add esp, 8
dec dword [edi + 0x1c]
mov ecx, dword [ebp - 4]
dec dword [ecx]
sete al
and eax, 1
test al, al
je 0xd6fc48
mov edx, dword [ebp - 4]
cmp edx, dword [0x10292b4]
jne 0xd6fc3e
xor ecx, ecx
mov dword [0x10292b4], ecx
mov eax, dword [ebp - 4]
push eax
call fcn.00da4338
pop ecx
mov word [edi + 0x10], 0x50
mov word [edi + 0x10], 0
cmp dword [esi + 8], 1
je 0xd6fdb6
test byte [ebx + 0x40], 4
setne dl
and edx, 1
test dl, dl
je 0xd6fcfd
mov word [edi + 0x10], 0xd4
mov ecx, 0xf98c0c
mov eax, 0xf98b8c
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x78], 0xe
mov byte [ebp - 0x74], 0
inc dword [edi + 0x1c]
mov dword [ebp - 0x7c], eax
mov edx, dword [ebp - 0xf0]
mov dword [ebp - 0x6c], edx
mov ecx, dword [ebp - 0xec]
mov dword [ebp - 0x68], ecx
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0x64], eax
mov eax, ebx
mov edx, dword [ebp - 0xe0]
mov dword [ebp - 0x60], edx
lea edx, [ebp - 0x84]
inc dword [edi + 0x1c]
mov word [edi + 0x10], 0xf8
mov ecx, dword [0x10309ec]
push edx
push eax
push ecx
mov eax, dword [ecx + 8]
call dword [eax + 0x40]
dec dword [edi + 0x1c]
add esp, 0xc
dec dword [edi + 0x1c]
lea edx, [ebp - 0x84]
push 0
push edx
call fcn.00dc4ce4
mov word [edi + 0x10], 0
add esp, 8
jmp 0xd6fdb6
push 0x28
call fcn.00f4dd50
pop ecx
mov dword [ebp - 0x88], eax
test eax, eax
je 0xd6fda6
mov word [edi + 0x10], 0x110
mov edx, 0xf98c0c
mov ecx, dword [ebp - 0x88]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x88]
mov dword [eax + 0xc], 0xe
mov edx, dword [ebp - 0x88]
mov byte [edx + 0x10], 0
inc dword [edi + 0x1c]
mov ecx, 0xf98b8c
mov eax, dword [ebp - 0x88]
mov dword [eax + 8], ecx
mov esi, dword [ebp - 0x88]
add esi, 0x18
mov eax, dword [ebp - 0xf0]
mov dword [esi], eax
mov edx, dword [ebp - 0xec]
mov dword [esi + 4], edx
mov ecx, dword [ebp - 0x88]
add ecx, 0x20
mov dword [ebp - 0x108], ecx
mov eax, dword [ebp - 0x108]
mov edx, dword [ebp - 0xe4]
mov dword [eax], edx
mov ecx, dword [ebp - 0x108]
mov eax, dword [ebp - 0xe0]
mov dword [ecx + 4], eax
dec dword [edi + 0x1c]
mov word [edi + 0x10], 0x104
mov eax, dword [ebp - 0x88]
jmp 0xd6fdac
mov eax, dword [ebp - 0x88]
push eax
push ebx
call fcn.00db6d40
add esp, 8
test byte [ebx + 0x46], 0x40
jne 0xd7005b
test byte [ebx + 0x46], 0x10
sete dl
and edx, 1
lea ecx, [ebp - 0x15c]
mov byte [ebp - 0x109], dl
push ebx
push ecx
call fcn.00e552e8
add esp, 8
mov al, byte [ebp - 0x109]
push eax
mov edx, dword [ebp - 0x150]
sub edx, dword [ebp - 0x158]
inc edx
push edx
mov ecx, dword [ebp - 0x154]
sub ecx, dword [ebp - 0x15c]
inc ecx
push ecx
mov eax, dword [ebp - 0x158]
push eax
mov edx, dword [ebp - 0x15c]
push edx
push ebx
call fcn.00d8b524
add esp, 0x18
jmp 0xd7005b
cmp dword [esi + 4], 3
jne 0xd7005b
mov cx, word [esi + 0xc]
and cx, 0xffff
movsx eax, cx
mov dword [ebp - 0x110], eax
lea eax, [ebx + 0x4c]
mov edx, dword [esi + 0xc]
shr edx, 0x10
movsx ecx, dx
mov edx, dword [eax]
mov esi, ecx
mov dword [ebp - 0x118], edx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x114], ecx
push ebx
call fcn.00d8ba30
pop ecx
test al, al
jne 0xd7005b
mov eax, esi
mov edx, dword [ebp - 0x110]
mov dword [ebp - 0x120], edx
mov dword [ebp - 0x11c], eax
lea ecx, [ebp - 0x120]
push ecx
lea eax, [ebp - 0x14c]
push eax
call fcn.00e21060
add esp, 8
lea edx, [ebp - 0x14c]
push edx
push ebx
mov ecx, dword [ebx + 8]
call dword [ecx + 0x178]
add esp, 8
test byte [ebx + 0x40], 4
setne al
and eax, 1
test al, al
je 0xd6ff7c
mov word [edi + 0x10], 0x134
lea eax, [ebx + 0x4c]
mov edx, dword [eax]
mov dword [ebp - 0x128], edx
mov edx, 0xf98b9c
mov ecx, dword [eax + 4]
mov eax, 0xf98c0c
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], 0xd
mov byte [ebp - 0xa0], 0
inc dword [edi + 0x1c]
mov dword [ebp - 0xa8], edx
mov ecx, dword [ebp - 0x128]
mov dword [ebp - 0x98], ecx
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x94], eax
lea eax, [ebp - 0xb0]
mov edx, dword [ebp - 0x118]
mov dword [ebp - 0x90], edx
mov ecx, dword [ebp - 0x114]
mov dword [ebp - 0x8c], ecx
inc dword [edi + 0x1c]
mov word [edi + 0x10], 0x158
mov dword [ebp - 0x12c], ebx
push eax
mov ecx, dword [0x10309ec]
mov edx, dword [ebp - 0x12c]
push edx
push ecx
mov eax, dword [ecx + 8]
call dword [eax + 0x40]
dec dword [edi + 0x1c]
add esp, 0xc
dec dword [edi + 0x1c]
lea edx, [ebp - 0xb0]
push 0
push edx
call fcn.00dc4ce4
mov word [edi + 0x10], 0
add esp, 8
jmp 0xd7005b
push 0x28
call fcn.00f4dd50
pop ecx
mov dword [ebp - 0xb4], eax
test eax, eax
je 0xd7004b
mov word [edi + 0x10], 0x170
lea edx, [ebx + 0x4c]
mov dword [ebp - 0x130], edx
mov ecx, dword [ebp - 0x130]
mov eax, dword [ecx]
mov dword [ebp - 0x138], eax
mov edx, dword [ebp - 0x130]
mov ecx, dword [edx + 4]
mov dword [ebp - 0x134], ecx
mov eax, 0xf98c0c
mov edx, dword [ebp - 0xb4]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0xb4]
mov dword [ecx + 0xc], 0xd
mov eax, dword [ebp - 0xb4]
mov byte [eax + 0x10], 0
inc dword [edi + 0x1c]
mov edx, 0xf98b9c
mov ecx, dword [ebp - 0xb4]
mov dword [ecx + 8], edx
mov esi, dword [ebp - 0xb4]
add esi, 0x18
mov eax, dword [ebp - 0x138]
mov dword [esi], eax
mov edx, dword [ebp - 0x134]
mov dword [esi + 4], edx
mov ecx, dword [ebp - 0xb4]
add ecx, 0x20
mov dword [ebp - 0x13c], ecx
mov eax, dword [ebp - 0x13c]
mov edx, dword [ebp - 0x118]
mov dword [eax], edx
mov ecx, dword [ebp - 0x13c]
mov eax, dword [ebp - 0x114]
mov dword [ecx + 4], eax
dec dword [edi + 0x1c]
mov word [edi + 0x10], 0x164
mov eax, dword [ebp - 0xb4]
jmp 0xd70051
mov eax, dword [ebp - 0xb4]
push eax
push ebx
call fcn.00db6d40
add esp, 8
and dword [ebx + 0x40], 0xfffffbff
mov al, 1
mov edx, dword [edi]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret