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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 8]
cmp eax, 0xffffff4f
push edi
mov edi, ecx
je 0x100d8ab
cmp eax, 0xffffff94
je 0x100d870
cmp eax, 0xffffff9b
jne case.default.0x100d902
test byte [esi + 0x1c], 8
je case.default.0x100d902
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
xor ebx, ebx
push ebx
push ebx
push 0x1032
push 0x3f1
push dword [edi + 4]
call esi
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
xor ecx, ecx
cmp eax, ebx
setne cl
push ecx
push 0x3f2
push dword [edi + 4]
call esi
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
jmp case.default.0x100d902
mov eax, dword [esi + 0x10]
mov eax, dword [eax*4 + 0x101fbcc]
cmp dword [0x101e0b4], eax
jne 0x100d88a
neg dword [0x101e0b8]
jmp 0x100d896
or dword [0x101e0b8], 0xffffffff
mov dword [0x101e0b4], eax
lea eax, [edi + 0xc]
push eax
call fcn.0100c30e
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x18]
jmp case.default.0x100d902
test byte [esi + 0xc], 1
je case.default.0x100d902
mov eax, dword [esi + 0x14]
mov ecx, dword [eax*4 + 0x101fbcc]
mov eax, dword [esi + 0x2c]
xor ebx, ebx
cmp dword [eax + 0x8c], ebx
je 0x100d8f9
cmp ecx, ebx
je 0x100d8f9
cmp ecx, 0xe
je 0x100d8f9
cmp ecx, 0x10
je 0x100d8f9
cmp ecx, 5
je 0x100d8f9
cmp ecx, 2
je 0x100d8f9
cmp ecx, 3
je 0x100d8f9
cmp ecx, 4
je 0x100d8f9
mov eax, dword [esi + 0x20]
mov word [eax], bx
jmp case.default.0x100d902
cmp ecx, 0x18
ja case.default.0x100d902
jmp dword [ecx*4 + 0x100db1f]
push dword [eax + 8]
push 0x1001fec
push dword [esi + 0x24]
push dword [esi + 0x20]
call fcn.01004bd8
add esp, 0x10
jmp case.default.0x100d902
mov eax, dword [eax + 0xc]
cmp eax, ebx
je case.default.0x100d902
push eax
push dword [esi + 0x24]
push dword [esi + 0x20]
call fcn.01004bb6
jmp case.default.0x100d902
push dword [eax + 0x10]
jmp 0x100d90c
movzx eax, byte [eax + 0x15]
push eax
push 0x1001fdc
jmp 0x100d911
push dword [eax + 0x88]
jmp 0x100d930
lea ecx, [ebp - 0x10]
push ecx
add eax, 0x20
push eax
call dword [sym.imp.ntdll.dll_RtlTimeToElapsedTimeFields]
mov eax, dword [ebp - 0xc]
movsx ecx, word [ebp - 8]
lea eax, [eax + eax*2]
shl eax, 3
add word [ebp - 0xa], ax
movsx eax, word [ebp - 6]
push eax
mov eax, 0x101f1a8
push eax
push ecx
push eax
movsx eax, word [ebp - 0xa]
push eax
push 0x1001fbc
push dword [esi + 0x24]
push dword [esi + 0x20]
call fcn.01004bd8
add esp, 0x20
jmp case.default.0x100d902
push dword [esi + 0x24]
push dword [esi + 0x20]
push ebx
push dword [eax + 0x28]
mov ecx, edi
call fcn.0100d574
jmp case.default.0x100d902
push dword [esi + 0x24]
mov eax, dword [eax + 0x2c]
push dword [esi + 0x20]
cdq
push edx
push eax
jmp 0x100d9ac
push dword [esi + 0x24]
push dword [esi + 0x20]
push ebx
push dword [eax + 0x98]
jmp 0x100d9ac
push dword [esi + 0x24]
push dword [esi + 0x20]
push ebx
push dword [eax + 0x30]
jmp 0x100db0e
push dword [esi + 0x24]
mov eax, dword [eax + 0x34]
push dword [esi + 0x20]
cdq
push edx
push eax
jmp 0x100db0e
push dword [esi + 0x24]
push dword [esi + 0x20]
push ebx
push dword [eax + 0x38]
jmp 0x100d9ac
push dword [esi + 0x24]
push dword [esi + 0x20]
push ebx
push dword [eax + 0x3c]
jmp 0x100d9ac
push dword [esi + 0x24]
push dword [esi + 0x20]
push ebx
push dword [eax + 0x40]
jmp 0x100d9ac
mov eax, dword [eax + 0x44]
sub eax, 0x20
je 0x100da7c
sub eax, 0x20
je 0x100da72
sub eax, 0x40
je 0x100da68
sub eax, 0x80
je 0x100da5e
sub eax, 0x3f00
je 0x100da54
sub eax, 0x4000
je 0x100da4a
mov eax, 0x101f868
jmp 0x100d92f
mov eax, 0x101f828
jmp 0x100d92f
mov eax, 0x101f7e8
jmp 0x100d92f
mov eax, 0x101f968
jmp 0x100d92f
mov eax, 0x101f8e8
jmp 0x100d92f
mov eax, 0x101f8a8
jmp 0x100d92f
mov eax, 0x101f928
jmp 0x100d92f
push dword [esi + 0x24]
push dword [esi + 0x20]
push ebx
push dword [eax + 0x48]
jmp 0x100db0e
push dword [esi + 0x24]
push dword [esi + 0x20]
push ebx
push dword [eax + 0x4c]
jmp 0x100db0e
push dword [esi + 0x24]
push dword [esi + 0x20]
push ebx
push dword [eax + 0x54]
jmp 0x100db0e
push dword [esi + 0x24]
push dword [esi + 0x20]
push ebx
push dword [eax + 0x50]
jmp 0x100db0e
push dword [esi + 0x24]
push dword [esi + 0x20]
push dword [eax + 0x5c]
push dword [eax + 0x58]
jmp 0x100db0e
push dword [esi + 0x24]
push dword [esi + 0x20]
push dword [eax + 0x64]
push dword [eax + 0x60]
jmp 0x100db0e
push dword [esi + 0x24]
push dword [esi + 0x20]
push dword [eax + 0x6c]
push dword [eax + 0x68]
jmp 0x100db0e
push dword [esi + 0x24]
push dword [esi + 0x20]
push dword [eax + 0x74]
push dword [eax + 0x70]
jmp 0x100db0e
push dword [esi + 0x24]
push dword [esi + 0x20]
push dword [eax + 0x7c]
push dword [eax + 0x78]
jmp 0x100db0e
push dword [esi + 0x24]
push dword [esi + 0x20]
push dword [eax + 0x84]
push dword [eax + 0x80]
mov ecx, edi
call fcn.0100ba42
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
leave
ret 4