joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409660
Capabilities:
Check for sandbox and av modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], str.XIa54HyP7N4YdwMX2Ro9ka4IvNeEWqDbBGBXRbjeQBG9tYil9x0DPIwSEecKFih4fh0x6vYs56ymeLwYI91Tw5HxcYrQW06eRG764DbX5YYxNLNSEJEg3Y097ntDcVXnRl3ziwAD5G5Gan3WmFqKj9StnuxXwYl79Ygwua1IdrOY4wJ0Fxb1lhWLPbMPJCgUYywbBxhSDeYJSEUGSb7isbPAn2bmlLibblUmJEl9pNbnJIfCLJIx6zfVNtsOzSDaWORzeydWyFQwtaWevBQiYhYcPBgBlW21YL8XBiX746iSA0NTLrFLX4W7cn0igsPOpfMhCSMRR9zkjIbQFaFO9M5QyrXxGpWvNxeWdsTLQCDSzk3fKXETOfpXwgecClRTeed1v3DQP7eG1nW6
mov dword [ebp - 0x10], str.nF7frGwKTNFiCB8BG1vqhStac6EIfSnQK6021pmfdPpGg6jsHBpXk5MdrdvsOQHRDnW9gCLemlbrPTp5CXHOakbEmWGs6XSRCr0CEJ9gH2QO2lyYqWWQxktkrCoBMBgkBxOEJdbUnqrM3lK9oJqafPP1WtWs6L3eHhHH2B1IgS70CrV11N013FOqUuPiKYlWlyBo6xb5CkabsriiaM0LkXaTgGGiMBIMW54B4Un4fuukxRY5k3S3sl6RoeQDhHp4RwMcs487pP81VowEgND06pstkNIphi1sJTPRVgbbWtYFhUCuvJdqulsGg7d6Ad9OciYbHopoRdwj1IhkiNDbji5iuzMLTKEjyXXLljpHizEyzAHgs7Tczi6Tsin2MFFsHpxnROzSuLQzbLrIR0e7uc4PqKjg2ldcQmRaijXoI3ttSXohISXC3kCTrgmoDzSg4Rhjdk2VhO3W6iylaiiRCbh69f6ylUvR2DJ1ofPh6RYiLyuuhvYIS57HjsA3Wmmo5htmD5NjWXzLCbyr9SeXidnIdbPAyeqqzp9nyFtB9tY6BQLbSRBp6zoNEmHpw9fMSML4vFvutkgrXEMODY6JgYHn7Fh3vWPnFJDJJHfuq232N1e1t2SmH0ovdisUyMfIyuPJPNFFJuH0aWEMH8jHJvYAVKsJiW1x2Hx7AqxgJuKCudF5sO8HBRMNAxXLugBV6aXEpnh6TrJBGXtMHCalxWGvpyVCzIt78z30OaKzFgvYeAiUJX0pRo8EuaygCy5mQAuBt0pFkha6fFmwffXw5v1KNclUldW1jGEQJpUuPob2UDOw7S791YiUTKI4CD4gRIwbinujEYgWcvHPxqPIhPTVCzlR0iDzzs9iDkcpXg786k31eHGUpAhl0mjTCmfxbFGNrr84wQbOeMF6LBlWMQRjlBoHvLPSBNNXehCSHzYjvwcYTF0BDHqnDXjS3p98V1FzrThOws00iaXmubjc5DVnslP835HFlc23pOY5K6z9RRETSGigg9IyYMwQwBxvzPNcNyHz0WgeCed7IcmwtgkQWsxcSwoCv4B0FJndYGVvwwggl2xc11ecJ1VNO3EnCpJwc0W1eedsW3btkAv4x3wrn3MzA4w9OE7DIi6NOrcRCIvWnCUCva2Tw8FEP4pn30A0oJeWs2oLA71OdejbggetmGAtwdUum3W2axqkmENrdtEj0LC5TCqr8FCKXvLPzrHI2jM8kOd4CAIMtmJw8GPVPpPRFu7gD6XRP91uUnRKjXNsJ96mcj1Geu0LhwhBrQWpV1tbYmSV2jfkxhcvydFH8jSF04r9dd3PDWbDyjHdD5eR67TwTdBli072L6m3BY2gvYeFDvBjDhzq3klC86Hnpt6nd7nmMaYufcLv8XF6goEgvQ3CiGUWdBlVwIlLl0xDUEzvHHkdo9rSUEPm0q3hxg1jfdhDWgMErW1xnRK4RpWY5fvHgsQ4rewzdntl9uvyEe3axSqmrGcHV73fXcCQ0Q3yPobSf0G4DLA0ynY8IPIDLDCG6nnzkzb2nfJV2GboJffOL7sn2vd3nKgdR3LpzUSHNLDRQ2KbABfEARf4xcuX8YWrNA7GQtvhRByOqr3N9Ph6yjtwQNnbPXWHKY7EwvsEmhoLCbi5nJIl38JrdqVO7EwgTESug7aFdXSF9jXMdsW04v1l2VNJDUTjWmTfSQdyT60nrqUB7zG4lHtrgtJQTxUqMIfDXXwaxGviz2twPhQvMofJIo8BVeSuz1br81V76OXo6uqNtqAnhzpXY76VoywDObcp7YfMkNz7c5XVrwcFCsqBnimeHY1O1JWdvO2PXWbyWdjnhU4xhBnl6jXVaCaDz8XYUzEY1y8DbybPtJxEL1EkyP8R04AmxOju98QBRKvvpooJUBr72yDD4KccLoHB5S9RLHxLSBDaBVKwwvEFLhlQtP0imoc3oKz1aEm7Y8kT21fAhP0Sxmx8hLLPWrUmMhFCzsGJEaLgl57ning2J6E4v8eJ
push str.sbiedll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x40968f
mov dword [ebp - 4], 1
jmp 0x409696
mov dword [ebp - 4], 0
mov al, byte [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x4097b0
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x49f868]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
rdtsc
mov dword [ebp - 8], eax
rdtsc
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 8]
cmp eax, 0x64
jbe 0x4097ef
mov dword [ebp - 0x10], 1
jmp 0x4097f6
mov dword [ebp - 0x10], 0
mov al, byte [ebp - 0x10]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041e8d2
mov esp, ebp
pop ebp
ret

