joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43a0a0
Capabilities:
Get socket status

Disassembly:
sub esp, 0x214
mov eax, dword [0x4508e0]
xor eax, esp
mov dword [esp + 0x210], eax
mov ecx, dword [esp + 0x21c]
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp], eax
imul eax, eax, 0x3e8
mov edx, ecx
sub edx, eax
imul edx, edx, 0x3e8
push esi
mov esi, dword [esp + 0x21c]
mov dword [esp + 8], edx
mov dword [esp + 0x114], esi
mov dword [esp + 0x110], 1
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 1
cmp ecx, 0xffffffff
jne 0x43a125
push 0
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x118]
push ecx
push 0
lea edx, [esi + 1]
push edx
jmp 0x43a13d
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x118]
push edx
push 0
lea eax, [esi + 1]
push eax
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
jns 0x43a160
or eax, 0xffffffff
pop esi
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.0040a11d
add esp, 0x214
ret
jne 0x43a17d
mov eax, 1
pop esi
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.0040a11d
add esp, 0x214
ret
lea ecx, [esp + 0xc]
push ecx
push esi
call sub.WS2_32.dll___WSAFDIsSet
mov ecx, dword [esp + 0x214]
neg eax
sbb eax, eax
pop esi
xor ecx, esp
call fcn.0040a11d
add esp, 0x214
ret

Function at 0x43a1b0
Capabilities:
Connect socket

Disassembly:
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
push esi
mov esi, dword [esp + 8]
push eax
push ecx
push esi
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
je 0x43a1f9
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2748
je 0x43a1f9
cmp eax, 0x2733
je 0x43a1e5
cmp eax, 0x2735
jne 0x43a1fd
mov edx, dword [esp + 0x14]
push edx
push esi
call fcn.0043a0a0
add esp, 8
neg eax
sbb eax, eax
pop esi
ret
xor eax, eax
pop esi
ret
or eax, 0xffffffff
pop esi
ret
Function at 0x43a220
Capabilities:
Get socket status
Send data
Send data on socket

