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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe98
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x160], ecx
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x168], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x40d89b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040a144
cmp si, word [0x4cfa08]
jb 0x40d7cc
cmp si, word [0x4cfc08]
ja 0x40d7cc
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x40d7cc
mov ebx, edi
add ebx, dword [ebp - 8]
shr ebx, 1
cmp si, word [ebx*8 + 0x4cfa08]
jae 0x40d7a6
mov edi, ebx
dec edi
jmp 0x40d7c7
cmp si, word [ebx*8 + 0x4cfa08]
jbe 0x40d7b6
inc ebx
mov dword [ebp - 8], ebx
jmp 0x40d7c7
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x4cfa0c]
call fcn.0040d650
jmp 0x40d7cc
cmp edi, dword [ebp - 8]
jae 0x40d790
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x40d87b
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40d87b
push 0x55
lea eax, [ebp - 0xb2]
push eax
push 0x59
movzx ebx, si
push ebx
call sub.kernel32.dll_GetLocaleInfoW
push 0x55
lea eax, [ebp - 0x15c]
push eax
push 0x5a
push ebx
call sub.kernel32.dll_GetLocaleInfoW
lea eax, [ebp - 0x160]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.0040ac44
push dword [ebp - 0x160]
push 0x40d8b8
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.0040ac44
push dword [ebp - 0x164]
push 0x40d8c8
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.0040ac44
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.0040ae7c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d8a2
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.0040a1a4
pop eax
jmp eax
Function at 0x40da50
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40db56
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4d5c14
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x4d5c2c]
jne 0x40da9c
mov eax, esi
mov edx, 0x4d5c2e
mov ecx, 0x55
call fcn.0040ac44
push 0x4d5c14
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x40db3e
push 0x4d5c14
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
call fcn.0040a144
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40db0b
cmp byte [0x4d5c10], 0
je 0x40dad0
mov edx, esi
mov eax, ebx
call fcn.0040d934
jmp 0x40db0b
mov edx, esi
mov eax, ebx
call fcn.0040d734
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x40db0b
cmp dword [esi], 0
je 0x40daf4
mov eax, esi
mov edx, 0x40db70
call fcn.0040ad9c
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.0040d734
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.0040ad9c
push 0x4d5c14
call sub.kernel32.dll_EnterCriticalSection
mov word [0x4d5c2c], bx
mov eax, dword [esi]
call fcn.0040aba8
mov ecx, eax
mov eax, 0x4d5c2e
mov edx, 0xaa
call fcn.0040d5b0
push 0x4d5c14
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40db5d
lea eax, [ebp - 4]
call fcn.0040a144
pop eax
jmp eax
Function at 0x42013c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x420195
test eax, edx
je 0x420198
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x420153
movzx eax, word [eax]
sub eax, ecx
jmp 0x42017a
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 [eax + ecx]
xor ebx, dword [edx + ecx]
jne 0x42017b
add ecx, 4
js 0x42016b
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x420178
movzx eax, word [eax + ecx]
movzx edx, word [edx + ecx]
sub eax, edx
pop ebx
pop ebx
jmp 0x42017a
xor eax, eax
ret
test eax, eax
je 0x4201a4
test edx, edx
jne 0x420144
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x4255e4
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
test eax, eax
jle 0x42561d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.0040a2dc
jmp 0x425626
mov eax, ebx
mov edx, esi
call fcn.0040a534
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x425630
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov edi, ecx
mov esi, edx
mov ebx, eax
push 3
lea eax, [esp + 4]
push eax
push esi
push ebx
call sub.kernel32.dll_GetLocaleInfoW
test eax, eax
jle 0x425654
movzx eax, word [esp]
jmp 0x425656
mov eax, edi
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x426d74
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 0x426e9b
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00426b7c
mov esi, eax
mov eax, dword [0x4d2be4]
cmp byte [eax], 0
je 0x426e41
mov eax, dword [0x4d2a30]
call fcn.00407b2c
call fcn.004070d4
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
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x426d44]
call fcn.0040ccc0
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
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x426eb4
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
jmp 0x426e7d
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x4d29f4]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4d6634]
call fcn.0040d254
push eax
call sub.user32.dll_LoadStringW
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 0x426ea2
lea eax, [ebp - 4]
mov edx, dword [0x426d44]
call fcn.0040cde4
pop eax
jmp eax

