Function at 0x10043078
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006baae
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x168
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10043183
lea eax, [ebp + 0x24]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xb0]
movzx eax, byte [eax]
test eax, eax
je 0x10043135
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [eax], 0
jmp 0x10043105
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x2c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x2c]
cmp dword [eax], 0
jl 0x10043133
mov byte [ebp - 0x1e], 0
movzx eax, byte [ebp - 0x1e]
test eax, eax
je 0x10043131
push 0x1bd5
push 0
push 0x103b
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CompareStringW]
jmp 0x100430fa
jmp 0x1004317e
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xb4]
push dword [eax]
mov ecx, dword [ebp - 0xa4]
call fcn.10013282
mov dword [eax], 0x464c6607
jmp 0x100437c2
lea eax, [ebp + 0x20]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xbc]
movzx eax, byte [eax]
test eax, eax
je 0x100436b1
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x68], eax
and dword [ebp - 0x148], 0
push 6
pop ecx
xor eax, eax
lea edi, [ebp - 0x144]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x60], 0x433
mov dword [ebp - 0x88], 0x10008b80
cmp dword [ebp - 0x60], 0x7b1
jle 0x10043278
and dword [ebp - 0x24], 0
jmp 0x10043203
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x78f9
jge 0x10043278
and dword [ebp - 0x3c], 0
jmp 0x10043219
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0x2575
jge 0x10043276
mov eax, dword [ebp - 0x24]
cdq
idiv dword [ebp - 0x3c]
mov eax, edx
cdq
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xd4], edx
push dword [ebp - 0xd4]
push dword [ebp - 0xd8]
lea ecx, [ebp - 0x160]
call fcn.1000a74e
pop ecx
pop ecx
mov dword [ebp - 0xcc], eax
mov ecx, dword [ebp - 0xcc]
call fcn.10012ea5
push eax
call fcn.100537c3
pop ecx
lea ecx, [ebp - 0x160]
call fcn.10012e9b
jmp 0x10043212
jmp 0x100431fc
push 0x1c
lea eax, [ebp - 0x148]
push eax
push dword [ebp - 0xb8]
push 0x1c83
push 0x160c
call fcn.1002afda
pop ecx
pop ecx
call eax
test eax, eax
je 0x10043593
mov dword [ebp - 0xdc], 0xee
mov eax, dword [ebp - 0x134]
and eax, dword [ebp - 0xdc]
jne 0x100432c3
mov dword [ebp - 0x4c], 1
jmp 0x100432c7
and dword [ebp - 0x4c], 0
mov al, byte [ebp - 0x4c]
mov byte [ebp - 0x15], al
mov dword [ebp - 0x14], 0xfffffffe
mov dword [ebp - 0x1c], 0xffffffff
mov dword [ebp - 0x34], 0
jmp 0x100432eb
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 3
jge 0x10043301
mov eax, dword [ebp - 0x34]
mov dword [ebp + eax*4 - 0xfc], 1
jmp 0x100432e4
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x14], 0
jne 0x10043319
cmp dword [ebp - 0x1c], 0
jne 0x10043319
and dword [ebp - 0x64], 0
jmp 0x10043320
mov dword [ebp - 0x64], 1
cmp dword [ebp - 0x64], 0x8330
jg 0x10043335
mov dword [ebp - 0xc0], 1
jmp 0x1004333c
and dword [ebp - 0xc0], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x1c], 0
jne 0x10043357
cmp dword [ebp - 0x1c], 0
jne 0x10043357
and dword [ebp - 0x54], 0
jmp 0x1004335e
mov dword [ebp - 0x54], 1
cmp dword [ebp - 0x54], 0x9a22db78
jbe 0x10043370
mov dword [ebp - 0x74], 1
jmp 0x10043374
and dword [ebp - 0x74], 0
cmp dword [ebp - 0x74], 1
je 0x10043383
mov dword [ebp - 0x5c], 1
jmp 0x10043387
and dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x5c]
jl 0x10043398
mov dword [ebp - 0x6c], 1
jmp 0x1004339c
and dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x6c]
jne 0x100433b3
cmp dword [ebp - 0x14], 0
je 0x100433b3
mov dword [ebp - 0x48], 1
jmp 0x100433b7
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x48], eax
jg 0x100433c8
mov dword [ebp - 0x44], 1
jmp 0x100433cc
and dword [ebp - 0x44], 0
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x44]
mov dword [ebp + eax - 0xfc], ecx
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x44], eax
jle 0x100434e6
push 2
lea ecx, [ebp - 0x80]
call fcn.100131db
and dword [ebp - 4], 0
mov dword [ebp - 0xe8], 0xfb9a31c0
mov dword [ebp - 0x28], 0
jmp 0x1004340f
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 2
jge 0x10043428
push dword [ebp - 0x28]
lea ecx, [ebp - 0x80]
call fcn.10013282
mov dword [eax], 0x47cd
jmp 0x10043408
push 1
lea ecx, [ebp - 0x80]
call fcn.10013282
cmp dword [eax], 0
je 0x1004344a
push 0xfffffffffffffff8
pop eax
test eax, eax
je 0x1004344a
mov dword [ebp - 0xf0], 1
jmp 0x10043451
and dword [ebp - 0xf0], 0
push 4
pop eax
shl eax, 1
push 4
pop ecx
shl ecx, 1
mov ecx, dword [ebp + ecx - 0xfc]
cmp dword [ebp + eax - 0xfc], ecx
jne 0x10043474
mov dword [ebp - 0x50], 1
jmp 0x10043478
and dword [ebp - 0x50], 0
cmp dword [ebp - 0x50], 8
jge 0x10043487
mov dword [ebp - 0x58], 1
jmp 0x1004348b
and dword [ebp - 0x58], 0
push 0
lea ecx, [ebp - 0x80]
call fcn.10013282
mov ecx, dword [ebp - 0x58]
cmp ecx, dword [eax]
jne 0x100434a8
mov dword [ebp - 0xc8], 1
jmp 0x100434af
and dword [ebp - 0xc8], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x128], eax
push 1
lea ecx, [ebp - 0x80]
call fcn.10013282
mov esi, eax
push 1
lea ecx, [ebp - 0x80]
call fcn.10013282
mov ecx, dword [esi]
sub ecx, dword [eax]
mov dword [ebp - 0xe8], ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x80]
call fcn.1001325d
jmp 0x10043561
mov dword [ebp - 0x30], 0
jmp 0x100434f6
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 3
jge 0x1004350c
mov eax, dword [ebp - 0x30]
mov dword [ebp + eax*4 - 0x124], 0xffff
jmp 0x100434ef
mov dword [ebp - 0x14], 0
jmp 0x1004351c
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 4
jg 0x10043561
mov dword [ebp - 0x1c], 0
jmp 0x10043532
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x1b
jle 0x1004355f
mov dword [ebp - 0x12c], 1
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x124]
dec eax
push 4
pop ecx
shl ecx, 0
mov dword [ebp + ecx - 0x124], eax
jmp 0x1004352b
jmp 0x10043515
mov eax, dword [ebp - 0x134]
and eax, 0x101
je 0x10043572
mov byte [ebp - 0x15], 1
push 0x2bec
push 0
push 0x30bb
call fcn.10036e90
add esp, 0xc
mov eax, dword [ebp - 0x68]
mov cl, byte [ebp - 0x15]
mov byte [eax], cl
jmp 0x100437c2
mov dword [ebp - 4], 1
cmp dword [ebp - 0x60], 0x3ae
jge 0x100435af
push dword [ebp - 0x88]
call fcn.100537c3
pop ecx
jmp 0x100435cb
or dword [ebp - 4], 0xffffffff
jmp 0x100435d5
push 2
lea ecx, [ebp - 0x108]
call fcn.100131db
mov dword [ebp - 4], 3
push 3
lea ecx, [ebp - 0x114]
call fcn.100131db
mov byte [ebp - 4], 4
mov dword [ebp - 0x98], 0x6986d6
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x90]
push eax
push 0
push 0xae2
call fcn.100307a8
add esp, 0x10
lea eax, [ebp - 0x90]
push eax
push 0x1af9
push 0
lea eax, [ebp - 0x114]
push eax
call fcn.1003897c
add esp, 0x10
push 0
call fcn.1004386d
pop ecx
lea eax, [ebp - 0x114]
push eax
push 0x6c4d
push 0x7d9f
push 0x7790
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x108]
push eax
push 0
push 0x445e
push 0x3cbd
push 0x1189
call fcn.10036122
add esp, 0x28
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x114]
call fcn.1001325d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x108]
call fcn.1001325d
mov eax, dword [ebp - 0x68]
mov byte [eax], 1
jmp 0x100437c2
mov byte [ebp - 0x1d], 0
movzx eax, byte [ebp - 0x1d]
test eax, eax
je 0x100437c2
mov dword [ebp - 0x70], 0x70b7
mov dword [ebp - 0xa8], 0x10008bc0
cmp dword [ebp - 0x70], 0x73d2
jle 0x10043769
and dword [ebp - 0x38], 0
jmp 0x100436ec
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0x339
jge 0x10043761
and dword [ebp - 0x40], 0
jmp 0x10043702
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0xffb
jge 0x1004375f
mov eax, dword [ebp - 0x38]
cdq
idiv dword [ebp - 0x40]
mov eax, edx
cdq
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xe0], edx
push dword [ebp - 0xe0]
push dword [ebp - 0xe4]
lea ecx, [ebp - 0x178]
call fcn.1000a74e
pop ecx
pop ecx
mov dword [ebp - 0xa0], eax
mov ecx, dword [ebp - 0xa0]
call fcn.10012ea5
push eax
call fcn.100537c3
pop ecx
lea ecx, [ebp - 0x178]
call fcn.10012e9b
jmp 0x100436fb
jmp 0x100436e5
push 0
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push 0
push 0x9c4
push 0x3a1
push 0x15f7
call dword [sym.imp.USER32.dll_SetScrollPos]
mov dword [ebp - 4], 5
cmp dword [ebp - 0x70], 0x6f47
jge 0x1004379c
push dword [ebp - 0xa8]
call fcn.100537c3
pop ecx
jmp 0x100437b8
or dword [ebp - 4], 0xffffffff
jmp 0x100437c2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret