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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
push ebx
push esi
mov dword [esp + 0x10], 0xe1757117
xor esi, esi
mov dword [esp + 0x30], 0x5f1dbecc
inc esi
mov dword [esp + 0x30], 0x363f9e92
xor ebx, ebx
mov dword [esp + 0x30], esi
push edi
mov dword [esp + 0x38], edx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x14], ebx
jmp 0x1000d6c9
push 3
lea ecx, [esp + 0x48]
call fcn.10012962
mov dword [esp + 0x2c], 0xbc781ced
mov dword [esp + 0x18], ebx
jmp 0x1000d6a0
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x44]
mov dword [eax + ecx*4], 0xfffffff9
inc dword [esp + 0x18]
cmp dword [esp + 0x18], 3
jl 0x1000d68d
mov byte [esp + 0x13], bl
cmp byte [esp + 0x13], bl
je 0x1000d6b8
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
dec dword [esp + 0x2c]
lea ecx, [esp + 0x44]
call fcn.100129e4
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 0x18
jl 0x1000d674
mov dword [esp + 0x18], 8
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x20], 0xcb8f6c21
mov dword [esp + 0x28], 0xf985589b
mov dword [esp + 0x28], 0xc587c7ab
mov byte [esp + 0x13], bl
cmp byte [esp + 0x13], bl
je 0x1000d70f
push ebx
push 0x1aa6
push 0x155e
call dword [sym.imp.USER32.dll_GetScrollInfo]
mov eax, dword [esp + 0x18]
mov eax, dword [esp + 0x18]
imul eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x2c]
je 0x1000d747
mov eax, dword [esp + 0x2c]
xor edx, edx
mov eax, dword [esp + 0x18]
cmp eax, esi
mov eax, dword [esp + 0x20]
setle dl
xor ecx, ecx
cmp edx, eax
setg cl
imul eax, ecx, 6
mov ecx, esi
add eax, dword [esp + 0x18]
jne 0x1000d749
mov ecx, ebx
xor eax, eax
cmp ecx, 0x722ba7b7
sete al
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x28], eax
mov dword [esp + 0x14], 0xaf8b5131
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x28], 0xfff7
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x20], 0x215d
cmp dword [esp + 0x20], 0x247c
jle 0x1000d7e5
mov esi, ebx
mov edi, ebx
mov dword [esp + 0x2c], 0x12a2
mov eax, edi
lea ecx, [esp + 0x70]
cdq
push edx
push eax
call fcn.1000d0ee
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1000d7be
mov eax, dword [eax]
push eax
call fcn.1004c14f
pop ecx
push ebx
push 1
lea ecx, [esp + 0x78]
call fcn.10012ee2
add edi, esi
dec dword [esp + 0x2c]
jne 0x1000d7a6
inc esi
cmp esi, 0x4c67
jl 0x1000d79c
xor esi, esi
inc esi
mov ecx, dword [esp + 0x14]
xor edx, edx
mov eax, dword [esp + 0x14]
cmp ecx, eax
setle dl
sub edx, dword [esp + 0x14]
add edx, 0x58633f67
sub edx, dword [esp + 0x14]
mov eax, dword [esp + 0x14]
neg edx
sbb edx, edx
inc edx
sub eax, edx
mov dword [esp + 0x2c], eax
jne 0x1000d81d
cmp dword [esp + 0x14], ebx
jne 0x1000d81d
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
xor edx, edx
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
cmp ecx, eax
setl dl
mov dword [esp + 0x68], edx
cmp dword [esp + 0x20], 0x1e0b
jge 0x1000d851
push 0x100076fc
call fcn.1004c14f
pop ecx
mov byte [esp + 0x13], bl
cmp byte [esp + 0x13], bl
je 0x1000d876
push 0x8fe
push 0x1c87
push 0x169e
push 0x1348
push ebx
call dword [sym.imp.USER32.dll_SetRect]
mov dword [esp + 0x20], 0xf402
mov dword [esp + 0x28], 0xcc590f02
mov dword [esp + 0x14], ebx
push 9
mov dword [esp + 0x20], 0xc12a7b09
pop eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x18], ebx
jmp 0x1000d8b3
mov eax, dword [esp + 0x18]
mov dword [esp + eax*4 + 0x24], 0xfffd
inc dword [esp + 0x18]
cmp dword [esp + 0x18], esi
jl 0x1000d8a3
mov eax, dword [esp + 0x20]
xor edx, edx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x14], 0xffffffff
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
sub ecx, eax
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x2c]
cmp eax, ecx
mov eax, dword [esp + 0x20]
mov ecx, 0x7a3a11c1
setle dl
sub ecx, edx
add eax, ecx
cmp eax, 0x64087a91
jge 0x1000d912
mov eax, dword [esp + 0x34]
mov dword [esp + 0x18], 0xffffffff
mov dword [esp + 0x2c], esi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x20], esi
mov dword [esp + 0x34], 0xffffffff
cmp dword [esp + 0x18], ebx
jne 0x1000d97c
mov eax, dword [esp + 0x18]
xor edx, edx
mov dword [esp + 0x14], 0xf36fc75d
mov eax, dword [esp + 0x14]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x18]
cmp eax, ecx
mov eax, dword [esp + 0x18]
setl dl
xor ecx, ecx
cmp edx, eax
setge cl
mov dword [esp + 0x34], ecx
mov eax, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
sub ecx, eax
mov ecx, ebx
je 0x1000d97e
mov ecx, esi
mov eax, dword [esp + 0x18]
imul eax, ecx
push 5
mov dword [esp + 0x38], eax
mov dword [esp + 0x24], 0xf2c29a3d
pop eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x18], ebx
jmp 0x1000d9ba
mov eax, dword [esp + 0x18]
mov dword [esp + eax*4 + 0x3c], 0x6af1124f
inc dword [esp + 0x18]
cmp dword [esp + 0x18], 2
jl 0x1000d9aa
mov dword [esp + 0x20], esi
cmp dword [esp + 0x20], ebx
jl 0x1000dac1
mov dword [esp + 0x1c], 0xfddd3f46
mov byte [esp + 0x13], bl
cmp byte [esp + 0x13], bl
je 0x1000d9e8
push ebx
call dword [sym.imp.ADVAPI32.dll_GetLengthSid]
mov dword [esp + 0x1c], ebx
jmp 0x1000daad
mov dword [esp + 0x18], 0xfffffffa
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x34], 0xfffffff6
mov dword [esp + 0x18], ebx
jmp 0x1000da87
mov dword [esp + 0x28], 0x8a012e1d
mov dword [esp + 0x28], esi
cmp dword [esp + 0x28], ebx
jl 0x1000da64
mov dword [esp + 0x14], 0x89226c31
mov dword [esp + 0x14], esi
cmp dword [esp + 0x14], ebx
jl 0x1000da3d
mov dword [esp + 0x58], 7
dec dword [esp + 0x14]
jns 0x1000da2f
mov dword [esp + 0x14], ebx
jmp 0x1000da58
mov byte [esp + 0x13], bl
cmp byte [esp + 0x13], bl
je 0x1000da54
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
inc dword [esp + 0x14]
cmp dword [esp + 0x14], esi
jle 0x1000da43
dec dword [esp + 0x28]
jns 0x1000da1d
mov eax, dword [esp + 0x18]
mov eax, dword [esp + eax*4 + 0x3c]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x50]
inc dword [esp + 0x2c]
cmp ecx, eax
mov eax, esi
cmove eax, ebx
mov dword [esp + 0x34], eax
inc dword [esp + 0x18]
cmp dword [esp + 0x18], esi
jle 0x1000da0b
mov byte [esp + 0x13], bl
cmp byte [esp + 0x13], bl
je 0x1000daa9
push ebx
push 0x329
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
inc dword [esp + 0x1c]
cmp dword [esp + 0x1c], esi
jle 0x1000d9f1
dec dword [esp + 0x20]
jns 0x1000d9cf
mov eax, dword [esp + 0x3c]
xor ecx, ecx
mov edx, dword [ebp + 0xc]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov eax, dword [eax]
mov eax, dword [ebp + 0x14]
mov dword [eax], esi
mov eax, dword [edx]
cmp eax, esi
mov esi, dword [ebp + 0x18]
mov eax, 0xe0bbe0e2
setge cl
cmp eax, ecx
sbb eax, eax
xor ecx, ecx
inc eax
mov dword [edx], eax
mov eax, dword [edx]
mov eax, dword [esi]
mov eax, dword [edi]
mov eax, dword [esp + 0x30]
mov edx, dword [esi]
mov eax, dword [eax]
imul edx, dword [eax]
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax]
cmp edx, eax
setge cl
cmp ecx, dword [esi]
mov esi, dword [esp + 0x30]
jle 0x1000db1c
mov eax, dword [esi]
cmp dword [eax], ebx
je 0x1000db1f
xor ebx, ebx
inc ebx
mov eax, dword [esp + 0x38]
xor edx, edx
mov ecx, dword [edi]
pop edi
mov eax, dword [eax]
imul ecx, dword [eax + 4]
mov eax, dword [ebp + 0x20]
mov eax, dword [eax]
imul ecx, ebx
neg ecx
cmp ecx, 0x8eaf535
setne dl
sub edx, dword [eax + 8]
mov eax, dword [esi]
pop esi
pop ebx
mov dword [eax], edx
mov esp, ebp
pop ebp
ret