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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [str.SetScrollPos]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x1c]
push ebx
mov dword [ebp - 0x220], eax
mov eax, dword [ebp + 0x14]
push esi
mov esi, ecx
mov edx, dword [esi + 0x1c]
mov ebx, dword [esi + 0x18]
mov dword [esi], eax
mov eax, dword [ebp + 0x18]
mov dword [esi + 4], eax
push edi
mov edi, dword [ebp + 0x10]
mov ecx, dword [edi + 0x30]
add ecx, dword [edi + 0x28]
mov eax, dword [edi + 0x34]
adc eax, dword [edi + 0x2c]
cmp eax, edx
jg 0x100d17d
jl 0x100d16f
cmp ecx, ebx
jae 0x100d17d
or dword [esi + 8], 0xffffffff
mov eax, 0x80004005
jmp 0x100d640
mov dword [ebp - 0x210], eax
mov eax, ecx
sub eax, ebx
mov ebx, dword [ebp - 0x210]
sbb ebx, edx
mov edx, eax
or edx, ebx
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x218], ebx
je 0x100d1ba
mov edx, dword [ebp - 0x210]
or dword [esi + 0x9c], 2
mov dword [esi + 0x20], ecx
mov dword [esi + 0x24], edx
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], edx
push 0
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
push ebx
push eax
call fcn.0100b23c
mov eax, dword [esi + 8]
cmp eax, dword [edi + 0x44]
je 0x100d1e0
or byte [esi + 0x9d], 0x10
mov eax, dword [edi + 0x44]
mov dword [esi + 8], eax
mov eax, dword [esi + 0x10]
cmp eax, dword [edi + 0x50]
je 0x100d1f5
or byte [esi + 0x9d], 0x20
mov eax, dword [edi + 0x50]
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x68]
cdq
mov ebx, 0x400
idiv ebx
mov ecx, dword [esi + 0x28]
sub eax, ecx
cmp dword [esi + 0x2c], eax
je 0x100d21c
or dword [esi + 0x9c], 8
mov eax, dword [edi + 0x68]
cdq
idiv ebx
sub eax, ecx
mov dword [esi + 0x2c], eax
mov edx, dword [edi + 0x64]
lea eax, [esi + 0x98]
shr edx, 0xa
cmp dword [eax], edx
je 0x100d23b
or byte [esi + 0x9e], 4
mov edx, dword [edi + 0x64]
shr edx, 0xa
mov dword [eax], edx
mov eax, dword [edi + 0x68]
shr eax, 0xa
cmp ecx, eax
je 0x100d255
or dword [esi + 0x9c], 4
mov eax, dword [edi + 0x68]
shr eax, 0xa
mov dword [esi + 0x28], eax
mov eax, dword [esi + 0x30]
mov ecx, dword [edi + 0x60]
sub ecx, eax
cmp dword [esi + 0x34], ecx
je 0x100d271
or dword [esi + 0x9c], 0x20
mov ecx, dword [edi + 0x60]
sub ecx, eax
mov dword [esi + 0x34], ecx
cmp eax, dword [edi + 0x60]
je 0x100d283
or dword [esi + 0x9c], 0x10
mov eax, dword [edi + 0x60]
mov dword [esi + 0x30], eax
lea eax, [edi + 0x84]
mov ecx, dword [eax]
shr ecx, 0xa
cmp dword [esi + 0x38], ecx
je 0x100d2a2
or dword [esi + 0x9c], 0x40
mov eax, dword [eax]
shr eax, 0xa
mov dword [esi + 0x38], eax
mov eax, dword [edi + 0x70]
shr eax, 0xa
cmp dword [esi + 0x3c], eax
je 0x100d2bd
or byte [esi + 0x9c], 0x80
mov eax, dword [edi + 0x70]
shr eax, 0xa
mov dword [esi + 0x3c], eax
mov eax, dword [edi + 0x78]
shr eax, 0xa
cmp dword [esi + 0x40], eax
je 0x100d2d8
or byte [esi + 0x9d], 1
mov eax, dword [edi + 0x78]
shr eax, 0xa
mov dword [esi + 0x40], eax
mov eax, dword [esi + 0x44]
cmp eax, dword [edi + 0x40]
je 0x100d2ed
or byte [esi + 0x9d], 2
mov eax, dword [edi + 0x40]
mov dword [esi + 0x44], eax
mov eax, dword [esi + 0x48]
cmp eax, dword [edi + 0x4c]
mov eax, 0x400
je 0x100d306
or dword [esi + 0x9c], eax
mov ecx, dword [edi + 0x4c]
mov dword [esi + 0x48], ecx
mov ecx, dword [esi + 0x4c]
cmp ecx, dword [edi + 4]
je 0x100d31a
or dword [esi + 0x9c], eax
mov ecx, dword [edi + 4]
mov dword [esi + 0x4c], ecx
mov ecx, dword [esi + 0x58]
cmp ecx, dword [edi + 0x88]
jne 0x100d330
mov ecx, dword [esi + 0x5c]
cmp ecx, dword [edi + 0x8c]
je 0x100d349
or byte [esi + 0x9e], 8
mov ecx, dword [edi + 0x88]
mov dword [esi + 0x58], ecx
mov ecx, dword [edi + 0x8c]
mov dword [esi + 0x5c], ecx
mov ecx, dword [esi + 0x60]
cmp ecx, dword [edi + 0x90]
jne 0x100d35f
mov ecx, dword [esi + 0x64]
cmp ecx, dword [edi + 0x94]
je 0x100d378
or byte [esi + 0x9e], 0x10
mov ecx, dword [edi + 0x90]
mov dword [esi + 0x60], ecx
mov ecx, dword [edi + 0x94]
mov dword [esi + 0x64], ecx
mov ecx, dword [esi + 0x68]
cmp ecx, dword [edi + 0x98]
jne 0x100d38e
mov ecx, dword [esi + 0x6c]
cmp ecx, dword [edi + 0x9c]
je 0x100d3a7
or byte [esi + 0x9e], 0x20
mov ecx, dword [edi + 0x98]
mov dword [esi + 0x68], ecx
mov ecx, dword [edi + 0x9c]
mov dword [esi + 0x6c], ecx
mov ecx, dword [esi + 0x70]
cmp ecx, dword [edi + 0xa0]
jne 0x100d3bd
mov ecx, dword [esi + 0x74]
cmp ecx, dword [edi + 0xa4]
je 0x100d3d6
or byte [esi + 0x9e], 0x40
mov ecx, dword [edi + 0xa0]
mov dword [esi + 0x70], ecx
mov ecx, dword [edi + 0xa4]
mov dword [esi + 0x74], ecx
mov ecx, dword [esi + 0x78]
cmp ecx, dword [edi + 0xa8]
jne 0x100d3ec
mov ecx, dword [esi + 0x7c]
cmp ecx, dword [edi + 0xac]
je 0x100d405
or byte [esi + 0x9e], 0x80
mov ecx, dword [edi + 0xa8]
mov dword [esi + 0x78], ecx
mov ecx, dword [edi + 0xac]
mov dword [esi + 0x7c], ecx
mov ecx, dword [esi + 0x80]
cmp ecx, dword [edi + 0xb0]
jne 0x100d421
mov ecx, dword [esi + 0x84]
cmp ecx, dword [edi + 0xb4]
je 0x100d440
or byte [esi + 0x9f], 1
mov ecx, dword [edi + 0xb0]
mov dword [esi + 0x80], ecx
mov ecx, dword [edi + 0xb4]
mov dword [esi + 0x84], ecx
push dword [esi + 8]
xor ebx, ebx
push ebx
push eax
call dword [0x10010b4]
cmp eax, ebx
mov dword [ebp - 0x210], eax
je 0x100d498
mov ebx, dword [0x10012e0]
push 1
push eax
call ebx
cmp dword [esi + 0x54], eax
je 0x100d471
or byte [esi + 0x9e], 2
mov dword [esi + 0x54], eax
push 0
push dword [ebp - 0x210]
call ebx
cmp dword [esi + 0x50], eax
je 0x100d48a
or byte [esi + 0x9e], 1
mov dword [esi + 0x50], eax
push dword [ebp - 0x210]
call dword [0x1001178]
xor ebx, ebx
cmp dword [ebp + 0x20], ebx
jne 0x100d550
or byte [esi + 0x9d], 8
cmp dword [edi + 0x3c], ebx
jne 0x100d4f6
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0x2715
push dword [0x1015e28]
mov word [ebp - 0x20c], bx
call dword [fcn.010013bc]
lea eax, [eax + eax + 2]
push eax
call fcn.01003265
cmp eax, ebx
pop ecx
mov dword [esi + 0x88], eax
je 0x100d511
lea ecx, [ebp - 0x20c]
push ecx
push eax
call dword [fcn.01001180]
jmp 0x100d53d
movzx eax, word [edi + 0x38]
shr eax, 1
lea eax, [eax + eax + 2]
push eax
call fcn.01003265
cmp eax, ebx
pop ecx
mov dword [esi + 0x88], eax
jne 0x100d51b
mov eax, 0x8007000e
jmp 0x100d640
movzx ecx, word [edi + 0x38]
shr ecx, 1
inc ecx
push ecx
push dword [edi + 0x3c]
push eax
call dword [fcn.0100117c]
movzx eax, word [edi + 0x38]
mov ecx, dword [esi + 0x88]
shr eax, 1
mov word [ecx + eax*2], bx
cmp dword [0x1015e90], ebx
je 0x100d550
add edi, 0x20
push edi
mov ecx, esi
call fcn.0100b60b
test byte [0x1016134], 0x40
je 0x100d63e
mov eax, dword [esi + 0x94]
test al, 1
jne 0x100d56f
test al, 2
jne 0x100d63e
mov eax, dword [esi + 0x88]
cmp eax, ebx
je 0x100d637
push 0x1001f4c
push eax
call dword [0x1001420]
test eax, eax
pop ecx
pop ecx
jne 0x100d637
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x240], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x23c], eax
mov eax, dword [ebp - 0x220]
mov dword [ebp - 0x238], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x230], eax
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0x228], eax
mov eax, dword [ebp - 0x218]
mov dword [ebp - 0x224], eax
lea eax, [ebp - 0x240]
push eax
push 0x100c463
push dword [esi + 8]
mov dword [ebp - 0x234], esi
mov dword [ebp - 0x22c], edi
call fcn.010140a4
test eax, eax
je 0x100d627
mov eax, dword [esi + 0x94]
test al, 1
jne 0x100d60c
or eax, 3
mov dword [esi + 0x94], eax
push 1
push edi
push dword [ebp + 8]
mov ecx, esi
push dword [ebp - 0x224]
push dword [ebp - 0x228]
call fcn.0100b23c
jmp 0x100d63e
cmp dword [esi + 0x1c], ebx
jl 0x100d63e
jg 0x100d637
cmp dword [esi + 0x18], 0x5f5e100
jbe 0x100d63e
or dword [esi + 0x94], 2
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.01012cda
leave
ret 0x1c