joyce8/EMBER2024-capa huggingface dataset:
Function at 0x461dda
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x4e22e4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x3f
xor ebx, ebx
lea eax, [ebp - 0x47]
mov esi, ecx
push ebx
push eax
mov dword [ebp - 0x50], esi
mov byte [ebp - 0x48], 0
call fcn.00401f80
add esp, 0xc
call fcn.0041a877
cmp esi, ebx
je 0x461e12
mov dword [esi], ebx
push ebx
call fcn.0046185e
mov edi, eax
pop ecx
cmp edi, ebx
je 0x461eb8
mov ecx, edi
mov dword [ebp - 0x4c], ebx
call fcn.00461d2e
push eax
push str.SELECT_TENDER_TYPE_ACCEPTED_FROM_TENDER_TYPE_PROFILE_WHERE_LOC_d
push edi
call fcn.00460aca
add esp, 0xc
test eax, eax
je 0x461e8e
push 1
push 9
push 0x3f
lea eax, [ebp - 0x48]
push eax
push edi
call fcn.004606c9
jmp 0x461e84
cmp ebx, 0xde
jge 0x461e8b
lea esi, [ebp - 0x48]
call fcn.00439d07
test eax, eax
je 0x461e70
xor eax, eax
inc eax
mov ecx, ebx
shl eax, cl
or dword [ebp - 0x4c], eax
push 1
push 9
push 0x3f
lea eax, [ebp - 0x48]
push eax
push edi
inc ebx
call fcn.004606c9
mov esi, dword [ebp - 0x50]
add esp, 0x14
test eax, eax
jne 0x461e52
mov ebx, dword [ebp - 0x4c]
push edi
call fcn.004609b5
pop ecx
test esi, esi
je 0x461e9b
mov dword [esi], ebx
test bl, 1
je 0x461eb8
test bl, 2
je 0x461eb8
test bl, 8
je 0x461eb4
test bl, 0x10
je 0x461eb4
test bl, 4
jne 0x461eb8
xor eax, eax
jmp 0x461ebb
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401317
leave
ret

