joyce8/EMBER2024-capa huggingface dataset:
Function at 0x415bfd
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x4281c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.00410d70
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.00410d70
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x415c74
cmp word [ecx], dx
je 0x415c74
mov eax, dword [0x421b5c]
push edi
dec eax
push eax
push 0x421a48
call fcn.00415b9c
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x415ce7
cmp word [eax], dx
je 0x415ce7
mov eax, dword [edi]
test eax, eax
je 0x415c98
cmp word [eax], dx
je 0x415c98
lea eax, [ebp - 0x10]
push eax
call fcn.0041557f
jmp 0x415ca1
lea eax, [ebp - 0x10]
push eax
call fcn.0041561a
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x415d11
mov eax, dword [0x421a44]
push dword [ebp - 0x14]
dec eax
push eax
push 0x421738
call fcn.00415b9c
add esp, 0xc
test al, al
je 0x415d11
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x415cdc
cmp word [eax], di
je 0x415cdc
lea eax, [ebp - 0x10]
push eax
call fcn.0041557f
pop ecx
jmp 0x415d13
lea eax, [ebp - 0x10]
push eax
call fcn.0041561a
jmp 0x415cd9
mov eax, dword [edi]
test eax, eax
je 0x415cfe
cmp word [eax], dx
je 0x415cfe
lea eax, [ebp - 0x10]
push eax
call fcn.00415534
pop ecx
jmp 0x415d11
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x415ddc
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.00415a21
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x415ddc
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x415ddc
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x415ddc
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x415d69
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.00412e0d
test ebx, ebx
je 0x415dd7
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.00412e0d
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x415ddc
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x415ddc
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.0041ad4f
add esp, 0x10
xor eax, eax
inc eax
jmp 0x415dde
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00404db1
leave
ret
Function at 0x4176da
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0041d0f0
mov eax, dword [0x4281c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.00416321
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x41771c
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x417878
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.0041d120
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x429a00]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.004186d7
mov ecx, dword [esi*4 + 0x429a00]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [ecx + edi + 0x20]
jne 0x417871
cmp eax, dword [ecx + edi + 0x24]
jne 0x417871
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [ecx + edi + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x417871
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.004186d7
add esp, 0x14
test edx, edx
jl 0x417871
jg 0x4177e7
test eax, eax
jb 0x417871
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x417871
jl 0x417801
cmp dword [ebp - 0x1008], eax
ja 0x417871
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x41781f
test ebx, ebx
je 0x417858
cmp ecx, edi
jae 0x417858
mov al, byte [ecx]
cmp al, 0xd
jne 0x417839
lea eax, [edi - 1]
cmp ecx, eax
jae 0x417845
cmp byte [ecx + 1], 0xa
jne 0x417845
inc ecx
jmp 0x417845
movzx eax, al
movsx eax, byte [eax + 0x428990]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x41781f
cmp edx, ebx
jne 0x41781f
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x417876
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00404db1
leave
ret
Function at 0x417b6f
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x429a00]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x417baf
cmp byte [ebx], 0xa
jne 0x417baf
or byte [edi + eax + 0x28], 4
jmp 0x417bb4
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x417cb3
mov dl, byte [eax]
cmp dl, 0x1a
je 0x417c96
inc eax
cmp dl, 0xd
je 0x417be0
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x417c06
cmp eax, ecx
jae 0x417c14
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x417bc8
jmp 0x417cb3
push 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x417c91
cmp dword [ebp - 0x10], 0
je 0x417c91
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x429a00]
test byte [eax + edi + 0x28], 0x48
je 0x417c6b
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x417c56
mov byte [esi], dl
jmp 0x417c67
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x429a00]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x417cb3
cmp byte [ebp - 1], 0xa
jne 0x417c7a
cmp esi, ebx
jne 0x417c7a
mov byte [esi], 0xa
jmp 0x417cb2
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.004186f5
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x417cb3
mov byte [esi], 0xd
jmp 0x417cb2
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x429a00]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x417cb0
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x417cb3
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x417cbc
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x429a00]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x417d02
cmp word [ebx], dx
jne 0x417d02
or byte [eax + edi + 0x28], 4
jmp 0x417d07
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x417e6a
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x417e4a
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x417d48
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x417d7e
cmp eax, edx
jae 0x417d8c
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x417d23
jmp 0x417e6a
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x417e45
cmp dword [ebp - 0x18], 0
je 0x417e45
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x429a00]
test byte [eax + edi + 0x28], 0x48
je 0x417e1b
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x417ddf
mov word [esi], cx
jmp 0x417e16
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x429a00]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x429a00]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x429a00]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x417e6a
pop eax
cmp word [ebp - 4], ax
jne 0x417e2b
cmp esi, ebx
jne 0x417e2b
mov word [esi], ax
jmp 0x417e67
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.004186f5
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x417e6a
push 0xd
pop eax
jmp 0x417e26
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x429a00]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x417e64
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x417e6a
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41d0b0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41d0dd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41d0dd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x408c0c
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x514ada
call fcn.004edf30
sub esp, 0x14
push ebx
mov ebx, ecx
push esi
push edi
lea ecx, [ebx + 0x24]
mov dword [ebp - 0x10], ebx
call fcn.0040958c
xor esi, esi
lea ecx, [ebx + 0x30]
mov dword [ebp - 4], esi
call fcn.0040958c
mov dword [ebx + 4], esi
mov dword [ebx + 0x1c], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
lea edi, [ebx + 0xc]
lea esi, [ebp - 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 0xc]
and byte [ebx + 9], 0
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
push edi
mov byte [ebp - 4], 1
mov byte [ebx + 8], 1
mov dword [ebx + 0x20], eax
mov byte [ebx + 0xa], 1
mov dword [ebx], esi
call sub.MSVCRT.dll_strlen
pop ecx
add eax, edi
push eax
push edi
lea ecx, [ebx + 0x24]
call fcn.0040928f
call fcn.004a270a
push esi
push edi
mov ecx, eax
call fcn.004a27e0
mov esi, eax
push esi
call sub.MSVCRT.dll_strlen
pop ecx
add eax, esi
push eax
push esi
lea ecx, [ebx + 0x30]
call fcn.0040928f
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x42c40f
Capabilities:
Get common file path