Function at 0x4098a0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], str.A1JTPvo8xTQN32QlV6TaIoNs9ETWQIyqHj12OSOjEOkCzGYrahlzTebl12YnKwNofNa6IGBoP0W3n7pVrBfhXdjxf82WPnrFL0gndaorRh94QY5iHyfpPUhnKoNgr0CK4N0lYEcvjgupPANu6UBgsWz5f9bCsJkAdpLDJysztsFrLPhW5NinO13T8va1jtvyvky8dn0Ar8yiy77xnCRrSSWYFqXcUITuzpYU9FYr4p7MCuMzWawqEqXsOHQwHwfHfQmgh53XXfupTxHO3w7p7y7pkWiaCw4WG9zDnla0vpVoRr6vc88KlhNQIBRSaWRqg9dJfeGgQwQFuYak9IIYkHTLhVjfizYMD0trFDptT1OPhsVpXnEPa0z623vsvNF8JdcPtwuil9veeOml
push str.C:WINDOWS_system32drivers_vmmouse.sys
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], str.GFgme1VVMkx9KVQK5btKdnkmbzweB8CPIRnV1HV70tQsdafmlQh9hXx8mG7b3PmU16NacOzjnL7qhbyMnnzGDCFWgWsrSl2rPdQOsiwhBeg3PviUHMitAkqLxdS7jTUirTBOfD3GT8xXRG56NReI9z6roF4RGQpK3x1bFO06R1xqEgy279X
cmp dword [ebp - 4], 0xffffffff
je 0x4098d6
mov al, 1
jmp 0x409908
push str.C:WINDOWS_system32drivers_vmhgfs.sys
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x4098ee
mov al, 1
jmp 0x409908
push str.C:WINDOWS_system32driversVBoxMouse.sys
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x409906
mov al, 1
jmp 0x409908
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x40d810
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x49f868]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x114
push 0
lea eax, [ebp - 0x118]
push eax
call fcn.0041eed0
add esp, 0xc
mov dword [ebp - 0x118], 0x114
lea ecx, [ebp - 0x118]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 5
jb 0x40d898
cmp dword [ebp - 0x110], 1
jb 0x40d898
push str.CsrGetProcessId
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 0
je 0x40d892
call dword [ebp - 0x11c]
jmp 0x40d8a5
xor eax, eax
jmp 0x40d8a5
push str.csrss.exe
call fcn.0040d8f0
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041e8d2
mov esp, ebp
pop ebp
ret