Disassembly:
jmp 0x43a220
sub esp, 0x110
mov eax, dword [0x4508e0]
xor eax, esp
mov dword [esp + 0x10c], eax
push ebx
mov ebx, dword [esp + 0x11c]
push esi
mov esi, dword [esp + 0x11c]
push edi
mov edi, dword [esp + 0x12c]
test edi, edi
je 0x43a2c7
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], 1
lea ecx, [esp + 0xc]
cmp edi, 0xffffffff
jne 0x43a269
xor ecx, ecx
jmp 0x43a292
mov eax, 0x10624dd3
imul edi
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0xc], eax
imul eax, eax, 0x3e8
mov edx, edi
sub edx, eax
imul edx, edx, 0x3e8
mov dword [esp + 0x10], edx
push ecx
push 0
lea eax, [esp + 0x1c]
push eax
push 0
lea ecx, [esi + 1]
push ecx
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
jns 0x43a2c5
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call fcn.0040a11d
add esp, 0x110
ret
je 0x43a323
mov edx, dword [esp + 0x128]
push 0
push edx
push ebx
push esi
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x43a33d
mov esi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call esi
cmp eax, 0x2733
je 0x43a312
call esi
cmp eax, 0x2733
je 0x43a312
pop edi
pop esi
mov eax, 0xfffffffe
pop ebx
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call fcn.0040a11d
add esp, 0x110
ret
test edi, edi
je 0x43a323
push 0x30d40
call fcn.0043a510
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call fcn.0040a11d
add esp, 0x110
ret
jne 0x43a344
mov eax, 0xfffffffd
mov ecx, dword [esp + 0x118]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040a11d
add esp, 0x110
ret
Function at 0x43a360
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
jmp 0x43a360
sub esp, 0x110
mov eax, dword [0x4508e0]
xor eax, esp
mov dword [esp + 0x10c], eax
push ebx
mov ebx, dword [esp + 0x11c]
push esi
mov esi, dword [esp + 0x11c]
push edi
mov edi, dword [esp + 0x12c]
test edi, edi
je 0x43a417
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], 1
lea ecx, [esp + 0xc]
cmp edi, 0xffffffff
jne 0x43a3ad
xor ecx, ecx
jmp 0x43a3d6
mov eax, 0x10624dd3
imul edi
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0xc], eax
imul eax, eax, 0x3e8
mov edx, edi
sub edx, eax
imul edx, edx, 0x3e8
mov dword [esp + 0x10], edx
push ecx
push 0
push 0
lea eax, [esp + 0x20]
push eax
lea ecx, [esi + 1]
push ecx
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
jns 0x43a415
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
sub eax, 0x2714
pop edi
neg eax
pop esi
sbb eax, eax
pop ebx
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call fcn.0040a11d
add esp, 0x110
ret
je 0x43a473
mov edx, dword [esp + 0x128]
push 0
push edx
push ebx
push esi
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jns 0x43a48d
mov esi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call esi
cmp eax, 0x2733
je 0x43a462
call esi
cmp eax, 0x2733
je 0x43a462
pop edi
pop esi
mov eax, 0xfffffffe
pop ebx
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call fcn.0040a11d
add esp, 0x110
ret
test edi, edi
je 0x43a473
push 0x186a0
call fcn.0043a510
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call fcn.0040a11d
add esp, 0x110
ret
jne 0x43a494
mov eax, 0xfffffffd
mov ecx, dword [esp + 0x118]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040a11d
add esp, 0x110
ret
Function at 0x4046c7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, ecx
call fcn.00429246
push 0x5c51d0
mov edi, dword [eax + 0xc]
movzx eax, si
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x404781
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x404781
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebx
push esi
push eax
call fcn.0054e9c0
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [ebp - 4]
push eax
push 0
push edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov ebx, dword [ebp - 4]
push 0x10
call dword [sym.imp.gdiplus.dll_GdipAlloc]
mov esi, eax
test esi, esi
je 0x404765
lea ecx, [esi + 4]
mov dword [esi], vtable.Gdiplus::Image.0
and dword [ecx], 0
push ecx
push ebx
call dword [sym.imp.gdiplus.dll_GdipLoadImageFromStream]
mov dword [esi + 8], eax
jmp 0x404767
xor esi, esi
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
inc eax
jmp 0x404783
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41640d
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
push edi
cmp dword [ecx + 0x58], esi
je 0x416460
push esi
push dword [ebp + 8]
call fcn.004165f3
mov edi, eax
test edi, edi
je 0x41645b
lea eax, [ebp - 4]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push dword [ebp + 0xc]
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x41645b
mov eax, dword [ebp - 8]
jmp 0x416472
mov eax, dword [ebp + 0x10]
jmp 0x416472
push dword [ecx + 0x6c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
pop edi
pop esi
leave
ret 0xc

Function at 0x419510
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x419555
call fcn.00429246
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x419555
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x419571
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0042759e
mov ebx, eax
test edi, edi
je 0x41956f
test esi, esi
je 0x41956f
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x419f94
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x41a052
cmp dword [esi + 0x20], 0
je 0x41a052
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41a052
cmp dword [ebp + 8], 0
je 0x41a052
xor eax, eax
mov ebx, eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], ebx
mov edi, eax
call fcn.00429246
push 0x592bd8
push dword [ebp + 8]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x41a023
mov edi, dword [ebp - 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 0x10]
mov dword [ebp - 4], eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x41a052
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov dword [ebp - 8], eax
push dword [ebp - 4]
push ebx
push esi
call fcn.0049914b
add esp, 0xc
mov ebx, eax
cmp dword [ebp - 8], 0
je 0x41a043
test edi, edi
je 0x41a043
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
test ebx, ebx
je 0x41a04e
mov ecx, esi
call fcn.00419d33
mov eax, ebx
jmp 0x41a054
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x41e9f2
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x581e6b
call fcn.0054c35d
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x74], ebx
jne 0x41ea18
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x41ea78
call fcn.0042065e
push eax
lea ecx, [ebp - 0x10]
call fcn.00402c8c
mov edi, dword [edi + 0x74]
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 4], ebx
mov eax, dword [edi]
mov esi, dword [eax + 0x8c]
mov ecx, esi
call dword [0x590a44]
mov ecx, edi
call esi
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push esi
call fcn.00555f0f
push eax
call fcn.00403422
add esp, 0x14
test esi, esi
je 0x41ea6b
push esi
call fcn.00555120
pop ecx
mov ebx, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402602
mov eax, ebx
call fcn.0054c326
ret 8

