joyce8/EMBER2024-capa huggingface dataset:
Function at 0x415810
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
sub esp, 0x214
push ebx
push ebp
push esi
mov esi, dword [esp + 0x224]
push edi
push 0x5c
push esi
call fcn.00429240
add esp, 8
test eax, eax
je 0x415831
int3
lea eax, [esp + 0x1c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x4159d3
cmp eax, 0x104
jae 0x4159d3
test esi, esi
mov dword [esp + 0x18], 0xffffffff
je 0x4159c9
lea edi, [esp + 0x1c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edx, ecx
je 0x415883
mov al, byte [esp + edx + 0x1b]
mov byte [esp + 0x10], 1
cmp al, 0x5c
jne 0x415888
mov byte [esp + 0x10], 0
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 4
jb 0x41589e
mov ecx, 4
mov eax, dword [esp + 0x10]
and eax, 0xff
add eax, ecx
lea ecx, [eax + edx + 8]
cmp ecx, 0x104
jae 0x4159bf
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebp, dword [esp + 0x22c]
mov ebx, dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
mov edx, dword [esp + 0x14]
mov al, byte [esp + 0x10]
inc edx
inc edi
test al, al
mov eax, dword [0x434d58]
mov dword [esp + 0x14], edx
jne 0x4158f2
mov eax, dword [0x434d68]
mov edx, edi
mov ecx, dword [str._s_s_.4s_04X.tmp]
and edx, 0xffff
push edx
push esi
push eax
lea eax, [esp + 0x28]
push eax
push ecx
lea edx, [esp + 0x134]
push 0x104
push edx
call fcn.004183d0
add esp, 0x1c
lea eax, [esp + 0x120]
push 0
push 0x4000102
push 1
push 0
push ebp
push 0xc0000000
push eax
call ebx
mov esi, eax
cmp esi, 0xffffffff
je 0x41594f
test esi, esi
jne 0x41598c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x41598c
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0x50
je 0x415978
cmp eax, 5
jne 0x41599a
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x415978
call esi
cmp eax, 5
jne 0x4159b5
cmp word [esp + 0x14], 0
je 0x41599a
mov esi, dword [esp + 0x228]
jmp 0x4158d6
and edi, 0xffff
mov dword [esp + 0x18], esi
test edi, edi
jne 0x4159a4
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4159d3
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x214
ret 8
push 5
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x41599a
push 0x6f
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x41599a
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x41599a
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x214
ret 8

Function at 0x415b80
Capabilities:
Read .ini file

Disassembly:
mov ecx, dword [esp + 0x10]
mov eax, dword [0x434d68]
sub esp, 0x10
lea edx, [esp]
push esi
push ecx
mov ecx, dword [esp + 0x1c]
push 0x10
push edx
push eax
mov eax, dword [esp + 0x2c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
mov esi, dword [esp + 0x20]
je 0x415bcd
lea edx, [esp + 0x24]
lea eax, [esp + 4]
push edx
push 0xa
push 0
push eax
mov dword [esp + 0x34], esi
call fcn.0040d950
test al, al
mov eax, dword [esp + 0x24]
jne 0x415bcf
mov eax, esi
pop esi
add esp, 0x10
ret 0x10
Function at 0x415be0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
push esi
test ebx, ebx
push edi
je 0x415d8c
mov edx, dword [esp + 0x18]
test edx, edx
je 0x415d8c
mov ebp, dword [esp + 0x20]
test ebp, ebp
je 0x415d8c
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
je 0x415c25
mov al, byte [esi + ebx - 1]
mov byte [esp + 0x14], 1
cmp al, 0x5c
jne 0x415c2a
mov byte [esp + 0x14], 0
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 4
jb 0x415c40
mov ecx, 4
mov eax, dword [esp + 0x14]
and eax, 0xff
add eax, ecx
mov ecx, dword [esp + 0x24]
lea eax, [eax + esi + 8]
cmp eax, ecx
jae 0x415d7b
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x415c9b
mov al, byte [esp + 0x14]
test al, al
mov eax, dword [0x434d58]
jne 0x415c75
mov eax, dword [0x434d68]
mov edi, esi
and edi, 0xffff
push edi
push edx
mov edx, dword [str._s_s_.4s_04X.tmp]
push eax
push ebx
push edx
push ecx
push ebp
call fcn.004183d0
add esp, 0x1c
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 0x14
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
mov edx, dword [esp + 0x20]
mov al, byte [esp + 0x14]
inc edx
inc edi
test al, al
mov eax, dword [0x434d58]
mov dword [esp + 0x20], edx
jne 0x415cc7
mov eax, dword [0x434d68]
mov edx, dword [esp + 0x18]
mov ecx, edi
and ecx, 0xffff
push ecx
mov ecx, dword [esp + 0x28]
push edx
push eax
mov eax, dword [str._s_s_.4s_04X.tmp]
push ebx
push eax
push ecx
push ebp
call fcn.004183d0
add esp, 0x1c
push 0
push 0x102
push 1
push 0
push 0
push 0xc0000000
push ebp
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x415d1a
test esi, esi
jne 0x415d54
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x415d54
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0x50
je 0x415d3f
cmp eax, 5
jne 0x415d94
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x415d3f
call esi
cmp eax, 5
jne 0x415d6a
cmp word [esp + 0x20], 0
jne 0x415cab
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x14
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and edi, 0xffff
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret 0x14
push 5
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x14
push 0x6f
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x14
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x14

Function at 0x415da0
Capabilities:
Get common file path

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x415dc2
cmp eax, esi
jae 0x415dc2
mov eax, 1
pop esi
ret 8
xor eax, eax
pop esi
ret 8
Function at 0x415dd0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x10c
lea eax, [esp + 4]
push ebx
push ebp
push esi
push 0x105
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov esi, eax
test esi, esi
jbe 0x415e6e
mov al, byte [esp + esi + 0xf]
mov ebp, dword [esp + 0x11c]
cmp al, 0x5c
push edi
setne bl
mov byte [esp + 0x10], bl
mov edi, ebp
mov edx, dword [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
and edx, 0xff
repne scasb al, byte es:[edi]
mov eax, 0x105
pop edi
not ecx
sub eax, edx
dec ecx
sub eax, esi
cmp ecx, eax
jae 0x415e6e
test bl, bl
je 0x415e31
mov byte [esp + esi + 0x10], 0x5c
sub edx, ebp
mov eax, ebp
add edx, esi
lea edx, [esp + edx + 0x10]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x415e3b
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
xor ecx, ecx
pop esi
mov edx, dword [esp + 0x11c]
pop ebp
test eax, eax
setne cl
mov dword [edx], eax
mov eax, ecx
pop ebx
add esp, 0x10c
ret 8
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10c
ret 8

Function at 0x415fb0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 8]
push ebp
push esi
push edi
push eax
push ecx
push ebx
xor ebp, ebp
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x41600a
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x41600a
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x416003
mov edx, dword [esp + 0x24]
push esi
push ebx
mov dword [edx], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebp, 1
mov ecx, dword [esp + 0x20]
mov dword [ecx], eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
ret 0x14

Function at 0x416020
Capabilities:
Clear file content

Disassembly:
sub esp, 8
push esi
mov esi, dword [esp + 0x10]
push edi
lea edx, [esp + 8]
xor ecx, ecx
push 1
xor eax, eax
push edx
push ecx
push eax
push esi
xor edi, edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
call fcn.004160d0
test eax, eax
je 0x4160b7
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push eax
push edi
push ecx
push edx
push esi
call fcn.004160d0
test eax, eax
je 0x4160b7
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x416092
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
push edi
push edi
push eax
push ecx
push esi
call fcn.004160d0
test eax, eax
je 0x4160b7
pop edi
mov eax, 1
pop esi
add esp, 8
ret 0x10
push ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esp + 0x10]
mov ebx, eax
mov eax, dword [esp + 0xc]
push 0
push 0
push edx
push eax
push esi
call fcn.004160d0
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop ebx
mov eax, edi
pop edi
pop esi
add esp, 8
ret 0x10
Function at 0x416290
Capabilities:
Get memory capacity

Disassembly:
sub esp, 0x20
push ebx
push esi
xor ebx, ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
push ebx
call edi
mov esi, dword [esp + 0x30]
cmp esi, ebx
je 0x416354
cmp dword [esi], 0x40
jne 0x416354
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x10]
mov dword [esp + 0xc], 0x20
rep stosd dword es:[edi], eax
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push str.GlobalMemoryStatusEx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x4162f2
push esi
call eax
pop edi
pop esi
pop ebx
add esp, 0x20
ret 4
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov dword [esi + 0xc], ebx
mov dword [esi + 0x14], ebx
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esi + 8], edx
mov edx, dword [esp + 0x20]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x24]
mov dword [esi + 0x18], ecx
mov ecx, dword [esp + 0x28]
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], edx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ecx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x20
ret 4
push 0x57
call edi
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x20
ret 4
Function at 0x416a70
Capabilities:
Check http status code

