Function at 0x45cf20
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x4ce4bc]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 7
call fcn.0045b9a0
mov edx, dword [ebp - 8]
add esp, 4
cmp edx, 8
jb 0x45cf90
mov ecx, dword [ebp - 0x1c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45cf86
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x45cf86
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00499aee
add esp, 8
lea eax, [ebp - 0x34]
push eax
call fcn.0041a420
push eax
call fcn.0045cb80
mov edx, dword [ebp - 0x20]
add esp, 8
cmp edx, 8
jb 0x45cfde
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45cfd4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x45cfd4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00499aee
add esp, 8
push ebx
push esi
push edi
push 0
or ebx, 0xffffffff
call fcn.0048f0f0
add esp, 4
test al, al
je 0x45d20e
lea ecx, [ebp - 0x48]
call fcn.00402010
lea eax, [ebp - 0x54]
mov dword [ebp - 0x54], 0
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x50], 0
push eax
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 7
call fcn.00402410
mov edx, dword [ebp - 8]
mov ebx, eax
cmp edx, 8
jb 0x45d074
mov ecx, dword [ebp - 0x1c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45d06a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45d128
push edx
push ecx
call fcn.00499aee
add esp, 8
mov esi, dword [ebp - 0x54]
xor eax, eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 7
mov word [ebp - 0x1c], ax
test esi, esi
je 0x45d138
mov edi, dword [ebp - 0x50]
cmp esi, edi
je 0x45d0f2
lea ebx, [ebx]
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x45d0d5
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x45d0cb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45d128
mov eax, edx
push ecx
push eax
call fcn.00499aee
add esp, 8
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
add esi, 0x18
cmp esi, edi
jne 0x45d0a0
mov esi, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x4c]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x45d12e
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x45d12e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.00499aee
add esp, 8
cmp ebx, 0xffffffff
je 0x45d147
cmp bx, 1
jne 0x45d201
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x5c]
call fcn.00443cb0
push 2
lea ecx, [ebp - 0x5c]
call fcn.00443ea0
mov ebx, eax
cmp ebx, 0xffffffff
je 0x45d16e
cmp bx, 1
jne 0x45d1f9
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push eax
push dword [0x4d58a8]
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 7
call fcn.004141b0
add esp, 8
test al, al
je 0x45d1b1
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x48]
call fcn.00404a10
mov ecx, dword [ebp - 0x58]
test ecx, ecx
je 0x45d1b1
call fcn.004566c0
push 1
lea ecx, [ebp - 0x5c]
call fcn.00443ea0
mov edx, dword [ebp - 8]
mov ebx, eax
cmp edx, 8
jb 0x45d1f9
mov ecx, dword [ebp - 0x1c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45d1ef
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x45d1ef
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00499aee
add esp, 8
lea ecx, [ebp - 0x5c]
call fcn.00443e10
lea ecx, [ebp - 0x48]
call fcn.00402300
jmp 0x45d63e
lea ecx, [ebp - 0xa0]
call fcn.00402010
lea eax, [ebp - 0x54]
mov dword [ebp - 0x54], 0
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x50], 0
push eax
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 7
call fcn.00402410
mov edx, dword [ebp - 8]
mov edi, eax
mov dword [ebp - 0x60], edi
cmp edx, 8
jb 0x45d295
mov ecx, dword [ebp - 0x1c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45d28b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45d348
push edx
push ecx
call fcn.00499aee
add esp, 8
mov esi, dword [ebp - 0x54]
xor eax, eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 7
mov word [ebp - 0x1c], ax
test esi, esi
je 0x45d35b
mov edi, dword [ebp - 0x50]
cmp esi, edi
je 0x45d312
jmp 0x45d2c0
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x45d2f5
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x45d2eb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45d348
mov eax, edx
push ecx
push eax
call fcn.00499aee
add esp, 8
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
add esi, 0x18
cmp esi, edi
jne 0x45d2c0
mov esi, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x4c]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x45d34e
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x45d34e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.00499aee
mov edi, dword [ebp - 0x60]
add esp, 8
cmp edi, 0xffffffff
je 0x45d36a
cmp di, 1
jne 0x45d5e4
push 0
call fcn.0048ef10
add esp, 4
test al, al
jne 0x45d5c1
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edx, eax
mov dword [ebp - 0x1c], 0
mov ecx, edx
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 7
lea esi, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45d3a0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x1c]
call fcn.00404580
call fcn.0048f400
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0x1c]
test al, al
je 0x45d442
push 8
push str.ksoqing:
push 0
push dword [ebp - 0xc]
cmp esi, 8
lea eax, [ebp - 0x1c]
cmovae eax, edi
push eax
call fcn.00405110
add esp, 0x14
cmp eax, 0xffffffff
je 0x45d442
push 0xc
push 0x4a974c
push 0
push dword [ebp - 0xc]
cmp esi, 8
lea eax, [ebp - 0x1c]
cmovae eax, edi
push eax
call fcn.00405110
add esp, 0x14
cmp eax, 0xffffffff
jne 0x45d442
push 8
push str.ksoqing:
push 0
push dword [ebp - 0xc]
cmp esi, 8
lea eax, [ebp - 0x1c]
cmovae eax, edi
push eax
call fcn.00405110
add esp, 0x14
lea ecx, [ebp - 0x1c]
push 0xd
push str._qingbangong
push eax
call fcn.004047f0
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0x1c]
cmp esi, 8
lea eax, [ebp - 0x1c]
cmovae eax, edi
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.00413bd0
lea eax, [ebp - 0x54]
push eax
call fcn.0045cd10
add esp, 0xc
test al, al
je 0x45d525
push str._wps
lea ecx, [ebp - 0x34]
call fcn.00401960
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x54]
lea ecx, [ebp - 0x54]
add eax, 0x18
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.00415870
mov edx, dword [ebp - 0x20]
cmp edx, 8
jb 0x45d4c7
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45d4bd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45d5b1
push edx
push ecx
call fcn.00499aee
add esp, 8
push str._prometheus
lea ecx, [ebp - 0x34]
call fcn.00401960
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x54]
lea ecx, [ebp - 0x54]
add eax, 0x18
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.00415870
mov edx, dword [ebp - 0x20]
cmp edx, 8
jb 0x45d525
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45d51b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45d5b1
push edx
push ecx
call fcn.00499aee
add esp, 8
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.004161f0
add esp, 8
lea ecx, [ebp - 0xa0]
push eax
call fcn.00404a10
mov edx, dword [ebp - 0x20]
cmp edx, 8
jb 0x45d57d
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45d573
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x45d573
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00499aee
add esp, 8
lea ecx, [ebp - 0x54]
call fcn.00401b00
mov edx, dword [ebp - 8]
cmp edx, 8
jb 0x45d5c1
mov ecx, dword [ebp - 0x1c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45d5b7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x45d5b7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00499aee
add esp, 8
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x74]
call fcn.00443cb0
push 0
lea ecx, [ebp - 0x74]
call fcn.00443ea0
lea ecx, [ebp - 0x74]
mov edi, eax
call fcn.00443e10
lea ecx, [ebp - 0xa0]
call fcn.00402300
cmp byte [0x4d58f8], 0
je 0x45d62b
push 0
push 0
push 0x4ac4b4
push str.PrometheusExit
push 1
call fcn.0045bb60
add esp, 0x14
cmp byte [0x4d58f8], 0
je 0x45d62b
push 0xff
push str.PrometheusExit
call fcn.0045bbc0
add esp, 8
call fcn.0045ba30
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
call fcn.0045ba30
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00499afc
mov esp, ebp
pop ebp
ret 0x10