Function at 0x41f2d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, ecx
push edi
mov edi, dword [ebp + 8]
mov dword [ebx + 0x84], edi
test edi, 0xffff0000
jne 0x41f2fb
cmp dword [ebx + 0x80], 0
jne 0x41f2fb
movzx eax, di
mov dword [ebx + 0x80], eax
call fcn.00429246
push 5
push edi
mov esi, dword [eax + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov edi, eax
mov ecx, ebx
push edi
call fcn.0041f58c
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x41f335
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor esi, esi
call fcn.00429246
push 5
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x41f36c
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.0041f38b
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8
Function at 0x421944
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor esi, esi
mov eax, ecx
push edi
mov edi, esi
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], esi
je 0x42198e
call fcn.00429246
push 0xf0
push dword [ebp + 0xc]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x42198b
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4219de
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov eax, dword [ebp - 4]
xor ebx, ebx
inc ebx
test esi, esi
je 0x4219bb
mov ecx, dword [eax]
push dword [ebp + 0x10]
push esi
mov esi, dword [ecx + 0x20]
mov ecx, esi
push dword [ebp + 8]
call dword [0x590a44]
mov ecx, dword [ebp - 4]
call esi
mov ebx, eax
test edi, edi
je 0x4219bb
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp + 8]
mov edi, dword [eax + 0x70]
test edi, edi
je 0x4219dc
mov eax, dword [edi]
push dword [ebp + 0x10]
mov esi, dword [eax + 0xa0]
mov ecx, esi
call dword [0x590a44]
mov ecx, edi
call esi
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x430042
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
push edi
test esi, esi
jne 0x43005c
call fcn.00429246
mov esi, dword [eax + 0xc]
push 0x5c51d0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ebx, eax
test ebx, ebx
je 0x4300b2
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4300b2
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
test eax, eax
jne 0x430091
xor esi, esi
jmp 0x4300a7
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.004300bb
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
jmp 0x4300b4
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x49ab81
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov dword [ebp - 4], ebx
test byte [esi + 4], 1
mov edi, dword [esi + 0xc]
jne 0x49abd7
push 5
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x49abb0
call fcn.00407af5
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x49abc5
call fcn.00407af5
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x49abd7
call fcn.00407af5
call fcn.00429246
cmp dword [eax + 0x3c], 0
je 0x49abec
push edi
mov ecx, ebx
call fcn.0049a2b1
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.0049adbe
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x88]
test ecx, ecx
je 0x49ac15
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
and dword [eax + 0x88], 0
test ebx, ebx
je 0x49ac21
mov edi, ebx
mov dword [eax + 0x88], ebx
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x4c40b4
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [edi + 4]
call fcn.0041e5cf
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongA]
push dword [ebp + 0xc]
mov esi, eax
mov ecx, edi
and esi, 3
call fcn.004c42cd
cmp esi, 3
je 0x4c40f2
mov dword [edi + 0xc], 1
cmp dword [edi], 0
je 0x4c413b
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x4c4115
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.004195e5
jmp 0x4c4126
push 0xff
mov ecx, esi
call fcn.00402c50
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
mov ecx, esi
call fcn.0041672f
jmp 0x4c415f
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
jne 0x4c415f
push dword [esi]
push dword [ebp - 4]
call fcn.0042a395
pop edi
pop esi
leave
ret 0xc

