Function at 0x10049030
Capabilities:
Contain obfuscated stackstrings
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10156c94
mov eax, dword fs:[0]
push eax
sub esp, 0x6b0
mov eax, dword [0x101ac034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x56c], ecx
push str.PcWaDb_CHandlePcWAMessageEvent_begin
push 1
push 0x55
push 0x1016d088
push 0x1016d0c8
call fcn.10145f00
add esp, 0x14
lea eax, [ebp - 0x60]
push eax
call fcn.10048c20
add esp, 4
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x60]
call fcn.10001f20
movzx ecx, al
test ecx, ecx
je 0x100490da
push str.PcWaDb__getUsername_Error
push 1
push 0x5a
push 0x1016d108
push 0x1016d148
call fcn.10145f00
add esp, 0x14
mov byte [ebp - 0x39b], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x60]
call fcn.10003e00
mov al, byte [ebp - 0x39b]
jmp 0x1004a5bf
lea edx, [ebp - 0x60]
push edx
push str.C:Users_
lea eax, [ebp - 0x62c]
push eax
call fcn.1001bbc0
add esp, 0xc
mov dword [ebp - 0x458], eax
mov ecx, dword [ebp - 0x458]
mov dword [ebp - 0x3e0], ecx
mov byte [ebp - 4], 1
push str.AppDataLocalPackages
mov edx, dword [ebp - 0x3e0]
push edx
lea eax, [ebp - 0x78]
push eax
call fcn.1000bd90
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x62c]
call fcn.10003e00
lea ecx, [ebp - 0x48]
call fcn.10003f70
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x78]
call fcn.10002bf0
push eax
push str.wcsBasePath___ls
push 1
push 0x60
push 0x1016d1c4
push 0x1016d204
call fcn.10145f00
add esp, 0x18
lea ecx, [ebp - 0x48]
push ecx
lea edx, [ebp - 0x78]
push edx
call fcn.10048cc0
add esp, 8
lea ecx, [ebp - 0x48]
call fcn.10001f20
movzx eax, al
test eax, eax
je 0x100491b7
mov byte [ebp - 0x396], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x48]
call fcn.10003e00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x78]
call fcn.10003e00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x60]
call fcn.10003e00
mov al, byte [ebp - 0x396]
jmp 0x1004a5bf
push 0x1016d238
lea ecx, [ebp - 0x48]
push ecx
lea edx, [ebp - 0x6bc]
push edx
call fcn.1000bcd0
add esp, 0xc
mov dword [ebp - 0x3e8], eax
mov eax, dword [ebp - 0x3e8]
mov dword [ebp - 0x3f0], eax
mov byte [ebp - 4], 5
push str.WAMS.db
mov ecx, dword [ebp - 0x3f0]
push ecx
lea edx, [ebp - 0xa8]
push edx
call fcn.1000bd90
add esp, 0xc
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x6bc]
call fcn.10003e00
lea eax, [ebp - 0xa8]
push eax
lea ecx, [ebp - 0x30]
push ecx
call fcn.10048ea0
add esp, 8
mov byte [ebp - 4], 8
sub esp, 0x18
mov edx, esp
mov eax, dword [ebp - 0x30]
mov dword [edx], eax
mov ecx, dword [ebp - 0x2c]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x28]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x24]
mov dword [edx + 0xc], ecx
mov eax, dword [ebp - 0x20]
mov dword [edx + 0x10], eax
mov ecx, dword [ebp - 0x1c]
mov dword [edx + 0x14], ecx
push str.PcWaDb___s
push 1
push 0x6a
push 0x1016d248
push 0x1016d288
call fcn.10145f00
add esp, 0x2c
lea edx, [ebp - 0x388]
push edx
lea ecx, [ebp - 0x30]
call fcn.10001f00
push eax
call fcn.100f89d0
add esp, 8
mov dword [ebp - 0x3f8], eax
cmp dword [ebp - 0x3f8], 0
je 0x100492ff
push str.PcWaDb_Sqlite3_Open_Error
push 1
push 0x6e
push 0x1016d2c8
push 0x1016d308
call fcn.10145f00
add esp, 0x14
mov byte [ebp - 0x398], 1
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x30]
call fcn.10001f50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xa8]
call fcn.10003e00
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x48]
call fcn.10003e00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x78]
call fcn.10003e00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x60]
call fcn.10003e00
mov al, byte [ebp - 0x398]
jmp 0x1004a5bf
push str.SELECT_id__package_type__message_type__content__sender__receiver__timestamp_FROM_messages_
lea ecx, [ebp - 0xd8]
call fcn.100029e0
mov byte [ebp - 4], 9
push 0
lea eax, [ebp - 0x384]
push eax
push 0xffffffffffffffff
lea ecx, [ebp - 0xd8]
call fcn.10001f00
push eax
mov ecx, dword [ebp - 0x388]
push ecx
call fcn.100d5620
add esp, 0x14
mov dword [ebp - 0x394], eax
cmp dword [ebp - 0x394], 0
je 0x100493f7
push 0x1004a640
mov edx, dword [ebp - 0x388]
push edx
call fcn.100f7910
add esp, 4
push eax
push str.Failed_to_prepare_statement:
mov eax, dword [sym.imp.MSVCP120.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
push eax
call fcn.1003b600
add esp, 8
push eax
call fcn.1003b600
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP120.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov ecx, dword [ebp - 0x388]
push ecx
call fcn.100f6550
add esp, 4
mov byte [ebp - 0x38d], 0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xd8]
call fcn.10001f50
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x30]
call fcn.10001f50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xa8]
call fcn.10003e00
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x48]
call fcn.10003e00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x78]
call fcn.10003e00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x60]
call fcn.10003e00
mov al, byte [ebp - 0x38d]
jmp 0x1004a5bf
mov edx, dword [ebp - 0x384]
push edx
call fcn.100a5600
add esp, 4
mov dword [ebp - 0x394], eax
cmp dword [ebp - 0x394], 0x64
jne 0x1004a543
lea ecx, [ebp - 0x380]
call fcn.10048870
mov byte [ebp - 4], 0xa
call fcn.10104c10
mov dword [ebp - 0x3a4], eax
push 4
lea ecx, [ebp - 0x14]
call fcn.10001860
lea ecx, [ebp - 0x14]
call fcn.101212e0
mov byte [ebp - 4], 0xb
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x580], esp
push str.ImMessage
call fcn.100029e0
mov dword [ebp - 0x400], eax
mov eax, dword [ebp - 0x400]
mov dword [ebp - 0x588], eax
mov byte [ebp - 4], 0xc
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x590], esp
push 0x1016d3b4
call fcn.100029e0
mov dword [ebp - 0x598], eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x14]
call fcn.10121300
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x5a0], esp
push ecx
call fcn.100fd8b0
add esp, 4
mov dword [ebp - 0x5a8], eax
lea ecx, [ebp - 0x6a4]
call fcn.1007d260
add esp, 0x18
mov dword [ebp - 0x408], eax
mov edx, dword [ebp - 0x408]
mov dword [ebp - 0x410], edx
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x410]
call fcn.10001f00
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x5b0], esp
push eax
call fcn.100029e0
mov dword [ebp - 0x418], eax
mov eax, dword [ebp - 0x418]
mov dword [ebp - 0x5b8], eax
mov byte [ebp - 4], 0xe
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x5c0], esp
push 0x1016d3bc
call fcn.100029e0
mov dword [ebp - 0x5c8], eax
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x14]
call fcn.10121300
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x6a4]
call fcn.10001f50
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x5d0], esp
push 0x1016d3c4
call fcn.100029e0
mov dword [ebp - 0x420], eax
mov ecx, dword [ebp - 0x420]
mov dword [ebp - 0x5d8], ecx
mov byte [ebp - 4], 0xf
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x5e0], esp
push 0x1016d3d0
call fcn.100029e0
mov dword [ebp - 0x5e8], eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x14]
call fcn.10121300
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x5f0], esp
push str.PcApp
call fcn.100029e0
mov dword [ebp - 0x428], eax
mov edx, dword [ebp - 0x428]
mov dword [ebp - 0x608], edx
mov byte [ebp - 4], 0x10
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x464], esp
push 0x1016d3e0
call fcn.100029e0
mov dword [ebp - 0x54c], eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x14]
call fcn.10121300
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x46c], esp
push 0x1016d3ec
call fcn.100029e0
mov dword [ebp - 0x430], eax
mov eax, dword [ebp - 0x430]
mov dword [ebp - 0x60c], eax
mov byte [ebp - 4], 0x11
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x474], esp
push 0x1016d3f8
call fcn.100029e0
mov dword [ebp - 0x554], eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x14]
call fcn.10121300
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x47c], esp
lea edx, [ebp - 0x334]
push edx
call fcn.1000d6d0
mov dword [ebp - 0x438], eax
mov eax, dword [ebp - 0x438]
mov dword [ebp - 0x5c4], eax
mov byte [ebp - 4], 0x12
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x484], esp
push 0x1016d400
call fcn.100029e0
mov dword [ebp - 0x55c], eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x14]
call fcn.10121300
mov ecx, dword [ebp - 0x270]
push ecx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x48c], esp
push 0x1016d404
call fcn.100029e0
mov dword [ebp - 0x614], eax
lea ecx, [ebp - 0x14]
call fcn.10121390
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x494], esp
lea edx, [ebp - 0x26c]
push edx
call fcn.1000d6d0
mov dword [ebp - 0x440], eax
mov eax, dword [ebp - 0x440]
mov dword [ebp - 0x564], eax
mov byte [ebp - 4], 0x13
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x49c], esp
push 0x1016d410
call fcn.100029e0
mov dword [ebp - 0x5cc], eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x14]
call fcn.10121300
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x4a4], esp
lea edx, [ebp - 0x1d4]
push edx
call fcn.1000d6d0
mov dword [ebp - 0x448], eax
mov eax, dword [ebp - 0x448]
mov dword [ebp - 0x45c], eax
mov byte [ebp - 4], 0x14
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x4ac], esp
push 0x1016d41c
call fcn.100029e0
mov dword [ebp - 0x600], eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x14]
call fcn.10121300
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x4b4], esp
lea edx, [ebp - 0x2d0]
push edx
call fcn.1000d6d0
mov dword [ebp - 0x450], eax
mov eax, dword [ebp - 0x450]
mov dword [ebp - 0x574], eax
mov byte [ebp - 4], 0x15
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x4bc], esp
push 0x1016d428
call fcn.100029e0
mov dword [ebp - 0x5d4], eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x14]
call fcn.10121300
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x4c4], esp
lea edx, [ebp - 0x2a0]
push edx
call fcn.1000d6d0
mov dword [ebp - 0x3b8], eax
mov eax, dword [ebp - 0x3b8]
mov dword [ebp - 0x57c], eax
mov byte [ebp - 4], 0x16
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x4cc], esp
push str.senderHeader
call fcn.100029e0
mov dword [ebp - 0x610], eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x14]
call fcn.10121300
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x4d4], esp
lea edx, [ebp - 0x288]
push edx
call fcn.1000d6d0
mov dword [ebp - 0x40c], eax
mov eax, dword [ebp - 0x40c]
mov dword [ebp - 0x584], eax
mov byte [ebp - 4], 0x17
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x4dc], esp
push str.receiverHeader
call fcn.100029e0
mov dword [ebp - 0x5dc], eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x14]
call fcn.10121300
push 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x4e4], esp
push 0x1016d450
call fcn.100029e0
mov dword [ebp - 0x58c], eax
lea ecx, [ebp - 0x14]
call fcn.10121390
call fcn.10104c10
mov dword [ebp - 0x3ac], eax
mov ecx, dword [ebp - 0x3ac]
push ecx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x4ec], esp
push 0x1016d458
call fcn.100029e0
mov dword [ebp - 0x5f8], eax
lea ecx, [ebp - 0x14]
call fcn.101214b0
push 0
mov edx, dword [ebp - 0x384]
push edx
call fcn.100a5e60
add esp, 8
mov dword [ebp - 0x3d8], eax
push 1
mov eax, dword [ebp - 0x384]
push eax
call fcn.100a5e60
add esp, 8
mov dword [ebp - 0x3a0], eax
push 2
mov ecx, dword [ebp - 0x384]
push ecx
call fcn.100a5e60
add esp, 8
mov dword [ebp - 0x3a8], eax
push 3
mov edx, dword [ebp - 0x384]
push edx
call fcn.100a5fb0
add esp, 8
push eax
lea ecx, [ebp - 0x90]
call fcn.100029e0
mov byte [ebp - 4], 0x18
push 4
mov eax, dword [ebp - 0x384]
push eax
call fcn.100a5fb0
add esp, 8
push eax
lea ecx, [ebp - 0x168]
call fcn.100029e0
mov byte [ebp - 4], 0x19
push 5
mov ecx, dword [ebp - 0x384]
push ecx
call fcn.100a5fb0
add esp, 8
push eax
lea ecx, [ebp - 0x108]
call fcn.100029e0
mov byte [ebp - 4], 0x1a
push 6
mov edx, dword [ebp - 0x384]
push edx
call fcn.100a5fb0
add esp, 8
push eax
lea ecx, [ebp - 0x138]
call fcn.100029e0
mov byte [ebp - 4], 0x1b
push 4
lea ecx, [ebp - 0x18]
call fcn.10001860
lea ecx, [ebp - 0x18]
call fcn.101212e0
mov byte [ebp - 4], 0x1c
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x4f4], esp
push 0x1016d460
call fcn.100029e0
mov dword [ebp - 0x3c4], eax
mov eax, dword [ebp - 0x3c4]
mov dword [ebp - 0x594], eax
mov byte [ebp - 4], 0x1d
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x4fc], esp
push 0x1016d464
call fcn.100029e0
mov dword [ebp - 0x5e4], eax
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x14]
call fcn.10121300
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x504], esp
lea edx, [ebp - 0x108]
push edx
call fcn.1000d6d0
mov dword [ebp - 0x434], eax
mov eax, dword [ebp - 0x434]
mov dword [ebp - 0x59c], eax
mov byte [ebp - 4], 0x1e
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x50c], esp
push 0x1016d46c
call fcn.100029e0
mov dword [ebp - 0x5fc], eax
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x14]
call fcn.10121300
cmp dword [ebp - 0x3a0], 0
je 0x10049a4a
cmp dword [ebp - 0x3a0], 1
jne 0x10049a9e
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x514], esp
push 0x1016d478
call fcn.100029e0
mov dword [ebp - 0x3cc], eax
mov ecx, dword [ebp - 0x3cc]
mov dword [ebp - 0x5a4], ecx
mov byte [ebp - 4], 0x1f
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x51c], esp
push 0x1016d47c
call fcn.100029e0
mov dword [ebp - 0x5ec], eax
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x18]
call fcn.10121300
jmp 0x10049af2
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x524], esp
lea edx, [ebp - 0x168]
push edx
call fcn.1000d6d0
mov dword [ebp - 0x414], eax
mov eax, dword [ebp - 0x414]
mov dword [ebp - 0x5ac], eax
mov byte [ebp - 4], 0x20
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x52c], esp
push str.currentSender
call fcn.100029e0
mov dword [ebp - 0x604], eax
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x18]
call fcn.10121300
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x534], esp
lea edx, [ebp - 0x138]
push edx
call fcn.1000d6d0
mov dword [ebp - 0x3d4], eax
mov eax, dword [ebp - 0x3d4]
mov dword [ebp - 0x5b4], eax
mov byte [ebp - 4], 0x21
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x53c], esp
push str.currentDate
call fcn.100029e0
mov dword [ebp - 0x5f4], eax
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x18]
call fcn.10121300
cmp dword [ebp - 0x3a8], 6
jne 0x10049bcd
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x544], esp
lea edx, [ebp - 0x90]
push edx
call fcn.1000d6d0
mov dword [ebp - 0x454], eax
mov eax, dword [ebp - 0x454]
mov dword [ebp - 0x5bc], eax
mov byte [ebp - 4], 0x22
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x460], esp
push 0x1016d4a8
call fcn.100029e0
mov dword [ebp - 0x468], eax
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x18]
call fcn.10121300
push 1
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x470], esp
push 0x1016d4b4
call fcn.100029e0
mov dword [ebp - 0x478], eax
lea ecx, [ebp - 0x18]
call fcn.10121390
jmp 0x1004a06b
cmp dword [ebp - 0x3a8], 3
jne 0x1004a06b
cmp dword [ebp - 0x3a0], 0
je 0x10049bf0
cmp dword [ebp - 0x3a0], 1
jne 0x10049e60
push 0x1016d4c4
lea ecx, [ebp - 0x90]
push ecx
lea edx, [ebp - 0x150]
push edx
call fcn.1004a680
add esp, 0xc
mov byte [ebp - 4], 0x23
push 1
lea ecx, [ebp - 0x150]
call fcn.10001f00
push eax
lea ecx, [ebp - 0x90]
call fcn.10001f00
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea eax, [ebp - 0x644]
push eax
call fcn.10048fb0
add esp, 4
mov dword [ebp - 0x3dc], eax
mov ecx, dword [ebp - 0x3dc]
mov dword [ebp - 0x41c], ecx
mov byte [ebp - 4], 0x24
mov ecx, dword [ebp - 0x41c]
call fcn.10001f00
push eax
sub esp, 0x18
mov edx, esp
mov dword [ebp - 0x480], esp
push edx
call fcn.100fd8b0
add esp, 4
mov dword [ebp - 0x488], eax
lea ecx, [ebp - 0x674]
call fcn.1007d260
add esp, 0x18
mov dword [ebp - 0x3e4], eax
mov eax, dword [ebp - 0x3e4]
mov dword [ebp - 0x43c], eax
mov byte [ebp - 4], 0x25
mov ecx, dword [ebp - 0x43c]
call fcn.10001f00
push eax
push 0x1016d4cc
lea ecx, [ebp - 0x120]
push ecx
call fcn.1007ceb0
add esp, 0x10
mov dword [ebp - 0x490], eax
mov byte [ebp - 4], 0x27
lea ecx, [ebp - 0x674]
call fcn.10001f50
mov byte [ebp - 4], 0x28
lea ecx, [ebp - 0x644]
call fcn.10001f50
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x498], esp
lea edx, [ebp - 0x120]
push edx
call fcn.1000d6d0
mov dword [ebp - 0x3ec], eax
mov eax, dword [ebp - 0x3ec]
mov dword [ebp - 0x4a0], eax
mov byte [ebp - 4], 0x29
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x4a8], esp
lea edx, [ebp - 0x150]
push edx
call fcn.1000d6d0
mov dword [ebp - 0x424], eax
mov eax, dword [ebp - 0x424]
mov dword [ebp - 0x4b0], eax
mov byte [ebp - 4], 0x2a
call dword [sym.imp.NetCommHelper.dll_public:_static_class_CNetManager____cdecl_CNetManager::GetInstance_void_]
mov byte [ebp - 4], 0x28
mov ecx, eax
call dword [sym.imp.NetCommHelper.dll_public:_bool___thiscall_CNetManager::UploadFile_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___]
mov byte [ebp - 0x38e], al
mov cl, byte [ebp - 0x38e]
mov byte [ebp - 0x39a], cl
movzx edx, byte [ebp - 0x39a]
test edx, edx
je 0x10049d77
mov dword [ebp - 0x3b4], 0x1016d4dc
jmp 0x10049d81
mov dword [ebp - 0x3b4], 0x1016d4e4
mov eax, dword [ebp - 0x3b4]
push eax
lea ecx, [ebp - 0x120]
call fcn.10001f00
push eax
push 0x1016d4ec
push 1
push 0xb5
push 0x1016d514
push 0x1016d554
call fcn.10145f00
add esp, 0x1c
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x4b8], esp
lea edx, [ebp - 0x120]
push edx
call fcn.1000d6d0
mov dword [ebp - 0x3f4], eax
mov eax, dword [ebp - 0x3f4]
mov dword [ebp - 0x4c0], eax
mov byte [ebp - 4], 0x2b
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x4c8], esp
push 0x1016d578
call fcn.100029e0
mov dword [ebp - 0x4d0], eax
mov byte [ebp - 4], 0x28
lea ecx, [ebp - 0x18]
call fcn.10121300
push 2
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x4d8], esp
push 0x1016d584
call fcn.100029e0
mov dword [ebp - 0x4e0], eax
lea ecx, [ebp - 0x18]
call fcn.10121390
lea ecx, [ebp - 0x150]
call fcn.10001f00
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0x120]
call fcn.10001f50
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x150]
call fcn.10001f50
jmp 0x1004a06b
lea ecx, [ebp - 0x68c]
push ecx
call fcn.10048fb0
add esp, 4
mov dword [ebp - 0x44c], eax
mov edx, dword [ebp - 0x44c]
mov dword [ebp - 0x3fc], edx
mov byte [ebp - 4], 0x2c
mov ecx, dword [ebp - 0x3fc]
call fcn.10001f00
push eax
sub esp, 0x18
mov eax, esp
mov dword [ebp - 0x4e8], esp
push eax
call fcn.100fd8b0
add esp, 4
mov dword [ebp - 0x4f0], eax
lea ecx, [ebp - 0x65c]
call fcn.1007d260
add esp, 0x18
mov dword [ebp - 0x42c], eax
mov ecx, dword [ebp - 0x42c]
mov dword [ebp - 0x404], ecx
mov byte [ebp - 4], 0x2d
mov ecx, dword [ebp - 0x404]
call fcn.10001f00
push eax
push 0x1016d594
lea edx, [ebp - 0x180]
push edx
call fcn.1007ceb0
add esp, 0x10
mov dword [ebp - 0x4f8], eax
mov byte [ebp - 4], 0x2f
lea ecx, [ebp - 0x65c]
call fcn.10001f50
mov byte [ebp - 4], 0x30
lea ecx, [ebp - 0x68c]
call fcn.10001f50
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x500], esp
lea eax, [ebp - 0x180]
push eax
call fcn.1000d6d0
mov dword [ebp - 0x444], eax
mov ecx, dword [ebp - 0x444]
mov dword [ebp - 0x508], ecx
mov byte [ebp - 4], 0x31
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x510], esp
lea edx, [ebp - 0x90]
push edx
call fcn.1000d6d0
mov dword [ebp - 0x3bc], eax
mov eax, dword [ebp - 0x3bc]
mov dword [ebp - 0x518], eax
mov byte [ebp - 4], 0x32
call dword [sym.imp.NetCommHelper.dll_public:_static_class_CNetManager____cdecl_CNetManager::GetInstance_void_]
mov byte [ebp - 4], 0x30
mov ecx, eax
call dword [sym.imp.NetCommHelper.dll_public:_bool___thiscall_CNetManager::UploadFile_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___]
mov byte [ebp - 0x39c], al
mov cl, byte [ebp - 0x39c]
mov byte [ebp - 0x397], cl
movzx edx, byte [ebp - 0x397]
test edx, edx
je 0x10049fa8
mov dword [ebp - 0x3b0], 0x1016d5a4
jmp 0x10049fb2
mov dword [ebp - 0x3b0], 0x1016d5ac
mov eax, dword [ebp - 0x3b0]
push eax
lea ecx, [ebp - 0x180]
call fcn.10001f00
push eax
push str.PcMsg_storePath:__s__upload_file:__s
push 1
push 0xc0
push 0x1016d5dc
push 0x1016d61c
call fcn.10145f00
add esp, 0x1c
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x520], esp
lea edx, [ebp - 0x180]
push edx
call fcn.1000d6d0
mov dword [ebp - 0x3c0], eax
mov eax, dword [ebp - 0x3c0]
mov dword [ebp - 0x528], eax
mov byte [ebp - 4], 0x33
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x530], esp
push str.currentData
call fcn.100029e0
mov dword [ebp - 0x538], eax
mov byte [ebp - 4], 0x30
lea ecx, [ebp - 0x18]
call fcn.10121300
push 2
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x540], esp
push str.currentDateType
call fcn.100029e0
mov dword [ebp - 0x548], eax
lea ecx, [ebp - 0x18]
call fcn.10121390
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x180]
call fcn.10001f50
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x550], esp
push 0x101628af
call fcn.100029e0
mov dword [ebp - 0x3c8], eax
mov ecx, dword [ebp - 0x3c8]
mov dword [ebp - 0x558], ecx
mov byte [ebp - 4], 0x34
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x560], esp
push str.currentOther
call fcn.100029e0
mov dword [ebp - 0x568], eax
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x18]
call fcn.10121300
lea ecx, [ebp - 0x18]
call fcn.100031b0
push eax
mov edx, dword [ebp - 0x3ac]
push edx
call fcn.10104ae0
add esp, 8
lea ecx, [ebp - 0x14]
call fcn.100031b0
push eax
mov eax, dword [ebp - 0x3a4]
push eax
call fcn.10104ae0
add esp, 8
lea ecx, [ebp - 0xc0]
call fcn.1000d8b0
mov byte [ebp - 4], 0x35
mov ecx, dword [ebp - 0x3a4]
push ecx
lea edx, [ebp - 0xc0]
push edx
call fcn.100fd720
add esp, 8
movzx eax, al
test eax, eax
je 0x1004a158
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x570], esp
lea edx, [ebp - 0xc0]
push edx
call fcn.1000d6d0
mov dword [ebp - 0x3d0], eax
mov eax, dword [ebp - 0x3d0]
mov dword [ebp - 0x578], eax
mov byte [ebp - 4], 0x36
call dword [sym.imp.NetCommHelper.dll_public:_static_class_CNetManager____cdecl_CNetManager::GetInstance_void_]
mov byte [ebp - 4], 0x35
mov ecx, eax
call dword [sym.imp.NetCommHelper.dll_public:_void___thiscall_CNetManager::AddData_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___]
call dword [sym.imp.NetCommHelper.dll_public:_static_class_CNetManager____cdecl_CNetManager::GetInstance_void_]
mov ecx, eax
call dword [sym.imp.NetCommHelper.dll_public:_void___thiscall_CNetManager::HandleData_void_]
push str.DELETE_FROM_messages_WHERE_id____
lea ecx, [ebp - 0xf0]
call fcn.100029e0
mov byte [ebp - 4], 0x37
push 0
lea ecx, [ebp - 0x38c]
push ecx
push 0xffffffffffffffff
lea ecx, [ebp - 0xf0]
call fcn.10001f00
push eax
mov edx, dword [ebp - 0x388]
push edx
call fcn.100d5620
add esp, 0x14
mov dword [ebp - 0x394], eax
cmp dword [ebp - 0x394], 0
je 0x1004a2e3
mov eax, dword [ebp - 0x388]
push eax
call fcn.100f7910
add esp, 4
push eax
push str.Failed_to_prepare_delete_statement:_s
push 1
push 0xd8
push 0x1016d6b8
push 0x1016d6f8
call fcn.10145f00
add esp, 0x18
mov ecx, dword [ebp - 0x384]
push ecx
call fcn.100a4880
add esp, 4
mov edx, dword [ebp - 0x388]
push edx
call fcn.100f6550
add esp, 4
mov byte [ebp - 0x38f], 0
mov byte [ebp - 4], 0x35
lea ecx, [ebp - 0xf0]
call fcn.10001f50
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0xc0]
call fcn.10001f50
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x18]
call fcn.100018d0
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x138]
call fcn.10001f50
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x108]
call fcn.10001f50
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x168]
call fcn.10001f50
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x90]
call fcn.10001f50
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x14]
call fcn.100018d0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x380]
call fcn.100420e0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xd8]
call fcn.10001f50
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x30]
call fcn.10001f50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xa8]
call fcn.10003e00
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x48]
call fcn.10003e00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x78]
call fcn.10003e00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x60]
call fcn.10003e00
mov al, byte [ebp - 0x38f]
jmp 0x1004a5bf
mov eax, dword [ebp - 0x3d8]
push eax
push 1
mov ecx, dword [ebp - 0x38c]
push ecx
call fcn.100a6730
add esp, 0xc
mov edx, dword [ebp - 0x38c]
push edx
call fcn.100a5600
add esp, 4
mov dword [ebp - 0x394], eax
cmp dword [ebp - 0x394], 0x65
je 0x1004a496
mov eax, dword [ebp - 0x388]
push eax
call fcn.100f7910
add esp, 4
push eax
push str.Failed_to_delete_message:_s
push 1
push 0xe3
push str..._srcMoniterHelperEventExecuteHandlePcWAMessageEvent.cpp
push str.CHandlePcWAMessageEvent::HandleData
call fcn.10145f00
add esp, 0x18
push 0x1004a640
mov ecx, dword [ebp - 0x388]
push ecx
call fcn.100f7910
add esp, 4
push eax
push str.Failed_to_delete_message:
mov edx, dword [sym.imp.MSVCP120.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
push edx
call fcn.1003b600
add esp, 8
push eax
call fcn.1003b600
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP120.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov eax, dword [ebp - 0x38c]
push eax
call fcn.100a4880
add esp, 4
mov ecx, dword [ebp - 0x384]
push ecx
call fcn.100a4880
add esp, 4
mov edx, dword [ebp - 0x388]
push edx
call fcn.100f6550
add esp, 4
mov byte [ebp - 0x399], 0
mov byte [ebp - 4], 0x35
lea ecx, [ebp - 0xf0]
call fcn.10001f50
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0xc0]
call fcn.10001f50
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x18]
call fcn.100018d0
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x138]
call fcn.10001f50
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x108]
call fcn.10001f50
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x168]
call fcn.10001f50
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x90]
call fcn.10001f50
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x14]
call fcn.100018d0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x380]
call fcn.100420e0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xd8]
call fcn.10001f50
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x30]
call fcn.10001f50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xa8]
call fcn.10003e00
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x48]
call fcn.10003e00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x78]
call fcn.10003e00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x60]
call fcn.10003e00
mov al, byte [ebp - 0x399]
jmp 0x1004a5bf
mov eax, dword [ebp - 0x38c]
push eax
call fcn.100a4880
add esp, 4
cmp dword [ebp - 0x3a4], 0
je 0x1004a4bd
mov ecx, dword [ebp - 0x3a4]
push ecx
call fcn.10102380
add esp, 4
mov byte [ebp - 4], 0x35
lea ecx, [ebp - 0xf0]
call fcn.10001f50
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0xc0]
call fcn.10001f50
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x18]
call fcn.100018d0
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x138]
call fcn.10001f50
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x108]
call fcn.10001f50
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x168]
call fcn.10001f50
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x90]
call fcn.10001f50
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x14]
call fcn.100018d0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x380]
call fcn.100420e0
jmp 0x100493f7
mov edx, dword [ebp - 0x384]
push edx
call fcn.100a4880
add esp, 4
mov eax, dword [ebp - 0x388]
push eax
call fcn.100f6550
add esp, 4
mov byte [ebp - 0x395], 1
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xd8]
call fcn.10001f50
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x30]
call fcn.10001f50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xa8]
call fcn.10003e00
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x48]
call fcn.10003e00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x78]
call fcn.10003e00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x60]
call fcn.10003e00
mov al, byte [ebp - 0x395]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101506bb
mov esp, ebp
pop ebp
ret