joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407db0
Capabilities:
Get file size
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4c7c38
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x54e864]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x38]
push edx
push eax
call fcn.00406130
mov ebp, dword [esp + 0x34]
test ebp, ebp
je 0x407ed9
xor ebx, ebx
push ebx
mov dword [esp + 0x24], ebx
call dword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov dword [esp + 0x1c], eax
cmp eax, 0xf
je 0x407e22
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov ebx, eax
push 0xf
push ebx
mov dword [esp + 0x28], ebx
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push 2
push 0
push 0
push ebp
mov dword [esp + 0x3c], 0
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp byte [esp + 0x40], 0
je 0x407eb1
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, dword [esp + 0x14]
mov edi, dword [esi]
mov edx, dword [edi + 4]
lea ecx, [esp + 0x40]
push ecx
push edx
push edi
mov ecx, esi
mov dword [esp + 0x4c], eax
call fcn.0046d9c0
mov ecx, dword [esi + 4]
mov edx, 0x3ffffffe
sub edx, ecx
cmp edx, 1
jae 0x407e7c
push str.list_T__too_long
call dword [sym.imp.MSVCP100.dll_void___cdecl_std::_Xlength_error_char_const__]
inc ecx
mov dword [esi + 4], ecx
mov dword [edi + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
cmp dword [esi + 4], 0x20
jbe 0x407eb1
mov ecx, dword [esi]
mov eax, dword [ecx]
cmp eax, ecx
je 0x407eb1
mov edx, dword [eax + 4]
mov ecx, dword [eax]
mov dword [edx], ecx
mov edx, dword [eax]
mov ecx, dword [eax + 4]
push eax
mov dword [edx + 4], ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
dec dword [esi + 4]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
push 0
lea edx, [esp + 0x1c]
push edx
push eax
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
test ebx, ebx
je 0x407ed9
mov edx, dword [esp + 0x1c]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 0x10
Function at 0x407f70
Capabilities:
Query environment variable

Disassembly:
push 0xffffffffffffffff
push 0x4c7c6b
mov eax, dword fs:[0]
push eax
sub esp, 0x124
mov eax, dword [0x54e864]
xor eax, esp
mov dword [esp + 0x120], eax
push esi
mov eax, dword [0x54e864]
xor eax, esp
push eax
lea eax, [esp + 0x12c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x140]
mov esi, dword [esp + 0x13c]
push 0x104
lea ecx, [esp + 0x28]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x40807a
lea eax, [esp + 0x24]
mov dword [esp + 0x1c], 0xf
mov dword [esp + 0x18], 0
mov byte [esp + 8], 0
lea edx, [eax + 1]
jmp 0x407ff0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x407ff0
sub eax, edx
push eax
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x10]
call fcn.00406dc0
push 7
push 0
push str.symsrv
lea ecx, [esp + 0x14]
mov dword [esp + 0x140], 0
call fcn.004061c0
cmp eax, 0xffffffff
je 0x408038
cmp dword [esp + 0x1c], 0x10
jb 0x40807a
mov eax, dword [esp + 8]
push eax
jmp 0x408072
push 1
push 0x4d25f8
mov ecx, esi
call fcn.00406bb0
lea eax, [esp + 0x24]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x408050
sub eax, edx
push eax
lea ecx, [esp + 0x28]
push ecx
mov ecx, esi
call fcn.00406bb0
cmp dword [esp + 0x1c], 0x10
jb 0x40807a
mov edx, dword [esp + 8]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [esp + 0x12c]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x120]
xor ecx, esp
call fcn.004c6212
add esp, 0x130
ret 8
Function at 0x4080b0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4c7cab
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x54e864]
xor eax, esp
mov dword [esp + 0x140], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x54e864]
xor eax, esp
push eax
lea eax, [esp + 0x158]
mov dword fs:[0], eax
xor ebx, ebx
mov edi, ecx
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
push str._NT_SYMBOL_PATH
lea eax, [esp + 0x38]
push eax
mov dword [esp + 0x168], ebx
call fcn.00407f70
push 7
push ebx
push str.symsrv
lea ecx, [esp + 0x40]
call fcn.004061c0
mov esi, eax
cmp esi, 0xffffffff
je 0x40822d
push 1
add esi, 7
push esi
push 0x4d2604
lea ecx, [esp + 0x40]
call fcn.004061c0
cmp eax, 0xffffffff
je 0x40822d
lea ecx, [esi + 1]
cmp eax, ecx
je 0x40822d
sub eax, esi
push eax
push esi
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x40]
call fcn.00407890
push 1
push ebx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x20], 0x3a
call fcn.004061c0
cmp eax, 0xffffffff
je 0x4081a3
cmp dword [esp + 0x2c], 0x10
mov eax, dword [esp + 0x18]
jae 0x408195
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x54]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x4081e8
mov esi, dword [esp + 0x2c]
mov ebp, dword [esp + 0x18]
mov eax, ebp
cmp esi, 0x10
jae 0x4081b6
lea eax, [esp + 0x18]
cmp byte [eax], 0x5c
je 0x4081ca
push ebx
lea ecx, [esp + 0x1c]
call fcn.004061a0
cmp byte [eax], 0x2f
jne 0x4081cf
mov ebx, 1
mov eax, ebp
cmp esi, 0x10
jae 0x4081da
lea eax, [esp + 0x18]
add eax, ebx
push eax
lea edx, [esp + 0x54]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x408224
mov ecx, dword [edi + 0x88]
mov dword [ecx], 2
mov edx, dword [edi + 0x8c]
lea ecx, [esp + 0x18]
mov dword [edx], 2
call fcn.00406510
lea ecx, [esp + 0x34]
call fcn.00406510
jmp 0x408259
lea ecx, [esp + 0x18]
call fcn.00406510
mov eax, dword [edi + 0x88]
mov dword [eax], 1
mov ecx, dword [edi + 0x8c]
mov dword [ecx], 2
cmp dword [esp + 0x48], 0x10
jb 0x408259
mov edx, dword [esp + 0x34]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [esp + 0x158]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x140]
xor ecx, esp
call fcn.004c6212
add esp, 0x150
ret
Function at 0x408730
Capabilities:
Print debug messages
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4c7d28
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x54e864]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x1c], esi
mov ebx, dword [esp + 0x3c]
add ebx, dword [esp + 0x40]
cmp byte [ebx], 0
je 0x40883e
mov edx, dword [esp + 0x40]
cmp edx, dword [esp + 0x44]
jge 0x40883e
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test dword [esp + 0x48], 0x400000
mov dword [esp + 0x20], eax
je 0x408798
push ebx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [esp + 0x38]
cmp eax, 0xfffffffe
jne 0x4087c3
mov eax, dword [esi + 0x38]
cmp dword [eax], 0
jne 0x4087bc
mov ecx, dword [esi + 0x30]
mov edx, dword [ecx]
mov ecx, dword [esi + 0x34]
push edx
push ecx
push eax
call fcn.00405aa0
add esp, 0xc
mov edx, dword [esi + 0x38]
mov edi, dword [edx]
jmp 0x4087c9
mov ecx, dword [esi + 0x24]
mov edi, dword [ecx + eax*4]
test edi, edi
je 0x40881f
xor esi, esi
push esi
call dword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov ebp, eax
cmp ebp, 0xf
je 0x4087ee
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov esi, eax
push 0xf
push esi
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push 2
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [esp + 0x20]
push 0
lea edx, [esp + 0x28]
push edx
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test esi, esi
je 0x40881b
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x3c]
lea eax, [ecx + edx + 1]
add ebx, eax
cmp byte [ebx], 0
mov dword [esp + 0x40], eax
jne 0x40876e
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 0x14
Function at 0x40b390
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c82a0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x54e864]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x14], edi
mov eax, dword [edi + 0x2c]
mov dword [ebp - 0x18], 0
cmp byte [eax], 0
je 0x40b404
mov ebx, dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push 0xffffffffffffffff
push 0
push ebx
lea esi, [eax + ebx + 1]
push esi
push 0xfffffffffffffffe
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.0040ad70
jmp 0x40b407
mov esi, dword [ebp + 8]
mov edx, dword [edi + 0x38]
mov eax, dword [edx]
push 2
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea ecx, [ebp - 0x18]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edx, dword [edi + 0x38]
push eax
mov eax, dword [edx]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x420280
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c86fa
mov eax, dword fs:[0]
push eax
sub esp, 0x4f4
mov eax, dword [0x54e864]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
sub eax, dword [0x550e58]
cmp eax, 0x3e8
jb 0x42032c
call edi
mov ebx, 1
mov dword [0x550e58], eax
cmp byte [0x550d84], bl
je 0x42032c
lea eax, [ebp - 0x48]
push eax
call fcn.0044a590
add esp, 4
mov edx, 0x4d6e80
lea ecx, [ebp - 0x48]
mov edi, edi
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x420310
test al, al
je 0x42030c
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x420310
add ecx, 2
add edx, 2
test al, al
jne 0x4202f0
xor eax, eax
jmp 0x420315
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x420348
call edi
mov dword [0x550d68], eax
call fcn.00420170
call edi
mov dword [0x550d80], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004c6212
mov esp, ebp
pop ebp
ret
push 0x7c
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0x4fc], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x42036c
mov ecx, eax
call fcn.0040cc10
jmp 0x42036e
xor eax, eax
lea ecx, [ebp - 0x1d8]
mov esi, 0x14
push ecx
mov dword [0x550d6c], eax
mov dword [eax + 0x54], 5
mov dword [eax + 0x5c], esi
mov dword [ebp - 4], ebx
call fcn.0044a710
lea edx, [ebp - 0x368]
add esp, 4
push edx
call fcn.0044a730
lea eax, [ebp - 0x2a0]
add esp, 4
push eax
call fcn.0044a750
lea ecx, [ebp - 0x110]
add esp, 4
push ecx
call fcn.0044a770
add esp, 4
lea edx, [ebp - 0x110]
push edx
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x1d8]
push ecx
lea edx, [ebp - 0x2a0]
push edx
lea eax, [ebp - 0x368]
push eax
lea ecx, [ebp - 0x4f8]
push 0x4d6e88
push ecx
call dword [sym.imp.MSVCR100.dll_sprintf]
mov ecx, dword [0x550d6c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x18]
add esp, 0x1c
push 8
lea eax, [ebp - 0x4f8]
push eax
call edx
mov eax, dword [0x550d6c]
mov dword [eax + 0x5c], esi
call edi
push str.DataBase_Alesis_server_connected_
push 0
mov dword [0x550d70], eax
call fcn.0042a000
add esp, 8
push 0
push 0
push 0
push 0
push 0x9f
push 0
mov byte [0x550d84], bl
call fcn.0041dd40
add esp, 0x18
call fcn.0041fb20
jmp 0x42032c
Function at 0x4222f0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c8965
mov eax, dword fs:[0]
push eax
sub esp, 0x4f4
mov eax, dword [0x54e864]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
sub eax, dword [0x550f4c]
cmp eax, 0x3e8
jb 0x422395
call edi
mov ebx, 1
mov dword [0x550f4c], eax
cmp byte [0x550e78], bl
je 0x422395
lea eax, [ebp - 0x48]
push eax
call fcn.0044a570
add esp, 4
mov edx, 0x4d7628
lea ecx, [ebp - 0x48]
mov edi, edi
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x422380
test al, al
je 0x42237c
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x422380
add ecx, 2
add edx, 2
test al, al
jne 0x422360
xor eax, eax
jmp 0x422385
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4223b1
call edi
mov dword [0x550e60], eax
call fcn.004221e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004c6212
mov esp, ebp
pop ebp
ret
push 0x7c
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0x4fc], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x4223d5
mov ecx, eax
call fcn.0040cc10
jmp 0x4223d7
xor eax, eax
lea ecx, [ebp - 0x1d8]
mov esi, 0x14
push ecx
mov dword [0x550e64], eax
mov dword [eax + 0x54], 5
mov dword [eax + 0x5c], esi
mov dword [ebp - 4], ebx
call fcn.0044a690
lea edx, [ebp - 0x368]
add esp, 4
push edx
call fcn.0044a6b0
lea eax, [ebp - 0x2a0]
add esp, 4
push eax
call fcn.0044a6d0
lea ecx, [ebp - 0x110]
add esp, 4
push ecx
call fcn.0044a6f0
add esp, 4
lea edx, [ebp - 0x110]
push edx
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x1d8]
push ecx
lea edx, [ebp - 0x2a0]
push edx
lea eax, [ebp - 0x368]
push eax
lea ecx, [ebp - 0x4f8]
push 0x4d7630
push ecx
call dword [sym.imp.MSVCR100.dll_sprintf]
mov ecx, dword [0x550e64]
mov edx, dword [ecx]
mov edx, dword [edx + 0x18]
add esp, 0x1c
push 8
lea eax, [ebp - 0x4f8]
push eax
call edx
mov eax, dword [0x550e64]
mov dword [eax + 0x5c], esi
call edi
push str.DataBase_Central_server_connected_
push 0
mov dword [0x550e68], eax
call fcn.0042a000
add esp, 8
mov byte [0x550e78], bl
call fcn.00421260
jmp 0x422395
Function at 0x427440
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c91fd
mov eax, dword fs:[0]
push eax
sub esp, 0x4f4
mov eax, dword [0x54e864]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
sub eax, dword [0x551044]
cmp eax, 0x3e8
jb 0x4274e9
call edi
mov ebx, 1
mov dword [0x551044], eax
cmp byte [0x550f70], bl
je 0x4274e9
lea eax, [ebp - 0x48]
push eax
call fcn.0044a530
add esp, 4
mov edx, 0x4d8438
lea ecx, [ebp - 0x48]
mov edi, edi
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x4274d0
test al, al
je 0x4274cc
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x4274d0
add ecx, 2
add edx, 2
test al, al
jne 0x4274b0
xor eax, eax
jmp 0x4274d5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x427505
call edi
push ebx
mov dword [0x550f58], eax
call fcn.00426870
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004c6212
mov esp, ebp
pop ebp
ret
push 0x7c
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0x4fc], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x427529
mov ecx, eax
call fcn.0040cc10
jmp 0x42752b
xor eax, eax
lea ecx, [ebp - 0x1d8]
mov esi, 0x14
push ecx
mov dword [0x550f5c], eax
mov dword [eax + 0x54], 5
mov dword [eax + 0x5c], esi
mov dword [ebp - 4], ebx
call fcn.0044a610
lea edx, [ebp - 0x368]
add esp, 4
push edx
call fcn.0044a630
lea eax, [ebp - 0x2a0]
add esp, 4
push eax
call fcn.0044a650
lea ecx, [ebp - 0x110]
add esp, 4
push ecx
call fcn.0044a670
add esp, 4
lea edx, [ebp - 0x110]
push edx
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x1d8]
push ecx
lea edx, [ebp - 0x2a0]
push edx
lea eax, [ebp - 0x368]
push eax
lea ecx, [ebp - 0x4f8]
push 0x4d8440
push ecx
call dword [sym.imp.MSVCR100.dll_sprintf]
mov ecx, dword [0x550f5c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x18]
add esp, 0x1c
push 8
lea eax, [ebp - 0x4f8]
push eax
call edx
mov eax, dword [0x550f5c]
mov dword [eax + 0x5c], esi
call edi
push str.DataBase_Connected_
push 0
mov dword [0x550f60], eax
call fcn.0042a000
add esp, 8
mov byte [0x550f70], bl
call fcn.00423190
jmp 0x4274e9
Function at 0x429250
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c9417
mov eax, dword fs:[0]
push eax
sub esp, 0x4f4
mov eax, dword [0x54e864]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
sub eax, dword [0x55113c]
cmp eax, 0x3e8
jb 0x4292f5
call edi
mov ebx, 1
mov dword [0x55113c], eax
cmp byte [0x551068], bl
je 0x4292f5
lea eax, [ebp - 0x48]
push eax
call fcn.0044a530
add esp, 4
mov edx, 0x4db768
lea ecx, [ebp - 0x48]
mov edi, edi
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x4292e0
test al, al
je 0x4292dc
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x4292e0
add ecx, 2
add edx, 2
test al, al
jne 0x4292c0
xor eax, eax
jmp 0x4292e5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x429311
call edi
mov dword [0x551050], eax
call fcn.00429170
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004c6212
mov esp, ebp
pop ebp
ret
push 0x7c
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0x4fc], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x429335
mov ecx, eax
call fcn.0040cc10
jmp 0x429337
xor eax, eax
lea ecx, [ebp - 0x1d8]
mov esi, 0x14
push ecx
mov dword [0x551054], eax
mov dword [eax + 0x54], 5
mov dword [eax + 0x5c], esi
mov dword [ebp - 4], ebx
call fcn.0044a610
lea edx, [ebp - 0x368]
add esp, 4
push edx
call fcn.0044a630
lea eax, [ebp - 0x2a0]
add esp, 4
push eax
call fcn.0044a650
lea ecx, [ebp - 0x110]
add esp, 4
push ecx
call fcn.0044a670
add esp, 4
lea edx, [ebp - 0x110]
push edx
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x1d8]
push ecx
lea edx, [ebp - 0x2a0]
push edx
lea eax, [ebp - 0x368]
push eax
lea ecx, [ebp - 0x4f8]
push str.DRIVERSQL_Server_UID_s_PWD_s_NetworkDBMSSOCN_DATABASE_s_SERVER_s__s
push ecx
call dword [sym.imp.MSVCR100.dll_sprintf]
mov ecx, dword [0x551054]
mov edx, dword [ecx]
mov edx, dword [edx + 0x18]
add esp, 0x1c
push 8
lea eax, [ebp - 0x4f8]
push eax
call edx
mov eax, dword [0x551054]
mov dword [eax + 0x5c], esi
call edi
push str.DataBase_Tickets_Connected_
push 0
mov dword [0x551058], eax
call fcn.0042a000
add esp, 8
mov byte [0x551068], bl
jmp 0x4292f5
Function at 0x429b30
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
push edi
test esi, esi
jne 0x429b53
mov eax, dword [0x55bb58]
lea esi, [eax + eax*4]
xor eax, 1
lea esi, [esi*4 + 0x55bb30]
mov dword [0x55bb58], eax
mov ebx, dword [esp + 0x18]
mov ebp, dword [sym.imp.MSVCR100.dll__itoa]
push 0xa
mov eax, ebx
shr eax, 0x18
push esi
push eax
call ebp
add esp, 0xc
lea edi, [esi - 1]
mov edi, edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x429b70
mov cx, word [str....r]
push 0xa
push 0
push esi
mov word [edi], cx
call dword [sym.imp.MSVCR100.dll_strchr]
mov edx, ebx
add esp, 8
shr edx, 0x10
push eax
and edx, 0xff
push edx
call ebp
add esp, 0xc
lea edi, [esi - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x429ba5
mov ax, word [0x4dcacc]
push 0xa
push 0
push esi
mov word [edi], ax
call dword [sym.imp.MSVCR100.dll_strchr]
mov ecx, ebx
add esp, 8
shr ecx, 8
push eax
and ecx, 0xff
push ecx
call ebp
add esp, 0xc
lea edi, [esi - 1]
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x429be0
mov dx, word [0x4dcad0]
push 0xa
push 0
push esi
mov word [edi], dx
call dword [sym.imp.MSVCR100.dll_strchr]
add esp, 8
push eax
and ebx, 0xff
push ebx
call ebp
add esp, 0xc
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret

Function at 0x429d80
Capabilities:
Delete file
Move file

Disassembly:
sub esp, 0x68
mov eax, dword [0x54e864]
xor eax, esp
mov dword [esp + 0x64], eax
push ebx
mov ebx, dword [sym.imp.MSVCR100.dll_sprintf]
push ebp
mov ebp, dword [sym.imp.MSVCR100.dll_fopen]
push esi
push edi
mov edi, dword [esp + 0x7c]
xor esi, esi
push esi
push edi
lea eax, [esp + 0x18]
push 0x4dcad8
push eax
call ebx
lea ecx, [esp + 0x20]
push 0x4dcae0
push ecx
call ebp
add esp, 0x18
test eax, eax
je 0x429dda
push eax
call dword [sym.imp.MSVCR100.dll_fclose]
inc esi
add esp, 4
cmp esi, 0x3e7
jle 0x429da4
jmp 0x429de6
lea edx, [esp + 0x10]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileA]
cmp esi, 0x3e8
jl 0x429e17
push 0
push edi
lea eax, [esp + 0x18]
push str._s._03d
push eax
call ebx
add esp, 0x10
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea edx, [esp + 0x10]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileA]
mov ecx, dword [esp + 0x74]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004c6212
add esp, 0x68
ret
Function at 0x42a540
Capabilities:
Create directory