Function at 0x4c4224
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.004c42cd
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x4c426c
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.004195e5
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0041672f
jmp 0x4c4277
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.0042a395
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x513a18
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.00546f52
call fcn.0042929a
cmp dword [eax + 0x14], 0
jne 0x513a33
mov ecx, esi
pop esi
jmp fcn.00512d43
pop esi
ret

Function at 0x515be7
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
call fcn.0055d922
pop ecx
test eax, eax
jne 0x515c29
push dword [ebp - 4]
push dword [ebp + 0xc]
push dword [ebp + 8]
push str._s_s_X.tmp
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.00416991
add esp, 0x18
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x515bef
leave
ret
push dword [ebp + 0x10]
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
leave
ret

Function at 0x52e446
Capabilities:
Get common file path
Get file system object information

Disassembly:
push esi
mov esi, ecx
call fcn.0040203c
call fcn.0042929a
cmp dword [eax + 0x14], 0
jne 0x52e461
mov ecx, esi
pop esi
jmp fcn.0052dcc2
pop esi
ret

Function at 0x5664ab
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0056616b
Function at 0x56b70a
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x410e01
Capabilities:
Encode data using xor

Disassembly:
test dword [edi + 0x45], esp
stc
jne 0x410e14
or eax, 0x950be45e
pop esi
in al, 0xb
xchg ebp, eax
lahf
lea ebp, [ecx + 0x3b3c21bf]
xchg ebx, eax
fist word [ebx]
sahf
add ebp, dword [esi - 0x54]
jg 0x410e4c
adc ebx, dword [esi + 0x7fac6e03]
xor dword [edi], edi
cmp al, 0x27
xchg ebx, eax
jg 0x410e26
sahf
mov esi, ecx
jg 0x410e06
mov ecx, 0xfce5f699
cdq
mul ch
cld
dec edx
sahf
xchg ecx, esi
sal al, cl
mov esp, 0xf3c2278c
xor esi, ebx
adc eax, 0xdf699f9e
cmp byte [eax + 1], bh
jg 0x410e59
cmp al, 0x90
leave
mov edi, 0xe4c82f0c
cmpsd dword [esi], dword es:[edi]
stc
inc esi
invalid
mov ecx, 0x8bc1c5be
sub bh, ah
outsd dx, dword [esi]
cmc
cld
xor byte [ecx], cl
pop esi
xchg esp, eax
leave
fild word [edi + ecx]
bound edi, qword [edi + edi*8]
ja 0x410e62
invalid
Function at 0x41946a
Capabilities:
Encode data using xor

