Function at 0x40eaf0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5233b7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2a8
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov ebx, 7
mov dword [ebp - 0x58], ebx
xor edi, edi
mov dword [ebp - 0x5c], edi
xor eax, eax
mov word [ebp - 0x6c], ax
push edi
mov eax, 0x528928
lea esi, [ebp - 0x6c]
call fcn.00412b10
mov dword [ebp - 4], edi
mov dword [ebp - 0xac], ebx
mov dword [ebp - 0xb0], edi
xor ecx, ecx
mov word [ebp - 0xc0], cx
push edi
mov eax, 0x528928
lea esi, [ebp - 0xc0]
call fcn.00412b10
mov byte [ebp - 4], 1
mov dword [ebp - 0xc8], ebx
mov dword [ebp - 0xcc], edi
xor edx, edx
mov word [ebp - 0xdc], dx
push edi
mov eax, 0x528928
lea esi, [ebp - 0xdc]
call fcn.00412b10
mov byte [ebp - 4], 2
mov byte [ebp - 4], 3
mov eax, 0x528928
lea ecx, [ebp - 0x1a8]
call fcn.0040fae0
mov byte [ebp - 4], 4
push 3
lea eax, [ebp - 0x18c]
push eax
call fcn.004ef520
mov esi, eax
mov bl, 5
mov byte [ebp - 4], bl
push 0x44d
lea ecx, [ebp - 0x138]
push ecx
call fcn.004ef520
mov byte [ebp - 4], 6
push eax
lea edx, [ebp - 0x154]
push edx
mov edx, str.SELECT__FROM_UT_
call fcn.00413910
mov byte [ebp - 4], 7
push str._WHERE_Sended__0_AND_ActionType
push eax
lea eax, [ebp - 0x11c]
push eax
call fcn.004139a0
add esp, 0x24
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x170]
push ecx
mov edx, esi
mov ecx, eax
call fcn.00413a30
add esp, 4
mov byte [ebp - 4], 9
mov edi, eax
lea esi, [ebp - 0xc0]
call fcn.00411aa0
mov byte [ebp - 4], 8
lea esi, [ebp - 0x170]
call fcn.004150b0
mov byte [ebp - 4], 7
lea esi, [ebp - 0x11c]
call fcn.004150b0
mov byte [ebp - 4], 6
lea esi, [ebp - 0x154]
call fcn.004150b0
mov byte [ebp - 4], bl
lea esi, [ebp - 0x138]
call fcn.004150b0
mov byte [ebp - 4], 4
lea esi, [ebp - 0x18c]
call fcn.004150b0
push 0
lea edx, [ebp - 0xc0]
push edx
lea eax, [ebp - 0x6c]
push eax
push 0x1579c5c
call fcn.004ec1a0
test eax, eax
je 0x40f5ab
xor edi, edi
cmp dword [ebp - 0x5c], edi
je 0x40ed6b
mov dword [ebp - 0x18], edi
push 1
call fcn.00500c00
add esp, 4
mov dword [ebp - 0x1c], eax
mov dword [eax], eax
mov eax, dword [ebp - 0x1c]
mov dword [eax + 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [eax + 8], eax
mov ecx, dword [ebp - 0x1c]
mov byte [ecx + 0x2c], 1
mov edx, dword [ebp - 0x1c]
mov byte [edx + 0x2d], 1
mov byte [ebp - 4], 0xa
mov byte [ebp - 4], 0xb
mov byte [ebp - 4], 0xc
mov eax, 0x529050
lea ecx, [ebp - 0x88]
call fcn.0040fae0
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x98]
push ecx
lea ecx, [ebp - 0x6c]
call fcn.004f07a0
add esp, 8
mov byte [ebp - 4], 0xf
lea esi, [ebp - 0x88]
call fcn.004150b0
mov ecx, dword [ebp - 0x94]
sub ecx, dword [ebp - 0x98]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x24], eax
jne 0x40edb8
mov byte [ebp - 4], 0xc
lea esi, [ebp - 0x98]
call fcn.0040fcb0
mov byte [ebp - 4], 0x10
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
push eax
push ecx
lea edi, [ebp - 0x24]
lea esi, [ebp - 0x20]
call fcn.0042b050
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov byte [ebp - 4], 3
lea esi, [ebp - 0x1a8]
call fcn.004150b0
mov byte [ebp - 4], 1
lea esi, [ebp - 0xdc]
call fcn.004150b0
mov byte [ebp - 4], 0
lea esi, [ebp - 0xc0]
call fcn.004150b0
mov dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x6c]
call fcn.004150b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor ecx, ecx
mov dword [ebp - 0x30], ecx
lea ecx, [ecx]
cmp ecx, eax
jge 0x40effd
lea esi, [ecx*8]
sub esi, ecx
add esi, esi
add esi, esi
mov eax, dword [ebp - 0x98]
cmp dword [esi + eax + 0x10], 3
jb 0x40efed
mov eax, 0x528d98
lea ecx, [ebp - 0x88]
call fcn.0040fae0
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x98]
add ecx, esi
lea edx, [ebp - 0x88]
push edx
lea eax, [ebp - 0x40]
push eax
call fcn.004f07a0
add esp, 8
mov byte [ebp - 4], 0x14
lea esi, [ebp - 0x88]
call fcn.004150b0
mov ecx, dword [ebp - 0x3c]
sub ecx, dword [ebp - 0x40]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, 9
jb 0x40efe1
push 0x70
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov dword [ebp - 0x1b0], eax
mov byte [ebp - 4], 0x15
cmp eax, edi
je 0x40eed6
mov esi, 7
mov dword [eax + 0x14], esi
mov dword [eax + 0x10], edi
mov edx, 8
cmp dword [eax + 0x14], edx
jb 0x40ee78
mov ecx, dword [eax]
jmp 0x40ee7a
mov ecx, eax
xor ebx, ebx
mov word [ecx], bx
mov byte [ebp - 4], 0x16
lea ecx, [eax + 0x1c]
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], edi
cmp dword [ecx + 0x14], edx
jb 0x40ee93
mov ecx, dword [ecx]
xor ebx, ebx
mov word [ecx], bx
mov byte [ebp - 4], 0x17
lea ecx, [eax + 0x38]
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], edi
cmp dword [ecx + 0x14], edx
jb 0x40eeac
mov ecx, dword [ecx]
xor ebx, ebx
mov word [ecx], bx
mov byte [ebp - 4], 0x18
lea ecx, [eax + 0x54]
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], edi
cmp dword [ecx + 0x14], edx
jb 0x40eec5
mov ecx, dword [ecx]
xor edx, edx
mov word [ecx], dx
mov byte [ebp - 4], 0x19
mov byte [ebp - 4], 0x15
mov esi, eax
jmp 0x40eed8
xor esi, esi
mov byte [ebp - 4], 0x14
mov eax, dword [ebp - 0x40]
add eax, 0x8c
push 0
push eax
or eax, 0xffffffff
mov ecx, esi
call fcn.00411b10
mov eax, dword [ebp - 0x40]
add eax, 0xa8
lea ecx, [esi + 0x1c]
push 0
push eax
or eax, 0xffffffff
call fcn.00411b10
mov eax, dword [ebp - 0x40]
add eax, 0xc4
lea ecx, [esi + 0x38]
push 0
push eax
or eax, 0xffffffff
call fcn.00411b10
mov eax, dword [ebp - 0x40]
add eax, 0xe0
lea ecx, [esi + 0x54]
push 0
push eax
or eax, 0xffffffff
call fcn.00411b10
mov edi, dword [ebp - 0x1c]
lea eax, [ebp - 0x50]
push eax
lea ebx, [ebp - 0x20]
call fcn.0042a870
cmp dword [eax], edi
jne 0x40efe1
mov edi, 7
mov dword [ebp - 0xec], edi
xor ebx, ebx
mov dword [ebp - 0xf0], ebx
xor ecx, ecx
mov word [ebp - 0x100], cx
push ebx
push esi
or eax, 0xffffffff
lea ecx, [ebp - 0x100]
call fcn.00411b10
mov byte [ebp - 4], 0x1a
mov dword [ebp - 0xe4], esi
mov byte [ebp - 4], 0x1b
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x100]
lea edx, [ebp - 0x20]
call fcn.00500c80
push eax
lea edx, [ebp - 0x1b8]
push edx
lea eax, [ebp - 0x20]
push eax
call fcn.0045db20
mov byte [ebp - 4], 0x1d
mov byte [ebp - 4], 0x1e
mov byte [ebp - 4], 0x14
cmp dword [ebp - 0xec], 8
jb 0x40efcc
mov ecx, dword [ebp - 0x100]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0xec], edi
mov dword [ebp - 0xf0], ebx
xor edx, edx
mov word [ebp - 0x100], dx
mov byte [ebp - 4], 0xf
lea esi, [ebp - 0x40]
call fcn.0040fcb0
inc dword [ebp - 0x30]
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x24]
xor edi, edi
jmp 0x40edc0
cmp dword [ebp - 0x18], edi
jbe 0x40f571
push 0x44d
lea eax, [ebp - 0x18c]
push eax
call fcn.004ef520
mov byte [ebp - 4], 0x1f
push eax
lea ecx, [ebp - 0x138]
push ecx
mov edx, str.SELECT_UsbId_DeviceType_ActionType_UserId_MAX__Date___as__Date__FROM_UT_
call fcn.00413910
mov byte [ebp - 4], 0x20
push str._WHERE_Sended__0
push eax
lea edx, [ebp - 0x154]
push edx
call fcn.004139a0
add esp, 0x1c
mov byte [ebp - 4], 0x21
push str._GROUP_BY_UsbId_DeviceType_ActionType_UserId
push eax
lea eax, [ebp - 0x11c]
push eax
call fcn.004139a0
add esp, 0xc
mov bl, 0x22
mov byte [ebp - 4], bl
push str._ORDER_BY_UsbId___Date__desc
push eax
lea ecx, [ebp - 0x170]
push ecx
call fcn.004139a0
add esp, 0xc
mov byte [ebp - 4], 0x23
mov edi, eax
lea esi, [ebp - 0xc0]
call fcn.00411aa0
mov byte [ebp - 4], bl
lea esi, [ebp - 0x170]
call fcn.004150b0
mov byte [ebp - 4], 0x21
lea esi, [ebp - 0x11c]
call fcn.004150b0
mov byte [ebp - 4], 0x20
lea esi, [ebp - 0x154]
call fcn.004150b0
mov byte [ebp - 4], 0x1f
lea esi, [ebp - 0x138]
call fcn.004150b0
mov byte [ebp - 4], 0xf
lea esi, [ebp - 0x18c]
call fcn.004150b0
push 0
lea edx, [ebp - 0xc0]
push edx
lea eax, [ebp - 0x6c]
push eax
push 0x1579c5c
call fcn.004ec1a0
test eax, eax
je 0x40f571
mov eax, 0x529050
lea ecx, [ebp - 0x88]
call fcn.0040fae0
mov byte [ebp - 4], 0x24
lea ecx, [ebp - 0x88]
push ecx
lea edx, [ebp - 0x40]
push edx
lea ecx, [ebp - 0x6c]
call fcn.004f07a0
add esp, 8
mov byte [ebp - 4], 0x25
mov ebx, eax
lea esi, [ebp - 0x98]
call fcn.0040fc50
mov byte [ebp - 4], 0x24
lea esi, [ebp - 0x40]
call fcn.0040fcb0
mov byte [ebp - 4], 0xf
lea esi, [ebp - 0x88]
call fcn.004150b0
mov ecx, dword [ebp - 0x94]
sub ecx, dword [ebp - 0x98]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov edi, edx
shr edi, 0x1f
add edi, edx
lea eax, [ebp - 0x6c]
push eax
mov eax, 0x528928
call fcn.0040fb40
mov dword [ebp - 0x2c], 0
lea ecx, [ecx]
mov ebx, dword [ebp - 0x2c]
cmp ebx, edi
jge 0x40f4eb
lea esi, [ebx*8]
sub esi, ebx
add esi, esi
add esi, esi
mov ecx, dword [ebp - 0x98]
cmp dword [esi + ecx + 0x10], 3
jb 0x40f4e2
mov eax, 0x528d98
lea ecx, [ebp - 0x18c]
call fcn.0040fae0
mov byte [ebp - 4], 0x26
mov edx, dword [ebp - 0x98]
lea ecx, [esi + edx]
lea eax, [ebp - 0x18c]
push eax
lea edx, [ebp - 0x40]
push edx
call fcn.004f07a0
add esp, 8
mov byte [ebp - 4], 0x28
lea esi, [ebp - 0x18c]
call fcn.004150b0
mov esi, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x40]
sub esi, ecx
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 5
jae 0x40f21d
mov byte [ebp - 4], 0xf
lea esi, [ebp - 0x40]
call fcn.0040fcb0
inc ebx
mov dword [ebp - 0x2c], ebx
jmp 0x40f180
lea esi, [ebp - 0x88]
call fcn.0040fab0
mov byte [ebp - 4], 0x29
mov eax, esi
lea ecx, [ebp - 0xdc]
call fcn.00413d00
test al, al
je 0x40f4c4
push 0
mov ecx, esi
push ecx
or eax, 0xffffffff
lea ecx, [ebp - 0xdc]
call fcn.00411b10
mov eax, dword [ebp - 0x40]
add eax, 0x38
cmp dword [eax + 0x14], 8
jb 0x40f262
mov eax, dword [eax]
lea ecx, [ebp - 0x138]
call fcn.0040fae0
mov byte [ebp - 4], 0x2a
lea edx, [ebp - 0x138]
call fcn.00401360
mov ebx, eax
mov byte [ebp - 4], 0x29
lea esi, [ebp - 0x138]
call fcn.004150b0
cmp ebx, 2
je 0x40f4c4
cmp ebx, 4
je 0x40f4c4
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x24], edx
lea eax, [ebp - 0x50]
push eax
lea esi, [ebp - 0xdc]
lea ebx, [ebp - 0x20]
call fcn.0042a870
mov ecx, dword [ebp - 0x24]
cmp dword [eax], ecx
jne 0x40f4c4
mov ecx, dword [ebp - 0x40]
add ecx, 0x54
lea esi, [ebp - 0x170]
call fcn.0040fab0
mov byte [ebp - 4], 0x2b
mov ecx, dword [ebp - 0x40]
add ecx, 0x1c
lea esi, [ebp - 0x11c]
call fcn.0040fab0
mov bl, 0x2c
mov byte [ebp - 4], bl
push 4
lea edx, [ebp - 0xfc]
push edx
call fcn.004ef520
mov esi, eax
mov byte [ebp - 4], 0x2d
push 1
lea eax, [ebp - 0x27c]
push eax
call fcn.004f0ae0
mov byte [ebp - 4], 0x2e
push 0x528d98
push eax
lea ecx, [ebp - 0x244]
push ecx
call fcn.004139a0
add esp, 0x1c
mov byte [ebp - 4], 0x2f
lea edx, [ebp - 0xdc]
push edx
lea ecx, [ebp - 0x20c]
push ecx
mov ecx, eax
call fcn.00413df0
mov byte [ebp - 4], 0x30
push 0x528d98
push eax
lea edx, [ebp - 0x1f0]
push edx
call fcn.004139a0
add esp, 0x14
mov byte [ebp - 4], 0x31
lea ecx, [ebp - 0x170]
push ecx
lea edx, [ebp - 0x298]
push edx
mov ecx, eax
call fcn.00413df0
mov byte [ebp - 4], 0x32
push 0x528d98
push eax
lea eax, [ebp - 0x228]
push eax
call fcn.004139a0
add esp, 0x14
mov byte [ebp - 4], 0x33
lea ecx, [ebp - 0x11c]
push ecx
lea edx, [ebp - 0x260]
push edx
mov ecx, eax
call fcn.00413df0
mov byte [ebp - 4], 0x34
push 0x528d98
push eax
lea eax, [ebp - 0x1d4]
push eax
call fcn.004139a0
add esp, 0x14
mov byte [ebp - 4], 0x35
lea ecx, [ebp - 0x2b4]
push ecx
mov edx, esi
mov ecx, eax
call fcn.00413a30
add esp, 4
mov byte [ebp - 4], 0x36
push 0x529050
push eax
lea edx, [ebp - 0x154]
push edx
call fcn.004139a0
add esp, 0xc
mov byte [ebp - 4], 0x38
lea esi, [ebp - 0x2b4]
call fcn.004150b0
mov byte [ebp - 4], 0x39
lea esi, [ebp - 0x1d4]
call fcn.004150b0
mov byte [ebp - 4], 0x3a
lea esi, [ebp - 0x260]
call fcn.004150b0
mov byte [ebp - 4], 0x3b
lea esi, [ebp - 0x228]
call fcn.004150b0
mov byte [ebp - 4], 0x3c
lea esi, [ebp - 0x298]
call fcn.004150b0
mov byte [ebp - 4], 0x3d
lea esi, [ebp - 0x1f0]
call fcn.004150b0
mov byte [ebp - 4], 0x3e
lea esi, [ebp - 0x20c]
call fcn.004150b0
mov byte [ebp - 4], 0x3f
lea esi, [ebp - 0x244]
call fcn.004150b0
mov byte [ebp - 4], 0x40
lea esi, [ebp - 0x27c]
call fcn.004150b0
mov byte [ebp - 4], 0x41
lea esi, [ebp - 0xfc]
call fcn.004150b0
push 0
lea eax, [ebp - 0x154]
push eax
or eax, 0xffffffff
lea esi, [ebp - 0x6c]
call fcn.00412830
mov byte [ebp - 4], bl
lea esi, [ebp - 0x154]
call fcn.004150b0
mov byte [ebp - 4], 0x2b
lea esi, [ebp - 0x11c]
call fcn.004150b0
mov byte [ebp - 4], 0x29
lea esi, [ebp - 0x170]
call fcn.004150b0
mov byte [ebp - 4], 0x28
lea esi, [ebp - 0x88]
call fcn.004150b0
mov byte [ebp - 4], 0xf
lea esi, [ebp - 0x40]
call fcn.0040fcb0
mov ebx, dword [ebp - 0x2c]
inc ebx
mov dword [ebp - 0x2c], ebx
jmp 0x40f180
mov dword [ebp - 0x28], 0
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ecx]
mov dword [ebp - 0x28], esi
cmp esi, dword [ebp - 0x1c]
je 0x40f550
mov edi, dword [esi + 0x28]
test edi, edi
je 0x40f516
push edi
call fcn.0040f880
push edi
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
cmp byte [esi + 0x2d], 0
jne 0x40f4fa
mov eax, dword [esi + 8]
cmp byte [eax + 0x2d], 0
jne 0x40f537
mov esi, eax
mov dword [ebp - 0xe0], esi
mov eax, dword [esi]
cmp byte [eax + 0x2d], 0
jne 0x40f4f7
jmp 0x40f525
mov eax, dword [esi + 4]
cmp byte [eax + 0x2d], 0
jne 0x40f54c
cmp esi, dword [eax + 8]
jne 0x40f54c
mov esi, eax
mov dword [ebp - 0x28], esi
jmp 0x40f537
mov esi, eax
jmp 0x40f4f7
lea esi, [ebp - 0x20]
call fcn.00411590
cmp dword [ebp - 0x5c], 0
je 0x40f571
lea edx, [ebp - 0x6c]
push edx
push 0x572c10
push 0x44d
call fcn.004eae00
mov byte [ebp - 4], 0xc
lea esi, [ebp - 0x98]
call fcn.0040fcb0
mov byte [ebp - 4], 0x42
mov byte [ebp - 4], 0x43
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
push eax
push ecx
lea edi, [ebp - 0x50]
lea esi, [ebp - 0x20]
call fcn.0042b050
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov byte [ebp - 4], 3
lea esi, [ebp - 0x1a8]
call fcn.004150b0
mov dword [ebp - 4], 2
mov ebx, 7
xor edi, edi
mov esi, 8
mov byte [ebp - 4], 1
cmp dword [ebp - 0xc8], esi
jb 0x40f5e9
mov ecx, dword [ebp - 0xdc]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0xc8], ebx
mov dword [ebp - 0xcc], edi
xor edx, edx
mov word [ebp - 0xdc], dx
mov byte [ebp - 4], dl
cmp dword [ebp - 0xac], esi
jb 0x40f619
mov eax, dword [ebp - 0xc0]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0xac], ebx
mov dword [ebp - 0xb0], edi
xor ecx, ecx
mov word [ebp - 0xc0], cx
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x58], esi
jb 0x40f647
mov edx, dword [ebp - 0x6c]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x5c], edi
xor eax, eax
mov word [ebp - 0x6c], ax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret