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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43c828
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x44c00c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x70], eax
mov esi, dword [ebp + 8]
call fcn.00406cf0
push 0
push 0x8000000
push 3
push 0
push 1
push SysReAllocString
push esi
mov dword [ebp - 0x18], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4060b2
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
jne 0x405f81
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [edi + 1]
jmp 0x4060b4
cmp edi, 0xf4240
jle 0x40604a
mov ebx, 0x186a0
cmp edi, ebx
cmovl ebx, edi
push ebx
call fcn.00421984
add esp, 4
mov dword [ebp - 0x68], eax
test eax, eax
je 0x4060b2
push 0x48
lea eax, [ebp - 0x64]
mov dword [ebp - 0x6c], 0
push 0
push eax
call fcn.0041fc70
add esp, 0xc
lea ecx, [ebp - 0x64]
push 0
call fcn.00405df0
push 0
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 0
push eax
push ebx
push dword [ebp - 0x68]
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, 1
jne 0x40600e
cmp dword [ebp - 0x1c], ebx
jne 0x40600e
push ebx
push dword [ebp - 0x68]
lea ecx, [ebp - 0x64]
call fcn.004060e0
test eax, eax
je 0x40600e
xor eax, eax
mov ecx, 1
cmp dword [ebp - 0x5c], eax
cmovne eax, ecx
mov dword [ebp - 0x6c], eax
push 0
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push dword [ebp - 0x68]
call fcn.0042198f
add esp, 4
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], 1
call fcn.00406cf0
lea ecx, [ebp - 0x64]
call fcn.00408630
cmp dword [ebp - 0x6c], 0
mov dword [ebp - 4], 0xffffffff
je 0x4060b2
xor ecx, ecx
mov eax, edi
add eax, 2
setb cl
neg ecx
or ecx, eax
push ecx
push 1
call fcn.0042cc78
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4060ab
push 0
lea eax, [ebp - 0x18]
push eax
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4060a2
cmp dword [ebp - 0x18], edi
jne 0x4060a2
mov ecx, dword [ebp - 0x70]
push edi
push ebx
call fcn.004060e0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call fcn.0042198f
add esp, 4
mov eax, 1
jmp 0x4060b4
push ebx
call fcn.0042198f
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041d9da
mov esp, ebp
pop ebp
ret 4
Function at 0x40c390
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x44c00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
push esi
mov esi, ecx
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], edx
cmp dword [esi + 4], 0xffffffff
je 0x40c4fe
test edx, edx
je 0x40c4fe
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [edx], 0
test ebx, ebx
je 0x40c4e7
push edi
mov edi, edx
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
cmp ecx, eax
jae 0x40c413
sub eax, ecx
mov edi, ebx
cmp eax, ebx
cmovl edi, eax
push edi
push ecx
push dword [ebp - 0xc]
call fcn.00421410
add dword [esi + 0xc], edi
mov eax, edi
add dword [ebp - 0xc], edi
add esp, 0xc
cdq
add dword [esi + 0x18], eax
adc dword [esi + 0x1c], edx
mov edx, dword [ebp - 0x10]
add dword [edx], edi
sub ebx, edi
mov edi, edx
jmp 0x40c4b2
mov dword [ebp - 8], 0
cmp ebx, 0x2000
jl 0x40c456
mov eax, dword [esi + 8]
push 0
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
lea eax, [ebp - 8]
push eax
push ebx
push dword [ebp - 0xc]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x40c4d2
mov ecx, dword [ebp - 8]
add dword [esi + 0x18], ecx
adc dword [esi + 0x1c], 0
add dword [edi], ecx
sub ebx, ecx
jmp 0x40c4ae
mov ecx, dword [esi + 0x1c]
mov eax, dword [esi + 0x18]
test ecx, ecx
jg 0x40c474
jl 0x40c466
test eax, eax
jae 0x40c474
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
push 0
lea edx, [ebp - 8]
push edx
push 0
push 0x2000
push ecx
push eax
call fcn.0043b580
mov ecx, 0x2000
sub ecx, eax
push ecx
push dword [esi + 8]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x40c4d2
mov eax, dword [esi + 8]
mov ecx, dword [ebp - 8]
mov dword [esi + 0xc], eax
add eax, ecx
mov dword [esi + 0x10], eax
test ecx, ecx
je 0x40c4ba
test ebx, ebx
jne 0x40c3d6
pop edi
pop ebx
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041d9da
mov esp, ebp
pop ebp
ret 0xc
pop edi
pop ebx
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041d9da
mov esp, ebp
pop ebp
ret 0xc
pop ebx
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041d9da
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.0041d9da
mov esp, ebp
pop ebp
ret 0xc
Function at 0x40c910
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x44c00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x10]
mov esi, ecx
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x40c941
or ebx, 0xffffffff
mov dword [ebp - 0x18], ebx
jmp 0x40c950
mov ecx, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x10]
mov dword [esi + 0x20], ebx
mov dword [ebp - 0x18], ecx
mov dword [esi + 0x24], ecx
mov ecx, dword [edi]
lea eax, [ebx + 2]
test ecx, ecx
je 0x40c95e
cmp dword [edi + 8], eax
je 0x40c97b
push eax
push ecx
call fcn.0042cc6d
add esp, 8
test eax, eax
je 0x40c9d2
mov dword [edi], eax
lea eax, [ebx + 2]
mov dword [edi + 8], eax
mov dword [edi + 4], 0
push 0
push 0
mov ecx, esi
call fcn.0040c520
lea eax, [ebp - 0xc]
mov ecx, esi
push eax
push ebx
push dword [edi]
call fcn.0040c390
test eax, eax
je 0x40c9d2
cmp ebx, dword [ebp - 0xc]
jne 0x40c9d2
cmp dword [ebp - 0x18], 0
jne 0x40c9d2
mov ecx, dword [edi]
mov eax, dword [edi + 8]
mov byte [ecx + eax - 1], 0
mov eax, dword [edi + 8]
mov ecx, dword [edi]
mov byte [ecx + eax - 2], 0
mov eax, 1
mov dword [edi + 4], ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041d9da
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041d9da
mov esp, ebp
pop ebp
ret 8