Function at 0x40d8f0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x49f868]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x234], 0
push 0x22c
push 0
lea eax, [ebp - 0x230]
push eax
call fcn.0041eed0
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x234], eax
cmp dword [ebp - 0x234], 0xffffffff
jne 0x40d942
xor eax, eax
jmp 0x40d9f7
mov dword [ebp - 0x230], 0x22c
lea ecx, [ebp - 0x230]
push ecx
mov edx, dword [ebp - 0x234]
push edx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x40d977
mov eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x40d9f7
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x20c]
push edx
call fcn.0041f4d5
add esp, 8
test eax, eax
jne 0x40d9a3
mov eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x228]
jmp 0x40d9f7
lea ecx, [ebp - 0x230]
push ecx
mov edx, dword [ebp - 0x234]
push edx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x40d9e8
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x20c]
push ecx
call fcn.0041f4d5
add esp, 8
test eax, eax
jne 0x40d9e6
mov edx, dword [ebp - 0x234]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x228]
jmp 0x40d9f7
jmp 0x40d9a3
mov eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041e8d2
mov esp, ebp
pop ebp
ret
Function at 0x40e970
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x434808
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x49f868]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp - 0x30]
cmp dword [eax + 0x40], 0
je 0x40e9b0
mov ecx, dword [ebp - 0x30]
movzx edx, byte [ecx + 0x45]
test edx, edx
jne 0x40e9bc
mov al, 1
jmp 0x40eb5f
mov dword [ebp - 0x54], 8
call fcn.004091a0
push eax
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x30]
mov eax, dword [edx + 0xc]
call eax
mov dword [ebp - 0x40], eax
call fcn.004091a0
mov dword [ebp - 0x44], eax
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x44]
push edx
call fcn.00409200
add esp, 8
movzx eax, al
test eax, eax
je 0x40e9ff
xor al, al
jmp 0x40eb5f
push 0
push 8
lea ecx, [ebp - 0x28]
call fcn.0040bd50
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x58]
push edx
lea ecx, [ebp - 0x28]
call fcn.004043f0
mov ecx, eax
call fcn.00401dd0
mov esi, eax
lea ecx, [ebp - 0x28]
call fcn.00404bc0
add esi, eax
push esi
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x28]
call fcn.004043f0
mov ecx, eax
call fcn.00401dd0
push eax
mov ecx, dword [ebp - 0x30]
add ecx, 0x48
push ecx
mov edx, dword [ebp - 0x30]
mov ecx, dword [edx + 0x40]
call fcn.00412670
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x40ea7a
cmp dword [ebp - 0x3c], 1
je 0x40ea81
cmp dword [ebp - 0x3c], 3
je 0x40eb1b
jmp 0x40eb33
mov eax, dword [ebp - 0x30]
mov byte [eax + 0x45], 0
lea ecx, [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x28]
call fcn.004043f0
mov ecx, eax
call fcn.00401dd0
mov edx, dword [ebp - 0x2c]
sub edx, eax
mov dword [ebp - 0x38], edx
je 0x40eae4
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0x50]
push ecx
mov edx, dword [ebp - 0x38]
push edx
push 1
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x28]
call fcn.004043f0
mov ecx, eax
call fcn.00401dd0
push eax
call fcn.0041feb4
add esp, 0x10
cmp dword [ebp - 0x38], eax
je 0x40eae4
mov byte [ebp - 0x34], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00401ad0
mov al, byte [ebp - 0x34]
jmp 0x40eb5f
mov ecx, dword [ebp - 0x30]
movzx edx, byte [ecx + 0x45]
test edx, edx
jne 0x40eb07
mov byte [ebp - 0x31], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00401ad0
mov al, byte [ebp - 0x31]
jmp 0x40eb5f
cmp dword [ebp - 0x38], 0
jne 0x40eb19
push 0
push 8
lea ecx, [ebp - 0x28]
call fcn.00408be0
jmp 0x40eb4b
mov byte [ebp - 0x33], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00401ad0
mov al, byte [ebp - 0x33]
jmp 0x40eb5f
mov byte [ebp - 0x32], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00401ad0
mov al, byte [ebp - 0x32]
jmp 0x40eb5f
jmp 0x40ea12
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041e8d2
mov esp, ebp
pop ebp
ret
Function at 0x412da0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x49f868]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
je 0x412dd4
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x412dd4
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov edx, dword [ebp + 0xc]
movzx eax, word [edx]
test eax, eax
jne 0x412de3
jmp 0x412f4c
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x418], ecx
mov edx, dword [ebp - 0x418]
mov dword [ebp - 0x41c], edx
mov eax, dword [ebp - 0x41c]
movzx ecx, word [eax]
test ecx, ecx
je 0x412e3e
mov edx, dword [ebp - 0x41c]
movzx eax, word [edx]
cmp eax, 0x2f
je 0x412e21
mov ecx, dword [ebp - 0x41c]
movzx edx, word [ecx]
cmp edx, 0x5c
jne 0x412e2d
mov eax, dword [ebp - 0x41c]
mov dword [ebp - 0x418], eax
mov ecx, dword [ebp - 0x41c]
add ecx, 2
mov dword [ebp - 0x41c], ecx
jmp 0x412df8
mov edx, dword [ebp - 0x418]
mov dword [ebp - 0x420], edx
mov eax, dword [ebp - 0x418]
cmp eax, dword [ebp + 0xc]
je 0x412ece
mov ecx, dword [ebp - 0x418]
sub ecx, dword [ebp + 0xc]
sar ecx, 1
shl ecx, 1
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x414]
push eax
call fcn.0041d940
add esp, 0xc
mov ecx, dword [ebp - 0x418]
sub ecx, dword [ebp + 0xc]
sar ecx, 1
shl ecx, 1
mov dword [ebp - 0x424], ecx
cmp dword [ebp - 0x424], 0x208
jae 0x412e97
jmp 0x412e9c
call fcn.004205d8
xor edx, edx
mov eax, dword [ebp - 0x424]
mov word [ebp + eax - 0x414], dx
lea ecx, [ebp - 0x414]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00412da0
add esp, 8
mov eax, dword [ebp - 0x420]
add eax, 2
mov dword [ebp - 0x420], eax
mov ecx, 2
imul ecx, ecx, 0
mov dword [ebp - 0x428], ecx
cmp dword [ebp - 0x428], 0x208
jae 0x412eea
jmp 0x412eef
call fcn.004205d8
xor edx, edx
mov eax, dword [ebp - 0x428]
mov word [ebp + eax - 0x20c], dx
cmp dword [ebp + 8], 0
je 0x412f18
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x20c]
push edx
call fcn.0042087b
add esp, 8
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x20c]
push ecx
call fcn.0042084c
add esp, 8
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x412f4c
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041e8d2
mov esp, ebp
pop ebp
ret
Function at 0x413cf0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x49f868]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
jne 0x413d14
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 4], 0xffffffff
je 0x413d1e
mov eax, 0x1000000
jmp 0x413e08
mov edx, dword [ebp - 0xc]
add edx, 0x244
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov eax, dword [ebp - 0xc]
add eax, 0x244
push eax
call fcn.0041e734
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dx, word [ecx + eax*2 + 0x242]
mov word [ebp - 0x14], dx
movzx eax, word [ebp - 0x14]
cmp eax, 0x5c
je 0x413d7c
movzx ecx, word [ebp - 0x14]
cmp ecx, 0x2f
je 0x413d7c
push 0x492778
mov edx, dword [ebp - 0xc]
add edx, 0x244
push edx
call fcn.0042084c
add esp, 8
cmp dword [ebp + 0x10], 1
jne 0x413dc0
push 1
push 0
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
je 0x413da4
mov dword [ebp - 0x18], 1
jmp 0x413dab
mov dword [ebp - 0x18], 0
mov cl, byte [ebp - 0x18]
mov byte [ebp - 0xd], cl
movzx edx, byte [ebp - 0xd]
test edx, edx
jne 0x413dc0
mov eax, 0x2000000
jmp 0x413e08
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00419010
add esp, 0x10
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x413de6
mov eax, dword [ebp - 8]
jmp 0x413e08
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.00419d40
add esp, 4
mov edx, dword [ebp - 0xc]
mov dword [edx], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
jne 0x413e06
mov eax, 0x200
jmp 0x413e08
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041e8d2
mov esp, ebp
pop ebp
ret 0xc
Function at 0x414800
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, 4
imul eax, eax, 0
movsx ecx, byte [ebp + 0xc]
mov edx, dword [ebp + 8]
xor ecx, dword [edx + eax]
and ecx, 0xff
mov eax, 4
imul eax, eax, 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + eax]
shr eax, 8
xor eax, dword [ecx*4 + 0x4927c0]
mov ecx, 4
imul ecx, ecx, 0
mov edx, dword [ebp + 8]
mov dword [edx + ecx], eax
mov eax, 4
shl eax, 0
mov ecx, 4
imul ecx, ecx, 0
mov edx, dword [ebp + 8]
mov ecx, dword [edx + ecx]
and ecx, 0xff
mov edx, dword [ebp + 8]
add ecx, dword [edx + eax]
mov eax, 4
shl eax, 0
mov edx, dword [ebp + 8]
mov dword [edx + eax], ecx
mov eax, 4
shl eax, 0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + eax]
imul edx, edx, 0x8088405
add edx, 1
mov eax, 4
shl eax, 0
mov ecx, dword [ebp + 8]
mov dword [ecx + eax], edx
mov edx, 4
shl edx, 1
mov eax, 4
shl eax, 0
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + eax]
shr eax, 0x18
mov ecx, dword [ebp + 8]
xor eax, dword [ecx + edx]
and eax, 0xff
mov edx, 4
shl edx, 1
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + edx]
shr edx, 8
xor edx, dword [eax*4 + 0x4927c0]
mov eax, 4
shl eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + eax], edx
pop ebp
ret