Function at 0x42911c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffdf8
mov ebx, eax
mov eax, ebx
call fcn.0040a628
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040fe4c
mov edi, eax
cmp edi, 0x104
jbe 0x4290c7
mov eax, edi
add eax, eax
call fcn.00406f60
mov esi, eax
jmp 0x4290c9
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040fe4c
push esi
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x429102
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x4290ec
mov eax, esp
cmp esi, eax
je 0x42910f
mov eax, esi
call fcn.00406f7c
mov eax, ebx
add esp, 0x208
pop ebp
pop edi
pop esi
pop ebx
ret
push esi
push ebx
mov esi, eax
xor eax, eax
push esi
rol eax, 5
mov bl, byte [esi]
test bl, 0x80
jne 0x429148
cmp bl, 0
je 0x429144
cmp bl, 0x41
jl 0x42913f
cmp bl, 0x5a
jg 0x42913f
or bl, 0x20
xor al, bl
inc esi
jmp 0x429123
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x429088

Function at 0x429a40
Capabilities:
Get geographical location

Disassembly:
push ebx
add esp, 0xfffff800
mov ebx, ecx
mov word [esp], 0
push 0x400
lea ecx, [esp + 4]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW
mov eax, ebx
mov edx, esp
mov ecx, 0x400
call fcn.0040ac44
add esp, 0x800
pop ebx
ret
Function at 0x42c270
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x42c290
sub eax, 4
mov eax, dword [eax]
lea ebx, [edi + esi]
cmp eax, ebx
jg 0x42c2aa
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x42c2a5
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x42c2af
add edi, esi
mov dword [ebp - 8], edi
movzx eax, word [ebp + 0x14]
cmp ax, word [ebp + 0x10]
je 0x42c31d
xor eax, eax
mov dword [ebp - 0xc], eax
cmp esi, dword [ebp - 8]
jge 0x42c366
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x14]
jne 0x42c2db
inc dword [ebp - 0xc]
jmp 0x42c2f3
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x10]
jne 0x42c2f3
cmp dword [ebp - 0xc], 0
jle 0x42c2f3
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0
jne 0x42c315
xor eax, eax
jmp 0x42c311
movzx edi, word [edx + eax*2]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
cmp di, word [ebx + esi*2]
jne 0x42c310
mov eax, esi
jmp 0x42c369
inc eax
cmp eax, ecx
jle 0x42c2fd
inc esi
cmp esi, dword [ebp - 8]
jl 0x42c2c7
jmp 0x42c366
mov byte [ebp - 0xd], 0
cmp esi, dword [ebp - 8]
jge 0x42c366
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x14]
jne 0x42c33e
movzx eax, byte [ebp - 0xd]
xor al, 1
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
jne 0x42c360
xor eax, eax
jmp 0x42c35c
movzx edi, word [edx + eax*2]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
cmp di, word [ebx + esi*2]
jne 0x42c35b
mov eax, esi
jmp 0x42c369
inc eax
cmp eax, ecx
jle 0x42c348
inc esi
cmp esi, dword [ebp - 8]
jl 0x42c326
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x42c558
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov word [ebp - 0xa], cx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
test eax, eax
je 0x42c577
sub eax, 4
mov eax, dword [eax]
mov esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x42c587
sub eax, 4
mov eax, dword [eax]
mov ebx, eax
sub ebx, dword [ebp + 8]
sub ebx, esi
inc ebx
cmp dword [ebp + 8], 0
jl 0x42c6a9
test ebx, ebx
jl 0x42c6a9
test esi, esi
jle 0x42c6a9
mov eax, dword [ebp - 8]
call fcn.0040aba8
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.0040aba8
mov ecx, eax
mov eax, dword [ebp + 8]
add eax, eax
add ecx, eax
movzx eax, word [ebp - 0xa]
cmp ax, word [ebp + 0xc]
je 0x42c646
xor eax, eax
mov dword [ebp - 0x14], eax
test ebx, ebx
jl 0x42c6a9
inc ebx
mov dword [ebp - 0x1c], ebx
xor edx, edx
xor eax, eax
jmp 0x42c62b
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp - 0xa]
jne 0x42c5fa
inc dword [ebp - 0x14]
jmp 0x42c60a
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp + 0xc]
jne 0x42c60a
dec dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0
jle 0x42c615
or eax, 0xffffffff
jmp 0x42c62b
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
mov edi, dword [ebp - 0x10]
cmp bx, word [edi + eax*2]
jne 0x42c628
inc eax
jmp 0x42c62b
or eax, 0xffffffff
test eax, eax
jl 0x42c633
cmp esi, eax
jg 0x42c5e8
cmp esi, eax
jg 0x42c63e
mov eax, edx
add eax, dword [ebp + 8]
jmp 0x42c6ac
inc edx
dec dword [ebp - 0x1c]
jne 0x42c5e4
jmp 0x42c6a9
mov byte [ebp - 0x15], 0
test ebx, ebx
jl 0x42c6a9
inc ebx
mov dword [ebp - 0x1c], ebx
xor edx, edx
xor eax, eax
jmp 0x42c690
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp - 0xa]
jne 0x42c66f
movzx ebx, byte [ebp - 0x15]
xor bl, 1
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x42c67a
or eax, 0xffffffff
jmp 0x42c690
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
mov edi, dword [ebp - 0x10]
cmp bx, word [edi + eax*2]
jne 0x42c68d
inc eax
jmp 0x42c690
or eax, 0xffffffff
test eax, eax
jl 0x42c698
cmp esi, eax
jg 0x42c658
cmp esi, eax
jg 0x42c6a3
mov eax, edx
add eax, dword [ebp + 8]
jmp 0x42c6ac
inc edx
dec dword [ebp - 0x1c]
jne 0x42c654
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x43b580
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov dl, 0xb5
mov ebx, eax
xor eax, eax
mov ecx, eax
mov esi, ebx
shr esi, cl
mov ecx, esi
and cl, 0xff
xor dl, cl
inc eax
cmp eax, 4
jne 0x43b588
mov eax, edx
pop esi
pop ebx
ret

