Function at 0x4109a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x426855
mov eax, dword fs:[0]
push eax
mov eax, 0x776c
call fcn.00420ff0
mov eax, dword [0x42f060]
xor eax, ebp
mov dword [ebp - 0x24], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x7744], ecx
mov dword [ebp - 0x14], 0
mov eax, dword [ebp + 8]
push eax
push str.PKGMAIN_HandleRequest_____s__n
call fcn.004139d0
add esp, 8
mov ecx, dword [ebp - 0x7744]
mov dword [ecx + 0x47c], 0
mov edx, dword [ebp - 0x7744]
mov dword [edx + 0x480], 0
mov eax, dword [ebp - 0x7744]
mov dword [eax + 0x484], 0
xor ecx, ecx
mov edx, dword [ebp - 0x7744]
mov word [edx + 0x488], cx
push 0x39218
call fcn.00415b79
add esp, 4
mov dword [ebp - 0x76e8], eax
cmp dword [ebp - 0x76e8], 0
je 0x410a5b
mov ecx, dword [ebp - 0x76e8]
call fcn.00413390
mov dword [ebp - 0x7748], eax
jmp 0x410a65
mov dword [ebp - 0x7748], 0
mov eax, dword [ebp - 0x7748]
mov dword [ebp - 0x76e4], eax
mov ecx, dword [ebp - 0x76e4]
mov dword [ebp - 0x10], ecx
push 0x42b848
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x10]
call fcn.004133f0
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
push str.Arguments____d_n
call fcn.00413880
add esp, 8
mov dword [ebp - 0x438], 0
jmp 0x410aba
mov ecx, dword [ebp - 0x438]
add ecx, 1
mov dword [ebp - 0x438], ecx
mov edx, dword [ebp - 0x438]
cmp edx, dword [ebp - 0x18]
jge 0x410b22
mov eax, dword [ebp - 0x438]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.0040ff10
mov dword [ebp - 0x43c], eax
push 0x42b860
push 0x42b864
mov ecx, dword [ebp - 0x43c]
push ecx
mov edx, dword [ebp - 0x7744]
mov ecx, dword [edx + 0x21c]
call fcn.00414920
mov eax, dword [ebp - 0x438]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.0040ff10
push eax
mov ecx, dword [ebp - 0x438]
push ecx
push str.___d____s__n
call fcn.004139d0
add esp, 0xc
jmp 0x410aab
mov dword [ebp - 0x20], 0
mov edx, dword [ebp - 0x7744]
mov eax, dword [edx + 0x270]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x18], 0
jle 0x412952
xor ecx, ecx
mov word [ebp - 0x5de4], cx
push 0x206
push 0
lea edx, [ebp - 0x5de2]
push edx
call fcn.00416110
add esp, 0xc
xor eax, eax
mov word [ebp - 0x4564], ax
push 0x206
push 0
lea ecx, [ebp - 0x4562]
push ecx
call fcn.00416110
add esp, 0xc
xor edx, edx
mov word [ebp - 0x168c], dx
push 0x206
push 0
lea eax, [ebp - 0x168a]
push eax
call fcn.00416110
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0x5bdc], cx
push 0x206
push 0
lea edx, [ebp - 0x5bda]
push edx
call fcn.00416110
add esp, 0xc
xor eax, eax
mov word [ebp - 0x1484], ax
push 0x206
push 0
lea ecx, [ebp - 0x1482]
push ecx
call fcn.00416110
add esp, 0xc
xor edx, edx
mov word [ebp - 0x24cc], dx
push 0x206
push 0
lea eax, [ebp - 0x24ca]
push eax
call fcn.00416110
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0x127c], cx
push 0x206
push 0
lea edx, [ebp - 0x127a]
push edx
call fcn.00416110
add esp, 0xc
xor eax, eax
mov word [ebp - 0x20b4], ax
push 0x206
push 0
lea ecx, [ebp - 0x20b2]
push ecx
call fcn.00416110
add esp, 0xc
xor edx, edx
mov word [ebp - 0x435c], dx
push 0x206
push 0
lea eax, [ebp - 0x435a]
push eax
call fcn.00416110
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0x1a9c], cx
push 0x206
push 0
lea edx, [ebp - 0x1a9a]
push edx
call fcn.00416110
add esp, 0xc
xor eax, eax
mov word [ebp - 0x6404], ax
push 0x206
push 0
lea ecx, [ebp - 0x6402]
push ecx
call fcn.00416110
add esp, 0xc
xor edx, edx
mov word [ebp - 0x4154], dx
push 0x206
push 0
lea eax, [ebp - 0x4152]
push eax
call fcn.00416110
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0x61fc], cx
push 0x206
push 0
lea edx, [ebp - 0x61fa]
push edx
call fcn.00416110
add esp, 0xc
xor eax, eax
mov word [ebp - 0x1074], ax
push 0x206
push 0
lea ecx, [ebp - 0x1072]
push ecx
call fcn.00416110
add esp, 0xc
xor edx, edx
mov word [ebp - 0xe6c], dx
push 0x206
push 0
lea eax, [ebp - 0xe6a]
push eax
call fcn.00416110
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0x59d4], cx
push 0x206
push 0
lea edx, [ebp - 0x59d2]
push edx
call fcn.00416110
add esp, 0xc
xor eax, eax
mov word [ebp - 0x3514], ax
push 0x206
push 0
lea ecx, [ebp - 0x3512]
push ecx
call fcn.00416110
add esp, 0xc
xor edx, edx
mov word [ebp - 0x5ff4], dx
push 0x206
push 0
lea eax, [ebp - 0x5ff2]
push eax
call fcn.00416110
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0xc64], cx
push 0x206
push 0
lea edx, [ebp - 0xc62]
push edx
call fcn.00416110
add esp, 0xc
xor eax, eax
mov word [ebp - 0x1eac], ax
push 0x206
push 0
lea ecx, [ebp - 0x1eaa]
push ecx
call fcn.00416110
add esp, 0xc
xor edx, edx
mov word [ebp - 0x519c], dx
push 0x206
push 0
lea eax, [ebp - 0x519a]
push eax
call fcn.00416110
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0x3f4c], cx
push 0x206
push 0
lea edx, [ebp - 0x3f4a]
push edx
call fcn.00416110
add esp, 0xc
xor eax, eax
mov word [ebp - 0xa54], ax
push 0x206
push 0
lea ecx, [ebp - 0xa52]
push ecx
call fcn.00416110
add esp, 0xc
xor edx, edx
mov word [ebp - 0x1ca4], dx
push 0x206
push 0
lea eax, [ebp - 0x1ca2]
push eax
call fcn.00416110
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0x1894], cx
push 0x206
push 0
lea edx, [ebp - 0x1892]
push edx
call fcn.00416110
add esp, 0xc
xor eax, eax
mov word [ebp - 0x497c], ax
push 0x206
push 0
lea ecx, [ebp - 0x497a]
push ecx
call fcn.00416110
add esp, 0xc
xor edx, edx
mov word [ebp - 0x84c], dx
push 0x206
push 0
lea eax, [ebp - 0x84a]
push eax
call fcn.00416110
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0x4774], cx
push 0x206
push 0
lea edx, [ebp - 0x4772]
push edx
call fcn.00416110
add esp, 0xc
xor eax, eax
mov word [ebp - 0x22c4], ax
push 0x206
push 0
lea ecx, [ebp - 0x22c2]
push ecx
call fcn.00416110
add esp, 0xc
xor edx, edx
mov word [ebp - 0x330c], dx
push 0x206
push 0
lea eax, [ebp - 0x330a]
push eax
call fcn.00416110
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0x392c], cx
push 0x206
push 0
lea edx, [ebp - 0x392a]
push edx
call fcn.00416110
add esp, 0xc
xor eax, eax
mov word [ebp - 0x3d44], ax
push 0x206
push 0
lea ecx, [ebp - 0x3d42]
push ecx
call fcn.00416110
add esp, 0xc
xor edx, edx
mov word [ebp - 0x3104], dx
push 0x206
push 0
lea eax, [ebp - 0x3102]
push eax
call fcn.00416110
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0x3b3c], cx
push 0x206
push 0
lea edx, [ebp - 0x3b3a]
push edx
call fcn.00416110
add esp, 0xc
xor eax, eax
mov word [ebp - 0x4f94], ax
push 0x206
push 0
lea ecx, [ebp - 0x4f92]
push ecx
call fcn.00416110
add esp, 0xc
xor edx, edx
mov word [ebp - 0x53ac], dx
push 0x206
push 0
lea eax, [ebp - 0x53aa]
push eax
call fcn.00416110
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0x644], cx
push 0x206
push 0
lea edx, [ebp - 0x642]
push edx
call fcn.00416110
add esp, 0xc
xor eax, eax
mov word [ebp - 0x2efc], ax
push 0x206
push 0
lea ecx, [ebp - 0x2efa]
push ecx
call fcn.00416110
add esp, 0xc
xor edx, edx
mov word [ebp - 0x57c4], dx
push 0x206
push 0
lea eax, [ebp - 0x57c2]
push eax
call fcn.00416110
add esp, 0xc
mov byte [ebp - 0x57c9], 0
mov dword [ebp - 0x3724], 3
mov dword [ebp - 0x3934], 0
mov byte [ebp - 0x4566], 0
mov byte [ebp - 0x57cc], 0
mov byte [ebp - 0x4565], 0
mov byte [ebp - 0x57c8], 0
mov byte [ebp - 0x5dea], 0
mov byte [ebp - 0x20b6], 0
mov byte [ebp - 0x519e], 0
mov byte [ebp - 0x26d5], 0
mov byte [ebp - 0x57c7], 0
mov byte [ebp - 0x57c6], 0
mov byte [ebp - 0x20b5], 0
mov byte [ebp - 0x5de9], 0
mov byte [ebp - 0x371d], 0
mov byte [ebp - 0x57cb], 0
mov byte [ebp - 0x57c5], 0
mov byte [ebp - 0x519d], 0
mov byte [ebp - 0xa55], 0
mov dword [ebp - 0x5de8], 1
mov dword [ebp - 0x3930], 0
mov dword [ebp - 0x55b8], 0
push 0
mov ecx, dword [ebp - 0x10]
call fcn.0040ff10
push eax
lea ecx, [ebp - 0x434]
push ecx
call fcn.00415af0
add esp, 8
mov dword [ebp - 0x6408], 1
jmp 0x4110e0
mov edx, dword [ebp - 0x6408]
add edx, 1
mov dword [ebp - 0x6408], edx
mov eax, dword [ebp - 0x6408]
cmp eax, dword [ebp - 0x18]
jge 0x411899
mov ecx, dword [ebp - 0x6408]
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.0040ff10
push eax
lea edx, [ebp - 0x2aec]
push edx
call fcn.00415af0
add esp, 8
movzx eax, word [ebp - 0x2aec]
cmp eax, 0x2f
jne 0x411126
mov ecx, 0x2d
mov word [ebp - 0x2aec], cx
push 0x42b88c
lea edx, [ebp - 0x2aec]
push edx
call fcn.00415dbc
add esp, 8
test eax, eax
jne 0x41116e
mov eax, dword [ebp - 0x18]
sub eax, 1
cmp dword [ebp - 0x6408], eax
jge 0x41116e
mov ecx, dword [ebp - 0x6408]
add ecx, 1
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.0040ff10
push eax
lea edx, [ebp - 0x5de4]
push edx
call fcn.00415af0
add esp, 8
push 0x42b894
lea eax, [ebp - 0x2aec]
push eax
call fcn.00415dbc
add esp, 8
test eax, eax
jne 0x4111d8
mov ecx, dword [ebp - 0x18]
sub ecx, 1
cmp dword [ebp - 0x6408], ecx
jge 0x4111d8
mov edx, dword [ebp - 0x6408]
add edx, 1
push edx
mov ecx, dword [ebp - 0x10]
call fcn.0040ff10
push eax
lea eax, [ebp - 0x4564]
push eax
call fcn.00415af0
add esp, 8
mov ecx, dword [ebp - 0x6408]
add ecx, 1
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.0040ff10
push eax
lea edx, [ebp - 0x168c]
push edx
call fcn.00415af0
add esp, 8
push 0x42b89c
lea eax, [ebp - 0x2aec]
push eax
call fcn.00415dbc
add esp, 8
test eax, eax
jne 0x411220
mov ecx, dword [ebp - 0x18]
sub ecx, 1
cmp dword [ebp - 0x6408], ecx
jge 0x411220
mov edx, dword [ebp - 0x6408]
add edx, 1
push edx
mov ecx, dword [ebp - 0x10]
call fcn.0040ff10
push eax
lea eax, [ebp - 0x1484]
push eax
call fcn.00415af0
add esp, 8
push 0x42b8a4
lea ecx, [ebp - 0x2aec]
push ecx
call fcn.00415dbc
add esp, 8
test eax, eax
jne 0x411268
mov edx, dword [ebp - 0x18]
sub edx, 1
cmp dword [ebp - 0x6408], edx
jge 0x411268
mov eax, dword [ebp - 0x6408]
add eax, 1
push eax
mov ecx, dword [ebp - 0x10]
call fcn.0040ff10
push eax
lea ecx, [ebp - 0x24cc]
push ecx
call fcn.00415af0
add esp, 8
push 0x42b8ac
lea edx, [ebp - 0x2aec]
push edx
call fcn.00415dbc
add esp, 8
test eax, eax
jne 0x4112b0
mov eax, dword [ebp - 0x18]
sub eax, 1
cmp dword [ebp - 0x6408], eax
jge 0x4112b0
mov ecx, dword [ebp - 0x6408]
add ecx, 1
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.0040ff10
push eax
lea edx, [ebp - 0x127c]
push edx
call fcn.00415af0
add esp, 8
push 0x42b8b4
lea eax, [ebp - 0x2aec]
push eax
call fcn.00415dbc
add esp, 8
test eax, eax
jne 0x4112f8
mov ecx, dword [ebp - 0x18]
sub ecx, 1
cmp dword [ebp - 0x6408], ecx
jge 0x4112f8
mov edx, dword [ebp - 0x6408]
add edx, 1
push edx
mov ecx, dword [ebp - 0x10]
call fcn.0040ff10
push eax
lea eax, [ebp - 0x435c]
push eax
call fcn.00415af0
add esp, 8
push 0x42b8bc
lea ecx, [ebp - 0x2aec]
push ecx
call fcn.00415dbc
add esp, 8
test eax, eax
jne 0x41133f
mov edx, dword [ebp - 0x18]
sub edx, 1
cmp dword [ebp - 0x6408], edx
jge 0x41133f
mov eax, dword [ebp - 0x6408]
add eax, 1
push eax
mov ecx, dword [ebp - 0x10]
call fcn.0040ff10
push eax
call fcn.00418af0
add esp, 4
mov dword [ebp - 0x3930], eax
push 0x42b8c4
lea ecx, [ebp - 0x2aec]
push ecx
call fcn.00415dbc
add esp, 8
test eax, eax
jne 0x411386
mov edx, dword [ebp - 0x18]
sub edx, 1
cmp dword [ebp - 0x6408], edx
jge 0x411386
mov eax, dword [ebp - 0x6408]
add eax, 1
push eax
mov ecx, dword [ebp - 0x10]
call fcn.0040ff10
push eax
call fcn.00418af0
add esp, 4
mov dword [ebp - 0x55b8], eax
push str._sim
lea ecx, [ebp - 0x2aec]
push ecx
call fcn.00415dbc
add esp, 8
test eax, eax
jne 0x4113a5
mov byte [ebp - 0x519e], 1
push 0x42b8d8
lea edx, [ebp - 0x2aec]
push edx
call fcn.00415dbc
add esp, 8
test eax, eax
jne 0x4113ed
mov eax, dword [ebp - 0x18]
sub eax, 1
cmp dword [ebp - 0x6408], eax
jge 0x4113ed
mov ecx, dword [ebp - 0x6408]
add ecx, 1
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.0040ff10
push eax
lea edx, [ebp - 0x1074]
push edx
call fcn.00415af0
add esp, 8
push 0x42b8e0
lea eax, [ebp - 0x2aec]
push eax
call fcn.00415dbc
add esp, 8
test eax, eax
jne 0x411435
mov ecx, dword [ebp - 0x18]
sub ecx, 1
cmp dword [ebp - 0x6408], ecx
jge 0x411435
mov edx, dword [ebp - 0x6408]
add edx, 1
push edx
mov ecx, dword [ebp - 0x10]
call fcn.0040ff10
push eax
lea eax, [ebp - 0x59d4]
push eax
call fcn.00415af0
add esp, 8
push 0x42b8e8
lea ecx, [ebp - 0x2aec]
push ecx
call fcn.00415dbc
add esp, 8
test eax, eax
jne 0x4114c9
mov edx, dword [ebp - 0x18]
sub edx, 1
cmp dword [ebp - 0x6408], edx
jge 0x4114c9
mov eax, dword [ebp - 0x6408]
add eax, 1
push eax
mov ecx, dword [ebp - 0x10]
call fcn.0040ff10
push eax
lea ecx, [ebp - 0x6614]
push ecx
call fcn.00415af0
add esp, 8
movzx edx, word [ebp - 0x6614]
cmp edx, 0x5c
je 0x4114b3
movzx eax, word [ebp - 0x6612]
cmp eax, 0x5c
je 0x4114b3
lea ecx, [ebp - 0x6614]
push ecx
push str._s
lea edx, [ebp - 0x519c]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
jmp 0x4114c9
lea eax, [ebp - 0x6614]
push eax
lea ecx, [ebp - 0x519c]
push ecx
call fcn.00415af0
add esp, 8
push 0x42b8fc
lea edx, [ebp - 0x2aec]
push edx
call fcn.00415dbc
add esp, 8
test eax, eax
jne 0x411511
mov eax, dword [ebp - 0x18]
sub eax, 1
cmp dword [ebp - 0x6408], eax
jge 0x411511
mov ecx, dword [ebp - 0x6408]
add ecx, 1
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.0040ff10
push eax
lea edx, [ebp - 0x3f4c]
push edx
call fcn.00415af0
add esp, 8
push 0x42b904
lea eax, [ebp - 0x2aec]
push eax
call fcn.00415dbc
add esp, 8
test eax, eax
jne 0x411559
mov ecx, dword [ebp - 0x18]
sub ecx, 1
cmp dword [ebp - 0x6408], ecx
jge 0x411559
mov edx, dword [ebp - 0x6408]
add edx, 1
push edx
mov ecx, dword [ebp - 0x10]
call fcn.0040ff10
push eax
lea eax, [ebp - 0x435c]
push eax
call fcn.00415af0
add esp, 8
push 0x42b90c
lea ecx, [ebp - 0x2aec]
push ecx
call fcn.00415dbc
add esp, 8
test eax, eax
jne 0x4115a1
mov edx, dword [ebp - 0x18]
sub edx, 1
cmp dword [ebp - 0x6408], edx
jge 0x4115a1
mov eax, dword [ebp - 0x6408]
add eax, 1
push eax
mov ecx, dword [ebp - 0x10]
call fcn.0040ff10
push eax
lea ecx, [ebp - 0x330c]
push ecx
call fcn.00415af0
add esp, 8
push 0x42b914
lea edx, [ebp - 0x2aec]
push edx
call fcn.00415dbc
add esp, 8
test eax, eax
jne 0x4115e9
mov eax, dword [ebp - 0x18]
sub eax, 1
cmp dword [ebp - 0x6408], eax
jge 0x4115e9
mov ecx, dword [ebp - 0x6408]
add ecx, 1
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.0040ff10
push eax
lea edx, [ebp - 0x53ac]
push edx
call fcn.00415af0
add esp, 8
push str._dll
lea eax, [ebp - 0x2aec]
push eax
call fcn.00415dbc
add esp, 8
test eax, eax
jne 0x411631
mov ecx, dword [ebp - 0x18]
sub ecx, 1
cmp dword [ebp - 0x6408], ecx
jge 0x411631
mov edx, dword [ebp - 0x6408]
add edx, 1
push edx
mov ecx, dword [ebp - 0x10]
call fcn.0040ff10
push eax
lea eax, [ebp - 0x5bdc]
push eax
call fcn.00415af0
add esp, 8
push 0x42b928
lea ecx, [ebp - 0x2aec]
push ecx
call fcn.00415dbc
add esp, 8
test eax, eax
jne 0x411679
mov edx, dword [ebp - 0x18]
sub edx, 1
cmp dword [ebp - 0x6408], edx
jge 0x411679
mov eax, dword [ebp - 0x6408]
add eax, 1
push eax
mov ecx, dword [ebp - 0x10]
call fcn.0040ff10
push eax
lea ecx, [ebp - 0x4f94]
push ecx
call fcn.00415af0
add esp, 8
push str._profile
lea edx, [ebp - 0x2aec]
push edx
call fcn.00415dbc
add esp, 8
test eax, eax
jne 0x4116c1
mov eax, dword [ebp - 0x18]
sub eax, 1
cmp dword [ebp - 0x6408], eax
jge 0x4116c1
mov ecx, dword [ebp - 0x6408]
add ecx, 1
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.0040ff10
push eax
lea edx, [ebp - 0x3b3c]
push edx
call fcn.00415af0
add esp, 8
push str._kxpfile
lea eax, [ebp - 0x2aec]
push eax
call fcn.00415dbc
add esp, 8
test eax, eax
jne 0x411709
mov ecx, dword [ebp - 0x18]
sub ecx, 1
cmp dword [ebp - 0x6408], ecx
jge 0x411709
mov edx, dword [ebp - 0x6408]
add edx, 1
push edx
mov ecx, dword [ebp - 0x10]
call fcn.0040ff10
push eax
lea eax, [ebp - 0x3104]
push eax
call fcn.00415af0
add esp, 8
push str._MatchVer
lea ecx, [ebp - 0x2aec]
push ecx
call fcn.00415dbc
add esp, 8
test eax, eax
jne 0x411728
mov byte [ebp - 0x5de9], 1
push str._skipds
lea edx, [ebp - 0x2aec]
push edx
call fcn.00415dbc
add esp, 8
test eax, eax
jne 0x411747
mov byte [ebp - 0xa55], 1
push str._ENABLE
lea eax, [ebp - 0x2aec]
push eax
call fcn.00415dbc
add esp, 8
test eax, eax
jne 0x411766
mov byte [ebp - 0x57c7], 1
push str._DISABLE
lea ecx, [ebp - 0x2aec]
push ecx
call fcn.00415dbc
add esp, 8
test eax, eax
jne 0x411785
mov byte [ebp - 0x20b5], 1
push str._ISON
lea edx, [ebp - 0x2aec]
push edx
call fcn.00415dbc
add esp, 8
test eax, eax
jne 0x4117a4
mov byte [ebp - 0x57c6], 1
push str._IMPORT
lea eax, [ebp - 0x2aec]
push eax
call fcn.00415dbc
add esp, 8
test eax, eax
jne 0x4117c3
mov byte [ebp - 0x371d], 1
push str._GETLIST
lea ecx, [ebp - 0x2aec]
push ecx
call fcn.00415dbc
add esp, 8
test eax, eax
jne 0x4117e2
mov byte [ebp - 0x57cb], 1
push str._GETMODEL
lea edx, [ebp - 0x2aec]
push edx
call fcn.00415dbc
add esp, 8
test eax, eax
jne 0x411801
mov byte [ebp - 0x57c5], 1
push str._SETDEFPROF
lea eax, [ebp - 0x2aec]
push eax
call fcn.00415dbc
add esp, 8
test eax, eax
jne 0x411820
mov byte [ebp - 0x519d], 1
push str._src
lea ecx, [ebp - 0x2aec]
push ecx
call fcn.00415dbc
add esp, 8
test eax, eax
jne 0x41185a
mov edx, dword [ebp - 0x6408]
add edx, 1
push edx
mov ecx, dword [ebp - 0x10]
call fcn.0040ff10
push eax
lea eax, [ebp - 0x1484]
push eax
call fcn.00415af0
add esp, 8
push str._dst
lea ecx, [ebp - 0x2aec]
push ecx
call fcn.00415dbc
add esp, 8
test eax, eax
jne 0x411894
mov edx, dword [ebp - 0x6408]
add edx, 1
push edx
mov ecx, dword [ebp - 0x10]
call fcn.0040ff10
push eax
lea eax, [ebp - 0x24cc]
push eax
call fcn.00415af0
add esp, 8
jmp 0x4110d1
xor ecx, ecx
mov word [ebp - 0x2cf4], cx
push 0x206
push 0
lea edx, [ebp - 0x2cf2]
push edx
call fcn.00416110
add esp, 0xc
xor eax, eax
mov word [ebp - 0x26d4], ax
push 0x206
push 0
lea ecx, [ebp - 0x26d2]
push ecx
call fcn.00416110
add esp, 0xc
xor edx, edx
mov word [ebp - 0x55b4], dx
push 0x206
push 0
lea eax, [ebp - 0x55b2]
push eax
call fcn.00416110
add esp, 0xc
lea ecx, [ebp - 0x2cf4]
push ecx
push 0
mov edx, dword [ebp - 0x7744]
mov ecx, dword [edx + 0x21c]
call fcn.00415110
mov byte [ebp - 0x57ca], 0
xor eax, eax
mov word [ebp - 0x371c], ax
push 0x206
push 0
lea ecx, [ebp - 0x371a]
push ecx
call fcn.00416110
add esp, 0xc
push str.PANTONE
lea edx, [ebp - 0x434]
push edx
call fcn.00415dbc
add esp, 8
test eax, eax
jne 0x411aa2
push str.START_PANTONE_n
call fcn.00413880
add esp, 4
mov byte [ebp - 0x6625], 0
mov dword [ebp - 0x6624], 0
mov dword [ebp - 0x6620], 0
mov dword [ebp - 0x661c], 0xf000c
lea eax, [ebp - 0x1074]
push eax
push str.wszPrinterName___s_n
call fcn.004139d0
add esp, 8
lea ecx, [ebp - 0x6624]
push ecx
lea edx, [ebp - 0x6618]
push edx
lea eax, [ebp - 0x1074]
push eax
call sub.WINSPOOL.DRV_OpenPrinterW
test eax, eax
je 0x411a21
mov dword [ebp - 0x662c], 0
lea ecx, [ebp - 0x1074]
push ecx
push str.inside_wszPrinterName___s_n
call fcn.004139d0
add esp, 8
mov dword [ebp - 0x662c], 1
push 4
lea edx, [ebp - 0x662c]
push edx
push 4
push str.PantoneSupport
mov eax, dword [ebp - 0x6618]
push eax
call sub.WINSPOOL.DRV_SetPrinterDataW
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.::SetPrinterData_lastError___d__n
call fcn.00413880
add esp, 8
mov ecx, dword [ebp - 0x6618]
push ecx
call sub.WINSPOOL.DRV_ClosePrinter
mov byte [ebp - 0x6625], 1
movzx edx, byte [ebp - 0x6625]
test edx, edx
je 0x411a68
mov eax, dword [ebp - 0x7744]
mov dword [eax + 0x484], 1
mov ecx, dword [ebp - 0x7744]
mov dword [ecx + 0x480], 1
push str.PANTONE_successful
mov edx, dword [ebp - 0x7744]
add edx, 0x488
push edx
call fcn.00415af0
add esp, 8
jmp 0x411aa2
mov eax, dword [ebp - 0x7744]
mov dword [eax + 0x484], 1
mov ecx, dword [ebp - 0x7744]
mov dword [ecx + 0x480], 0
push str.PANTONE_failed
mov edx, dword [ebp - 0x7744]
add edx, 0x488
push edx
call fcn.00415af0
add esp, 8
push str.TEST
lea eax, [ebp - 0x434]
push eax
call fcn.00415dbc
add esp, 8
test eax, eax
jne 0x411ad1
push str.I_created_my_first_command_TEST_n
call fcn.004139d0
add esp, 4
mov dword [ebp - 0x6630], 1
push str.HELP
lea ecx, [ebp - 0x434]
push ecx
call fcn.00415dbc
add esp, 8
test eax, eax
jne 0x411cf8
mov dword [ebp - 0x6634], 1
push 1
call fcn.00415b79
add esp, 4
mov dword [ebp - 0x76f0], eax
cmp dword [ebp - 0x76f0], 0
je 0x411b23
mov ecx, dword [ebp - 0x76f0]
call fcn.004017c0
mov dword [ebp - 0x774c], eax
jmp 0x411b2d
mov dword [ebp - 0x774c], 0
mov edx, dword [ebp - 0x774c]
mov dword [ebp - 0x76ec], edx
mov eax, dword [ebp - 0x76ec]
mov dword [ebp - 0x6638], eax
movzx ecx, byte [ebp - 0x57c7]
test ecx, ecx
je 0x411c71
movzx edx, word [ebp - 0x1484]
test edx, edx
je 0x411c25
lea eax, [ebp - 0x1484]
push eax
push str.wszSource__s__n
call fcn.004139d0
add esp, 8
xor ecx, ecx
mov word [ebp - 0x6a4c], cx
push 0x206
push 0
lea edx, [ebp - 0x6a4a]
push edx
call fcn.00416110
add esp, 0xc
xor eax, eax
mov word [ebp - 0x6844], ax
push 0x206
push 0
lea ecx, [ebp - 0x6842]
push ecx
call fcn.00416110
add esp, 0xc
lea edx, [ebp - 0x6844]
push edx
lea eax, [ebp - 0x6a4c]
push eax
lea ecx, [ebp - 0x1484]
push ecx
mov edx, dword [ebp - 0x7744]
mov ecx, dword [edx + 0x21c]
call fcn.004151c0
lea eax, [ebp - 0x6a4c]
push eax
push str.wszSrcPath___s__n
call fcn.004139d0
add esp, 8
lea ecx, [ebp - 0x6844]
push ecx
push str.wszFile___s__n
call fcn.004139d0
add esp, 8
lea edx, [ebp - 0x6a4c]
push edx
lea eax, [ebp - 0x6844]
push eax
lea ecx, [ebp - 0x1074]
push ecx
mov ecx, dword [ebp - 0x6638]
call fcn.004017d0
jmp 0x411c2f
mov dword [ebp - 0x6634], 0
mov edx, dword [ebp - 0x6638]
mov dword [ebp - 0x76f8], edx
mov eax, dword [ebp - 0x76f8]
mov dword [ebp - 0x76f4], eax
cmp dword [ebp - 0x76f4], 0
je 0x411c65
push 1
mov ecx, dword [ebp - 0x76f4]
call fcn.004129c0
mov dword [ebp - 0x7750], eax
jmp 0x411c6f
mov dword [ebp - 0x7750], 0
jmp 0x411c7b
mov dword [ebp - 0x6634], 0
cmp dword [ebp - 0x6634], 0
je 0x411cbf
mov ecx, dword [ebp - 0x7744]
mov dword [ecx + 0x484], 1
mov edx, dword [ebp - 0x7744]
mov dword [edx + 0x480], 1
push str.HELP_successful
mov eax, dword [ebp - 0x7744]
add eax, 0x488
push eax
call fcn.00415af0
add esp, 8
jmp 0x411cf8
mov ecx, dword [ebp - 0x7744]
mov dword [ecx + 0x484], 1
mov edx, dword [ebp - 0x7744]
mov dword [edx + 0x480], 0
push str.HELP_failed
mov eax, dword [ebp - 0x7744]
add eax, 0x488
push eax
call fcn.00415af0
add esp, 8
push str.PLUGINS
lea ecx, [ebp - 0x434]
push ecx
call fcn.00415dbc
add esp, 8
test eax, eax
jne 0x411f52
mov dword [ebp - 0x6a50], 1
movzx edx, word [ebp - 0x1074]
test edx, edx
je 0x411ec9
push 0x734
call fcn.00415b79
add esp, 4
mov dword [ebp - 0x7700], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x7700], 0
je 0x411d6a
lea eax, [ebp - 0x1074]
push eax
mov ecx, dword [ebp - 0x7700]
call fcn.00401c60
mov dword [ebp - 0x7754], eax
jmp 0x411d74
mov dword [ebp - 0x7754], 0
mov ecx, dword [ebp - 0x7754]
mov dword [ebp - 0x76fc], ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x76fc]
mov dword [ebp - 0x6a54], edx
movzx eax, byte [ebp - 0x57c7]
test eax, eax
je 0x411de3
movzx ecx, word [ebp - 0x5bdc]
test ecx, ecx
je 0x411dd9
lea edx, [ebp - 0x5bdc]
push edx
push str.wszDllFile___s__n
call fcn.004139d0
add esp, 8
movzx eax, byte [ebp - 0x5de9]
push eax
lea ecx, [ebp - 0x5bdc]
push ecx
mov ecx, dword [ebp - 0x6a54]
call fcn.00402100
jmp 0x411de3
mov dword [ebp - 0x6a50], 0
movzx edx, byte [ebp - 0x20b5]
test edx, edx
je 0x411e14
lea eax, [ebp - 0x53ac]
push eax
push str.class___s__n
call fcn.004139d0
add esp, 8
lea ecx, [ebp - 0x53ac]
push ecx
mov ecx, dword [ebp - 0x6a54]
call fcn.00402430
movzx edx, byte [ebp - 0x57c6]
test edx, edx
je 0x411e87
lea eax, [ebp - 0x53ac]
push eax
push str.class___s__n
call fcn.004139d0
add esp, 8
movzx ecx, word [ebp - 0x1074]
test ecx, ecx
je 0x411e7d
lea edx, [ebp - 0x53ac]
test edx, edx
je 0x411e7d
lea eax, [ebp - 0x53ac]
push eax
lea ecx, [ebp - 0x1074]
push ecx
lea edx, [ebp - 0x519c]
push edx
mov ecx, dword [ebp - 0x6a54]
call fcn.00403000
mov dword [ebp - 0x6a50], eax
push str.xxx_1_n
call fcn.004139d0
add esp, 4
jmp 0x411e87
mov dword [ebp - 0x6a50], 0
mov eax, dword [ebp - 0x6a54]
mov dword [ebp - 0x7708], eax
mov ecx, dword [ebp - 0x7708]
mov dword [ebp - 0x7704], ecx
cmp dword [ebp - 0x7704], 0
je 0x411ebd
push 1
mov ecx, dword [ebp - 0x7704]
call fcn.004129f0
mov dword [ebp - 0x7758], eax
jmp 0x411ec7
mov dword [ebp - 0x7758], 0
jmp 0x411ed3
mov dword [ebp - 0x6a50], 0
cmp dword [ebp - 0x6a50], 0
je 0x411f18
mov edx, dword [ebp - 0x7744]
mov dword [edx + 0x484], 1
mov eax, dword [ebp - 0x7744]
mov dword [eax + 0x480], 1
push str.PLUGIN_successful
mov ecx, dword [ebp - 0x7744]
add ecx, 0x488
push ecx
call fcn.00415af0
add esp, 8
jmp 0x411f52
mov edx, dword [ebp - 0x7744]
mov dword [edx + 0x484], 1
mov eax, dword [ebp - 0x7744]
mov dword [eax + 0x480], 0
push str.PLUGIN_failed
mov ecx, dword [ebp - 0x7744]
add ecx, 0x488
push ecx
call fcn.00415af0
add esp, 8
push str.DEVSET
lea edx, [ebp - 0x434]
push edx
call fcn.00415dbc
add esp, 8
test eax, eax
jne 0x412151
mov dword [ebp - 0x6a58], 1
movzx eax, word [ebp - 0x1074]
test eax, eax
je 0x4120c8
push 0x208
call fcn.00415b79
add esp, 4
mov dword [ebp - 0x7710], eax
cmp dword [ebp - 0x7710], 0
je 0x411fbd
lea ecx, [ebp - 0x1074]
push ecx
mov ecx, dword [ebp - 0x7710]
call fcn.00401000
mov dword [ebp - 0x775c], eax
jmp 0x411fc7
mov dword [ebp - 0x775c], 0
mov edx, dword [ebp - 0x775c]
mov dword [ebp - 0x770c], edx
mov eax, dword [ebp - 0x770c]
mov dword [ebp - 0x6a5c], eax
movzx ecx, byte [ebp - 0x57c7]
test ecx, ecx
je 0x412021
lea edx, [ebp - 0x519c]
push edx
mov ecx, dword [ebp - 0x6a5c]
call fcn.00401040
mov dword [ebp - 0x6a60], eax
cmp dword [ebp - 0x6a60], 0
je 0x412017
mov dword [ebp - 0x6a58], 1
jmp 0x412021
mov dword [ebp - 0x6a58], 0
movzx eax, byte [ebp - 0x20b5]
test eax, eax
je 0x412063
lea ecx, [ebp - 0x519c]
push ecx
mov ecx, dword [ebp - 0x6a5c]
call fcn.004012d0
mov dword [ebp - 0x6a64], eax
cmp dword [ebp - 0x6a64], 0
je 0x412059
mov dword [ebp - 0x6a58], 1
jmp 0x412063
mov dword [ebp - 0x6a58], 0
movzx edx, byte [ebp - 0x57c6]
test edx, edx
je 0x412086
lea eax, [ebp - 0x519c]
push eax
mov ecx, dword [ebp - 0x6a5c]
call fcn.00401560
mov dword [ebp - 0x6a58], eax
mov ecx, dword [ebp - 0x6a5c]
mov dword [ebp - 0x7718], ecx
mov edx, dword [ebp - 0x7718]
mov dword [ebp - 0x7714], edx
cmp dword [ebp - 0x7714], 0
je 0x4120bc
push 1
mov ecx, dword [ebp - 0x7714]
call fcn.004129c0
mov dword [ebp - 0x7760], eax
jmp 0x4120c6
mov dword [ebp - 0x7760], 0
jmp 0x4120d2
mov dword [ebp - 0x6a58], 0
cmp dword [ebp - 0x6a58], 0
je 0x412117
mov eax, dword [ebp - 0x7744]
mov dword [eax + 0x484], 1
mov ecx, dword [ebp - 0x7744]
mov dword [ecx + 0x480], 1
push str.DEVSET_successful
mov edx, dword [ebp - 0x7744]
add edx, 0x488
push edx
call fcn.00415af0
add esp, 8
jmp 0x412151
mov eax, dword [ebp - 0x7744]
mov dword [eax + 0x484], 1
mov ecx, dword [ebp - 0x7744]
mov dword [ecx + 0x480], 0
push str.DEVSET_failed
mov edx, dword [ebp - 0x7744]
add edx, 0x488
push edx
call fcn.00415af0
add esp, 8
push str.PROFILE
lea eax, [ebp - 0x434]
push eax
call fcn.00415dbc
add esp, 8
test eax, eax
jne 0x4127c2
mov dword [ebp - 0x6a68], 1
movzx ecx, byte [ebp - 0x57cb]
test ecx, ecx
je 0x412525
mov byte [ebp - 0x6a6d], 0
push 0x20c
call fcn.00415b79
add esp, 4
mov dword [ebp - 0x7720], eax
mov dword [ebp - 4], 1
cmp dword [ebp - 0x7720], 0
je 0x4121c8
push 0x4295b4
mov ecx, dword [ebp - 0x7720]
call fcn.00404110
mov dword [ebp - 0x7764], eax
jmp 0x4121d2
mov dword [ebp - 0x7764], 0
mov edx, dword [ebp - 0x7764]
mov dword [ebp - 0x771c], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x771c]
mov dword [ebp - 0x6a6c], eax
cmp dword [ebp - 0x6a6c], 0
je 0x4124dc
xor ecx, ecx
mov word [ebp - 0x7274], cx
push 0x7fe
push 0
lea edx, [ebp - 0x7272]
push edx
call fcn.00416110
add esp, 0xc
mov dword [ebp - 0x7278], 0
lea ecx, [ebp - 0x7294]
call fcn.00412a90
mov dword [ebp - 4], 2
lea eax, [ebp - 0x7294]
push eax
lea ecx, [ebp - 0x3104]
push ecx
mov ecx, dword [ebp - 0x6a6c]
call fcn.00404b80
lea ecx, [ebp - 0x7294]
call fcn.00412a50
mov dword [ebp - 0x727c], eax
mov edx, dword [ebp - 0x7744]
mov dword [edx + 0x484], 1
mov eax, dword [ebp - 0x7744]
mov ecx, dword [ebp - 0x727c]
mov dword [eax + 0x480], ecx
push str.PROFILE_successful
mov edx, dword [ebp - 0x7744]
add edx, 0x488
push edx
call fcn.00415af0
add esp, 8
mov eax, dword [ebp - 0x7744]
add eax, 0x488
push eax
mov ecx, dword [ebp - 0x7744]
mov edx, dword [ecx + 0x480]
push edx
mov eax, dword [ebp - 0x7744]
mov ecx, dword [eax + 0x484]
push ecx
push str._d__d___s_
lea edx, [ebp - 0x7274]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
push 0
lea eax, [ebp - 0x7278]
push eax
lea ecx, [ebp - 0x7274]
push ecx
call fcn.00415bde
add esp, 4
lea edx, [eax + eax + 2]
push edx
lea eax, [ebp - 0x7274]
push eax
mov ecx, dword [ebp - 0x7744]
mov edx, dword [ecx + 0x264]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 0x7744]
mov ecx, dword [eax + 0x264]
push ecx
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov dword [ebp - 0x7298], 0
jmp 0x41233f
mov edx, dword [ebp - 0x7298]
add edx, 1
mov dword [ebp - 0x7298], edx
mov eax, dword [ebp - 0x7298]
cmp eax, dword [ebp - 0x727c]
jge 0x412423
xor ecx, ecx
mov word [ebp - 0x74a4], cx
push 0x206
push 0
lea edx, [ebp - 0x74a2]
push edx
call fcn.00416110
add esp, 0xc
mov eax, dword [ebp - 0x7298]
push eax
lea ecx, [ebp - 0x7294]
call fcn.00412a70
push eax
lea ecx, [ebp - 0x74a4]
push ecx
call fcn.00415af0
add esp, 8
lea edx, [ebp - 0x74a4]
push edx
push str.__s_
lea eax, [ebp - 0x7274]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
mov dword [ebp - 0x7278], 0
push 0
lea ecx, [ebp - 0x7278]
push ecx
lea edx, [ebp - 0x7274]
push edx
call fcn.00415bde
add esp, 4
lea eax, [eax + eax + 2]
push eax
lea ecx, [ebp - 0x7274]
push ecx
mov edx, dword [ebp - 0x7744]
mov eax, dword [edx + 0x264]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 0x7744]
mov edx, dword [ecx + 0x264]
push edx
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x7274]
push eax
push str.wszReturn___s__n
call fcn.004139d0
add esp, 8
jmp 0x412330
lea ecx, [ebp - 0x7294]
call fcn.00412b00
mov dword [ebp - 0x7278], 0
push 0
lea ecx, [ebp - 0x7278]
push ecx
push 8
push 0x42ac78
mov edx, dword [ebp - 0x7744]
mov eax, dword [edx + 0x264]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 0x7744]
mov edx, dword [ecx + 0x264]
push edx
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x7744]
mov byte [eax + 0x26d], 1
mov ecx, dword [ebp - 0x6a6c]
mov dword [ebp - 0x7728], ecx
mov edx, dword [ebp - 0x7728]
mov dword [ebp - 0x7724], edx
cmp dword [ebp - 0x7724], 0
je 0x4124b9
push 1
mov ecx, dword [ebp - 0x7724]
call fcn.00412a20
mov dword [ebp - 0x7768], eax
jmp 0x4124c3
mov dword [ebp - 0x7768], 0
mov byte [ebp - 0x6a6d], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x7294]
call fcn.00412ae0
movzx eax, byte [ebp - 0x6a6d]
test eax, eax
jne 0x412520
mov ecx, dword [ebp - 0x7744]
mov dword [ecx + 0x484], 1
mov edx, dword [ebp - 0x7744]
mov dword [edx + 0x480], 0
push str.PROFILE_failed
mov eax, dword [ebp - 0x7744]
add eax, 0x488
push eax
call fcn.00415af0
add esp, 8
jmp 0x4127c2
movzx ecx, word [ebp - 0x1074]
test ecx, ecx
jne 0x41253f
movzx edx, byte [ebp - 0x57c5]
test edx, edx
je 0x41270b
push 0x20c
call fcn.00415b79
add esp, 4
mov dword [ebp - 0x7730], eax
mov dword [ebp - 4], 3
cmp dword [ebp - 0x7730], 0
je 0x41257c
lea eax, [ebp - 0x1074]
push eax
mov ecx, dword [ebp - 0x7730]
call fcn.00404110
mov dword [ebp - 0x776c], eax
jmp 0x412586
mov dword [ebp - 0x776c], 0
mov ecx, dword [ebp - 0x776c]
mov dword [ebp - 0x772c], ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x772c]
mov dword [ebp - 0x74a8], edx
movzx eax, byte [ebp - 0x519d]
test eax, eax
je 0x4125d1
movzx ecx, byte [ebp - 0xa55]
push ecx
lea edx, [ebp - 0x4f94]
push edx
lea eax, [ebp - 0x3104]
push eax
mov ecx, dword [ebp - 0x74a8]
call fcn.00404610
movzx ecx, byte [ebp - 0x371d]
test ecx, ecx
je 0x41264c
mov byte [ebp - 0x75b4], 0
push 0x103
push 0
lea edx, [ebp - 0x75b3]
push edx
call fcn.00416110
add esp, 0xc
push 0
lea eax, [ebp - 0x3b3c]
push eax
lea ecx, [ebp - 0x75b4]
push ecx
mov edx, dword [ebp - 0x7744]
mov ecx, dword [edx + 0x21c]
call fcn.004143f0
lea eax, [ebp - 0x75b4]
push eax
lea ecx, [ebp - 0x3104]
push ecx
mov ecx, dword [ebp - 0x74a8]
call fcn.004041d0
mov dword [ebp - 0x74ac], eax
cmp dword [ebp - 0x74ac], 0
jne 0x41264c
mov dword [ebp - 0x6a68], 0
movzx edx, byte [ebp - 0x57c5]
test edx, edx
je 0x4126c9
mov byte [ebp - 0x76bc], 0
push 0x103
push 0
lea eax, [ebp - 0x76bb]
push eax
call fcn.00416110
add esp, 0xc
lea ecx, [ebp - 0x76bc]
push ecx
lea edx, [ebp - 0x3104]
push edx
mov ecx, dword [ebp - 0x74a8]
call fcn.00404eb0
movsx eax, byte [ebp - 0x76bc]
test eax, eax
je 0x4126c9
push 0
lea ecx, [ebp - 0x76bc]
push ecx
mov edx, dword [ebp - 0x7744]
add edx, 0x488
push edx
mov eax, dword [ebp - 0x7744]
mov ecx, dword [eax + 0x21c]
call fcn.00414480
mov dword [ebp - 0x6a68], 1
mov ecx, dword [ebp - 0x74a8]
mov dword [ebp - 0x7738], ecx
mov edx, dword [ebp - 0x7738]
mov dword [ebp - 0x7734], edx
cmp dword [ebp - 0x7734], 0
je 0x4126ff
push 1
mov ecx, dword [ebp - 0x7734]
call fcn.00412a20
mov dword [ebp - 0x7770], eax
jmp 0x412709
mov dword [ebp - 0x7770], 0
jmp 0x412715
mov dword [ebp - 0x6a68], 0
cmp dword [ebp - 0x6a68], 0
je 0x412764
mov eax, dword [ebp - 0x7744]
mov dword [eax + 0x484], 1
mov ecx, dword [ebp - 0x7744]
mov dword [ecx + 0x480], 0
movzx edx, byte [ebp - 0x57c5]
test edx, edx
jne 0x412762
push str.PROFILE_successful
mov eax, dword [ebp - 0x7744]
add eax, 0x488
push eax
call fcn.00415af0
add esp, 8
jmp 0x4127c2
mov ecx, dword [ebp - 0x7744]
mov dword [ecx + 0x484], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x41278a
mov dword [ebp - 0x7774], 2
jmp 0x412796
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x7774], eax
mov edx, dword [ebp - 0x7744]
mov eax, dword [ebp - 0x7774]
mov dword [edx + 0x480], eax
push str.PROFILE_failed
mov ecx, dword [ebp - 0x7744]
add ecx, 0x488
push ecx
call fcn.00415af0
add esp, 8
push 0x42ac6c
lea edx, [ebp - 0x434]
push edx
call fcn.00415dbc
add esp, 8
test eax, eax
jne 0x4127fb
mov ecx, dword [ebp - 0x7744]
call fcn.00410590
push 0
push 0
push 0x10
mov eax, dword [ebp - 0x7744]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
push 0x42bd88
lea edx, [ebp - 0x434]
push edx
call fcn.00415dbc
add esp, 8
test eax, eax
jne 0x4128ec
push 1
mov ecx, dword [ebp - 0x10]
call fcn.0040ff10
push eax
call fcn.00418af0
add esp, 4
mov dword [ebp - 0x76c0], eax
mov eax, dword [ebp - 0x76c0]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x412853
mov ecx, dword [ebp - 0x7744]
mov edx, dword [ebp - 0x76c0]
mov dword [ecx + 0x270], edx
mov ecx, dword [ebp - 0x10]
call fcn.0040ff50
cmp eax, 3
jne 0x41287f
push 2
mov ecx, dword [ebp - 0x10]
call fcn.0040ff10
push eax
mov eax, dword [ebp - 0x7744]
add eax, 0x274
push eax
call fcn.00415af0
add esp, 8
push 0
push 0
push 0
push 0xcf0000
push str.KmPkgInst
mov ecx, dword [ebp - 0x7744]
call fcn.004101c0
mov ecx, dword [ebp - 0x7744]
call fcn.00410550
push 0
push 0
push 0
lea ecx, [ebp - 0x76dc]
push ecx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x4128d8
lea edx, [ebp - 0x76dc]
push edx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x76dc]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x4128a5
mov ecx, dword [ebp - 0x76d4]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x7744]
call fcn.00410590
push str.SETHWND
lea edx, [ebp - 0x434]
push edx
call fcn.00415dbc
add esp, 8
test eax, eax
jne 0x412952
push 1
mov ecx, dword [ebp - 0x10]
call fcn.0040ff10
push eax
call fcn.00418af0
add esp, 4
mov dword [ebp - 0x76e0], eax
mov eax, dword [ebp - 0x76e0]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x412942
mov ecx, dword [ebp - 0x7744]
mov edx, dword [ebp - 0x76e0]
mov dword [ecx + 0x270], edx
jmp 0x412952
mov eax, dword [ebp - 0x7744]
mov dword [eax + 0x270], 0
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x7740], ecx
mov edx, dword [ebp - 0x7740]
mov dword [ebp - 0x773c], edx
cmp dword [ebp - 0x773c], 0
je 0x412985
push 1
mov ecx, dword [ebp - 0x773c]
call fcn.004129c0
mov dword [ebp - 0x7778], eax
jmp 0x41298f
mov dword [ebp - 0x7778], 0
push str.PKGMAIN::HandleRequest_end._n
call fcn.00413880
add esp, 4
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x24]
xor ecx, ebp
call fcn.00415aa8
mov esp, ebp
pop ebp
ret 8