joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409a34
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406a0c
xor eax, eax
push ebp
push 0x409af4
push dword fs:[eax]
mov dword fs:[eax], esp
push 4
lea eax, [ebp - 0xc]
push eax
push 3
call sub.kernel32.dll_GetUserDefaultUILanguage
movzx eax, ax
push eax
call sub.kernel32.dll_GetLocaleInfoW
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.00407788
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00407938
mov eax, dword [ebx]
call fcn.004098fc
test al, al
jne 0x409ad1
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.00407788
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00407938
mov eax, dword [ebx]
call fcn.004098fc
test al, al
jne 0x409ad1
mov eax, ebx
call fcn.00406928
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409afb
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00406988
lea eax, [ebp - 4]
call fcn.00406928
ret

Function at 0x40a4c4
Capabilities:
Get system information on windows

Disassembly:
add esp, 0xffffffdc
push esp
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [esp + 0x14]
add esp, 0x24
ret

Function at 0x415108
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x415161
test eax, edx
je 0x415164
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x41511f
movzx eax, word [eax]
sub eax, ecx
jmp 0x415146
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
shl ecx, 1
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x415147
add ecx, 4
js 0x415137
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x415144
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x415146
xor eax, eax
ret
test eax, eax
je 0x415170
test edx, edx
jne 0x415110
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x41605c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [esi]
add eax, edi
push eax
push ebx
call sub.kernel32.dll_ReadFile
test eax, eax
jne 0x416089
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 4

Function at 0x419bf8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x200]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x419c31
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00406ab0
jmp 0x419c3a
mov eax, ebx
mov edx, esi
call fcn.00406d08
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x419c44
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
push 2
lea eax, [ebp - 4]
push eax
push esi
push ebx
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x419c68
movzx eax, word [ebp - 4]
jmp 0x419c6a
mov eax, edi
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x41abe4
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff778
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
xor ecx, ecx
push ebp
push 0x41ad09
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.0041a9ec
mov esi, eax
mov eax, dword [0x483308]
cmp byte [eax], 0
je 0x41acb1
mov eax, dword [0x4830e8]
call fcn.004048d0
call fcn.004044b8
push 0
push 0
push 0
push 0
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte_1
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x41abb4]
call fcn.00408930
add esp, 4
push 0
push 0
push ebx
mov eax, dword [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte_1
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x41ad24
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x41aced
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x4830b8]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x486c54]
call fcn.004089f4
push eax
call sub.user32.dll_LoadStringW_1
push 0x2010
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x888]
push eax
push 0
call sub.user32.dll_MessageBoxW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41ad10
lea eax, [ebp - 4]
mov edx, dword [0x41abb4]
call fcn.0040893c
ret

Function at 0x41c50c
Capabilities:
Encode data using xor

Disassembly:
push esi
push ebx
mov esi, eax
xor eax, eax
push esi
rol eax, 5
mov bl, byte [esi]
test bl, 0x80
jne 0x41c538
cmp bl, 0
je 0x41c534
cmp bl, 0x41
jl 0x41c52f
cmp bl, 0x5a
jg 0x41c52f
or bl, 0x20
xor al, bl
inc esi
jmp 0x41c513
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp fcn.0041c468

Function at 0x4276ec
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x42773e
test eax, edx
je 0x427741
movzx ecx, byte [edx]
cmp cl, byte [eax]
je 0x427701
movzx eax, byte [eax]
sub eax, ecx
ret
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x427727
add ecx, 4
js 0x427717
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 3
add ecx, ebx
jns 0x427724
movzx eax, byte [ecx + eax]
movzx edx, byte [ecx + edx]
sub eax, edx
pop ebx
pop ebx
ret
xor eax, eax
ret
test eax, eax
je 0x42774d
test edx, edx
jne 0x4276f4
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret
Function at 0x43e774
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x43e812
push dword fs:[eax]
mov dword fs:[eax], esp
or dl, byte [ebx + 0xd]
je 0x43e7d6
cmp byte [ebx + 0x11], 0
jne 0x43e7d6
cmp byte [ebx + 0x3c], 0
jne 0x43e7d6
mov byte [ebx + 0xf], 0
mov byte [ebx + 0xd], 0
mov eax, dword [ebx + 8]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
je 0x43e7f7
lea edx, [ebp - 4]
mov eax, dword [0x4832a0]
call fcn.0040a410
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x4319ac]
call fcn.0041ad34
call fcn.00405ff4
jmp 0x43e7f7
lea edx, [ebp - 8]
mov eax, dword [0x4832a0]
call fcn.0040a410
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x4319ac]
call fcn.0041ad34
call fcn.00405ff4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43e819
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406988
ret