Function at 0x40ca80
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x44c00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
mov edx, dword [esi + 4]
cmp edx, 0xffffffff
je 0x40cb4d
mov ecx, dword [esi + 0xc]
mov eax, 0x2000
mov edi, dword [ebp + 0xc]
sub eax, ecx
cmp eax, edi
jb 0x40cae7
mov eax, dword [esi + 8]
push edi
add eax, ecx
push ebx
push eax
call fcn.00421410
add dword [esi + 0xc], edi
add esp, 0xc
add dword [esi + 0x10], edi
mov eax, 1
adc dword [esi + 0x14], 0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041d9da
mov esp, ebp
pop ebp
ret 8
mov eax, dword [sym.imp.KERNEL32.dll_WriteFile]
test ecx, ecx
je 0x40cb11
push 0
lea edi, [ebp - 8]
push edi
push ecx
push dword [esi + 8]
push edx
call eax
mov edi, dword [ebp + 0xc]
test eax, eax
je 0x40cb4d
mov eax, dword [ebp - 8]
cmp eax, dword [esi + 0xc]
jne 0x40cb4d
mov eax, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea ecx, [ebp - 0xc]
mov dword [esi + 0xc], 0
push ecx
push edi
push ebx
push dword [esi + 4]
call eax
test eax, eax
je 0x40cb4d
cmp dword [ebp - 0xc], edi
jne 0x40cb4d
add dword [esi + 0x10], edi
mov eax, 1
pop edi
adc dword [esi + 0x14], 0
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041d9da
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041d9da
mov esp, ebp
pop ebp
ret 8
Function at 0x40cb70
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x44c00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
mov ecx, dword [esi + 4]
cmp ecx, 0xffffffff
je 0x40cbb1
mov eax, dword [esi + 0xc]
test eax, eax
je 0x40cbb1
push 0
lea edx, [ebp - 8]
push edx
push eax
push dword [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x40cbb8
mov eax, dword [ebp - 8]
cmp eax, dword [esi + 0xc]
jne 0x40cbb8
mov dword [esi + 0xc], 0
mov edi, dword [ebp + 8]
lea eax, [ebp - 0xc]
mov ebx, dword [ebp + 0xc]
push 0
push eax
push edi
push dword [esi + 4]
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x40cbee
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x83
jne 0x40cbee
mov edi, dword [esi + 0x10]
mov ebx, dword [esi + 0x14]
jmp 0x40cbf4
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], edi
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
mov edx, ebx
xor ecx, ebp
pop ebx
call fcn.0041d9da
mov esp, ebp
pop ebp
ret 8