Function at 0x43e1cc
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebx
add edx, eax
cmp edx, eax
jbe 0x43e1e3
movzx ebx, byte [eax]
xor ecx, ebx
imul ecx, ecx, 0x1000193
inc eax
cmp edx, eax
ja 0x43e1d3
mov eax, ecx
pop ebx
ret
Function at 0x4b177c
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, eax
or dl, byte [ebx + 0xd]
je 0x4b17bf
cmp byte [ebx + 0x11], 0
jne 0x4b17bf
cmp byte [ebx + 0x24], 0
jne 0x4b17bf
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 0x4b17d6
mov ecx, dword [0x4d2ba0]
mov dl, 1
mov eax, dword [0x484a00]
call fcn.00427000
call fcn.004097bc
pop ebx
ret
mov ecx, dword [0x4d2ba0]
mov dl, 1
mov eax, dword [0x484a00]
call fcn.00427000
call fcn.004097bc
pop ebx
ret

Function at 0x4b2144
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0xf]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x4b2192
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xf], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.004b1628
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b21ab
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4b21b4
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.004b1628
dec esi
jne 0x4b21d6
mov byte [ebx + 0xf], 0
pop esi
pop ebx
ret
Function at 0x402b20
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x408044
call sym._EnterCriticalSection_4
mov ebx, dword [0x40803c]
sub esp, 4
test ebx, ebx
je 0x402b6b
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sym._TlsGetValue_4
sub esp, 4
mov esi, eax
call sym._GetLastError_0
test eax, eax
jne 0x402b64
test esi, esi
je 0x402b64
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x402b40
mov dword [esp], 0x408044
call sym._LeaveCriticalSection_4
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x402d50
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x17
mov dword [esp + 4], 1
lea esi, [esp + 0x24]
mov dword [esp], str.Mingw_runtime_failure:_n
lea ebx, [eax + 0x40]
mov dword [esp + 0xc], ebx
call sym._fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._vfprintf
call sym._abort
lea esi, [esi]