Function at 0x4191a0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x49f868]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
imul eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 0x14]
movzx edx, byte [ecx]
test edx, edx
je 0x4191f9
push 0
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4191ef
mov edx, dword [ebp + 0x14]
mov byte [edx + 8], 1
mov eax, dword [ebp - 8]
xor edx, edx
div dword [ebp + 0xc]
jmp 0x419253
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x1c]
add ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 0x14]
cmp ecx, dword [edx + 0x18]
jbe 0x419219
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x14]
mov edx, dword [eax + 0x18]
sub edx, dword [ecx + 0x1c]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 0x14]
mov eax, dword [ebp + 0x14]
add edx, dword [eax + 0x1c]
push edx
mov ecx, dword [ebp + 8]
push ecx
call fcn.0041d940
add esp, 0xc
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x1c]
add ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 0x14]
mov dword [edx + 0x1c], ecx
mov eax, dword [ebp - 0x10]
xor edx, edx
div dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041e8d2
mov esp, ebp
pop ebp
ret
Function at 0x4194c0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x4194d0
xor eax, eax
jmp 0x41966d
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 8
jb 0x41962e
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x4927c0]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x4927c0]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x4927c0]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x4927c0]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x4927c0]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x4927c0]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x4927c0]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x4927c0]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0x10]
sub eax, 8
mov dword [ebp + 0x10], eax
jmp 0x4194d9
cmp dword [ebp + 0x10], 0
je 0x419667
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x4927c0]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0x10]
sub edx, 1
mov dword [ebp + 0x10], edx
jne 0x419634
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop ebp
ret
Function at 0x42b498
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x49f868]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.00422718
mov dword [ebp - 0x14], eax
cmp dword [0x4a1e68], edi
jne 0x42b589
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x42b516
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x42b669
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x42b669
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42b669
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x4a1e68], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x4a1e6c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x4a1e70], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4a1e78], eax
test eax, eax
je 0x42b586
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4a1e74], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x42b5ae
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x42b5a1
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x42b5c3
push 4
pop eax
jmp 0x42b66b
cmp dword [ebp - 0x14], edi
je 0x42b5c3
push dword [0x4a1e68]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x42b5a8
mov eax, dword [0x4a1e74]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x42b621
cmp dword [0x4a1e78], esi
je 0x42b621
push eax
call ebx
push dword [0x4a1e78]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x42b621
test eax, eax
je 0x42b621
call ecx
test eax, eax
je 0x42b616
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x42b616
test byte [ebp - 8], 1
jne 0x42b621
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x42b651
mov eax, dword [0x4a1e6c]
cmp eax, esi
je 0x42b64e
push eax
call ebx
test eax, eax
je 0x42b64e
call eax
mov edi, eax
test edi, edi
je 0x42b64e
mov eax, dword [0x4a1e70]
cmp eax, esi
je 0x42b64e
push eax
call ebx
test eax, eax
je 0x42b64e
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x4a1e68]
call ebx
test eax, eax
je 0x42b669
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x42b66b
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041e8d2
leave
ret
Function at 0x42dab8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.00423456
mov esi, dword [ebp + 8]
push 2
mov edi, eax
lea eax, [ebp - 4]
push eax
mov ecx, esi
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x42daf0
xor eax, eax
jmp 0x42db1c
cmp esi, dword [ebp - 4]
je 0x42db19
cmp dword [ebp + 0xc], 0
je 0x42db19
push dword [edi + 0x9c]
call fcn.0042d6c6
push dword [edi + 0x9c]
mov esi, eax
call fcn.0041e734
pop ecx
pop ecx
cmp esi, eax
je 0x42daec
xor eax, eax
inc eax
pop edi
pop esi
leave
ret