Disassembly:
sub esp, 0xc
push ebx
push esi
mov esi, dword [esp + 0x1c]
xor ebx, ebx
push esi
mov dword [esp + 0xc], ebx
call fcn.00416700
cmp eax, 7
je 0x416b30
cmp eax, 0xd
jne 0x416b9d
lea eax, [esp + 0x1c]
push edi
push eax
push 0x13
push esi
mov dword [esp + 0x2c], ebx
call fcn.00416750
test eax, eax
mov edi, dword [esp + 0x1c]
je 0x416b0d
cmp dword [esp + 0x20], 0x190
jae 0x416b0d
lea ecx, [esp + 0xc]
push ecx
push 5
push esi
call fcn.00416750
test eax, eax
je 0x416aea
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0xc]
mov bl, 1
mov dword [edi + 0x20], edx
pop edi
mov dword [eax], ecx
mov al, bl
pop esi
pop ebx
add esp, 0xc
ret 0xc
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x1c], 0xa0000004
mov dword [edi + 0x20], edx
pop edi
mov dword [eax], ecx
mov al, bl
pop esi
pop ebx
add esp, 0xc
ret 0xc
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x1c], 0xa0000003
mov dword [edi + 0x20], edx
pop edi
mov dword [eax], ecx
mov al, bl
pop esi
pop ebx
add esp, 0xc
ret 0xc
lea eax, [esp + 0x10]
push eax
push esi
call dword [0x43d0a0]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x416b72
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x416b6e
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
pop esi
mov dword [ecx + 0x1c], 0xa0000004
mov ecx, dword [esp + 4]
mov dword [eax], ecx
mov al, bl
pop ebx
add esp, 0xc
ret 0xc
mov eax, dword [esp + 0xc]
cmp dword [esp + 0x10], ebx
jne 0x416b92
mov dword [esp + 8], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 8]
mov bl, 1
mov dword [eax], ecx
mov al, bl
pop esi
pop ebx
add esp, 0xc
ret 0xc
mov edx, dword [esp + 0x18]
mov dword [edx + 0x1c], 0xa0000005
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 8]
pop esi
mov dword [eax], ecx
mov al, bl
pop ebx
add esp, 0xc
ret 0xc
Function at 0x416bc0
Capabilities:
Download and write a file
Query remote server for available data
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
push ecx
push ebx
push esi
xor ebx, ebx
push edi
mov edi, dword [esp + 0x18]
push ebx
lea eax, [esp + 0x10]
push ebx
push eax
push edi
mov dword [esp + 0x1c], ebx
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
mov esi, dword [esp + 0x14]
je 0x416cd5
mov eax, dword [esp + 0xc]
test eax, eax
je 0x416cdc
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x18], eax
cmp eax, ecx
jbe 0x416c05
mov eax, ecx
mov dword [esp + 0x18], eax
mov edx, dword [esi + 0x10]
lea ecx, [esp + 0x18]
push ecx
push eax
push edx
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x416ca6
mov eax, dword [esp + 0x18]
mov ecx, dword [esi + 0x10]
mov edx, dword [esp + 0x20]
push eax
push ecx
add eax, ebx
push edx
push eax
push 5
push edi
push esi
call fcn.00416a30
test al, al
je 0x416c9d
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x416c86
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x14], 0
cmp eax, 0xffffffff
je 0x416c78
lea edx, [esp + 0x14]
push 0
push edx
push ecx
mov ecx, dword [esi + 0x10]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x416c94
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
cmp ecx, eax
jne 0x416c94
mov eax, dword [esp + 0xc]
add ebx, ecx
sub eax, ecx
mov dword [esp + 0xc], eax
jmp 0x416c8a
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x416bf4
jmp 0x416cb5
mov dword [esi + 0x1c], 0xa0000008
jmp 0x416cad
mov dword [esi + 0x1c], 0xa0000001
jmp 0x416cad
mov dword [esi + 0x1c], 0xa0000007
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x416cdc
push 0
lea edx, [esp + 0x10]
push 0
push edx
push edi
mov dword [esp + 0x1c], 0
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
jne 0x416be8
mov dword [esi + 0x1c], 0xa0000007
mov eax, dword [esp + 0x20]
cmp ebx, eax
jne 0x416d1a
push 0
push 0
push eax
push ebx
push 6
push edi
push esi
call fcn.00416a30
test al, al
je 0x416d0a
mov dword [esi + 0x1c], 0x20000000
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret 0x10
mov dword [esi + 0x1c], 0xa0000001
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret 0x10
cmp dword [esi + 0x1c], 0xa0ffffff
jne 0x416d2a
mov dword [esi + 0x1c], 0xa0000009
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret 0x10