Disassembly:
mov eax, 0x51761d
call fcn.004edf30
sub esp, 0x134
push ebx
push esi
lea eax, [ebp - 0x1c]
push edi
mov esi, ecx
push eax
call sub.MFC42.DLL_AfxVariantInit
xor ebx, ebx
cmp dword [ebp + 8], ebx
mov dword [ebp - 4], ebx
je 0x42c54d
mov ecx, dword [esi + 0x60]
cmp ecx, ebx
je 0x42c455
mov eax, dword [ecx]
call dword [eax + 0x60]
mov ecx, dword [esi + 0x60]
cmp ecx, ebx
je 0x42c455
mov eax, dword [ecx]
push 1
call dword [eax + 4]
push 0x40
call sub.MFC42.DLL_operatornew
mov edi, eax
pop ecx
mov dword [ebp - 0x40], edi
cmp edi, ebx
mov byte [ebp - 4], 1
je 0x42c47b
mov ecx, edi
call fcn.004edbec
mov dword [edi], 0x529618
mov eax, edi
jmp 0x42c47d
xor eax, eax
mov dword [esi + 0x60], eax
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], bl
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [ebp - 0x24]
push 0xa
sub ecx, dword [ebp - 0x2c]
pop eax
push ebx
push ebx
sub ecx, 0xf
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x20]
sub ecx, dword [ebp - 0x28]
push ebx
push 0x64
push esi
sub ecx, eax
lea eax, [ebp - 0x3c]
push eax
push 0x50000000
mov dword [ebp - 0x30], ecx
mov ecx, dword [esi + 0x60]
push ebx
push 0x529608
mov dword [ebp - 0x38], 0x50
call sub.MFC42.DLL_CWnd::CreateControl
test eax, eax
je 0x42c54d
mov al, byte [0x568b08]
push 0x3f
mov byte [ebp - 0x140], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x13f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x140]
push eax
push 0x100
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [ebp - 0x140]
push str.Help_
push eax
call sub.MSVCRT.dll_strcat
push dword [ebp + 8]
lea eax, [ebp - 0x140]
push eax
call sub.MSVCRT.dll_strcat
add esp, 0x10
lea eax, [ebp - 0x1c]
mov ecx, dword [esi + 0x60]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x140]
push eax
call fcn.0047eed6
push 5
mov ecx, esi
call sub.MFC42.DLL_CWnd::ShowWindow
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x430de9
Capabilities:
Get common file path