Function at 0x40cc20
Capabilities:
Get file size
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x44c00c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov ecx, dword [esi + 4]
cmp ecx, 0xffffffff
je 0x40cc5f
mov eax, dword [esi + 0xc]
test eax, eax
je 0x40cc5f
push 0
lea edx, [ebp - 8]
push edx
push eax
push dword [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x40cc66
mov eax, dword [ebp - 8]
cmp eax, dword [esi + 0xc]
jne 0x40cc66
mov dword [esi + 0xc], 0
lea eax, [ebp - 0x10]
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
pop esi
test eax, eax
jne 0x40cc8b
or eax, 0xffffffff
or edx, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041d9da
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
xor ecx, ebp
mov edx, dword [ebp - 0xc]
call fcn.0041d9da
mov esp, ebp
pop ebp
ret

Function at 0x40cca0
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov esi, ecx
call fcn.0040cd40
mov edi, dword [ebp + 8]
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 4], eax
cmp eax, 0xffffffff
jne 0x40cd1d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x40cd15
push 0x80
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 4], eax
cmp eax, 0xffffffff
jne 0x40cd1d
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
xor eax, eax
pop esi
pop ebp
ret 4
push edi
call fcn.0042c921
add esp, 4
mov dword [esi + 0x1c], eax
mov dword [esi + 0x18], 1
mov eax, 1
pop edi
pop esi
pop ebp
ret 4
Function at 0x40cd40
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x44c00c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov ecx, dword [esi + 4]
cmp ecx, 0xffffffff
je 0x40cd7f
mov eax, dword [esi + 0xc]
test eax, eax
je 0x40cd7f
push 0
lea edx, [ebp - 8]
push edx
push eax
push dword [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x40cd86
mov eax, dword [ebp - 8]
cmp eax, dword [esi + 0xc]
jne 0x40cd86
mov dword [esi + 0xc], 0
cmp dword [esi + 0x18], 0
je 0x40cd9b
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
je 0x40cd9b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 0x1c]
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
test eax, eax
je 0x40cdce
push eax
call fcn.0042198f
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [esi + 0x1c], 0
xor ecx, ebp
pop esi
call fcn.0041d9da
mov esp, ebp
pop ebp
ret
Function at 0x40e200
Capabilities:
Query remote server for available data
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x44c00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, ecx
mov dword [edi], 0
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x40e29f
mov dword [esi], 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 4], eax
cmp eax, 0x2f05
je 0x40e284
cmp eax, 0x2f06
je 0x40e284
cmp eax, 0x2f09
je 0x40e284
cmp eax, 0x2f0a
je 0x40e284
cmp eax, 0x2f0b
je 0x40e284
cmp eax, 0x2f0c
je 0x40e284
cmp eax, 0x2f0d
je 0x40e284
cmp eax, 0x2f0e
je 0x40e284
cmp eax, 0x2f17
je 0x40e284
cmp eax, 0x2f18
je 0x40e284
cmp eax, 0x2f19
jne 0x40e28a
mov dword [esi], 0x63
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041d9da
mov esp, ebp
pop ebp
ret 0xc
push 0
push 0
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
jne 0x40e2c1
mov dword [esi], 0xd
jmp 0x40e2db
push edi
push 0x1000
push ebx
push dword [esi + 0x10]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x40e2f4
mov dword [esi], 0xe
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 4], eax
cmp eax, 0x2f05
je 0x40e284
mov ecx, esi
call fcn.0040e490
jmp 0x40e28a
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041d9da
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4177b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43d813
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x44c00c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x42c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x428], eax
mov dword [ebp - 0x20], 0
push 0x404
lea eax, [ebp - 0x424]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], 0
call fcn.0041fc70
add esp, 0xc
mov dword [ebp - 0x424], 0
push 0x60
push 0
mov byte [ebp - 4], 1
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push edi
call ebx
mov esi, eax
mov dword [ebp - 0x430], esi
test esi, esi
jne 0x417869
push 2
push eax
push edi
call ebx
mov esi, eax
mov dword [ebp - 0x430], eax
test esi, esi
jne 0x417869
call fcn.00415d50
mov edi, eax
jmp 0x417985
push dword [ebp - 0x428]
push dword [ebp - 0x42c]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x41788c
call fcn.00415d50
jmp 0x417978
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x42c], ebx
test ebx, ebx
jne 0x4178aa
call fcn.00415d50
jmp 0x417978
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [ebp - 0x428], edi
lea eax, [edi + 1]
cmp eax, edi
jae 0x4178cb
mov edi, 0x8007000e
jmp 0x41797a
mov ecx, 2
mov byte [ebp - 4], 2
mul ecx
test edx, edx
ja 0x4179c0
jb 0x4178e9
cmp eax, 0xffffffff
ja 0x4179c0
cmp eax, 0x400
jbe 0x4178fe
push eax
lea ecx, [ebp - 0x424]
call fcn.00415d20
jmp 0x417924
lea eax, [ebp - 0x420]
mov dword [ebp - 0x424], eax
jmp 0x417924
mov dword [ebp - 4], 1
cmp dword [ebp - 0x424], 0
jne 0x41793b
mov edi, 0x8007000e
jmp 0x41797a
push edi
push dword [ebp - 0x424]
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x41795b
call fcn.00415d50
jmp 0x417978
mov eax, dword [ebp - 0x424]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x1c]
push dword [ebp - 0x424]
call fcn.00417610
mov edi, eax
test esi, esi
je 0x417985
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x420]
cmp dword [ebp - 0x424], eax
je 0x4179a0
lea ecx, [ebp - 0x424]
call fcn.00415d00
nop
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041d9da
mov esp, ebp
pop ebp
ret 0x10
push 0x80070216
call fcn.004039b0
int3
Function at 0x41a469
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword fs:[0x30]
push ebx
push esi
push edi
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x14], ecx
mov esi, dword [eax + 0xc]
jmp 0x41a532
mov edx, dword [esi + 0x18]
xor edi, edi
mov eax, dword [esi + 0x30]
mov ebx, dword [esi + 0x2c]
mov esi, dword [esi]
mov dword [ebp - 4], eax
mov eax, dword [edx + 0x3c]
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], esi
mov eax, dword [eax + edx + 0x78]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x41a532
shr ebx, 0x10
xor ecx, ecx
test ebx, ebx
je 0x41a4e4
mov esi, dword [ebp - 4]
movsx edx, byte [esi + ecx]
ror edi, 0xd
cmp byte [esi + ecx], 0x61
mov dword [ebp - 4], edx
jl 0x41a4d3
mov eax, edx
add eax, 0xffffffe0
add edi, eax
jmp 0x41a4d6
add edi, dword [ebp - 4]
inc ecx
cmp ecx, ebx
jb 0x41a4ba
mov edx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + edx + 0x18]
xor ebx, ebx
mov dword [ebp - 0x18], ecx
mov ecx, dword [eax + edx + 0x20]
add ecx, edx
cmp dword [eax + edx + 0x18], ebx
jbe 0x41a532
mov esi, dword [ecx]
xor eax, eax
add esi, edx
add ecx, 4
mov dword [ebp - 0x1c], ecx
mov edx, eax
mov cl, byte [esi]
ror edx, 0xd
movsx eax, cl
add edx, eax
inc esi
test cl, cl
jne 0x41a507
mov esi, dword [ebp - 0xc]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
add eax, edi
cmp eax, dword [ebp - 0x14]
je 0x41a543
mov ecx, dword [ebp - 0x1c]
inc ebx
cmp ebx, dword [ebp - 0x18]
jb 0x41a4f9
cmp dword [esi + 0x18], 0
jne 0x41a486
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp - 0x10]
mov eax, dword [esi + edx + 0x24]
lea eax, [eax + ebx*2]
movzx ecx, word [eax + edx]
mov eax, dword [esi + edx + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
add eax, edx
jmp 0x41a53e
Function at 0x41a55f
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
mov esi, ecx
mov ecx, 0x726774c
call fcn.0041a469
lea ecx, [ebp - 0xc]
mov dword [esi], eax
push ecx
mov dword [ebp - 0xc], 0x72657375
mov dword [ebp - 8], 0x642e3233
mov word [ebp - 4], 0x6c6c
mov byte [ebp - 2], 0
call eax
mov ecx, 0x7568345
call fcn.0041a469
mov dword [esi + 4], eax
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x18], 0x5f327377
mov dword [ebp - 0x14], 0x642e3233
mov word [ebp - 0x10], 0x6c6c
mov byte [ebp - 0xe], 0
call dword [esi]
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0x6376736d
push eax
mov dword [ebp - 0x20], 0x642e7472
mov word [ebp - 0x1c], 0x6c6c
mov byte [ebp - 0x1a], 0
call dword [esi]
mov ecx, 0x6b8029
call fcn.0041a469
mov ecx, 0xe0df0fea
mov dword [esi + 8], eax
call fcn.0041a469
mov ecx, 0x6174a599
mov dword [esi + 0xc], eax
call fcn.0041a469
mov ecx, 0x5f38ebc2
mov dword [esi + 0x10], eax
call fcn.0041a469
mov ecx, 0xe553a458
mov dword [esi + 0x14], eax
call fcn.0041a469
mov ecx, 0x5fc8d902
mov dword [esi + 0x18], eax
call fcn.0041a469
mov ecx, 0x614d6e75
mov dword [esi + 0x1c], eax
call fcn.0041a469
mov ecx, 0x803428a9
mov dword [esi + 0x20], eax
call fcn.0041a469
mov ecx, 0x4d7b1e12
mov dword [esi + 0x24], eax
call fcn.0041a469
mov ecx, 0xff13dad9
mov dword [esi + 0x28], eax
call fcn.0041a469
mov ecx, 0xed43d9d9
mov dword [esi + 0x2c], eax
call fcn.0041a469
mov ecx, 0xed6bdd99
mov dword [esi + 0x34], eax
call fcn.0041a469
mov ecx, 0xd0eb608d
mov dword [esi + 0x30], eax
call fcn.0041a469
mov ecx, 0x2c74e98
mov dword [esi + 0x38], eax
call fcn.0041a469
mov ecx, 0x70f2fa31
mov dword [esi + 0x3c], eax
call fcn.0041a469
mov ecx, 0xe449f330
mov dword [esi + 0x40], eax
call fcn.0041a469
mov dword [esi + 0x44], eax
pop esi
leave
ret
Function at 0x41c680
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x44c00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov ebx, ecx
mov dword [ebp - 8], 0
push edi
mov dword [ebp - 0x10], ebx
call fcn.004034e0
test eax, eax
je 0x41c7eb
mov edx, dword [eax]
cmp edx, vtable.ATL::CAtlStringMgr.0
jne 0x41c7f5
lock inc dword [eax + 0x14]
add eax, 8
mov dword [ebp - 0x18], eax
call fcn.004034e0
test eax, eax
je 0x41c7eb
mov edx, dword [eax]
cmp edx, vtable.ATL::CAtlStringMgr.0
jne 0x41c7ff
lock inc dword [eax + 0x14]
add eax, 8
sub esp, 8
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 8]
call fcn.0040fe30
push 0x420
push dword [ebx + 4]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
call ebx
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0xf0
push eax
call edi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 4
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push 4
push 0
push str.bCheckUpdate
push dword [ebp - 8]
call esi
mov eax, dword [ebp - 0x10]
push 0x422
push dword [eax + 4]
call ebx
push 0
push 0
push 0xf0
push eax
call edi
push 4
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push 4
push 0
push str.bCheckUpdateMinor
push dword [ebp - 8]
call esi
mov eax, dword [ebp - 0x10]
push 1
push dword [eax + 4]
call dword [sym.imp.USER32.dll_EndDialog]
mov ecx, dword [ebp - 0x14]
or esi, 0xffffffff
mov eax, esi
lock xadd dword [ecx + 0xc], eax
dec eax
mov edi, dword [sym.imp.KERNEL32.dll_HeapFree]
test eax, eax
jg 0x41c7a2
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov ebx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x41c809
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
call edi
mov ecx, dword [ebp - 0x18]
lock xadd dword [ecx + 0xc], esi
dec esi
test esi, esi
jg 0x41c7c8
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x41c80f
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
call edi
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
test eax, eax
je 0x41c7d9
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.0041d9da
mov esp, ebp
pop ebp
ret 0x10
push 0x80004005
call fcn.004039b0
mov ecx, eax
call dword [edx + 0xc]
jmp 0x41c6c1
mov ecx, eax
call dword [edx + 0xc]
jmp 0x41c6e6
mov ecx, edx
call ebx
jmp 0x41c7a2
mov ecx, edx
call esi
jmp 0x41c7c8
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40de38
nop
mov ecx, 0x1a584f92
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x433024
nop
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
mov ecx, 0x1b734a92
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
popal
nop
nop
nop
jmp 0x431219