Function at 0x402da0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push edi
mov edi, ecx
push esi
push ebx
mov ebx, eax
mov esi, edx
sub esp, 0x4c
lea eax, [esp + 0x24]
mov dword [esp + 8], 0x1c
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._VirtualQuery_12
sub esp, 0xc
test eax, eax
je 0x402e78
mov eax, dword [esp + 0x38]
cmp eax, 0x40
je 0x402dde
cmp eax, 4
jne 0x402e00
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sym._memcpy
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x30]
lea ebp, [esp + 0x20]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov edx, dword [esp + 0x38]
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 0x1c], edx
call sym._memcpy
mov edx, dword [esp + 0x1c]
cmp edx, 0x40
je 0x402dee
cmp edx, 4
je 0x402dee
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.00402d50
Function at 0x4022c2
Capabilities:
Terminate process

Disassembly:
push 0x14
push 0x403f18
call fcn.0040281c
push 1
call fcn.00402599
pop ecx
test al, al
jne 0x402179
push 7
call fcn.00402a30
xor bl, bl
mov byte [ebp - 0x19], bl
and dword [ebp - 4], 0
call fcn.00402564
mov byte [ebp - 0x24], al
mov eax, dword [0x405338]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x402172
test eax, eax
jne 0x4021e3
mov dword [0x405338], ecx
push 0x4032a4
push 0x40328c
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x4021c6
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x4022bc
push 0x403288
push 0x403274
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
pop ecx
pop ecx
mov dword [0x405338], 2
jmp 0x4021e8
mov bl, cl
mov byte [ebp - 0x19], bl
push dword [ebp - 0x24]
call fcn.00402706
pop ecx
call fcn.00402a24
mov esi, eax
xor edi, edi
cmp dword [esi], edi
je 0x402218
push esi
call fcn.0040267c
pop ecx
test al, al
je 0x402218
push edi
push 2
push edi
mov esi, dword [esi]
mov ecx, esi
call fcn.004027cc
call esi
call fcn.00402a2a
mov esi, eax
cmp dword [esi], edi
je 0x402236
push esi
call fcn.0040267c
pop ecx
test al, al
je 0x402236
push dword [esi]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__register_thread_local_exe_atexit_callback
pop ecx
call fcn.00402b46
movzx eax, ax
push eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__get_wide_winmain_command_line
push eax
push edi
push 0x400000
call main
mov esi, eax
call fcn.00402b79
test al, al
jne 0x402261
push esi
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
test bl, bl
jne 0x40226a
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
push edi
push 1
call fcn.00402723
pop ecx
pop ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x4022bc
call fcn.00402861
ret
call fcn.0040200b
jmp 0x40215a

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x1002c1e
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x28
push 0x10013e0
call fcn.01002e18
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp word [eax], 0x5a4d
jne 0x1002c59
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1002c59
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x1002c71
cmp eax, 0x20b
je 0x1002c5e
mov dword [ebp - 0x1c], edi
jmp 0x1002c85
cmp dword [ecx + 0x84], 0xe
jbe 0x1002c59
xor eax, eax
cmp dword [ecx + 0xf8], edi
jmp 0x1002c7f
cmp dword [ecx + 0x74], 0xe
jbe 0x1002c59
xor eax, eax
cmp dword [ecx + 0xe8], edi
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], edi
push 1
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x1007068], 0xffffffff
or dword [0x100706c], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x100704c]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x1007048]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x1007070], eax
call fcn.01002e10
cmp dword [0x1007030], edi
jne 0x1002ce0
push fcn.01002e10
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.01002df9
push 0x1007010
push 0x100700c
call sub.msvcrt.dll__initterm
mov eax, dword [0x1007044]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [0x1007040]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.msvcrt.dll___wgetmainargs]
mov dword [ebp - 0x34], eax
push 0x1007008
push section..data
call sub.msvcrt.dll__initterm
mov eax, dword [ebp - 0x20]
mov ecx, dword [sym.imp.msvcrt.dll___winitenv]
mov dword [ecx], eax
push dword [ebp - 0x20]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call fcn.01002550
add esp, 0x30
mov esi, eax
mov dword [ebp - 0x38], esi
cmp dword [ebp - 0x1c], edi
jne 0x1002d57
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x1002d8c
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.01002e53
ret
Function at 0x100433a
Capabilities:
Check for time delay via gettickcount
Create http request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x10070b8]
mov ecx, dword [ebp + 8]
and dword [ebp - 0x210], 0
push ebx
mov dword [ebp - 4], eax
push esi
push edi
xor eax, eax
lea edi, [ebp - 0x228]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor ebx, ebx
stosd dword es:[edi], eax
inc ebx
test ecx, ecx
mov dword [ebp - 0x218], ecx
stosd dword es:[edi], eax
je 0x100440f
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.01005b02
cmp word [ebp - 0x20c], 0
je 0x100440f
xor esi, esi
xor edi, edi
push dword [edi + 0x1007020]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x10043b7
add edi, 0x24
inc esi
cmp edi, 0x90
jb 0x1004394
cmp esi, 4
jae 0x10043e9
lea eax, [ebp - 0x20c]
push eax
push 0x1001f78
push 0
push 0x557
push reloc.KERNEL32.dll_WritePrivateProfileSectionW
call fcn.01005834
add esp, 0x14
mov dword [ebp + esi*4 - 0x228], ebx
mov dword [ebp - 0x210], ebx
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.01005b02
cmp word [ebp - 0x20c], 0
jne 0x1004390
cmp dword [ebp - 0x210], 0
jne 0x100441b
mov eax, ebx
lea edi, [ebp - 0x228]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov ebx, 0x1007020
lea edi, [ebp - 0x228]
mov dword [ebp - 0x214], 4
xor esi, esi
cmp dword [edi], esi
je 0x10044b0
mov dword [0x1007300], ebx
push dword [ebx + 8]
call fcn.010042b0
test eax, eax
jne 0x1004462
push 0x1001f10
push esi
push 0x576
push reloc.KERNEL32.dll_WritePrivateProfileSectionW
call fcn.01005834
add esp, 0x10
jmp 0x10044b0
cmp dword [ebp - 0x210], esi
mov eax, dword [0x1007300]
jne 0x1004475
cmp dword [eax + 4], 0xfffffffe
je 0x10044b0
mov esi, dword [eax + 4]
cmp esi, 0xfffffffe
jne 0x100447f
xor esi, esi
call dword [eax + 0x1c]
cmp eax, 0xfffffffe
je 0x10044b0
cmp esi, 0xffffffff
je 0x10044a0
push 0xc9
push 0x2a69c000
push 0
push esi
call fcn.01005740
jmp 0x10044a9
push eax
mov eax, dword [0x1007300]
call dword [eax + 0x18]
push edx
push eax
call fcn.01003de9
add edi, 4
add ebx, 0x24
dec dword [ebp - 0x214]
jne 0x1004430
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.01005458
leave
ret 4