Disassembly:
sub esp, 0x310
mov eax, dword [0x54e864]
xor eax, esp
mov dword [esp + 0x30c], eax
push ebx
push esi
mov esi, dword [esp + 0x31c]
push edi
push 0x104
lea eax, [esp + 0x218]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0
push 0
lea ecx, [esp + 0x11c]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x224]
push eax
call dword [sym.imp.MSVCR100.dll__splitpath]
mov edi, dword [sym.imp.MSVCR100.dll_sprintf]
lea ecx, [esp + 0x128]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x2c]
push str._s_sLog
push eax
call edi
mov ebx, dword [sym.imp.MSVCR100.dll__mkdir]
lea ecx, [esp + 0x34]
push ecx
call ebx
push esi
lea edx, [esp + 0x140]
push edx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x44]
push str._s_sLog_s
push ecx
call edi
lea edx, [esp + 0x4c]
push edx
call ebx
mov ecx, dword [esp + 0x358]
add esp, 0x40
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004c6212
add esp, 0x310
ret

Function at 0x42aba0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x68
mov eax, dword [0x54e864]
xor eax, esp
mov dword [esp + 0x64], eax
cmp dword [esp + 0x70], 0
mov eax, dword [esp + 0x6c]
jne 0x42abd7
push str.Recibido_mensaje_incompleto_de_inicio_de_sesion_de_Alesis
push 0
call fcn.0042a000
add esp, 8
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.004c6212
add esp, 0x68
ret
push ebx
mov ebx, dword [esp + 0x78]
push esi
mov esi, dword [eax]
push edi
mov edi, dword [eax + 4]
add eax, 8
cmp bl, 1
jne 0x42ac1d
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0xc], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x10], edx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x14], ecx
mov cx, word [eax + 0x10]
mov dword [esp + 0x18], edx
mov dl, byte [eax + 0x12]
mov word [esp + 0x1c], cx
mov byte [esp + 0x1e], dl
mov byte [esp + 0x1f], 0
jmp 0x42ac36
xor ecx, ecx
nop
mov dl, byte [eax]
inc eax
mov byte [esp + ecx + 0xc], dl
test dl, dl
je 0x42ac31
inc ecx
cmp ecx, 0x2f
jl 0x42ac20
mov byte [esp + 0x3a], 0
push esi
call fcn.0045cd30
add esp, 4
test eax, eax
je 0x42ac69
mov eax, dword [eax + 0x30]
push ebx
push esi
push edi
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.0040ea20
add esp, 0x14
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.004c6212
add esp, 0x68
ret
lea edx, [esp + 0x3c]
push esi
push edx
call fcn.00429b30
lea eax, [esp + 0x44]
push eax
push str.Error_al_iniciar_la_sesion_de_Alesis_en_la_maquina__s._No_se_ha_encontrado_la_maquina.
push 0
call fcn.0042a000
mov ecx, dword [esp + 0x84]
add esp, 0x14
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004c6212
add esp, 0x68
ret