Function at 0x465bc8
Capabilities:
Get hostname
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x19c
mov eax, dword [0x4e22e4]
xor eax, esp
mov dword [esp + 0x198], eax
push edi
xor eax, eax
push 0x18e
push eax
mov word [esp + 0x10], ax
lea eax, [esp + 0x12]
push eax
call fcn.00401f80
add esp, 0xc
test esi, esi
je 0x465c43
cmp dword [ebp + 8], 0
jle 0x465c43
lea eax, [esp + 8]
push eax
push 0x101
mov byte [esi], 0
call dword [sym.imp.WSOCK32.dll_WSAStartup]
test eax, eax
jne 0x465c3f
push dword [ebp + 8]
push esi
call dword [sym.imp.WSOCK32.dll_gethostname]
mov edi, eax
call dword [sym.imp.WSOCK32.dll_WSACleanup]
test edi, edi
jne 0x465c3f
push esi
call fcn.00401a80
pop ecx
test eax, eax
jne 0x465c43
xor eax, eax
jmp 0x465c45
mov eax, esi
mov ecx, dword [esp + 0x19c]
pop edi
xor ecx, esp
call fcn.00401317
mov esp, ebp
pop ebp
ret
Function at 0x465c58
Capabilities:
Get routing table

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [sym.imp.IPHLPAPI.DLL_GetIpForwardTable]
push edi
xor ebx, ebx
push ebx
lea eax, [ebp - 4]
push eax
push ebx
mov dword [ebp - 4], ebx
xor edi, edi
call esi
cmp eax, 0x7a
jne 0x465c97
push 1
push dword [ebp - 4]
call fcn.00401a3a
mov edi, eax
pop ecx
pop ecx
cmp edi, ebx
jne 0x465c8f
xor eax, eax
jmp 0x465ce6
push ebx
lea eax, [ebp - 4]
push eax
push edi
call esi
cmp eax, ebx
je 0x465ca8
cmp edi, ebx
je 0x465c8b
push edi
call fcn.00401a00
pop ecx
jmp 0x465c8b
mov edx, dword [edi]
xor eax, eax
cmp edx, ebx
jle 0x465cdd
lea ecx, [edi + 4]
mov esi, dword [ebp + 0xc]
cmp esi, 0xffffffff
je 0x465cc0
cmp dword [ecx + 0x10], esi
jne 0x465ccc
mov esi, dword [ecx]
cmp esi, dword [ebp + 8]
jne 0x465ccc
cmp dword [ecx + 0xc], ebx
jne 0x465cd6
inc eax
add ecx, 0x38
cmp eax, edx
jl 0x465cb3
jmp 0x465cdd
imul eax, eax, 0x38
mov ebx, dword [eax + edi + 0x10]
push edi
call fcn.00401a00
pop ecx
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x466ece
Capabilities:
Get routing table

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x4e22e4]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push ebx
push esi
push edi
xor ebx, ebx
mov byte [ebp - 0x18], bl
lea edi, [ebp - 0x17]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov byte [ebp - 0x2c], bl
lea edi, [ebp - 0x2b]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov esi, ecx
stosw word es:[edi], ax
mov edx, esi
mov dword [ebp - 0x38], esi
stosb byte es:[edi], al
call fcn.00439c75
test eax, eax
jne 0x466fd7
mov al, byte [esi]
cmp al, bl
je 0x466f30
mov ecx, esi
cmp al, 0x2e
je 0x466f30
cmp al, 0x3f
je 0x466fd0
inc ecx
mov al, byte [ecx]
cmp al, bl
jne 0x466f1d
mov eax, esi
call fcn.00466390
test eax, eax
je 0x466fd7
mov eax, str._._._._
call fcn.00466390
test eax, eax
je 0x466fd7
mov edi, dword [sym.imp.IPHLPAPI.DLL_GetIpForwardTable]
push ebx
lea eax, [ebp - 0x34]
push eax
push ebx
mov dword [ebp - 0x34], ebx
call edi
cmp eax, 0x7a
jne 0x466fd7
push 1
push dword [ebp - 0x34]
call fcn.00401a3a
mov esi, eax
pop ecx
pop ecx
cmp esi, ebx
je 0x466fd7
push ebx
lea eax, [ebp - 0x34]
push eax
push esi
call edi
mov dword [ebp - 0x30], ebx
cmp dword [esi], ebx
jle 0x466ff8
lea edi, [esi + 4]
mov ecx, dword [edi]
lea eax, [ebp - 0x18]
call fcn.00465b6f
mov ecx, dword [edi + 0xc]
lea eax, [ebp - 0x2c]
call fcn.00465b6f
mov ecx, dword [ebp - 0x38]
lea edx, [ebp - 0x18]
call fcn.00466a39
test eax, eax
je 0x466ff0
lea edx, [ebp - 0x2c]
mov ecx, str._._._._
call fcn.00466a39
test eax, eax
je 0x466ff0
push edi
call dword [sym.imp.IPHLPAPI.DLL_DeleteIpForwardEntry]
test eax, eax
jne 0x466fe9
inc dword [ebp - 0x30]
jmp 0x466ff0
mov byte [0x4f78da], 1
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401317
leave
ret
mov byte [0x4f78db], 1
inc ebx
add edi, 0x38
cmp ebx, dword [esi]
jl 0x466f8b
push esi
call fcn.00401a00
mov eax, dword [ebp - 0x30]
pop ecx
jmp 0x466fda
Function at 0x4672c6
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x338
mov eax, dword [0x4e22e4]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x328], eax
xor eax, eax
push 0x18e
mov word [ebp - 0x324], ax
xor ebx, ebx
lea eax, [ebp - 0x322]
mov edi, ecx
push ebx
push eax
mov dword [ebp - 0x32c], edi
call fcn.00401f80
push 0x7f
lea eax, [ebp - 0x8b]
push ebx
push eax
mov byte [ebp - 0x8c], bl
call fcn.00401f80
mov esi, 0x103
push esi
lea eax, [ebp - 0x193]
push ebx
push eax
mov byte [ebp - 0x194], bl
call fcn.00401f80
add esp, 0x24
mov dword [ebp - 0x330], ebx
mov dword [ebp - 0x334], ebx
cmp dword [ebp - 0x328], ebx
je 0x46748e
cmp edi, ebx
je 0x46748e
call fcn.0041a877
push dword [ebp - 0x328]
lea eax, [ebp - 0x8c]
push 0x7e
pop ecx
mov byte [edi], bl
call fcn.00438aa8
lea eax, [ebp - 0x194]
call fcn.00438b22
mov edi, 0x4c0830
push edi
lea eax, [ebp - 0x334]
lea ecx, [ebp - 0x8c]
call fcn.004390ee
pop ecx
pop ecx
mov dword [ebp - 0x328], eax
cmp eax, ebx
je 0x4673b9
push edi
lea eax, [ebp - 0x334]
xor ecx, ecx
call fcn.004390ee
pop ecx
mov dword [ebp - 0x328], eax
mov edx, dword [ebp - 0x328]
call fcn.00439c75
test eax, eax
jne 0x4673ef
push dword [ebp - 0x328]
mov ecx, 0x104
lea eax, [ebp - 0x194]
call fcn.00438aa8
push 0x3a
xor eax, eax
lea edi, [ebp - 0x194]
call fcn.00438701
pop ecx
pop ecx
lea ebx, [ebp - 0x8c]
call fcn.004663f1
test eax, eax
je 0x46748e
call fcn.00454d5c
test eax, eax
jne 0x46749f
mov ebx, dword [ebp - 0x32c]
mov byte [ebx], al
lea eax, [ebp - 0x324]
push eax
push 0x101
call dword [sym.imp.WSOCK32.dll_WSAStartup]
test eax, eax
jne 0x46748e
lea ecx, [ebp - 0x8c]
call fcn.00466795
push 2
mov dword [ebp - 0x330], eax
push 4
lea eax, [ebp - 0x330]
push eax
call dword [sym.imp.WSOCK32.dll_gethostbyaddr]
mov edi, eax
test edi, edi
je 0x467476
mov eax, dword [edi]
test eax, eax
je 0x467476
push eax
call fcn.00401a80
pop ecx
test eax, eax
je 0x467476
push dword [edi]
mov ecx, esi
mov eax, ebx
call fcn.00438aa8
pop ecx
xor edi, edi
jmp 0x467479
or edi, 0xffffffff
call dword [sym.imp.WSOCK32.dll_WSACleanup]
test edi, edi
jne 0x46748e
push ebx
call fcn.00401a80
pop ecx
test eax, eax
jne 0x4674ca
xor eax, eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401317
leave
ret
cmp eax, 1
jne 0x4674ab
push str.WebSrv22
jmp 0x4674bc
cmp eax, 2
jne 0x4674b7
push str.WebSrv21
jmp 0x4674bc
push str.Mission_Control
mov eax, dword [ebp - 0x32c]
mov ecx, esi
call fcn.00438aa8
pop ecx
lea eax, [ebp - 0x194]
push eax
mov eax, esi
mov esi, dword [ebp - 0x32c]
call fcn.00439c34
pop ecx
call fcn.0041a877
mov eax, esi
jmp 0x467490
Function at 0x467b21
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1b4
mov eax, dword [0x4e22e4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
push 0x103
lea eax, [ebp - 0x10f]
mov edi, ecx
push ebx
push eax
mov dword [ebp - 0x1b0], edi
mov byte [ebp - 0x110], bl
call fcn.00401f80
add esp, 0xc
push 0x8c
lea eax, [ebp - 0x19c]
push ebx
push eax
mov dword [ebp - 0x1a0], ebx
call fcn.00401f80
add esp, 0xc
mov dword [ebp - 0x1a8], ebx
cmp edi, ebx
jne 0x467b92
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401317
leave
ret
mov esi, 0x90
push esi
push ebx
push edi
mov dword [ebp - 0x1a4], 1
call fcn.00401f80
add esp, 0xc
push str.fTender.cfg
lea edi, [ebp - 0x110]
call fcn.00466283
pop ecx
push ebx
push 0x20
push 3
push closesocket
mov eax, edi
call fcn.0048ec75
add esp, 0x10
mov dword [ebp - 0x1ac], eax
cmp eax, 0xffffffff
jne 0x467be4
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x467b81
push ebx
lea ecx, [ebp - 0x1a8]
push ecx
push esi
lea ecx, [ebp - 0x1a0]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x467c11
mov esi, dword [ebp - 0x1ac]
call fcn.0048d33e
mov eax, ebx
jmp 0x467b83
cmp dword [ebp - 0x1a8], esi
jae 0x467c30
push esi
lea eax, [ebp - 0x1a0]
push ebx
push eax
call fcn.00401f80
add esp, 0xc
mov dword [ebp - 0x1a4], ebx
cmp dword [ebp - 0x1a0], ebx
jl 0x467c41
cmp dword [ebp - 0x1a0], 7
jle 0x467c58
push esi
lea eax, [ebp - 0x1a0]
push ebx
push eax
call fcn.00401f80
add esp, 0xc
mov dword [ebp - 0x1a4], ebx
mov edi, dword [ebp - 0x1b0]
mov ebx, dword [ebp - 0x1a4]
push 0x24
pop ecx
lea esi, [ebp - 0x1a0]
rep movsd dword es:[edi], dword [esi]
jmp 0x467bff

Function at 0x46844a
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x4e22e4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x103
xor edi, edi
lea eax, [ebp - 0x10f]
mov esi, ecx
push edi
push eax
mov dword [ebp - 0x114], esi
mov byte [ebp - 0x110], 0
call fcn.00401f80
add esp, 0xc
cmp esi, edi
jne 0x468491
xor eax, eax
jmp 0x46855a
push str.lnd.reg
push edi
push edi
call fcn.0045531b
pop ecx
pop ecx
push eax
push 0x4af44c
lea eax, [ebp - 0x110]
push 0x104
push eax
call fcn.004392ef
add esp, 0x14
movsx eax, byte [esi]
call fcn.00438bf5
cmp eax, 0x61
jl 0x4684cb
cmp eax, 0x7a
jle 0x4684e4
inc edi
add esi, 0x27c
cmp edi, 0x1a
jl 0x4684b9
lea eax, [ebp - 0x110]
call fcn.0048e8b7
jmp 0x46855a
push 0x2f5a
mov edi, str.Network.c
mov esi, 0x4ae7a4
push edi
mov edx, esi
lea ecx, [ebp - 0x110]
call fcn.0048d3dd
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
jne 0x468533
push 0x96
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x2f5d
push edi
mov edx, esi
lea ecx, [ebp - 0x110]
call fcn.0048d3dd
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x46848a
push ebx
push 0x1a
push 0x27c
push dword [ebp - 0x114]
call fcn.0040257f
add esp, 0x10
mov ecx, ebx
mov esi, eax
call fcn.0048fcf9
xor eax, eax
cmp esi, 0x1a
sete al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401317
leave
ret
Function at 0x468569
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x4e22e4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
push 0x103
lea eax, [ebp - 0x10f]
push ebx
push eax
mov byte [ebp - 0x110], bl
call fcn.00401f80
add esp, 0xc
push str.lnd.reg
push ebx
push ebx
call fcn.0045531b
pop ecx
pop ecx
push eax
push 0x4af44c
lea eax, [ebp - 0x110]
push 0x104
push eax
call fcn.004392ef
push 0x2f27
push str.Network.c
mov edx, 0x4ae668
lea ecx, [ebp - 0x110]
call fcn.0048d3dd
mov edi, eax
add esp, 0x1c
cmp edi, ebx
jne 0x4685e8
xor eax, eax
jmp 0x468613
call fcn.00465ad5
mov esi, eax
cmp esi, ebx
je 0x4685e4
push edi
push 0x1a
push 0x27c
push esi
call fcn.00402244
mov ecx, edi
call fcn.0048fcf9
push ebx
mov eax, esi
call fcn.00465a9e
add esp, 0x14
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401317
leave
ret
Function at 0x46a727
Capabilities:
Delete file

Disassembly:
push edi
push str.TempWMICCred.tmp
push 0
call fcn.0045531b
push 0
push 0
mov edi, eax
call fcn.00469e9a
push eax
push str.NetCredential__s.log
push 0
call fcn.0045531b
add esp, 0x1c
mov eax, edi
pop edi
jmp fcn.0048e8b7
Function at 0x46af03
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
mov eax, dword [0x4e22e4]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
xor ebx, ebx
push 0x31
mov dword [ebp - 0x24c], eax
lea eax, [ebp - 0x3b]
push ebx
push eax
mov esi, ecx
mov dword [ebp - 0x248], ebx
mov byte [ebp - 0x3c], bl
call fcn.00401f80
add esp, 0xc
push 0xff
lea eax, [ebp - 0x13b]
push ebx
push eax
mov byte [ebp - 0x13c], bl
call fcn.00401f80
add esp, 0xc
push 0x103
lea eax, [ebp - 0x243]
push ebx
push eax
mov byte [ebp - 0x244], bl
call fcn.00401f80
add esp, 0xc
mov edx, esi
call fcn.00439c75
test eax, eax
je 0x46af86
xor eax, eax
jmp 0x46b0ed
push esi
lea edi, [ebp - 0x244]
call fcn.00466283
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileA]
pop ecx
push ebx
mov edi, 0x80000020
push edi
push 1
push ebx
push 7
push 6
lea eax, [ebp - 0x244]
push eax
call esi
mov dword [ebp - 0x250], eax
cmp eax, 0xffffffff
jne 0x46afef
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
push edi
push 4
push ebx
push 7
push 6
lea eax, [ebp - 0x244]
push eax
call esi
mov dword [ebp - 0x250], eax
cmp eax, 0xffffffff
jne 0x46afef
call fcn.0041a877
call fcn.0041a877
mov dword [0x5dd424], eax
jmp 0x46af7f
lea eax, [ebp - 0x3c]
push 0x32
push eax
call fcn.00469e9a
pop ecx
pop ecx
cmp dword [ebp + 8], ebx
je 0x46b012
push 0x4ae898
push 0x32
pop eax
lea esi, [ebp - 0x3c]
call fcn.00439c34
pop ecx
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x13c]
push str._nLock_was_initiated_by:__s
push eax
call fcn.00401954
add esp, 0xc
push ebx
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x13c]
push eax
call fcn.00401a80
mov esi, dword [ebp - 0x250]
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
pop ecx
push eax
lea eax, [ebp - 0x13c]
push eax
push esi
call edi
test eax, eax
jne 0x46b060
inc dword [0x5dd3c4]
mov edx, dword [ebp - 0x24c]
call fcn.00439c75
test eax, eax
jne 0x46b0a9
push dword [ebp - 0x24c]
lea eax, [ebp - 0x13c]
push str._nIn_Source_File:__s
push eax
call fcn.00401954
add esp, 0xc
push ebx
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x13c]
push eax
call fcn.00401a80
pop ecx
push eax
lea eax, [ebp - 0x13c]
push eax
push esi
call edi
cmp dword [ebp + 0x10], ebx
jle 0x46b0e5
push dword [ebp + 0x10]
lea eax, [ebp - 0x13c]
push str._nFrom_Source_Line:__d
push eax
call fcn.00401954
add esp, 0xc
push ebx
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x13c]
push eax
call fcn.00401a80
pop ecx
push eax
lea eax, [ebp - 0x13c]
push eax
push esi
call edi
call fcn.0048d33e
xor eax, eax
inc eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401317
leave
ret
Function at 0x46cb30
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [0x4e22e4]
xor eax, esp
mov dword [esp + 0x28], eax
and dword [esp], 0
push ebx
push esi
push edi
xor eax, eax
mov word [esp + 0x24], ax
lea edi, [esp + 0x26]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x21e2
mov ebx, str.Network.c
push ebx
stosd dword es:[edi], eax
push str.addrchng.flg
push 0
stosw word es:[edi], ax
call fcn.0045531b
pop ecx
pop ecx
mov edx, 0x4ae668
mov ecx, eax
call fcn.0048d3dd
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x46cb8f
xor eax, eax
jmp 0x46cc86
push esi
push 1
lea eax, [esp + 0x14]
push 4
push eax
call fcn.00402244
push esi
push 1
lea eax, [esp + 0x3c]
push 0x10
push eax
call fcn.00402244
mov ecx, esi
call fcn.0048fcf9
push 0x21eb
push ebx
lea esi, [esp + 0x38]
call fcn.0041cf00
add esp, 0x18
mov edi, esp
lea esi, [esp + 0x34]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
mov esi, eax
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0041bf10
push eax
call fcn.004041ba
add esp, 0x24
cmp eax, 0x6ddd000
jle 0x46cbf5
call fcn.00467d1c
push 0x21ef
push ebx
lea esi, [esp + 0x18]
call fcn.0041cf00
push ecx
push ecx
mov edi, esp
lea esi, [esp + 0x34]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
mov esi, eax
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0041bf10
push eax
call fcn.004041ba
add esp, 0x24
cmp eax, 0x240c8400
jle 0x46cc3a
call fcn.00467d1c
jmp 0x46cb88
cmp dword [esp + 0xc], 0
je 0x46cc46
xor eax, eax
inc eax
jmp 0x46cc86
push 0x21fd
push ebx
lea esi, [esp + 0x18]
call fcn.0041cf00
push ecx
push ecx
mov edi, esp
lea esi, [esp + 0x34]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
mov esi, eax
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0041bf10
push eax
call fcn.004041ba
xor ecx, ecx
add esp, 0x24
cmp eax, 0x4b87f00
setl cl
mov eax, ecx
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401317
mov esp, ebp
pop ebp
ret
Function at 0x47e3c2
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
xor ebx, ebx
push edi
xor eax, eax
cmp dword [eax*4 + 0x5d6768], ebx
je 0x47e3d8
inc eax
cmp eax, 2
jl 0x47e3c9
mov edi, 0x6cc5c
cmp eax, 2
jge 0x47e4c5
mov esi, eax
imul esi, esi, 0x6cc5c
add esi, 0x4fceb0
mov dword [eax*4 + 0x5d6768], 1
push edi
push ebx
push esi
call fcn.00401f80
add esp, 0xc
push 0x64
lea ecx, [esi + 0x4c0]
lea eax, [esi + 0x32c]
pop edx
mov dword [eax - 0x194], ecx
mov dword [eax], ecx
add eax, 4
dec edx
jne 0x47e419
push ebx
push ebx
mov dword [esi + 0x37608], 1
call fcn.0045531b
push eax
push 0x4ae8ac
mov edi, 0x104
lea eax, [esi + 0x240c]
push edi
push eax
call fcn.004392ef
add esp, 0x18
push str.PaulaConfig.cfg
push ebx
push ebx
call fcn.0045500f
pop ecx
pop ecx
push eax
mov ebx, 0x4af44c
push ebx
lea eax, [esi + 0x22a8]
push edi
push eax
call fcn.004392ef
add esp, 0x14
push str.PaulaEmpConfig.cfg
push 0
push 0
call fcn.0045500f
pop ecx
pop ecx
push eax
push ebx
lea eax, [esi + 0x21a4]
push edi
push eax
call fcn.004392ef
add esp, 0x14
xor eax, eax
call fcn.004737b9
test eax, eax
je 0x47e4ae
push esi
mov ebx, eax
call fcn.004442d7
pop ecx
push esi
call fcn.00478c17
pop ecx
mov ecx, 0x47a1ef
call fcn.00465eef
mov eax, esi
pop edi
pop esi
pop ebx
ret
push edi
push 1
call fcn.00401a3a
pop ecx
pop ecx
mov esi, eax
cmp esi, ebx
jne 0x47e3ff
push str._n_nERROR:_OUT_OF_MEMORY__Could_not_create_PAULA_object_
call fcn.0049785d
mov dword [esp], 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
jmp 0x47e4c1
Function at 0x488f6a
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x4e22e4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x4fc474]
push ebx
push esi
xor ebx, ebx
push edi
mov esi, 0x90
cmp eax, ebx
jne 0x488fd6
push esi
lea eax, [ebp - 0x94]
push ebx
push eax
mov dword [ebp - 0x98], ebx
call fcn.00401f80
lea edi, [esi + 4]
push edi
lea eax, [ebp - 0x98]
push ebx
push eax
call fcn.00401f80
add esp, 0x18
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 0x98], edi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [ebp - 0x88]
mov dword [0x4fc474], eax
xor ebx, ebx
inc ebx
cmp eax, ebx
jne 0x489008
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
xor byte [ebp - 0x74], bl
push 2
mov esi, eax
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.USER32.dll_SetKeyboardState]
add esi, eax
jmp 0x489028
mov edi, dword [sym.imp.USER32.dll_keybd_event]
push 0
push ebx
push 0x45
push esi
call edi
push ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 3
push 0x45
push esi
call edi
mov esi, ebx
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401317
leave
ret
Function at 0x48ca6c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x48ca86
test al, 0x10
je 0x48ca86
xor eax, eax
inc eax
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x48cb93
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
mov eax, dword [0x4e22e4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, 0x103
xor ebx, ebx
push esi
lea eax, [ebp - 0x147]
push ebx
push eax
mov byte [ebp - 0x148], bl
call fcn.00401f80
push 0x3f
lea eax, [ebp - 0x43]
push ebx
push eax
mov byte [ebp - 0x44], bl
call fcn.00401f80
add esp, 0x18
cmp edi, ebx
je 0x48cc39
mov eax, edi
call fcn.00438b22
push 0x21e88e
lea eax, [esi - 0x25]
call fcn.0046fb95
push eax
push str.P2_Tmp__d
lea eax, [ebp - 0x44]
push 0x40
push eax
call fcn.004392ef
add esp, 0x14
lea eax, [ebp - 0x148]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x48cc39
push edi
push ebx
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x148]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
je 0x48cc39
mov edx, edi
call fcn.00439c75
test eax, eax
jne 0x48cc39
mov eax, edi
jmp 0x48cc3b
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00401317
leave
ret
Function at 0x48ccda
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x35c
mov eax, dword [0x4e22e4]
xor eax, esp
mov dword [esp + 0x358], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x103
xor ebx, ebx
push esi
lea eax, [esp + 0x25d]
push ebx
push eax
mov byte [esp + 0x264], bl
call fcn.00401f80
push esi
lea eax, [esp + 0x161]
push ebx
push eax
mov byte [esp + 0x168], bl
call fcn.00401f80
push 0x13c
lea eax, [esp + 0x30]
push ebx
push eax
mov dword [esp + 0x34], ebx
call fcn.00401f80
add esp, 0x24
cmp edi, ebx
je 0x48ce20
cmp byte [edi], bl
je 0x48ce20
push edi
lea ecx, [esi + 1]
lea eax, [esp + 0x25c]
call fcn.00438aa8
push eax
lea eax, [esp + 0x158]
push eax
call fcn.00401ba0
add esp, 0xc
lea esi, [esp + 0x150]
call fcn.00438922
mov ecx, dword [0x4fa458]
mov eax, dword [0x4fa454]
add ecx, 0xf
cmp eax, ecx
jle 0x48cd98
mov dword [0x4fa458], eax
inc eax
mov dword [0x4fa454], eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x25c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
dec dword [0x4fa454]
mov esi, eax
cmp esi, 0xffffffff
je 0x48ce20
cmp byte [esp + 0x3c], 0x2e
je 0x48ce09
lea edx, [esp + 0x3c]
call fcn.00439c75
test eax, eax
jne 0x48ce09
cmp byte [esp + 0x150], 0x2a
jne 0x48ce39
cmp byte [esp + 0x152], 0x2a
jne 0x48ce39
cmp byte [esp + 0x151], 0x3f
je 0x48ce39
movsx eax, byte [esp + 0x151]
push eax
lea eax, [esp + 0x40]
push eax
call fcn.00403cd0
pop ecx
pop ecx
test eax, eax
jne 0x48ce39
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x48cdbe
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
mov ecx, dword [esp + 0x364]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401317
mov esp, ebp
pop ebp
ret 4
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
inc eax
jmp 0x48ce22