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

Disassembly:
push 0xffffffffffffffff
push 0x61f11f
mov eax, dword fs:[0]
push eax
sub esp, 0x160
mov eax, dword [0x69e3d4]
xor eax, esp
mov dword [esp + 0x158], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x69e3d4]
xor eax, esp
push eax
lea eax, [esp + 0x174]
mov dword fs:[0], eax
mov eax, dword [esp + 0x184]
mov dword [esp + 0x2c], ecx
mov ebp, 1
xor esi, esi
push 0x641d28
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], eax
mov dword [esp + 0x38], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x4c], esi
call fcn.00404eb0
mov dword [esp + 0x17c], esi
cmp dword [0x6b08e8], ebp
jle 0x41a4b3
mov ecx, dword [0x6b08ec]
mov edx, dword [ecx + ebp*4]
mov al, byte [edx]
cmp al, 0x2f
mov ebx, 1
je 0x41a15c
cmp al, 0x2d
je 0x41a15c
mov eax, dword [ecx + ebp*4 - 4]
add eax, ebx
push eax
lea ecx, [esp + 0x1c]
call fcn.00404eb0
lea edi, [esp + 0x18]
mov byte [esp + 0x17c], bl
call fcn.0041c7e0
mov ecx, dword [esp + 0x18]
push str.save
push ecx
call fcn.005a58c6
xor edi, edi
add esp, 8
cmp eax, edi
sete al
test al, al
jne 0x41a132
mov edx, dword [esp + 0x18]
push 0x646230
push edx
call fcn.005a58c6
add esp, 8
cmp eax, edi
sete al
test al, al
jne 0x41a132
cmp dword [esp + 0x24], edi
je 0x41a121
mov eax, dword [0x6b08ec]
mov ebx, dword [eax + ebp*4]
call fcn.00419840
test eax, eax
jne 0x41a511
mov byte [esp + 0x17c], 0
mov eax, dword [esp + 0x18]
jmp 0x41a481
mov byte [esp + 0x17c], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a15e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x41a15e
xor edi, edi
mov ecx, dword [0x6b08ec]
mov edx, dword [ecx + ebp*4]
add edx, ebx
push edx
lea ecx, [esp + 0x18]
call fcn.00404eb0
mov byte [esp + 0x17c], 2
mov edx, dword [esp + 0x14]
mov esi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, ebx
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
jge 0x41a19e
push esi
lea ecx, [esp + 0x18]
call fcn.00401370
mov edx, dword [esp + 0x14]
lea eax, [esi + 1]
push eax
push edx
call fcn.005a8a68
push eax
call fcn.0041c9d0
add esp, 0xc
cmp esi, edi
jl 0x41a56b
mov eax, dword [esp + 0x14]
cmp esi, dword [eax - 8]
jg 0x41a56b
mov dword [eax - 0xc], esi
mov ecx, dword [esp + 0x14]
mov byte [esi + ecx], 0
mov edx, dword [esp + 0x14]
push str.hidden
push edx
call fcn.005a58c6
add esp, 8
cmp eax, edi
sete al
test al, al
je 0x41a204
mov eax, dword [esp + 0x20]
mov dword [eax + 0x4c], edi
mov dword [eax + 0x560], ebx
mov dword [0x6bcc44], edi
jmp 0x41a475
mov ecx, dword [esp + 0x14]
cmp dword [ecx - 0xc], edi
jl 0x41a239
push str.defprn:
push ecx
call fcn.005a75c4
mov ecx, dword [esp + 0x1c]
add esp, 8
cmp eax, edi
je 0x41a239
sub eax, ecx
jne 0x41a239
mov eax, dword [esp + 0x20]
add ecx, 7
push eax
call fcn.004195e0
jmp 0x41a475
push str.ddesrv
push ecx
call fcn.005a58c6
add esp, 8
cmp eax, edi
sete al
test al, al
jne 0x41a471
mov ecx, dword [esp + 0x14]
push str.onewin
push ecx
call fcn.005a58c6
add esp, 8
cmp eax, edi
sete al
test al, al
jne 0x41a471
mov edx, dword [esp + 0x14]
push str.newwin
push edx
call fcn.005a58c6
add esp, 8
cmp eax, edi
sete al
test al, al
je 0x41a297
mov dword [esp + 0x24], edi
jmp 0x41a475
cmp dword [esp + 0x24], edi
je 0x41a2ed
mov ecx, dword [esp + 0x14]
cmp dword [ecx - 0xc], edi
jl 0x41a37b
push str.open:
push ecx
call fcn.005a75c4
add esp, 8
cmp eax, edi
je 0x41a2ed
mov ecx, dword [esp + 0x14]
sub eax, ecx
jne 0x41a2f1
lea ebx, [ecx + 5]
call fcn.00419840
test eax, eax
je 0x41a475
lea ecx, [esp + 0x14]
call fcn.00401280
lea ecx, [esp + 0x28]
call fcn.00401280
xor eax, eax
jmp 0x41b4d5
mov ecx, dword [esp + 0x14]
cmp dword [ecx - 0xc], edi
jl 0x41a37b
push str.save
push ecx
call fcn.005a75c4
add esp, 8
cmp eax, edi
je 0x41a37b
sub eax, dword [esp + 0x14]
jne 0x41a37b
mov eax, dword [esp + 0x20]
mov dword [eax + 0x4c], edi
mov dword [eax + 0x560], ebx
mov eax, dword [0x6b08ec]
mov eax, dword [eax + ebp*4 + 4]
cmp eax, edi
je 0x41a475
mov cl, byte [eax]
cmp cl, 0x2d
je 0x41a475
cmp cl, 0x2f
je 0x41a475
push eax
lea ecx, [esp + 0x2c]
call fcn.004015c0
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x28]
push ecx
push edx
call fcn.00419980
cmp dword [esp + 0x48], edi
je 0x41a475
lea eax, [esp + 0x28]
push eax
mov ecx, 0x6bd0e0
call fcn.004074e0
jmp 0x41a475
mov ecx, str.quicksave
lea esi, [esp + 0x14]
call fcn.00413cf0
test eax, eax
jne 0x41a453
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x64]
mov dword [0x6bc560], ebx
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, ebx
test cl, cl
jne 0x41a3a1
lea ecx, [esp + 0x64]
push 0x646e58
push ecx
call fcn.005a843c
push 0x646e58
push edi
call fcn.005a843c
add esp, 0x10
cmp eax, edi
je 0x41a3db
push eax
call fcn.005a6475
add esp, 4
mov dword [0x6bc564], eax
push 0x646e58
push edi
call fcn.005a843c
add esp, 8
cmp eax, edi
je 0x41a413
push eax
call fcn.005a6475
add esp, 4
cmp eax, edi
mov dword [0x6a9a24], eax
jne 0x41a40d
mov dword [0x6a9a1c], edi
mov dword [0x6a9a24], ebx
jmp 0x41a413
mov dword [0x6a9a1c], ebx
push 0x646e58
push edi
call fcn.005a843c
add esp, 8
cmp eax, edi
je 0x41a433
push eax
call fcn.005a6475
add esp, 4
mov dword [0x6a9a28], eax
mov edx, dword [esp + 0x20]
cmp dword [edx + 0x560], edi
mov dword [esp + 0x48], ebx
je 0x41a475
cmp dword [0x6a9a28], edi
je 0x41a475
mov dword [0x6bc568], ebx
jmp 0x41a475
mov ecx, str.fixed_title
lea esi, [esp + 0x14]
call fcn.00413cf0
test eax, eax
jne 0x41a475
mov eax, dword [esp + 0x20]
mov dword [eax + 0x564], ebx
jmp 0x41a475
mov dword [esp + 0x24], ebx
mov byte [esp + 0x17c], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a49d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebp, 1
cmp ebp, dword [0x6b08e8]
jl 0x41a08e
cmp dword [esp + 0x24], 0
je 0x41a4c1
mov ebx, 0x641d28
call fcn.00419840
test eax, eax
jne 0x41a539
mov ebp, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
mov esi, dword [ebp + 0x20]
mov edi, dword [0x6bc854]
push ecx
mov ecx, ebp
mov dword [esp + 0x18], esi
mov dword [0x6bc854], 1
call fcn.0057ab88
test eax, eax
jne 0x41a575
mov dword [esp + 0x17c], 0xffffffff
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x41a558
mov byte [esp + 0x17c], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a539
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x17c], 0xffffffff
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a564
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x41b4d5
push 0x80070057
call fcn.004012f0
mov dword [0x6bc854], edi
call fcn.0056d592
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41a595
push 0x80004005
call fcn.004012f0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x44], eax
mov byte [esp + 0x17c], 3
call fcn.0056d592
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41a5c7
push 0x80004005
call fcn.004012f0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x3c], eax
lea ecx, [esp + 0x40]
push ecx
mov edi, 0xaf
mov byte [esp + 0x180], 4
call fcn.004e09d0
add esp, 4
lea edx, [esp + 0x4c]
push edx
mov edi, 0x3e86
mov byte [esp + 0x180], 5
call fcn.004e09d0
add esp, 4
lea eax, [esp + 0x3c]
lea edi, [esi + 0x1ecc]
push eax
mov ecx, edi
mov byte [esp + 0x180], 6
call fcn.005693ed
lea ecx, [esp + 0x44]
lea ebx, [esi + 0x17f8]
push ecx
mov ecx, ebx
call fcn.005693ed
mov ecx, dword [esp + 0x40]
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x41a650
push 0x80004005
call fcn.004012f0
mov edx, dword [esp + 0x44]
push ecx
push edx
call fcn.005a58c6
add esp, 8
test eax, eax
setne al
test al, al
jne 0x41a697
mov eax, dword [esp + 0x4c]
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41a680
push 0x80004005
call fcn.004012f0
push eax
mov eax, dword [esp + 0x40]
push eax
call fcn.005a58c6
add esp, 8
test eax, eax
setne al
test al, al
je 0x41a6bb
mov ecx, dword [esp + 0x4c]
push ecx
mov ecx, edi
call fcn.0056cb90
mov edx, dword [esp + 0x40]
push edx
mov ecx, ebx
call fcn.0056cb90
mov eax, dword [edi]
mov edx, dword [eax + 0x1c4]
mov ecx, edi
call edx
mov ebx, 1
cmp dword [0x6b08e8], ebx
mov dword [esp + 0x24], ebx
jle 0x41b39e
jmp 0x41a6d6
mov esi, dword [esp + 0x14]
call fcn.0056d592
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x41a58b
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x17c], 7
mov ecx, dword [0x6b08ec]
mov edx, dword [ecx + ebx*4]
mov al, byte [edx]
cmp al, 0x2f
je 0x41a7e3
cmp al, 0x2d
je 0x41a7e3
mov ecx, dword [ecx + ebx*4 - 4]
add ecx, 1
jne 0x41a72a
xor eax, eax
jmp 0x41a73b
mov eax, ecx
lea edi, [eax + 1]
nop
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x41a730
sub eax, edi
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.004014d0
mov ebp, dword [esp + 0x18]
mov edi, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov ecx, 1
sub ecx, dword [ebp - 4]
sub eax, edi
or eax, ecx
jge 0x41a76c
push edi
lea ecx, [esp + 0x1c]
call fcn.00401370
mov ebp, dword [esp + 0x18]
lea eax, [edi + 1]
push eax
push ebp
call fcn.005a8a68
push eax
call fcn.0041c9d0
add esp, 0xc
test edi, edi
jl 0x41a56b
cmp edi, dword [ebp - 8]
jg 0x41a56b
mov dword [ebp - 0xc], edi
mov byte [edi + ebp], 0
cmp dword [ebp - 0xc], 0
jl 0x41a7cf
push str.save
push ebp
call fcn.005a75c4
add esp, 8
test eax, eax
je 0x41a7b3
sub eax, ebp
je 0x41a7dd
cmp dword [ebp - 0xc], 0
jl 0x41a7cf
push 0x646230
push ebp
call fcn.005a75c4
add esp, 8
test eax, eax
je 0x41a7cf
sub eax, ebp
je 0x41a7dd
mov ecx, dword [0x6b08ec]
mov ebx, dword [ecx + ebx*4]
jmp 0x41ac36
mov ecx, dword [0x6b08ec]
mov ecx, dword [ecx + ebx*4]
add ecx, 1
jne 0x41a7ef
xor eax, eax
jmp 0x41a7ff
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x41a7f4
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.004014d0
mov ebp, dword [esp + 0x18]
mov esi, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov ecx, 1
sub ecx, dword [ebp - 4]
sub eax, esi
or eax, ecx
jge 0x41a830
push esi
lea ecx, [esp + 0x1c]
call fcn.00401370
mov ebp, dword [esp + 0x18]
lea eax, [esi + 1]
push eax
push ebp
call fcn.005a8a68
push eax
call fcn.0041c9d0
xor edi, edi
add esp, 0xc
cmp esi, edi
jl 0x41a56b
cmp esi, dword [ebp - 8]
jg 0x41a56b
mov dword [ebp - 0xc], esi
mov byte [esi + ebp], 0
cmp dword [ebp - 0xc], edi
jl 0x41abeb
push 0x646e68
push ebp
call fcn.005a75c4
add esp, 8
cmp eax, edi
je 0x41a880
sub eax, ebp
je 0x41b30e
cmp dword [ebp - 0xc], edi
jl 0x41abeb
push 0x646e6c
push ebp
call fcn.005a75c4
add esp, 8
cmp eax, edi
je 0x41a8a3
sub eax, ebp
je 0x41b30e
cmp dword [ebp - 0xc], edi
jl 0x41abeb
push str.snap
push ebp
call fcn.005a75c4
add esp, 8
cmp eax, edi
je 0x41aba7
sub eax, ebp
jne 0x41aba7
mov eax, dword [0x6bc850]
cmp eax, edi
mov dword [esp + 0x2c], edi
je 0x41a8de
push eax
call dword [sym.imp.user32.dll_SetForegroundWindow]
cmp dword [ebp - 0xc], edi
jl 0x41a931
push str.snapi
push ebp
call fcn.005a75c4
add esp, 8
cmp eax, edi
je 0x41a931
sub eax, ebp
jne 0x41a931
push 5
lea ecx, [esp + 0x5c]
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0x34], 1
call fcn.00410380
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x180], 8
call fcn.004074e0
mov byte [esp + 0x17c], 7
mov eax, dword [esp + 0x58]
jmp 0x41a95f
push 4
lea ecx, [esp + 0x58]
push ecx
lea ecx, [esp + 0x20]
call fcn.00410380
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x180], 9
call fcn.004074e0
mov byte [esp + 0x17c], 7
mov eax, dword [esp + 0x54]
add eax, 0xfffffff0
or ecx, 0xffffffff
lea edx, [eax + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41a97b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebp, dword [esp + 0x18]
push 0x641d28
push ebp
call fcn.005a58c6
add esp, 8
cmp eax, edi
sete al
test al, al
je 0x41a9a6
mov esi, dword [esp + 0x14]
mov ecx, esi
call fcn.00427a10
jmp 0x41ab22
cmp dword [ebp - 0xc], edi
jl 0x41aa5a
push str.:window
push ebp
call fcn.005a75c4
add esp, 8
cmp eax, edi
je 0x41a9d5
sub eax, ebp
jne 0x41a9d5
mov esi, dword [esp + 0x14]
mov ecx, esi
call fcn.00427be0
jmp 0x41ab22
cmp dword [ebp - 0xc], edi
jl 0x41aa5a
push str.:region
push ebp
call fcn.005a75c4
add esp, 8
cmp eax, edi
je 0x41aa04
sub eax, ebp
jne 0x41aa04
mov esi, dword [esp + 0x14]
mov ecx, esi
call fcn.00427b90
jmp 0x41ab22
cmp dword [ebp - 0xc], edi
jl 0x41aa5a
push str.:mreg
push ebp
call fcn.005a75c4
add esp, 8
cmp eax, edi
je 0x41aa2f
sub eax, ebp
jne 0x41aa2f
mov esi, dword [esp + 0x14]
mov ecx, esi
call fcn.00427c50
jmp 0x41ab22
cmp dword [ebp - 0xc], edi
jl 0x41aa5a
push str.:awin
push ebp
call fcn.005a75c4
add esp, 8
cmp eax, edi
je 0x41aa5a
sub eax, ebp
jne 0x41aa5a
mov esi, dword [esp + 0x14]
mov ecx, esi
call fcn.00427b30
jmp 0x41ab22
mov ecx, str.:acli
lea esi, [esp + 0x18]
call fcn.00413cf0
test eax, eax
jne 0x41aa7c
mov esi, dword [esp + 0x14]
mov ecx, esi
call fcn.00427b60
jmp 0x41ab22
mov ecx, 0x646df4
lea esi, [esp + 0x18]
call fcn.00413cf0
test eax, eax
jne 0x41ab1e
mov ecx, 0x646eb0
call fcn.00413cf0
lea ecx, [eax + ebp + 2]
push ecx
call fcn.005a6475
add esp, 4
mov ecx, 0x646eb4
mov edi, eax
call fcn.00413cf0
lea edx, [eax + ebp + 2]
push edx
call fcn.005a6475
add esp, 4
mov ecx, 0x646eb8
mov ebx, eax
call fcn.00413cf0
lea eax, [eax + ebp + 2]
push eax
call fcn.005a6475
add esp, 4
mov ecx, 0x646ebc
mov dword [esp + 0x1c], eax
call fcn.00413cf0
lea ecx, [eax + ebp + 2]
push ecx
call fcn.005a6475
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x18]
add esp, 4
push eax
push edx
push ebx
push edi
lea ecx, [esi + 0xcac]
call fcn.004522a0
test eax, eax
je 0x41ab22
push 0
push 0
push eax
push esi
call fcn.0042a320
jmp 0x41ab22
mov esi, dword [esp + 0x14]
mov eax, esi
call fcn.00426b70
test eax, eax
je 0x41b35e
cmp dword [esp + 0x2c], 0
je 0x41ab3f
mov ecx, esi
call fcn.0042bfb0
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0xdac]
mov esi, dword [esp + 0x20]
add esi, 0xa4
push ecx
mov ebx, str.last_h
mov edi, str.Grabber
call fcn.004d63c0
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0xda8]
push eax
mov ebx, str.last_w
call fcn.004d63c0
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0xda0]
push edx
mov ebx, str.last_sx
call fcn.004d63c0
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0xda4]
push ecx
mov ebx, str.last_sy
call fcn.004d63c0
jmp 0x41b35e
cmp dword [ebp - 0xc], edi
jl 0x41abeb
push str.exit
push ebp
call fcn.005a75c4
add esp, 8
cmp eax, edi
je 0x41abcb
sub eax, ebp
jne 0x41abcb
mov dword [esp + 0x34], edi
jmp 0x41b35e
cmp dword [ebp - 0xc], edi
jl 0x41abeb
push str.open:
push ebp
call fcn.005a75c4
add esp, 8
cmp eax, edi
je 0x41abeb
sub eax, ebp
jne 0x41abeb
lea ebx, [ebp + 5]
jmp 0x41ac32
push 0x646230
push ebp
call fcn.005a58c6
mov ebx, dword [esp + 0x2c]
add esp, 8
cmp eax, edi
sete al
test al, al
je 0x41ac7c
mov ecx, dword [0x6b08e8]
add ecx, 0xffffffff
cmp ebx, ecx
jge 0x41ac7c
mov eax, dword [0x6b08ec]
mov edx, dword [eax + ebx*4 + 4]
mov cl, byte [edx]
cmp cl, 0x2f
je 0x41ac7c
cmp cl, 0x2d
je 0x41ac7c
add ebx, 1
mov dword [esp + 0x24], ebx
mov ebx, dword [eax + ebx*4]
mov esi, dword [esp + 0x14]
mov edi, 2
call fcn.00426bc0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x74]
push ebx
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x140]
mov ecx, esi
call eax
mov esi, eax
test esi, esi
je 0x41b35e
mov edx, dword [esi]
mov eax, dword [edx + 0x13c]
mov ecx, esi
call eax
mov eax, dword [eax + 0x20]
push eax
mov ecx, esi
call fcn.0056cb90
jmp 0x41b35e
cmp dword [ebp - 0xc], 0
jl 0x41afb7
push str.colsubst
push ebp
call fcn.005a75c4
add esp, 8
test eax, eax
je 0x41ace8
sub eax, ebp
jne 0x41ace8
cmp dword [0x6a9a14], eax
jge 0x41acb0
call fcn.0040ad70
cmp dword [0x6a9a14], 0
jle 0x41b35e
cmp dword [0x6bc694], 0
je 0x41b35e
mov esi, dword [esp + 0x14]
xor edi, edi
call fcn.00426bc0
mov ecx, eax
call fcn.0041e050
test eax, eax
je 0x41b35e
push eax
call fcn.004eab20
jmp 0x41b35e
cmp dword [ebp - 0xc], 0
jl 0x41afb7
push str.scale:
push ebp
call fcn.005a75c4
add esp, 8
test eax, eax
je 0x41ae44
sub eax, ebp
jne 0x41ae44
mov esi, dword [esp + 0x14]
xor edi, edi
call fcn.00426bc0
test eax, eax
je 0x41ae44
call fcn.00426bc0
mov ecx, eax
call fcn.0041e050
mov ecx, str.scale:w
lea esi, [esp + 0x18]
mov edi, eax
call fcn.00413cf0
test eax, eax
jne 0x41ad5f
mov ecx, dword [edi + 0x24]
lea edx, [ebp + 7]
push edx
mov dword [esp + 0x20], ecx
call fcn.005a6b70
fmul qword [0x65d238]
fidiv dword [esp + 0x20]
jmp 0x41ad96
mov ecx, str.scale:h
lea esi, [esp + 0x18]
call fcn.00413cf0
test eax, eax
jne 0x41ad8d
mov eax, dword [edi + 0x28]
lea ecx, [ebp + 7]
push ecx
mov dword [esp + 0x20], eax
call fcn.005a6b70
fmul qword [0x65d238]
fidiv dword [esp + 0x20]
jmp 0x41ad96
lea edx, [ebp + 6]
push edx
call fcn.005a6b70
fst qword [esp + 0x30]
add esp, 4
fld qword [0x65d488]
fcomp st(1)
fnstsw ax
test ah, 0x41
jp 0x41b35c
fcomp qword [0x65d4f0]
fnstsw ax
test ah, 0x41
jp 0x41b35e
mov eax, dword [edi + 0x448]
push eax
lea eax, [edi + 0x20]
push eax
lea ecx, [esp + 0x6c]
push ecx
call sub.ltkrn10n.dll_L_ConvertFromDIB
mov edx, dword [edi + 0x24]
mov dword [esp + 0x1c], edx
fild dword [esp + 0x1c]
fld qword [esp + 0x2c]
fmul st(1), st(0)
fld qword [0x65d238]
fdiv st(2), st(0)
fld qword [0x65d220]
fadd st(3), st(0)
fxch st(3)
call fcn.005ab4c0
mov esi, eax
mov eax, dword [edi + 0x28]
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
fmulp st(2)
fdivp st(1)
faddp st(1)
call fcn.005ab4c0
push 2
push eax
push esi
lea ecx, [esp + 0x70]
push ecx
call sub.ltkrn10n.dll_L_SizeBitmap
lea edx, [esp + 0x64]
push edx
call sub.ltkrn10n.dll_L_ChangeToDIB
mov esi, eax
push edi
mov edi, esi
call fcn.004e6860
push esi
call dword [sym.imp.kernel32.dll_GlobalFree]
jmp 0x41b35e
cmp dword [ebp - 0xc], 0
jl 0x41afb7
push str.crop:
push ebp
call fcn.005a75c4
add esp, 8
test eax, eax
je 0x41af37
sub eax, ebp
jne 0x41af37
mov esi, dword [esp + 0x14]
xor edi, edi
call fcn.00426bc0
test eax, eax
je 0x41af37
call fcn.00426bc0
mov ecx, eax
call fcn.0041e050
mov ecx, 0x646eb0
lea esi, [esp + 0x18]
mov ebx, eax
call fcn.00413cf0
lea eax, [eax + ebp + 2]
push eax
call fcn.005a6475
add esp, 4
mov ecx, 0x646eb4
mov dword [esp + 0x1c], eax
call fcn.00413cf0
lea ecx, [eax + ebp + 2]
push ecx
call fcn.005a6475
add esp, 4
mov ecx, 0x646eb8
mov dword [esp + 0x2c], eax
call fcn.00413cf0
lea edx, [eax + ebp + 2]
push edx
call fcn.005a6475
add esp, 4
mov ecx, 0x646ebc
mov edi, eax
call fcn.00413cf0
lea eax, [eax + ebp + 2]
push eax
call fcn.005a6475
add esp, 4
test edi, edi
je 0x41b35e
test eax, eax
je 0x41b35e
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x2c]
push 0
mov dword [esp + 0x60], ecx
movzx ecx, word [ebx + 0x2e]
push 0x2ffffff
push ecx
push 1
push eax
mov dword [esp + 0x74], edx
push edi
lea ecx, [esp + 0x74]
mov edx, ebx
call fcn.004e72a0
jmp 0x41b35e
cmp dword [ebp - 0xc], 0
jl 0x41afb7
push str.stamp
push ebp
call fcn.005a75c4
add esp, 8
test eax, eax
je 0x41afb7
sub eax, ebp
jne 0x41afb7
mov esi, dword [esp + 0x14]
xor edi, edi
call fcn.00426bc0
test eax, eax
je 0x41afb7
mov edx, dword [0x6b08e8]
add edx, 0xffffffff
cmp ebx, edx
jge 0x41afb7
mov eax, dword [0x6b08ec]
mov ecx, dword [eax + ebx*4 + 4]
mov al, byte [ecx]
cmp al, 0x2f
je 0x41afb7
cmp al, 0x2d
je 0x41afb7
call fcn.00426bc0
mov ecx, eax
call fcn.0041e050
test eax, eax
je 0x41b35e
mov edx, dword [0x6b08ec]
add ebx, 1
mov dword [esp + 0x24], ebx
mov ebx, dword [edx + ebx*4]
push ebx
call fcn.00426bc0
push eax
call fcn.004201d0
jmp 0x41b35e
xor ebx, ebx
cmp dword [ebp - 0xc], ebx
jl 0x41afff
push str.invertbw
push ebp
call fcn.005a75c4
add esp, 8
cmp eax, ebx
je 0x41afff
sub eax, ebp
jne 0x41afff
mov esi, dword [esp + 0x14]
xor edi, edi
call fcn.00426bc0
mov ecx, eax
call fcn.0041e050
test eax, eax
je 0x41b35e
push 1
push edi
push eax
call fcn.0043d060
add esp, 0xc
jmp 0x41b35e
mov ecx, str.convertbw
lea esi, [esp + 0x18]
call fcn.00413cf0
test eax, eax
jne 0x41b03c
mov esi, dword [esp + 0x14]
xor edi, edi
call fcn.00426bc0
mov ecx, eax
call fcn.0041e050
test eax, eax
je 0x41b35e
push edi
push 1
push eax
call fcn.0043d060
add esp, 0xc
jmp 0x41b35e
mov ecx, str.print
lea esi, [esp + 0x18]
call fcn.00413cf0
test eax, eax
jne 0x41b201
fld qword [0x65d238]
mov ecx, 0x646f44
fstp qword [0x6a6f10]
mov dword [0x6a6ec8], ebx
mov dword [0x6a6f04], ebx
mov dword [0x6a6ecc], ebx
mov dword [0x6a6ed0], ebx
mov dword [0x6a6f08], ebx
lea edi, [eax + 1]
call fcn.00413cf0
test eax, eax
jle 0x41b092
mov edi, 2
mov ecx, str.:inv
lea esi, [esp + 0x18]
call fcn.00413cf0
test eax, eax
jle 0x41b0ae
mov dword [0x6a6ec8], 1
mov ecx, 0x646f50
lea esi, [esp + 0x18]
call fcn.00413cf0
test eax, eax
jle 0x41b0ca
mov dword [0x6a6ecc], 1
mov ecx, 0x646f54
lea esi, [esp + 0x18]
call fcn.00413cf0
test eax, eax
jle 0x41b0e6
mov dword [0x6a6ed0], 1
mov ecx, 0x646f58
lea esi, [esp + 0x18]
call fcn.00413cf0
test eax, eax
jle 0x41b104
mov dword [0x6a6f08], 1
jmp 0x41b128
mov ecx, 0x646f5c
lea esi, [esp + 0x18]
call fcn.00413cf0
test eax, eax
jle 0x41b128
lea eax, [ebp + 7]
push eax
call fcn.005a6b70
fstp qword [0x6a6f10]
add esp, 4
push ebx
push 0x400
push ebx
lea ecx, [esp + 0x70]
call fcn.0057a28e
mov esi, dword [esp + 0x20]
mov byte [esp + 0x17c], 0xa
mov eax, dword [esi + 0x70]
cmp eax, ebx
je 0x41b155
mov ecx, dword [esp + 0xd8]
mov dword [ecx + 8], eax
mov eax, dword [esi + 0x74]
cmp eax, ebx
je 0x41b166
mov edx, dword [esp + 0xd8]
mov dword [edx + 0xc], eax
lea ecx, [esp + 0x64]
call fcn.0057a5ca
lea ecx, [esp + 0x64]
call fcn.0057a149
cmp eax, ebx
je 0x41b1a9
mov word [eax + 0x2c], di
mov eax, dword [esp + 0xd8]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.kernel32.dll_GlobalUnlock]
mov eax, dword [esp + 0xd8]
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
push 1
push edx
push eax
mov ecx, esi
call fcn.0057a6a0
mov ecx, 0x646f60
lea esi, [esp + 0x18]
call fcn.00413cf0
test eax, eax
mov esi, dword [esp + 0x14]
jle 0x41b1cd
call fcn.00426c10
mov ecx, eax
call fcn.004243b0
jmp 0x41b1e7
call fcn.00426c10
mov ecx, dword [eax + 0x20]
push ebx
push 0xe108
push 0x111
push ecx
call dword [sym.imp.user32.dll_SendMessageA]
lea ecx, [esp + 0x64]
mov dword [esp + 0x34], ebx
mov byte [esp + 0x17c], 7
call fcn.0056bdba
jmp 0x41b35e
mov ecx, str.phdir:
call fcn.00413cf0
test eax, eax
jne 0x41b245
push 6
lea edx, [esp + 0x54]
push edx
lea ecx, [esp + 0x20]
call fcn.00410380
mov ecx, dword [esp + 0x20]
push eax
add ecx, 0x558
mov byte [esp + 0x180], 0xb
call fcn.004074c0
lea ecx, [esp + 0x50]
call fcn.00401280
jmp 0x41b35e
mov ecx, str.phed:
lea esi, [esp + 0x18]
call fcn.00413cf0
test eax, eax
jne 0x41b28b
push 5
lea eax, [esp + 0x3c]
push eax
mov ecx, esi
call fcn.00410380
mov ecx, dword [esp + 0x20]
push eax
add ecx, 0x55c
mov byte [esp + 0x180], 0xc
call fcn.004074c0
lea ecx, [esp + 0x38]
call fcn.00401280
jmp 0x41b35e
mov ecx, str.save
lea esi, [esp + 0x18]
call fcn.00413cf0
test eax, eax
jne 0x41b2db
cmp dword [esp + 0x48], ebx
jne 0x41b2db
mov esi, dword [esp + 0x14]
xor edi, edi
call fcn.00426bc0
test eax, eax
je 0x41b2db
mov ecx, dword [esp + 0x28]
cmp dword [ecx - 0xc], edi
je 0x41b2ce
call fcn.00426bc0
mov ecx, dword [esp + 0x28]
mov edx, dword [eax]
mov edx, dword [edx + 0x78]
push ecx
mov ecx, eax
call edx
mov dword [esp + 0x34], 0
jmp 0x41b35e
mov ecx, str.dumpopts
lea esi, [esp + 0x18]
call fcn.00413cf0
test eax, eax
jne 0x41b35e
mov esi, dword [esp + 0x20]
mov dword [esi + 0x23c], 1
call fcn.004173e0
xor eax, eax
mov dword [esi + 0x294], eax
mov dword [esp + 0x34], eax
jmp 0x41b35e
lea eax, [ebp + 2]
push eax
call fcn.005a6475
add esp, 4
cmp eax, 0x640
mov dword [esp + 0x2c], eax
ja 0x41b35e
mov ecx, dword [esp + 0x14]
mov esi, eax
push esi
push ecx
call fcn.0042e610
push esi
mov esi, dword [esp + 0x24]
add esi, 0xa4
mov ebx, str.Zoom
mov edi, str.Window
call fcn.004d63c0
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x14]
mov dword [eax + 0xe2c], edx
jmp 0x41b35e
fstp st(0)
add ebp, 0xfffffff0
or edx, 0xffffffff
lea ecx, [ebp + 0xc]
mov byte [esp + 0x17c], 6
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b383
mov ecx, dword [ebp]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebp
call edx
mov ebx, dword [esp + 0x24]
add ebx, 1
cmp ebx, dword [0x6b08e8]
mov dword [esp + 0x24], ebx
jl 0x41a6d2
mov ebp, dword [esp + 0x20]
cmp dword [ebp + 0x568], 0
je 0x41b404
mov esi, ebp
mov dword [ebp + 0x23c], 0
call fcn.004173e0
push 0
call fcn.005a671d
add esp, 4
push eax
lea esi, [ebp + 0xa4]
mov ebx, str.IniReadTime
mov edi, str.Window
call fcn.004d63c0
cmp dword [0x6b08e8], 2
jl 0x41b3fd
mov eax, dword [0x6b08ec]
mov esi, dword [eax + 4]
mov edi, str._readopts
mov ecx, 0xa
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x41b3fd
xor esi, esi
jmp 0x41b408
mov esi, 1
jmp 0x41b408
mov esi, dword [esp + 0x34]
mov byte [esp + 0x17c], 5
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b430
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x17c], 4
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b458
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x17c], 3
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b480
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x17c], 0
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b4a8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x17c], 0xffffffff
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b4d3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x174]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x158]
xor ecx, esp
call fcn.005a58d9
add esp, 0x16c
ret 4