Disassembly:
aas
inc ebp
nop
lahf
mov ebp, ss
cmpsd dword [esi], dword es:[edi]
adc bh, byte [edi]
pop ebp
sar ah, 0x84
mov edx, 0x74fc41a1
sub dword [eax + 0x4f1a348c], 0x9e9dff0b
adc dword [esi], ecx
jnp 0x4194be
adc al, 0xb6
jbe 0x419507
mov dh, 0x76
jns 0x4194cc
cmp eax, 0x28ef913d
invalid
cmp eax, 0x8e28ef91
mov esp, 0x9d16cf67
ror byte [ebp + 0x6c40ced8], 1
sub esi, dword [ebp - 0x39c0ec42]
mov cl, 0xb6
push ebx
inc eax
lodsb al, byte [esi]
mov bh, 0x6b
xchg edi, eax
call 0x326b739f
mov bl, 0x2a
mov eax, dword [0x194fc4ef]
mov dword [0xe16ed74c], eax
xor dh, byte [ebx - 0x3b105ed6]
dec edi
sbb dword [ebx - 0x1e9128b4], esp
jbe 0x419505
xchg ecx, eax
daa
mov esi, 0x8715fa4
jecxz 0x4194b1
fsub qword [ebp + 0x74]
inc ebp
lea ebp, [esi]
mov bh, 0xa6
sbb bh, byte [edx]
aad 0x6f
mov esp, dword [esi]
js 0x41948b
pop esi
cli
dec eax
dec edx
cmp edx, dword [ecx + 0x585491f4]
lahf
pop ebx
push edi
test al, 0xcf
or dword [edx + 0x4988319], ebx
rcr byte [edx], 1
jg 0x41951e
pop ebp
sti
sub edx, ebp
daa
and dword [edi + 0x235349ea], eax
test eax, 0xe6c589a9
jmp [ecx + 0x736af4a9]
test eax, 0x736af4a9
loop 0x4194e4
hlt
sbb byte [ecx], ch
sar ebp, cl
ja 0x4194c2
test byte [edx - 0x6ad410e4], 0x46
in eax, dx
cmp bh, byte [esi - 0x61]
loope 0x4194a5
mov cl, 0x67
cmpsb byte [esi], byte es:[edi]
jbe 0x41959a
adc byte [esi - 0x17], al
push ebp
salc
adc eax, 0xa366a7a4
jp 0x41956f
add al, 0x5e
wait
push ds
xchg esi, eax
cmp esp, ecx
xchg byte [esi], ch
and eax, 0x3e1afacc
adc eax, 0xeb031ae9
xchg byte [edx], bl
ja 0x4194d5
lodsb al, byte [esi]
stc
invalid
fcom dword [edi + 0x39a2076f]
into
and dh, byte [ebx + 0x52c8430d]
hlt
fist dword [ebp - 0x4e]
arpl word [esi - 0x55], bp
sar dword [esi + edi], 1
into
lcall 0x4591, 0x7ee5d2bf
dec esi
mov ebx, 0x17b0d368
jl 0x4195cd
xchg esi, eax
sbb dword [ebx + ecx], ebp
int3
js 0x419645
test eax, edx
movsb byte es:[edi], byte [esi]
or al, 0xb9
iretd
cmp byte [ecx], al
insd dword es:[edi], dx
jb 0x4196a9
push ecx
dec esi
not al
sbb ah, byte [eax - 0x59]
pushal
cmpsd dword [esi], dword es:[edi]
cmp dl, byte [esi]
sti
std
shl dword [edx], 0x6d
invalid
popfd
imul ebp, dword [esi], 0xd5cc944d
cmp dword [ebx + eax*2 + 0x5e831824], ecx
or bh, ch
or al, 0x7c
jg 0x41964f
mov dl, byte [eax + 0x19]
pop edi
push ss
insb byte es:[edi], dx
push edx
sub eax, 0xa26abd25
mov bh, 0x5a
stc
and edi, dword [ebp + 0x16bb2911]
jmp 0x419733
mov dword [edx + 0x4713a78d], esi
xor eax, ebx
cmpsb byte [esi], byte es:[edi]
cmp eax, 0xea2e745
cmc
sub ebx, dword [edx + 0x401f2b0b]
or ebp, dword [ebx]
pop ds
inc eax
inc esi
fisttp word [ecx]
sbb ebp, esp
inc ebx
enter 0x3e44, 2
idiv edx
and dword [eax], 3
mov ebx, 0x6c2dbe20
add ebp, dword [edx + 0x12eede66]
insd dword es:[edi], dx
push ds
xchg dword [edi + esi*4], ecx
out 0x16, al
or ecx, ebp
dec edi
fbld tbyte [edi]
jp 0x419744
pop eax
mov al, 0xc8
pushfd
xor dword [eax + ebp*8 - 0x5eecc65], 0xdb8134e6
and edi, ecx
aam 0x11
jmp 0x9f99db26