Disassembly:
mov eax, 0x517ab1
call fcn.004edf30
push ecx
push ebx
push esi
push edi
mov esi, ecx
push dword [ebp + 8]
mov dword [ebp - 0x10], esi
push 0x131
call sub.MFC42.DLL_CDialog::CDialog
lea edi, [esi + 0x60]
xor ebx, ebx
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.004edbec
mov dword [edi], 0x52a9d8
lea eax, [esi + 0xb8]
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
lea eax, [esi + 0xc4]
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
lea ecx, [esi + 0x4f0]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x4f4]
mov byte [ebp - 4], 4
call fcn.0047ea9c
push 0x2132b
mov byte [ebp - 4], 5
mov dword [esi], 0x52a900
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
or dword [esi + 0x2d0], 0xffffffff
or dword [esi + 0x2d4], 0xffffffff
mov dword [esi + 0xa4], eax
xor eax, eax
xor ecx, ecx
mov dword [esi + 0xa8], eax
mov dword [esi + 0xac], ecx
mov dword [esi + 0x4ec], ebx
mov dword [esi + 0x4e8], ebx
mov dword [esi + 0x4e4], ebx
mov dword [esi + 0x4e0], ebx
mov dword [esi + 0x4dc], ebx
mov dword [esi + 0xb4], ebx
call dword [sym.imp.GraphicData.dll_GameDataSetQuery]
mov edx, dword [eax]
push str.French
mov ecx, eax
call dword [edx + 0x34]
push eax
call dword [sym.imp.MSVCRT.dll__stricmp]
pop ecx
test eax, eax
pop ecx
je 0x430f17
push 0x448
call sub.MFC42.DLL_operatornew
pop ecx
mov ecx, eax
mov dword [ebp + 8], ecx
cmp ecx, ebx
mov byte [ebp - 4], 6
je 0x430ef3
call fcn.00463273
jmp 0x430ef5
xor eax, eax
cmp eax, ebx
mov byte [ebp - 4], 5
mov dword [esi + 0xb4], eax
jne 0x430f17
push str.D:CQ2ClientRelease_11.17.10MyShellDlgLoginFlash.cpp
push 0x35
push 0x55a350
call fcn.004e9e6f
add esp, 0xc
mov edi, 0x80
lea eax, [esi + 0x358]
push edi
push ebx
push eax
mov byte [esi + 0xa0], bl
mov dword [esi + 0x504], ebx
mov byte [esi + 0xb0], 1
mov byte [esi + 0x4d8], bl
call sub.MSVCRT.dll_memset
push edi
lea eax, [esi + 0x2d8]
push ebx
push eax
call sub.MSVCRT.dll_memset
mov edi, 0x100
lea eax, [esi + 0x1d0]
push edi
push ebx
push eax
call sub.MSVCRT.dll_memset
push edi
lea eax, [esi + 0xd0]
push ebx
push eax
call sub.MSVCRT.dll_memset
add esp, 0x30
lea edi, [esi + 0x3d8]
push edi
push 0xff
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push edi
call sub.MSVCRT.dll_strlen
cmp byte [eax + esi + 0x3d7], 0x5c
pop ecx
jne 0x430fa6
push edi
call sub.MSVCRT.dll_strlen
pop ecx
mov byte [eax + esi + 0x3d7], bl
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x432828
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
mov eax, 0x517c4c
call fcn.004edf30
sub esp, 0x2a4
mov eax, dword [ecx + 0xc8]
push esi
lea esi, [ecx + 0xc4]
push eax
mov ecx, dword [esi]
push ecx
mov ecx, esi
call fcn.0040bed3
lea eax, [ebp - 0x2b0]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x4328f7
push ebx
push edi
lea eax, [ebp - 0x120]
push 0x104
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
jne 0x4328ef
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov ebx, eax
test ebx, ebx
je 0x4328ef
xor edi, edi
mov eax, dword [ebx + 0xc]
add eax, edi
cmp dword [eax], 0
je 0x4328ef
mov eax, dword [eax]
and dword [ebp - 4], 0
lea ecx, [ebp - 0xd]
push ecx
push dword [eax]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004094e5
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
mov byte [ebp - 4], 1
call fcn.00412c90
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 2
sub eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 0
je 0x4328e6
push eax
push dword [ebp - 0x1c]
call fcn.004094c0
pop ecx
pop ecx
or dword [ebp - 4], 0xffffffff
add edi, 4
jmp 0x432897
call dword [sym.imp.WS2_32.dll_WSACleanup]
pop edi
pop ebx
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x433914
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
push ebx
push esi
push edi
push 0x40
xor bl, bl
pop ecx
xor eax, eax
lea edi, [ebp - 0x21b]
mov byte [ebp - 0x21c], bl
push dword [ebp + 8]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push str._s.
lea eax, [ebp - 0x21c]
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.MSVCRT.dll__findfirst]
mov esi, eax
add esp, 0x18
cmp esi, 0xffffffff
jne 0x433974
mov al, 1
jmp 0x4339d3
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 0x10
je 0x4339b3
lea eax, [ebp - 0x104]
push 0x55a7a0
push eax
call sub.MSVCRT.dll_strcmp
pop ecx
test eax, eax
pop ecx
je 0x4339b3
lea eax, [ebp - 0x104]
push 0x55a79c
push eax
call sub.MSVCRT.dll_strcmp
pop ecx
test eax, eax
pop ecx
jne 0x4339c9
lea eax, [ebp - 0x118]
push eax
push esi
call dword [sym.imp.MSVCRT.dll__findnext]
pop ecx
test eax, eax
pop ecx
je 0x433974
mov bl, 1
push esi
call dword [sym.imp.MSVCRT.dll__findclose]
pop ecx
mov al, bl
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4391e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, 0x5184f6
call fcn.004edf30
push ecx
push esi
push edi
push dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x10], esi
push 0xe9
call sub.MFC42.DLL_CDialog::CDialog
xor edi, edi
lea ecx, [esi + 0x94]
mov dword [ebp - 4], edi
call fcn.0047ded1
lea ecx, [esi + 0x1ec]
mov byte [ebp - 4], 1
call fcn.0047ded1
lea ecx, [esi + 0x344]
mov byte [ebp - 4], 2
call fcn.0047ded1
lea ecx, [esi + 0x49c]
mov byte [ebp - 4], 3
call fcn.0047ded1
lea ecx, [esi + 0x5f4]
mov byte [ebp - 4], 4
call fcn.0047ded1
lea ecx, [esi + 0x74c]
mov byte [ebp - 4], 5
call fcn.0047ded1
lea ecx, [esi + 0x8a4]
mov byte [ebp - 4], 6
call fcn.0047ded1
lea ecx, [esi + 0x9fc]
mov byte [ebp - 4], 7
call fcn.0047ded1
lea ecx, [esi + 0xb54]
mov byte [ebp - 4], 8
call fcn.0047ded1
lea ecx, [esi + 0xcac]
mov byte [ebp - 4], 9
call fcn.0047ded1
lea ecx, [esi + 0xe04]
mov byte [ebp - 4], 0xa
call fcn.0047ded1
lea ecx, [esi + 0xf5c]
mov byte [ebp - 4], 0xb
call fcn.0047ded1
lea ecx, [esi + 0x10b4]
mov byte [ebp - 4], 0xc
call fcn.00464a84
lea ecx, [esi + 0x11d8]
mov byte [ebp - 4], 0xd
call fcn.00464a84
lea ecx, [esi + 0x12fc]
mov byte [ebp - 4], 0xe
call fcn.00464a84
lea ecx, [esi + 0x1420]
mov byte [ebp - 4], 0xf
call fcn.00464a84
lea ecx, [esi + 0x1544]
mov byte [ebp - 4], 0x10
call fcn.00464a84
lea ecx, [esi + 0x1668]
mov byte [ebp - 4], 0x11
call fcn.00464a84
lea ecx, [esi + 0x178c]
mov byte [ebp - 4], 0x12
call fcn.0045fe2f
lea ecx, [esi + 0x185c]
mov byte [ebp - 4], 0x13
call fcn.0045fe2f
lea ecx, [esi + 0x192c]
mov byte [ebp - 4], 0x14
call fcn.0045fe2f
lea ecx, [esi + 0x19fc]
mov byte [ebp - 4], 0x15
call fcn.0045fe2f
lea ecx, [esi + 0x1acc]
mov byte [ebp - 4], 0x16
call fcn.0045fe2f
lea ecx, [esi + 0x1b9c]
mov byte [ebp - 4], 0x17
call fcn.0045fe2f
lea ecx, [esi + 0x1c6c]
mov byte [ebp - 4], 0x18
call fcn.0045fe2f
lea ecx, [esi + 0x1d3c]
mov byte [ebp - 4], 0x19
call fcn.0045fe2f
lea ecx, [esi + 0x1e0c]
mov byte [ebp - 4], 0x1a
call fcn.0045fe2f
lea ecx, [esi + 0x1edc]
mov byte [ebp - 4], 0x1b
call fcn.0045fe2f
lea ecx, [esi + 0x1fac]
mov byte [ebp - 4], 0x1c
call fcn.0045fe2f
lea ecx, [esi + 0x207c]
mov byte [ebp - 4], 0x1d
call fcn.0045fe2f
lea ecx, [esi + 0x214c]
mov byte [ebp - 4], 0x1e
call fcn.0045fe2f
lea ecx, [esi + 0x221c]
mov byte [ebp - 4], 0x1f
call fcn.0045fe2f
lea ecx, [esi + 0x22ec]
mov byte [ebp - 4], 0x20
call fcn.0045fe2f
lea ecx, [esi + 0x23bc]
mov byte [ebp - 4], 0x21
call fcn.0045fe2f
lea ecx, [esi + 0x248c]
mov byte [ebp - 4], 0x22
call fcn.0045fe2f
lea ecx, [esi + 0x255c]
mov byte [ebp - 4], 0x23
call fcn.0045fe2f
push 0x2132b
mov dword [esi], 0x52b4f0
mov dword [esi + 0x60], edi
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
fldz
mov dword [esi + 0x6c], eax
mov dword [esi + 0x90], edi
fstp dword [esi + 0x8c]
mov dword [esi + 0x78], edi
mov dword [esi + 0x7c], edi
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x80], edi
mov dword [esi + 0x84], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4