Function at 0x43eab4
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 8]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.0043e6c0
dec esi
jne 0x43ead6
mov byte [ebx + 0xf], 0
pop esi
pop ebx
ret

Function at 0x449e64
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.004076e4
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
mov edx, eax
mov eax, ebx
call fcn.00449ae4
test al, al
jne 0x449ec5
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x483408]
mov dl, 1
mov eax, dword [0x449890]
call fcn.0041ae34
call fcn.00405ff4
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00449a4c
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x450a3c
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x450a42
ret
Function at 0x457cf0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x457ea5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x30], 0
jne 0x457e81
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x38], 0
je 0x457e81
mov eax, dword [ebp - 0xc]
add eax, 0x2c
push eax
mov eax, dword [ebp - 0xc]
add eax, 0x28
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x38]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax + 0x28]
add ebx, ebx
add ebx, ebx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x2c]
imul ebx
push eax
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x457cb8]
call fcn.00408930
add esp, 4
lea eax, [ebp - 4]
call fcn.00409e58
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x38]
push eax
mov eax, dword [0x4830ec]
push eax
call sub.windowscodecs.dll_WICConvertBitmapSource
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 8]
call fcn.00408714
push eax
push ebx
push 0
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
lea eax, [ebp - 0x3c]
xor ecx, ecx
mov edx, 0x2c
call fcn.00404934
mov dword [ebp - 0x3c], 0x2c
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x2c]
neg eax
mov dword [ebp - 0x34], eax
mov word [ebp - 0x30], 1
mov word [ebp - 0x2e], 0x20
mov dl, 1
mov eax, dword [0x44f924]
call fcn.00455190
mov ebx, eax
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x30], ebx
xor edx, edx
push ebp
push 0x457e58
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, ebx
mov dl, 7
call fcn.00456c3c
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x2c]
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x28]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x30]
mov ebx, dword [eax]
call dword [ebx + 0x6c]
push 0
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x2c]
push eax
push 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x30]
mov edx, dword [eax]
call dword [edx + 0x70]
push eax
push 0
call sub.gdi32.dll_SetDIBits
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x30]
mov dl, 1
call fcn.00455d2c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x457e81
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x457eac
lea eax, [ebp - 8]
mov edx, dword [0x457cb8]
call fcn.0040893c
lea eax, [ebp - 4]
call fcn.00409e58
ret
Function at 0x458708
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 2
add esp, 0xfffff004
push eax
dec eax
jne 0x458711
mov eax, dword [ebp - 4]
add esp, 0xffffffd8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x2028], ebx
mov dword [ebp - 0x202c], ebx
mov dword [ebp - 0x2024], ebx
mov dword [ebp - 0x2020], ebx
mov dword [ebp - 0x201c], ebx
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x458759
xor edx, edx
mov dword [eax], edx
mov eax, dword [ebp + 8]
test eax, eax
je 0x458764
xor edx, edx
mov dword [eax], edx
xor eax, eax
push ebp
push 0x458985
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
xor eax, eax
mov dword [ebp - 0x14], eax
mov edx, 0x2001
lea eax, [ebp - 0x2015]
mov byte [eax], 0
inc eax
dec edx
jne 0x458789
push 0
push 0
push 0
push 0
mov eax, esi
call fcn.004076e4
push eax
call sub.wininet.dll_InternetOpenW
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4587c2
mov eax, dword [ebp + 8]
call fcn.00406928
call fcn.004585e4
mov dword [ebx], eax
jmp 0x45895c
xor eax, eax
push ebp
push 0x458902
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x80000100
push 0
push 0
push 0x4589a4
push edi
push dword [ebp - 4]
lea eax, [ebp - 0x201c]
mov edx, 3
call fcn.004079c0
mov eax, dword [ebp - 0x201c]
call fcn.004076e4
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetOpenUrlW
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x45882b
mov eax, dword [ebp + 8]
call fcn.00406928
call fcn.004585e4
mov dword [ebx], eax
call fcn.004060e8
jmp 0x45895c
xor eax, eax
push ebp
push 0x4588e4
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
push eax
push 0x2001
lea eax, [ebp - 0x2015]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetReadFile
cmp dword [ebp - 0x14], 0x2001
jne 0x458886
lea eax, [ebp - 0x2020]
lea edx, [ebp - 0x2015]
mov ecx, 0x2001
push 0
call fcn.00407070
mov edx, dword [ebp - 0x2020]
mov eax, dword [ebp + 0x10]
call fcn.004070cc
mov eax, dword [ebp + 0x10]
jmp 0x4588c3
cmp dword [ebp - 0x14], 0
jbe 0x4588c3
mov esi, dword [ebp - 0x14]
dec esi
test esi, esi
jb 0x4588c3
inc esi
lea ebx, [ebp - 0x2015]
lea eax, [ebp - 0x2024]
movzx edx, byte [ebx]
mov ecx, 0
call fcn.00406fc8
mov edx, dword [ebp - 0x2024]
mov eax, dword [ebp + 0x10]
call fcn.004070cc
mov eax, dword [ebp + 0x10]
inc ebx
dec esi
jne 0x45889b
cmp dword [ebp - 0x14], 0
jne 0x458839
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4588eb
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45898c
lea eax, [ebp - 0x202c]
mov edx, 4
call fcn.004069b8
lea eax, [ebp - 0x201c]
call fcn.00406928
ret
Function at 0x4589b8
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 2
add esp, 0xfffff004
push eax
dec eax
jne 0x4589c1
mov eax, dword [ebp - 4]
add esp, 0xffffffe4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x2020], ebx
mov dword [ebp - 0x201c], ebx
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x4589f7
xor edx, edx
mov dword [eax], edx
mov eax, dword [ebp + 8]
test eax, eax
je 0x458a02
xor edx, edx
mov dword [eax], edx
xor eax, eax
push ebp
push 0x458baf
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, 0x2001
lea edx, [ebp - 0x2015]
mov byte [edx], 0
inc edx
dec eax
jne 0x458a27
push 0
push 0
push 0
push 0
mov eax, esi
call fcn.004076e4
push eax
call sub.wininet.dll_InternetOpenW
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x458a60
mov eax, dword [ebp + 8]
call fcn.00406928
call fcn.004585e4
mov dword [ebx], eax
jmp 0x458b8b
xor edx, edx
push ebp
push 0x458b68
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
push 0x80000100
push 0
push 0
push 0x458bd0
push edi
push dword [ebp - 4]
lea eax, [ebp - 0x201c]
mov edx, 3
call fcn.004079c0
mov eax, dword [ebp - 0x201c]
call fcn.004076e4
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetOpenUrlW
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x458ac9
mov eax, dword [ebp + 8]
call fcn.00406928
call fcn.004585e4
mov dword [ebx], eax
call fcn.004060e8
jmp 0x458b8b
xor edx, edx
push ebp
push 0x458b4a
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x14]
push eax
push 0x2001
lea eax, [ebp - 0x2015]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetReadFile
cmp dword [ebp - 0x14], 0
jbe 0x458b2d
mov esi, dword [ebp - 0x14]
dec esi
test esi, esi
jb 0x458b2d
inc esi
lea ebx, [ebp - 0x2015]
lea eax, [ebp - 0x2020]
movzx edx, byte [ebx]
mov ecx, 0
call fcn.00406fc8
mov edx, dword [ebp - 0x2020]
mov eax, dword [ebp + 0x10]
call fcn.004070cc
mov eax, dword [ebp + 0x10]
inc ebx
dec esi
jne 0x458b05
cmp dword [ebp - 0x14], 0
jne 0x458ad7
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x458b51
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x458bb6
lea eax, [ebp - 0x2020]
call fcn.0040694c
lea eax, [ebp - 0x201c]
call fcn.00406928
ret
Function at 0x4765a4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.004089a0
xor eax, eax
push ebp
push 0x4766c2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00408714
mov edi, eax
test edi, edi
jle 0x476619
mov eax, dword [ebp - 4]
mov edx, dword [eax]
mov eax, ebx
call fcn.0047644c
mov eax, edi
dec eax
test eax, eax
jle 0x476619
mov dword [ebp - 0xc], eax
mov esi, 1
mov eax, dword [ebp - 4]
mov edx, dword [eax + esi*4]
mov eax, dword [ebp - 4]
xor edx, dword [eax + esi*4 - 4]
mov eax, ebx
call fcn.0047644c
inc esi
dec dword [ebp - 0xc]
jne 0x4765ff
lea eax, [ebx + 4]
mov edx, dword [ebp - 8]
and edx, 0xff
call fcn.0040770c
lea eax, [ebp - 0x10]
mov edx, edi
shr edx, 0x10
and edx, 0xff
call fcn.0040770c
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 4]
call fcn.004078e0
lea eax, [ebp - 0x14]
mov edx, edi
shr edx, 8
and edx, 0xff
call fcn.0040770c
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 4]
call fcn.004078e0
lea eax, [ebp - 0x18]
mov edx, 0xff
and edx, edi
call fcn.0040770c
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 4]
call fcn.004078e0
mov eax, ebx
call fcn.0047653c
mov eax, ebx
call fcn.004764d4
mov eax, dword [ebp + 8]
mov edx, dword [ebx + 4]
call fcn.00406d08
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4766c9
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00406988
lea eax, [ebp - 4]
mov edx, dword [0x45996c]
call fcn.0040893c
ret
Function at 0x478bd4
Capabilities:
Parse url

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffff004
push eax
add esp, 0xfffff384
mov ebp, ecx
mov edi, edx
mov esi, eax
mov eax, esp
xor ecx, ecx
mov edx, 0x40
call fcn.00404934
lea eax, [esp + 0x40]
xor ecx, ecx
mov edx, 0x200
call fcn.00404934
lea eax, [esp + 0x240]
xor ecx, ecx
mov edx, pe_nt_image_headers32
call fcn.00404934
lea eax, [esp + 0x340]
xor ecx, ecx
mov edx, pe_nt_image_headers32
call fcn.00404934
lea eax, [esp + 0x440]
xor ecx, ecx
mov edx, 0x1000
call fcn.00404934
lea eax, [esp + 0x1440]
xor ecx, ecx
mov edx, 0x800
call fcn.00404934
lea eax, [esp + 0x1c40]
xor ecx, ecx
mov edx, 0x3c
call fcn.00404934
mov dword [esp + 0x1c40], 0x3c
mov eax, esp
mov dword [esp + 0x1c44], eax
mov dword [esp + 0x1c48], 0x40
lea eax, [esp + 0x40]
mov dword [esp + 0x1c50], eax
mov dword [esp + 0x1c54], 0x200
lea eax, [esp + 0x240]
mov dword [esp + 0x1c5c], eax
mov dword [esp + 0x1c60], 0x100
lea eax, [esp + 0x340]
mov dword [esp + 0x1c64], eax
mov dword [esp + 0x1c68], 0x100
lea eax, [esp + 0x440]
mov dword [esp + 0x1c6c], eax
mov dword [esp + 0x1c70], 0x1000
lea eax, [esp + 0x1440]
mov dword [esp + 0x1c74], eax
mov dword [esp + 0x1c78], 0x800
mov ebx, esi
test ebx, ebx
je 0x478d0c
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [esp + 0x1c40]
push eax
push 0x90000000
push ebx
mov eax, esi
call fcn.004076e4
push eax
call sub.wininet.dll_InternetCrackUrlW
mov eax, edi
lea edx, [esp + 0x40]
mov ecx, pe_nt_image_headers32
call fcn.00407788
mov eax, ebp
lea edx, [esp + 0x440]
mov ecx, 0x800
call fcn.00407788
add esp, 0x1c7c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x404b33
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x4016c6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push 0x2c
pop eax
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], 0x4011c8
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 1
mov dword [ebp - 4], 2
push 0xffffffffffffffff
call sub.MSVBVM60.DLL___vbaOnError
mov dword [ebp - 4], 3
push 0x402d04
call fcn.00404c1c
mov dword [ebp - 4], 4
mov eax, dword [ebp + 0x10]
cmp word [eax], 0xffff
jne 0x404bb5
mov dword [ebp - 4], 5
mov dword [ebp - 0x24], 0x1d
jmp 0x404bc0
mov dword [ebp - 4], 7
and dword [ebp - 0x24], 0
mov dword [ebp - 4], 9
lea eax, [ebp - 0x24]
push eax
call sub.MSVBVM60.DLL_VarPtr
mov dword [ebp - 0x38], eax
push 4
push dword [ebp - 0x38]
push 0x1d
xor eax, eax
mov eax, dword [ebp + 0xc]
mov ax, word [eax]
push eax
call fcn.0040307c
call sub.MSVBVM60.DLL___vbaSetSystemError
push 0x404bfe
jmp 0x404bfd
ret
Function at 0x100081e3
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10008222
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10008222
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10008222
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x10008222
cmp dword [ecx + 0x74], 0xe
jbe 0x10008222
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x1000aea1
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1000af3e
push ebx
push esi
call fcn.1000ae6a
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1000adfe
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1000aeeb
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000af3d
push edi
push eax
call fcn.1000be5c
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1000af0b
call fcn.10009944
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000af3c
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1000adfe
add esp, 0x20
test eax, eax
jne 0x1000af2a
push edi
call fcn.10009944
jmp 0x1000af32
push ebx
call fcn.10009944
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x1000b1ab
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10012678
push 0x10012670
push str.FlsAlloc
push 0x1f
call fcn.1000b0c7
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000b1df
push dword [ebp + 8]
mov ecx, esi
call dword [0x1001114c]
call esi
jmp 0x1000b1e5
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1000b229
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10012688
push 0x10012680
push str.FlsGetValue
push 0x21
call fcn.1000b0c7
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000b260
push dword [ebp + 8]
mov ecx, esi
call dword [0x1001114c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1000b268
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10012690
push 0x10012688
push str.FlsSetValue
push 0x22
call fcn.1000b0c7
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000b2a2
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x1001114c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x10010930
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1001095d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1001095d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret