Function at 0x41f450
Capabilities:
Access peb ldr_data
Check os version
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44970a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xe00
push ebx
push esi
push edi
call fcn.0043cb83
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
xor ebx, ebx
lea ecx, [esp + 0x7c]
mov dword [esp + 0xe14], ebx
call fcn.0043be4f
mov dword [esp + 0x204], 0xf
mov dword [esp + 0x200], ebx
mov byte [esp + 0x1f0], bl
lea ecx, [esp + 0x38]
mov byte [esp + 0xe14], 2
call fcn.0040bea0
mov dword [esp + 0x3c], eax
mov byte [eax + 0x45], 1
mov eax, dword [esp + 0x3c]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [eax], eax
mov eax, dword [esp + 0x3c]
mov dword [eax + 8], eax
mov dword [esp + 0x40], ebx
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 4]
push ecx
lea ecx, [esp + 0x3c]
mov byte [esp + 0xe18], 3
call fcn.0040fe70
mov eax, dword [esp + 0x3c]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x40], ebx
mov dword [eax], eax
mov eax, dword [esp + 0x3c]
mov dword [eax + 8], eax
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
lea ecx, [esp + 0x54]
mov byte [esp + 0xe14], 4
call fcn.0040bea0
mov dword [esp + 0x58], eax
mov byte [eax + 0x45], 1
mov eax, dword [esp + 0x58]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x58]
mov dword [eax], eax
mov eax, dword [esp + 0x58]
mov dword [eax + 8], eax
mov dword [esp + 0x5c], ebx
xor eax, eax
mov ecx, 0x41
lea edi, [esp + 0x208]
mov byte [esp + 0xe14], 5
rep stosd dword es:[edi], eax
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], 1
call fcn.00404100
mov dword [esp + 0x20], eax
call fcn.0044608e
mov esi, dword [eax + 4]
mov dword [esp + 0x50], esi
call fcn.0043cb83
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x48], eax
push 0x41
mov byte [esp + 0xe18], 6
call fcn.0043cb78
cmp eax, ebx
je 0x41f5c2
push 0x41
push eax
lea ecx, [esp + 0x50]
call fcn.00401860
cmp dword [0x466c80], ebx
je 0x41f5e7
mov ecx, dword [ebp + 8]
push 0x3f2
call fcn.00441335
mov ecx, dword [esp + 0x48]
push ecx
mov ecx, eax
mov dword [esp + 0x28], eax
call fcn.0044140e
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x84]
call fcn.0043bec1
add esi, 0xa4
push esi
lea ecx, [esp + 0x14]
call fcn.00401e30
xor edi, edi
jmp 0x41f610
cmp edi, ebx
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 0xc]
jl 0x41f6a8
cmp edi, eax
jge 0x41f6a8
lea eax, [edi + ecx]
push 9
push eax
call fcn.0042f4d1
add esp, 8
cmp eax, ebx
je 0x41f6a8
sub eax, dword [esp + 0x10]
mov esi, eax
js 0x41f6a8
cmp esi, edi
jle 0x41f6a0
mov edx, esi
sub edx, edi
push edx
push edi
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x1c]
call fcn.00401730
mov edx, dword [esp + 0x84]
lea ecx, [esp + 0x14]
push ecx
push edx
lea ecx, [esp + 0x84]
mov byte [esp + 0xe1c], 8
call fcn.0043c0dd
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0xe14], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f6a0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea edi, [esi + 1]
jmp 0x41f610
push edi
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
call fcn.00401cf0
mov edx, dword [esp + 0x84]
lea ecx, [esp + 0x14]
push ecx
push edx
lea ecx, [esp + 0x84]
mov byte [esp + 0xe1c], 7
call fcn.0043c0dd
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0xe14], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f6fe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x50]
mov ecx, dword [eax + 0xa8]
mov esi, dword [esp + 0x10]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x41f762
mov edx, dword [esi + 0xc]
cmp edx, ebx
lea edi, [esi + 0xc]
jl 0x41f754
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x41f754
push eax
call fcn.004014e0
mov dword [esp + 0x50], eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x41f747
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov eax, dword [esp + 0x4c]
add eax, 0x10
mov dword [esp + 0x10], eax
jmp 0x41f762
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.00401a70
xor edi, edi
cmp edi, ebx
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 0xc]
jl 0x41f7fc
cmp edi, eax
jge 0x41f7fc
lea eax, [edi + ecx]
push 9
push eax
call fcn.0042f4d1
add esp, 8
cmp eax, ebx
je 0x41f7fc
sub eax, dword [esp + 0x10]
mov esi, eax
js 0x41f7fc
cmp esi, edi
jle 0x41f7f4
mov ecx, esi
sub ecx, edi
push ecx
push edi
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x1c]
call fcn.00401730
mov ecx, dword [esp + 0x84]
lea eax, [esp + 0x14]
push eax
push ecx
lea ecx, [esp + 0x84]
mov byte [esp + 0xe1c], 0xa
call fcn.0043c0dd
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0xe14], 6
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41f7f4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea edi, [esi + 1]
jmp 0x41f764
push edi
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
call fcn.00401cf0
mov edx, dword [esp + 0x84]
lea ecx, [esp + 0x14]
push ecx
push edx
lea ecx, [esp + 0x84]
mov byte [esp + 0xe1c], 9
call fcn.0043c0dd
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0xe14], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f852
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x20]
cmp eax, 2
je 0x41f890
cmp eax, 3
je 0x41f890
cmp eax, 5
jne 0x41f86c
mov esi, 2
jmp 0x41f892
call fcn.0040b360
sub eax, ebx
je 0x41f87b
dec eax
je 0x41f889
dec eax
je 0x41f882
mov esi, 3
jmp 0x41f892
mov esi, 5
jmp 0x41f892
mov esi, 4
jmp 0x41f892
xor esi, esi
cmp dword [0x466c80], ebx
mov dword [esp + 0x18], esi
je 0x41f8c0
mov eax, 0x14
cdq
lea ecx, [esi + 1]
idiv ecx
mov edx, dword [ebp + 8]
push ebx
push eax
mov eax, dword [edx + 0x8c]
push 0x404
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp esi, ebx
mov dword [esp + 0x1c], ebx
jl 0x420389
mov esi, 0xf
mov ecx, dword [esp + 0x1c]
push ecx
push 0x44b62a
lea ecx, [esp + 0xaa0]
call fcn.00423890
lea ecx, [esp + 0xa98]
mov byte [esp + 0xe14], 0xb
call fcn.00423860
cmp eax, ebx
mov dword [esp + 0xec], eax
mov dword [esp + 0x14], ebx
jle 0x420333
mov edi, edi
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x10]
push edx
push eax
lea ecx, [esp + 0xaa0]
call fcn.00423a00
mov eax, dword [esp + 0x84]
xor edi, edi
cmp eax, ebx
jle 0x420305
cmp edi, ebx
jl 0x4204cf
cmp edi, eax
jge 0x4204cf
mov ecx, dword [esp + 0x80]
mov eax, dword [ecx + edi*4]
mov edx, dword [esp + 0x10]
push eax
push edx
call fcn.0042de57
add esp, 8
test eax, eax
je 0x41f974
mov eax, dword [esp + 0x84]
inc edi
cmp edi, eax
jl 0x41f937
jmp 0x420305
cmp edi, dword [esp + 0x84]
jge 0x420305
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
push eax
push ecx
lea ecx, [esp + 0x318]
call fcn.00423890
mov edx, dword [esp + 0x10]
push edx
lea eax, [esp + 0x474]
push eax
mov byte [esp + 0xe1c], 0xc
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edi, dword [esp + 0x20]
cmp edi, 5
je 0x41f9c5
cmp edi, 6
je 0x41f9c5
cmp edi, 0xa
jne 0x41fa15
mov ecx, dword [esp + 0x50]
cmp dword [ecx + 0x214], ebx
je 0x41fa07
push str.SPOOLER
call fcn.00405570
push str.SPOOLER
call fcn.00409a00
add esp, 8
xor edi, edi
lea ebx, [ebx]
cmp eax, ebx
jne 0x41fa07
push str.SPOOLER
call fcn.00409a00
add esp, 4
inc edi
cmp edi, 4
jl 0x41f9f0
mov edx, dword [esp + 0x50]
mov edi, dword [esp + 0x20]
mov dword [edx + 0x214], ebx
mov ecx, dword [esp + 0x1c]
push 0x104
lea eax, [esp + 0x67c]
push eax
push ecx
call fcn.00404d90
add esp, 0xc
cmp edi, 2
mov dword [esp + 0xf4], eax
je 0x420155
cmp edi, 3
je 0x420155
cmp edi, 5
je 0x420155
mov edi, dword [esp + 0x2c]
cmp edi, ebx
je 0x41fa9d
mov esi, dword [esp + 0x30]
cmp edi, esi
je 0x41fa8f
add edi, 0x18
cmp dword [edi], 0x10
jb 0x41fa75
mov eax, dword [edi - 0x14]
push eax
call fcn.0043cc88
add esp, 4
mov dword [edi], 0xf
mov dword [edi - 4], ebx
mov byte [edi - 0x14], bl
add edi, 0x1c
lea edx, [edi - 0x18]
cmp edx, esi
jne 0x41fa64
mov edi, dword [esp + 0x2c]
push edi
call fcn.0043cc88
add esp, 4
mov esi, 0xf
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x67c]
push ecx
push ebx
lea edx, [esp + 0x214]
push edx
lea eax, [esp + 0x480]
push eax
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
call fcn.00414230
add esp, 0x14
cmp eax, 1
jne 0x42002d
lea eax, [esp + 0x208]
mov dword [esp + 0xcc], esi
mov dword [esp + 0xc8], ebx
mov byte [esp + 0xb8], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x41faf7
sub eax, edx
push eax
lea ecx, [esp + 0x20c]
push ecx
lea ecx, [esp + 0xbc]
call fcn.00405ff0
lea eax, [esp + 0x470]
mov byte [esp + 0xe14], 0xd
mov dword [esp + 0xe8], esi
mov dword [esp + 0xe4], ebx
mov byte [esp + 0xd4], bl
lea edi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x41fb40
sub eax, edi
push eax
lea edx, [esp + 0x474]
push edx
lea ecx, [esp + 0xd8]
call fcn.00405ff0
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0xd8]
push eax
lea ecx, [esp + 0x148]
mov byte [esp + 0xe20], 0xe
mov dword [esp + 0x160], esi
mov dword [esp + 0x15c], ebx
mov byte [esp + 0x14c], bl
call fcn.00405f00
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0xbc]
push ecx
lea ecx, [esp + 0x164]
mov byte [esp + 0xe20], 0xf
mov dword [esp + 0x17c], esi
mov dword [esp + 0x178], ebx
mov byte [esp + 0x168], bl
call fcn.00405f00
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x144]
push edx
lea ecx, [esp + 0x1b8]
mov byte [esp + 0xe20], 0x10
mov dword [esp + 0x1d0], esi
mov dword [esp + 0x1cc], ebx
mov byte [esp + 0x1bc], bl
call fcn.00405f00
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x160]
push eax
lea ecx, [esp + 0x1d4]
mov byte [esp + 0xe20], 0x11
mov dword [esp + 0x1ec], esi
mov dword [esp + 0x1e8], ebx
mov byte [esp + 0x1d8], bl
call fcn.00405f00
lea ecx, [esp + 0x1ac]
push ecx
lea edx, [esp + 0xfc]
push edx
lea ecx, [esp + 0x40]
mov byte [esp + 0xe1c], 0x12
call fcn.00410ff0
cmp dword [esp + 0x1e0], 0x10
jb 0x41fc69
mov eax, dword [esp + 0x1cc]
push eax
call fcn.0043cc88
add esp, 4
mov eax, dword [esp + 0x1c4]
mov edi, 0x10
cmp eax, edi
mov dword [esp + 0x1e0], esi
mov dword [esp + 0x1dc], ebx
mov byte [esp + 0x1cc], bl
jb 0x41fc9e
mov ecx, dword [esp + 0x1b0]
push ecx
call fcn.0043cc88
add esp, 4
cmp dword [esp + 0x170], edi
mov dword [esp + 0x1c4], esi
mov dword [esp + 0x1c0], ebx
mov byte [esp + 0x1b0], bl
jb 0x41fccc
mov edx, dword [esp + 0x15c]
push edx
call fcn.0043cc88
add esp, 4
cmp dword [esp + 0x154], edi
mov dword [esp + 0x170], esi
mov dword [esp + 0x16c], ebx
mov byte [esp + 0x15c], bl
jb 0x41fcfa
mov eax, dword [esp + 0x140]
push eax
call fcn.0043cc88
add esp, 4
cmp dword [esp + 0xe8], edi
mov dword [esp + 0x154], esi
mov dword [esp + 0x150], ebx
mov byte [esp + 0x140], bl
jb 0x41fd28
mov ecx, dword [esp + 0xd4]
push ecx
call fcn.0043cc88
add esp, 4
cmp dword [esp + 0xcc], edi
mov dword [esp + 0xe8], esi
mov dword [esp + 0xe4], ebx
mov byte [esp + 0xd4], bl
mov byte [esp + 0xe14], 0xc
jb 0x41fd5e
mov edx, dword [esp + 0xb8]
push edx
call fcn.0043cc88
add esp, 4
lea eax, [esp + 0x470]
mov dword [esp + 0xcc], esi
mov dword [esp + 0xc8], ebx
mov byte [esp + 0xb8], bl
mov dword [esp + 0x78], esi
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x41fd90
sub eax, edx
push eax
lea eax, [esp + 0x474]
push eax
lea ecx, [esp + 0x68]
call fcn.00405ff0
lea eax, [esp + 0x208]
mov byte [esp + 0xe14], 0x13
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x41fdc0
sub eax, edx
push eax
lea ecx, [esp + 0x20c]
push ecx
lea ecx, [esp + 0x68]
call fcn.0040c2a0
mov edi, dword [esp + 0x2c]
cmp edi, dword [esp + 0x30]
je 0x420005
lea esp, [esp]
push 0xffffffffffffffff
push ebx
push edi
lea ecx, [esp + 0xa4]
mov dword [esp + 0xbc], esi
mov dword [esp + 0xb8], ebx
mov byte [esp + 0xa8], bl
call fcn.00405f00
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x68]
push edx
lea ecx, [esp + 0x110]
mov byte [esp + 0xe20], 0x14
mov dword [esp + 0x128], esi
mov dword [esp + 0x124], ebx
mov byte [esp + 0x114], bl
call fcn.00405f00
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0xa0]
push eax
lea ecx, [esp + 0x12c]
mov byte [esp + 0xe20], 0x15
mov dword [esp + 0x144], esi
mov dword [esp + 0x140], ebx
mov byte [esp + 0x130], bl
call fcn.00405f00
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x10c]
push ecx
lea ecx, [esp + 0x180]
mov byte [esp + 0xe20], 0x16
mov dword [esp + 0x198], esi
mov dword [esp + 0x194], ebx
mov byte [esp + 0x184], bl
call fcn.00405f00
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x128]
push edx
lea ecx, [esp + 0x19c]
mov byte [esp + 0xe20], 0x17
mov dword [esp + 0x1b4], esi
mov dword [esp + 0x1b0], ebx
mov byte [esp + 0x1a0], bl
call fcn.00405f00
lea eax, [esp + 0x174]
push eax
lea ecx, [esp + 0x1e8]
push ecx
lea ecx, [esp + 0x5c]
mov byte [esp + 0xe1c], 0x18
call fcn.00410060
cmp dword [esp + 0x1a8], 0x10
jb 0x41ff1d
mov edx, dword [esp + 0x194]
push edx
call fcn.0043cc88
add esp, 4
cmp dword [esp + 0x18c], 0x10
mov dword [esp + 0x1a8], esi
mov dword [esp + 0x1a4], ebx
mov byte [esp + 0x194], bl
jb 0x41ff4c
mov eax, dword [esp + 0x178]
push eax
call fcn.0043cc88
add esp, 4
cmp dword [esp + 0x138], 0x10
mov dword [esp + 0x18c], esi
mov dword [esp + 0x188], ebx
mov byte [esp + 0x178], bl
jb 0x41ff7b
mov ecx, dword [esp + 0x124]
push ecx
call fcn.0043cc88
add esp, 4
cmp dword [esp + 0x11c], 0x10
mov dword [esp + 0x138], esi
mov dword [esp + 0x134], ebx
mov byte [esp + 0x124], bl
jb 0x41ffaa
mov edx, dword [esp + 0x108]
push edx
call fcn.0043cc88
add esp, 4
cmp dword [esp + 0xb0], 0x10
mov dword [esp + 0x11c], esi
mov dword [esp + 0x118], ebx
mov byte [esp + 0x108], bl
mov byte [esp + 0xe14], 0x13
jb 0x41ffe1
mov eax, dword [esp + 0x9c]
push eax
call fcn.0043cc88
add esp, 4
mov eax, dword [esp + 0x30]
add edi, 0x1c
cmp edi, eax
mov dword [esp + 0xb0], esi
mov dword [esp + 0xac], ebx
mov byte [esp + 0x9c], bl
jne 0x41fdf0
cmp dword [esp + 0x78], 0x10
mov byte [esp + 0xe14], 0xc
jb 0x420021
mov ecx, dword [esp + 0x64]
push ecx
call fcn.0043cc88
add esp, 4
mov dword [esp + 0x78], esi
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
cmp dword [esp + 0x1c], 2
jne 0x4200eb
xor eax, eax
mov ecx, 0x41
lea edi, [esp + 0x780]
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esp + 0x888]
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esp + 0xbf8]
lea edx, [esp + 0x314]
rep stosd dword es:[edi], eax
push edx
lea eax, [esp + 0x784]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 1
lea ecx, [esp + 0x88c]
push ecx
lea edx, [esp + 0x788]
push edx
call fcn.004041b0
mov eax, dword [esp + 0x5c]
mov eax, dword [eax + 0xac]
lea edx, [esp + 0xc04]
add esp, 0xc
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x4200a7
lea ecx, [esp + 0x888]
push ecx
call fcn.0042fc74
fstp qword [esp + 0xfc]
lea edx, [esp + 0xbfc]
push edx
call fcn.0042fc74
fld qword [esp + 0x100]
fcomp st(1)
add esp, 8
fnstsw ax
fstp st(0)
test ah, 5
jnp 0x42031f
push 0x44c89c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x420134
push str.DeletePrinterDriverExA
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x42012d
mov ecx, dword [esp + 0xf4]
push ecx
push 3
lea edx, [esp + 0x478]
push edx
lea ecx, [esp + 0x684]
push ecx
push ebx
call eax
mov dword [esp + 0x4c], eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edi, dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esp + 0x4c], ebx
jne 0x420171
cmp eax, 2
je 0x420171
mov dword [esp + 0x94], ebx
jmp 0x4202f1
lea edx, [esp + 0x470]
push edx
lea eax, [esp + 0x67c]
push eax
push ebx
call sub.WINSPOOL.DRV_DeletePrinterDriverA
mov dword [esp + 0x4c], eax
jmp 0x420138
cmp edi, 2
jne 0x420181
cmp dword [esp + 0x1c], ebx
je 0x4201d5
jmp 0x4202e0
cmp edi, 3
jne 0x420191
cmp dword [esp + 0x1c], ebx
je 0x4201d5
jmp 0x4202e0
cmp edi, 5
jne 0x4201a2
cmp dword [esp + 0x1c], 2
je 0x4201d5
jmp 0x4202e0
cmp edi, 6
jne 0x4201ba
mov eax, dword [esp + 0x1c]
cmp eax, 3
je 0x4201d5
cmp eax, 5
je 0x4201d5
jmp 0x4202e0
cmp edi, 0xa
jne 0x4202e0
mov eax, dword [esp + 0x1c]
cmp eax, 3
je 0x4201d5
cmp eax, 5
jne 0x4202e0
lea ecx, [esp + 0x310]
call fcn.00423990
test eax, eax
jne 0x4202e0
call fcn.0043cb83
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea ecx, [eax + 0x10]
mov dword [esp + 0x44], ecx
mov edx, dword [ecx - 0xc]
cmp edx, ebx
mov edi, dword [ecx - 0x10]
lea eax, [ecx - 0x10]
mov byte [esp + 0xe14], 0x19
je 0x42024f
cmp dword [eax + 0xc], ebx
lea edx, [eax + 0xc]
jge 0x42022d
cmp dword [ecx - 8], ebx
jl 0x4204d4
mov dword [ecx - 0xc], ebx
mov eax, dword [esp + 0x44]
mov byte [eax], bl
jmp 0x42024f
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x420241
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x44], eax
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x314]
call fcn.00423a30
mov eax, dword [esp + 0x44]
cmp dword [eax - 0xc], ebx
jle 0x4202ba
push eax
lea edx, [esp + 0x994]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [esp + 0x990]
push eax
lea ecx, [esp + 0xd04]
push ecx
call fcn.0040dc90
push ebx
lea edx, [esp + 0x99c]
push edx
lea eax, [esp + 0xd10]
push eax
call fcn.0040a1c0
mov eax, dword [esp + 0x34]
add esp, 0x14
cmp eax, 6
jne 0x4202ba
mov dword [esp + 0x90], 1
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
mov byte [esp + 0xe14], 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4202e0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x314]
call fcn.00423a60
lea ecx, [esp + 0x310]
mov byte [esp + 0xe14], 0xb
call fcn.004237c0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xec]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x41f910
jmp 0x420333
lea ecx, [esp + 0x310]
mov byte [esp + 0xe14], 0xb
call fcn.004237c0
cmp dword [0x466c80], ebx
je 0x420360
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x8c]
push ebx
push ebx
push 0x405
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x24]
push eax
call fcn.0044140e
lea ecx, [esp + 0xa98]
mov byte [esp + 0xe14], 6
call fcn.004237c0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
inc eax
cmp eax, ecx
mov dword [esp + 0x1c], eax
jle 0x41f8d1
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx]
cmp eax, ecx
mov dword [esp + 0x18], eax
je 0x4206c1
jmp 0x4203a0
mov esi, dword [esp + 0x18]
push 0xffffffffffffffff
lea eax, [esi + 0xc]
push ebx
mov edi, 0xf
push eax
lea ecx, [esp + 0xc0]
mov dword [esp + 0xd8], edi
mov dword [esp + 0xd4], ebx
mov byte [esp + 0xc4], bl
call fcn.00405f00
push 0xffffffffffffffff
lea eax, [esi + 0x28]
push ebx
push eax
lea ecx, [esp + 0x6c]
mov byte [esp + 0xe20], 0x1a
mov dword [esp + 0x84], edi
mov dword [esp + 0x80], ebx
mov byte [esp + 0x70], bl
call fcn.00405f00
cmp dword [esp + 0x78], 0x10
mov eax, dword [esp + 0x64]
mov byte [esp + 0xe14], 0x1b
jae 0x420412
lea eax, [esp + 0x64]
push 0x104
push eax
lea ecx, [esp + 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
lea edx, [esp + 0x60]
push edx
lea eax, [esp + 0xb8]
push eax
lea ecx, [esp + 0xd8]
push ecx
call fcn.0040cb90
add esp, 0xc
lea edx, [esp + 0xd0]
push edx
lea ecx, [esp + 0x58]
mov byte [esp + 0xe18], 0x1c
call fcn.0040bfa0
mov esi, eax
lea eax, [esp + 0xd0]
push eax
lea ecx, [esp + 0x58]
call fcn.0040bee0
mov edi, eax
mov eax, dword [esp + 0x2c]
cmp eax, ebx
mov dword [esp + 0xf0], esi
je 0x4204de
mov ecx, dword [esp + 0x30]
cmp eax, ecx
mov dword [esp + 0x24], ecx
je 0x4204bf
lea esi, [eax + 0x18]
nop
cmp dword [esi], 0x10
jb 0x4204a1
mov eax, dword [esi - 0x14]
push eax
call fcn.0043cc88
add esp, 4
mov eax, dword [esp + 0x24]
mov dword [esi], 0xf
mov dword [esi - 4], ebx
mov byte [esi - 0x14], bl
add esi, 0x1c
lea ecx, [esi - 0x18]
cmp ecx, eax
jne 0x420490
mov eax, dword [esp + 0x2c]
push eax
mov esi, 0xf
call fcn.0043cc88
add esp, 4
jmp 0x4204e3
call fcn.0043b946
push 0x80070057
call fcn.004010c0
mov esi, 0xf
cmp edi, dword [esp + 0xf0]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
je 0x4205c1
lea esp, [esp]
push 0xffffffffffffffff
lea eax, [edi + 0x28]
push ebx
push eax
lea ecx, [esp + 0xa4]
mov dword [esp + 0xbc], esi
mov dword [esp + 0xb8], ebx
mov byte [esp + 0xa8], bl
call fcn.00405f00
lea edx, [esp + 0x98]
push edx
lea ecx, [esp + 0x2c]
mov byte [esp + 0xe18], 0x1d
call fcn.00412f40
cmp dword [esp + 0xb0], 0x10
mov byte [esp + 0xe14], 0x1c
jb 0x420563
mov eax, dword [esp + 0x9c]
push eax
call fcn.0043cc88
add esp, 4
cmp byte [edi + 0x45], bl
mov dword [esp + 0xb0], esi
mov dword [esp + 0xac], ebx
mov byte [esp + 0x9c], bl
jne 0x4205b4
mov eax, dword [edi + 8]
cmp byte [eax + 0x45], bl
jne 0x42059b
mov edi, eax
mov eax, dword [edi]
cmp byte [eax + 0x45], bl
jne 0x4205b4
mov edi, edi
mov edi, eax
mov eax, dword [edi]
cmp byte [eax + 0x45], bl
je 0x420590
jmp 0x4205b4
mov eax, dword [edi + 4]
cmp byte [eax + 0x45], bl
jne 0x4205b2
cmp edi, dword [eax + 8]
jne 0x4205b2
mov edi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x45], bl
je 0x4205a3
mov edi, eax
cmp edi, dword [esp + 0xf0]
jne 0x420500
lea ecx, [esp + 0x28]
push ecx
push 0x44b62a
push 1
lea edx, [esp + 0x214]
push edx
push 0x44b62a
call fcn.00414230
mov eax, dword [esp + 0xfc]
mov edi, 0x10
add esp, 0x14
cmp eax, edi
jb 0x420602
mov eax, dword [esp + 0xd4]
push eax
call fcn.0043cc88
add esp, 4
cmp dword [esp + 0x78], edi
mov dword [esp + 0xe8], esi
mov dword [esp + 0xe4], ebx
mov byte [esp + 0xd4], bl
jb 0x42062a
mov ecx, dword [esp + 0x64]
push ecx
call fcn.0043cc88
add esp, 4
cmp dword [esp + 0xcc], edi
mov dword [esp + 0x78], esi
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
mov byte [esp + 0xe14], 6
jb 0x420657
mov edx, dword [esp + 0xb8]
push edx
call fcn.0043cc88
add esp, 4
mov eax, dword [esp + 0x18]
cmp byte [eax + 0x45], bl
mov dword [esp + 0xcc], esi
mov dword [esp + 0xc8], ebx
mov byte [esp + 0xb8], bl
jne 0x4206b3
mov edx, eax
mov ecx, dword [edx + 8]
cmp byte [ecx + 0x45], bl
jne 0x420695
mov eax, dword [ecx]
cmp byte [eax + 0x45], bl
jne 0x42068f
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0x45], bl
je 0x420686
mov dword [esp + 0x18], ecx
jmp 0x4206b3
mov eax, dword [edx + 4]
cmp byte [eax + 0x45], bl
jne 0x4206af
lea ecx, [ecx]
cmp edx, dword [eax + 8]
jne 0x4206af
mov edx, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x45], bl
je 0x4206a0
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x18]
cmp ecx, dword [esp + 0x3c]
jne 0x4203a0
cmp dword [esp + 0x90], ebx
je 0x4206e1
push str.SPOOLER
call fcn.00405570
push str.SPOOLER
call fcn.00409a00
add esp, 8
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
mov byte [esp + 0xe14], 5
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x420707
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x58]
mov ecx, dword [eax]
push eax
push ecx
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x60]
mov byte [esp + 0xe20], 4
call fcn.00411590
mov ecx, dword [esp + 0x58]
push ecx
call fcn.0043cc88
mov eax, dword [esp + 0x30]
add esp, 4
cmp eax, ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
je 0x420764
mov edx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x2c]
push ecx
push edx
push eax
call fcn.00406de0
mov eax, dword [esp + 0x3c]
push eax
call fcn.0043cc88
add esp, 0x14
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov ecx, dword [eax]
push eax
push ecx
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x44]
mov byte [esp + 0xe20], 2
call fcn.004114d0
mov edx, dword [esp + 0x3c]
push edx
call fcn.0043cc88
add esp, 4
lea ecx, [esp + 0x7c]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov byte [esp + 0xe14], bl
call fcn.0043bea1
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0xe14], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4207dc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0xe0c]
mov eax, dword [esp + 0x94]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4