Function at 0x4175b0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x3c
push edi
mov edx, dword [esp + 0x4c]
mov ecx, 0xe
xor eax, eax
lea edi, [esp + 8]
mov dword [esp + 4], 0x3c
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x58]
lea eax, [esp + 4]
push eax
mov dword [esp + 0xc], 0x100
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
pop edi
add esp, 0x3c
ret 0x18
Function at 0x417da0
Capabilities:
Check mutex on windows

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
test esi, esi
je 0x417e2a
push 0
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ebx, dword [sym.imp.KERNEL32.dll_SetLastError]
cmp eax, 0x102
ja 0x417e10
je 0x417de7
test eax, eax
je 0x417dda
cmp eax, 0x80
jne 0x417e15
mov ecx, dword [esp + 0x14]
mov al, 1
mov dword [ecx], esi
pop esi
pop ebx
ret 0xc
mov eax, dword [esp + 0x10]
test eax, eax
je 0x417e07
push 0
push eax
push 0
push 0
call dword [sym.imp.USER32.dll_FindWindowExA]
test eax, eax
je 0x417e07
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0x102
call ebx
jmp 0x417e16
cmp eax, 0xffffffff
je 0x417e16
int3
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call ebx
pop edi
mov edx, dword [esp + 0x14]
pop esi
xor al, al
pop ebx
mov dword [edx], 0
ret 0xc

Function at 0x418fc0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, 0x696e4942
mov cl, byte [edx]
test cl, cl
je 0x418fe4
shl eax, 3
and ecx, 0xff
xor eax, ecx
mov cl, byte [edx + 1]
inc edx
test cl, cl
not eax
jne 0x418fcf
ret 4

Function at 0x41aa80
Capabilities:
Print debug messages

Disassembly:
mov eax, 0x1000
call fcn.004290f0
mov ecx, dword [esp + 0x1004]
lea eax, [esp + 0x1008]
push eax
push ecx
lea edx, [esp + 8]
push 0x1000
push edx
call fcn.0042911f
add esp, 0x10
mov byte [esp + 0xfff], 0
test eax, eax
jle 0x41aaca
cmp eax, 0x1000
jae 0x41aaca
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
add esp, 0x1000
ret

Function at 0x41aae0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push ebx
push ecx
push esi
push edi
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41ab1a
mov ebx, dword [ebp + 0xc]
mov esi, 0x435550
add ecx, ebx
not eax
movzx edi, byte ds:[ebx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword ds:[esi + edi*4]
inc ebx
cmp ebx, ecx
jne 0x41ab00
not eax
pop edi
pop esi
pop ecx
pop ebx
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x41d000
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x5c
xor ecx, ecx
mov edx, dword [esp + 0x64]
mov dword [esp + 0x18], ecx
xor eax, eax
mov dword [esp + 0x1c], ecx
push ebx
mov dword [esp + 0x24], ecx
push ebp
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x14], eax
mov word [esp + 0x30], cx
push esi
mov esi, dword [esp + 0x6c]
mov dword [esp + 0x18], edx
lea ecx, [esp + 0x10]
push edi
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x78]
lea edx, [esp + 0x18]
xor edi, edi
push ecx
push edx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x28], eax
call fcn.0041ca30
test eax, eax
js 0x41d23d
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x28]
push 0x16
push ecx
push edx
push esi
call fcn.0041ae50
test al, al
je 0x41d238
cmp dword [esp + 0x10], 0x16
jne 0x41d238
mov ax, word [esp + 0x28]
cmp ax, word [esp + 0x2a]
jne 0x41d1ea
mov cx, word [esp + 0x2c]
cmp cx, word [esp + 0x2e]
jne 0x41d1ea
mov ebp, dword [esp + 0x30]
mov ebx, dword [esp + 0x34]
cmp ebp, edi
jne 0x41d0d0
pop edi
pop esi
pop ebp
mov eax, 0x20000000
pop ebx
add esp, 0x5c
ret 0xc
mov esi, dword [esp + 0x70]
xor edi, edi
mov dword [esp + 0x3c], edi
mov ecx, 0xa
xor eax, eax
lea edi, [esp + 0x40]
rep stosd dword es:[edi], eax
cmp ebp, 0x2e
stosw word es:[edi], ax
jb 0x41d223
lea edx, [esp + 0x10]
lea eax, [esp + 0x3c]
push edx
push 0x2e
push eax
push ebx
push esi
call fcn.0041ae50
test al, al
je 0x41d238
cmp dword [esp + 0x10], 0x2e
jne 0x41d238
mov cl, byte [esp + 0x42]
sub ebp, 0x2e
and ecx, 0xff
cmp ecx, 0x20
ja 0x41d1ea
mov ecx, dword [esp + 0x58]
mov eax, ecx
and eax, 0xffff
cmp ebp, eax
jb 0x41d223
test cx, cx
je 0x41d1f9
inc eax
push eax
call fcn.00420a60
mov esi, eax
test esi, esi
je 0x41d208
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x70]
lea edx, [esp + 0x10]
and eax, 0xffff
push edx
push eax
push esi
push ecx
call fcn.0041ae10
test al, al
je 0x41d232
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x10]
and eax, 0xffff
cmp eax, ecx
jne 0x41d232
lea edx, [esp + 0x3c]
lea ebx, [ebx + eax + 0x2e]
sub ebp, eax
mov byte [eax + esi], 0
push edx
lea eax, [esp + 0x1c]
push esi
push eax
call fcn.0041ce00
push esi
mov edi, eax
call fcn.00420f10
test edi, edi
js 0x41d217
mov ecx, dword [esp + 0x5a]
and ecx, 0xffff
cmp ebp, ecx
jb 0x41d223
mov eax, dword [esp + 0x5c]
sub ebp, ecx
and eax, 0xffff
cmp ebp, eax
jb 0x41d223
add ecx, eax
add ebx, ecx
sub ebp, eax
jne 0x41d0ca
pop edi
pop esi
pop ebp
mov eax, 0x20000000
pop ebx
add esp, 0x5c
ret 0xc
pop edi
pop esi
pop ebp
mov eax, 0xa0000009
pop ebx
add esp, 0x5c
ret 0xc
pop edi
pop esi
pop ebp
mov eax, 0xa0000007
pop ebx
add esp, 0x5c
ret 0xc
pop edi
pop esi
pop ebp
mov eax, 0xa000000a
pop ebx
add esp, 0x5c
ret 0xc
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret 0xc
pop edi
pop esi
pop ebp
mov eax, 0xa0000002
pop ebx
add esp, 0x5c
ret 0xc
push esi
call fcn.00420f10
mov eax, 0xa0000003
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret 0xc
Function at 0x41d4d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x14]
push esi
push edi
mov edi, 8
mov ecx, dword [eax]
mov edx, dword [eax + 4]
xor eax, eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
xor esi, esi
mov dl, byte [esp + esi + 8]
mov al, 1
mov ecx, esi
shl al, cl
test dl, 0x40
je 0x41d50a
or byte [esp + 0x10], al
test dl, 0x10
je 0x41d513
or byte [esp + 0x11], al
test dl, 4
je 0x41d51c
or byte [esp + 0x12], al
test dl, 1
je 0x41d525
or byte [esp + 0x13], al
test dl, dl
jns 0x41d52d
or byte [esp + 0x14], al
test dl, 0x20
je 0x41d536
or byte [esp + 0x15], al
test dl, 8
je 0x41d53f
or byte [esp + 0x16], al
test dl, 2
je 0x41d548
or byte [esp + 0x17], al
inc esi
dec edi
jne 0x41d4f7
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x10]
push ebx
xor bl, bl
push ebp
mov ebp, dword [esp + 0x28]
mov dword [esp + 0x10], eax
mov byte [esp + 0x18], bl
and edi, 1
mov eax, dword [esp + 0x18]
and eax, 0xff
lea ecx, [eax + eax*2]
lea eax, [esp + 0x10]
lea edx, [ebp + ecx*2]
lea ecx, [esp + 0x2c]
push edx
push eax
push ecx
call fcn.0041d640
mov eax, dword [esp + 0x2c]
xor eax, esi
mov esi, dword [esp + 0x10]
test edi, edi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x10], eax
jne 0x41d5ac
inc bl
cmp bl, 0x10
mov byte [esp + 0x18], bl
jb 0x41d56b
mov dword [esp + 0x10], eax
xor eax, eax
mov dword [esp + 0x14], esi
pop ebp
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
xor esi, esi
mov edi, 8
pop ebx
mov cl, byte [esp + esi + 8]
mov al, byte [esi + 0x435af0]
test cl, 1
je 0x41d5da
or byte [esp + 0x10], al
test cl, 2
je 0x41d5e3
or byte [esp + 0x11], al
test cl, 4
je 0x41d5ec
or byte [esp + 0x12], al
test cl, 8
je 0x41d5f5
or byte [esp + 0x13], al
test cl, 0x10
je 0x41d5fe
or byte [esp + 0x14], al
test cl, 0x20
je 0x41d607
or byte [esp + 0x15], al
test cl, 0x40
je 0x41d610
or byte [esp + 0x16], al
test cl, cl
jns 0x41d618
or byte [esp + 0x17], al
inc esi
dec edi
jne 0x41d5c7
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
pop edi
mov dword [eax], edx
mov dword [eax + 4], ecx
pop esi
add esp, 0x10
ret 0xc