joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ff10
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4bc0de
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4fcc8c]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push ebp
push edi
mov eax, dword [0x4fcc8c]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
xor ebx, ebx
mov ebp, 0xf
mov dword [esi + 0x18], ebp
mov dword [esi + 0x14], ebx
mov dword [esp + 0x10], esi
mov byte [esi + 4], bl
lea edi, [esi + 0x24]
mov dword [esp + 0x54], ebx
call fcn.0040fd60
xor eax, eax
mov dword [esi + 0x48], 7
mov dword [esi + 0x44], ebx
mov word [esi + 0x34], ax
mov eax, 0x200000
push 0x32
mov byte [esp + 0x58], 2
push str.https:__ko_kr_update.altools.com_commonmodule.asmx
mov ecx, esi
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
call fcn.0040f0f0
mov ecx, dword [esi + 0x28]
mov dword [ecx + 0x38], ebp
mov edx, dword [esi + 0x28]
mov dword [edx + 0x30], ebp
mov eax, dword [esi + 0x28]
mov dword [eax + 0x2c], ebp
mov ecx, dword [esi + 0x28]
mov dword [ecx + 0x34], ebp
mov cl, 0x74
mov byte [esp + 0x14], cl
mov byte [esp + 0x23], cl
mov byte [esp + 0x27], cl
mov cl, 0x31
mov al, 0x6c
mov dl, 0x6b
mov byte [esp + 0x2c], cl
mov byte [esp + 0x2e], cl
mov cl, 0x30
mov byte [esp + 0x15], 0x62
mov byte [esp + 0x16], 0x63
mov byte [esp + 0x17], 0x6d
mov byte [esp + 0x18], 0x65
mov byte [esp + 0x19], 0x66
mov byte [esp + 0x1a], 0x64
mov byte [esp + 0x1b], 0x68
mov byte [esp + 0x1c], 0x69
mov byte [esp + 0x1d], 0x6e
mov byte [esp + 0x1e], dl
mov byte [esp + 0x1f], al
mov byte [esp + 0x20], al
mov byte [esp + 0x21], 0x6e
mov byte [esp + 0x22], 0x6f
mov byte [esp + 0x24], 0x71
mov byte [esp + 0x25], 0x72
mov byte [esp + 0x26], 0x6d
mov byte [esp + 0x28], 0x75
mov byte [esp + 0x29], 0x35
mov byte [esp + 0x2a], 0x77
mov byte [esp + 0x2b], 0x78
mov byte [esp + 0x2d], 0x7a
mov byte [esp + 0x2f], 0x67
mov byte [esp + 0x30], 0x33
mov byte [esp + 0x31], 0x34
mov byte [esp + 0x32], dl
mov byte [esp + 0x33], 0x36
mov byte [esp + 0x34], 0x37
mov byte [esp + 0x35], 0x64
mov byte [esp + 0x36], 0x39
mov byte [esp + 0x37], cl
mov byte [esp + 0x38], al
mov byte [esp + 0x39], 0x65
mov byte [esp + 0x3a], 0x66
mov byte [esp + 0x3b], 0x65
mov byte [esp + 0x3c], 0x68
mov byte [esp + 0x3d], 0x69
mov byte [esp + 0x3e], al
mov byte [esp + 0x3f], dl
mov byte [esp + 0x41], cl
mov byte [esp + 0x44], cl
mov byte [esp + 0x40], al
mov byte [esp + 0x42], 0x6e
mov byte [esp + 0x43], 0x6f
mov byte [esp + 0x45], 0x71
mov byte [esp + 0x46], 0x72
mov ecx, 0x3c7f
xor edx, edx
lea edi, [esp + 0x14]
jmp 0x4100b0
mov eax, ecx
shr eax, 8
xor al, byte [edi]
inc edx
mov byte [esi + edx + 0x4b], al
movsx eax, al
add eax, ecx
imul eax, eax, 0x2bf041
add eax, 0x583b
add edi, 3
cmp edx, 0x11
mov ecx, eax
jl 0x4100b0
mov eax, esi
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.004913be
add esp, 0x48
ret
Function at 0x422b60
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x19c
mov eax, dword [0x4fcc8c]
xor eax, esp
mov dword [esp + 0x194], eax
lea eax, [esp]
push eax
push 0x101
call sub.WSOCK32.dll_WSAStartup
test eax, eax
je 0x422b9e
or eax, 0xffffffff
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.004913be
add esp, 0x19c
ret
mov ecx, dword [esp + 0x194]
xor ecx, esp
mov dword [0x5046bc], 1
xor eax, eax
call fcn.004913be
add esp, 0x19c
ret

Function at 0x42c170
Capabilities:
Encode data using base64

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov esi, ecx
push edi
mov ebx, eax
mov edi, edx
test esi, esi
jne 0x42c1b6
lea ecx, [ebx + 2]
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [eax*4 + 1]
call fcn.00424a70
mov esi, eax
test esi, esi
jne 0x42c1b6
mov dword [edi + 0x16138], 0x10
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
mov dword [esp + 0x10], esi
mov byte [esi], 0
test ebp, ebp
jne 0x42c1c9
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
pop ecx
ret
cmp ebx, 2
jle 0x42c231
lea ecx, [ebx - 3]
mov eax, 0xaaaaaaab
mul ecx
mov edi, edx
shr edi, 1
inc edi
lea edx, [edi*4]
sub edx, edi
neg edx
add ebx, edx
lea ebx, [ebx]
movzx eax, byte [ebp]
movzx ecx, byte [ebp + 1]
movzx edx, byte [ebp + 2]
shl eax, 8
or eax, ecx
shl eax, 8
or eax, edx
mov ecx, 4
jmp 0x42c210
mov edx, eax
and edx, 0x3f
mov dl, byte [edx + 0x4e6470]
dec ecx
shr eax, 6
mov byte [ecx + esi], dl
test ecx, ecx
jg 0x42c210
add esi, 4
add ebp, 3
sub edi, 1
jne 0x42c1f0
mov byte [esi], 0
test ebx, ebx
jle 0x42c29d
xor ecx, ecx
xor eax, eax
test ebx, ebx
jle 0x42c258
mov edx, ebx
mov eax, ebx
movzx edi, byte [ebp]
shl ecx, 8
or ecx, edi
inc ebp
sub edx, 1
jne 0x42c244
cmp ebx, 3
jge 0x42c269
mov edx, 3
sub edx, eax
add eax, edx
shl ecx, 8
sub edx, 1
jne 0x42c261
inc eax
test eax, eax
jle 0x42c286
mov edi, edi
mov edx, ecx
and edx, 0x3f
mov dl, byte [edx + 0x4e6470]
dec eax
shr ecx, 6
mov byte [eax + esi], dl
test eax, eax
jg 0x42c270
mov eax, 3
cmp ebx, eax
jge 0x42c299
nop
mov byte [eax + esi], 0x3d
dec eax
cmp eax, ebx
jg 0x42c290
mov byte [esi + 4], 0
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x42dc40
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4ba73b
mov eax, dword fs:[0]
push eax
sub esp, 0x834
mov eax, dword [0x4fcc8c]
xor eax, esp
mov dword [esp + 0x830], eax
push esi
push edi
mov eax, dword [0x4fcc8c]
xor eax, esp
push eax
lea eax, [esp + 0x840]
mov dword fs:[0], eax
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0xc]
push eax
mov esi, ecx
mov edi, edx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
xor ecx, ecx
push 0x7fe
push ecx
lea edx, [esp + 0x46]
push edx
mov word [esp + 0x48], cx
call fcn.004982b0
movzx eax, word [esp + 0x24]
movzx ecx, word [esp + 0x22]
movzx edx, word [esp + 0x20]
push esi
push eax
movzx eax, word [esp + 0x26]
push ecx
movzx ecx, word [esp + 0x26]
push edx
movzx edx, word [esp + 0x28]
push eax
push ecx
push edx
push str._.4d._.2d._.2d__.2d:_.2d:_.2d___s__
lea eax, [esp + 0x68]
push 0x400
push eax
call fcn.00491e56
add esp, 0x34
xor ecx, ecx
lea eax, [esp + 0x3c]
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], 0
mov word [esp + 0x24], cx
lea edx, [eax + 2]
jmp 0x42dd10
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42dd10
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x40]
lea esi, [esp + 0x24]
call fcn.004012c0
mov eax, edi
mov dword [esp + 0x848], 0
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42dd40
sub eax, edx
sar eax, 1
push eax
mov eax, edi
lea ecx, [esp + 0x24]
call fcn.004017a0
push 2
mov eax, 0x4eadbc
lea ecx, [esp + 0x24]
call fcn.004017a0
cmp dword [esp + 0x38], 8
mov edx, dword [esp + 0x24]
jae 0x42dd7a
lea edx, [esp + 0x24]
mov edi, dword [0x5046c0]
test edi, edi
je 0x42ddb2
mov eax, edx
mov dword [esp + 0x1c], 0
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42dd91
sub eax, esi
push 0
sar eax, 1
lea ecx, [esp + 0x20]
push ecx
add eax, eax
push eax
push edx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [esp + 0x38], 8
jb 0x42ddc6
mov ecx, dword [esp + 0x24]
push ecx
call fcn.004913b3
add esp, 4
mov ecx, dword [esp + 0x840]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x830]
xor ecx, esp
call fcn.004913be
add esp, 0x840
ret
Function at 0x42e2f0
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x4ba6bb
mov eax, dword fs:[0]
push eax
sub esp, 0x14c
mov eax, dword [0x4fcc8c]
xor eax, esp
mov dword [esp + 0x148], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4fcc8c]
xor eax, esp
push eax
lea eax, [esp + 0x160]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
cmp esi, ebx
jne 0x42e33a
xor al, al
jmp 0x42e400
push 0x114
lea eax, [esp + 0x48]
push ebx
push eax
call fcn.004982b0
add esp, 0xc
lea ecx, [esp + 0x44]
push ecx
mov dword [esp + 0x48], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0x48], 5
jbe 0x42e333
mov edx, dword [0x4bd30c]
mov eax, dword [0x4bd310]
mov ecx, dword [0x4bd314]
mov dword [esp + 0x34], edx
mov edx, dword [0x4bd318]
push str.shell32.dll
mov dword [esp + 0x18], ebx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebp, eax
push str.SHGetKnownFolderPath
push ebp
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x42e3fe
lea ecx, [esp + 0x14]
push ecx
push ebx
push ebx
lea edx, [esp + 0x40]
push edx
call eax
test eax, eax
jl 0x42e3f7
mov eax, dword [esp + 0x14]
push eax
lea edi, [esp + 0x1c]
call fcn.0042f2f0
add esp, 4
push 0xffffffffffffffff
push ebx
mov ecx, esi
mov dword [esp + 0x170], ebx
call fcn.00401370
mov esi, edi
call fcn.0040d2c0
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov bl, 1
push ebp
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov al, bl
mov ecx, dword [esp + 0x160]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x148]
xor ecx, esp
call fcn.004913be
add esp, 0x158
ret

Function at 0x42e450
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x20c
mov eax, dword [0x4fcc8c]
xor eax, esp
mov dword [esp + 0x208], eax
push esi
mov esi, ecx
push 0x26
push esi
call fcn.0042e1e0
add esp, 8
test al, al
jne 0x42e4e9
test esi, esi
jne 0x42e492
xor al, al
pop esi
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.004913be
add esp, 0x20c
ret
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0xe]
push ecx
mov word [esp + 0x10], ax
call fcn.004982b0
add esp, 0xc
push 0x104
lea edx, [esp + 8]
push edx
push str._ProgramFiles_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
jne 0x42e47a
lea eax, [esp + 4]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42e4d0
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 8]
call fcn.004012c0
mov ecx, dword [esp + 0x20c]
pop esi
xor ecx, esp
mov al, 1
call fcn.004913be
add esp, 0x20c
ret
Function at 0x430350
Capabilities:
Check if file exists
Get file attributes
Get file version info

Disassembly:
push 0xffffffffffffffff
push 0x4ba55b
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x4fcc8c]
xor eax, esp
mov dword [esp + 0x274], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4fcc8c]
xor eax, esp
push eax
lea eax, [esp + 0x28c]
mov dword fs:[0], eax
xor ebx, ebx
mov edi, edx
mov dword [esp + 0x18], ebx
cmp dword [edi + 0x18], 8
mov esi, ecx
lea ebp, [edi + 4]
jb 0x4303a3
mov eax, dword [ebp]
jmp 0x4303a5
mov eax, ebp
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4303d1
xor eax, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
mov word [esi + 4], ax
push ebx
mov eax, 0x4e823c
call fcn.004012c0
jmp 0x430538
xor ecx, ecx
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], ebx
mov word [esp + 0x28], cx
mov dword [esp + 0x294], ebx
cmp dword [edi + 0x18], 8
jb 0x4303f6
mov eax, dword [ebp]
jmp 0x4303f8
mov eax, ebp
lea edx, [esp + 0x20]
push edx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x430502
xor ecx, ecx
lea eax, [ebx + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00432007
add esp, 4
cmp dword [edi + 0x18], 8
mov dword [esp + 0x14], eax
jb 0x430436
mov ebp, dword [ebp]
push eax
mov eax, dword [esp + 0x24]
push ebx
push eax
push ebp
call sub.VERSION.dll_GetFileVersionInfoW
mov edi, dword [esp + 0x14]
test eax, eax
je 0x4304f9
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x20]
push edx
push 0x4eb0a0
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4304f9
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x8a]
push ecx
mov word [esp + 0x8c], ax
call fcn.004982b0
mov eax, dword [esp + 0x28]
mov edx, dword [0x501a00]
movzx ecx, word [eax + 2]
push edx
movzx edx, word [eax]
push ecx
push edx
lea eax, [esp + 0x98]
push str.StringFileInfo_04X_04X_s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
xor ecx, ecx
push 0x3e
push ecx
lea edx, [esp + 0x6a]
push edx
mov word [esp + 0x6c], cx
call fcn.004982b0
add esp, 0x2c
lea ecx, [esp + 0x18]
push ecx
lea eax, [esp + 0x44]
lea edx, [esp + 0x18]
mov dword [esp + 0x18], eax
push edx
lea eax, [esp + 0x88]
push eax
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4304f9
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x24]
push ecx
call fcn.00401280
push edi
call fcn.00491fe4
add esp, 4
xor edx, edx
push 0xffffffffffffffff
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], 0
push edx
lea eax, [esp + 0x2c]
mov ecx, esi
mov word [esi + 4], dx
call fcn.00401370
cmp dword [esp + 0x3c], 8
jb 0x430538
mov eax, dword [esp + 0x28]
push eax
call fcn.004913b3
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x28c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x274]
xor ecx, esp
call fcn.004913be
add esp, 0x284
ret
Function at 0x430570
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4bb988
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4fcc8c]
xor eax, esp
mov dword [esp + 0x20], eax
mov eax, dword [0x4fcc8c]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
lea ecx, [esp + 8]
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00430350
mov dword [esp + 0x30], 0
cmp dword [esp + 0x20], 8
mov eax, dword [esp + 0xc]
jae 0x4305cb
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.0042fd20
add esp, 4
cmp dword [esp + 0x20], 8
jb 0x4305ea
mov eax, dword [esp + 0xc]
push eax
call fcn.004913b3
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004913be
add esp, 0x30
ret

Function at 0x430610
Capabilities:
Decode data using base64 via dword translation table

Disassembly:
push ebp
push esi
xor eax, eax
xor ecx, ecx
xor esi, esi
mov ebp, edx
cmp byte [edx], al
je 0x4306ae
push ebx
jmp 0x430630
movsx edx, byte [ebp]
mov edx, dword [edx*4 + 0x501198]
cmp edx, 0xffffffff
je 0x4306a6
cmp esi, 3
ja case.default.0x430645
jmp dword [esi*4 + 0x4306b4]
mov esi, 1
jmp case.default.0x430645
cmp eax, 0x2800
jge 0x43066c
mov ebx, edx
sar ebx, 4
add cl, cl
and bl, 3
add cl, cl
or bl, cl
mov byte [eax + edi], bl
inc eax
mov esi, 2
jmp case.default.0x430645
cmp eax, 0x2800
jge 0x43068b
mov ebx, edx
sar ebx, 2
and bl, 0xf
shl cl, 4
or bl, cl
mov byte [eax + edi], bl
inc eax
mov esi, 3
jmp case.default.0x430645
cmp eax, 0x2800
jge 0x4306a2
shl cl, 6
or cl, dl
mov byte [eax + edi], cl
inc eax
xor esi, esi
mov ecx, edx
inc ebp
cmp byte [ebp], 0
jne 0x430630
pop ebx
pop esi
pop ebp
ret
Function at 0x4306d0
Capabilities:
Encode data using base64

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov edi, eax
lea eax, [edi + ecx - 1]
mov dword [esp + 0x10], eax
mov ebp, dword [esp + 0x28]
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax + eax*2]
sub ecx, edx
neg ecx
sbb ecx, ecx
and ecx, 4
lea eax, [ecx + eax*4 + 1]
push eax
mov byte [esp + 0x2c], 0
mov byte [esp + 0x2d], 0
mov byte [esp + 0x2e], 0
mov dword [esp + 0x24], eax
call fcn.00492e84
xor ebx, ebx
add esp, 4
xor esi, esi
mov dword [ebp], eax
mov dword [esp + 0x14], ebx
mov ecx, edi
mov dword [esp + 0x18], edi
cmp edi, dword [esp + 0x10]
ja 0x43081b
lea ebx, [ebx]
mov eax, 0x55555556
imul ebx
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dl, byte [ecx]
lea eax, [eax + eax*2]
mov edi, ebx
sub edi, eax
mov byte [esp + edi + 0x28], dl
cmp edi, 2
je 0x43076a
cmp ecx, dword [esp + 0x10]
jne 0x430807
mov al, byte [esp + 0x28]
mov cl, byte [esp + 0x29]
mov dl, al
and al, 3
shl al, 4
mov bl, cl
shr bl, 4
or al, bl
mov bl, byte [esp + 0x2a]
mov byte [esp + 0x1d], al
and cl, 0xf
shr dl, 2
add cl, cl
mov al, bl
shr al, 6
movzx edx, dl
mov dl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_http:__schemas.xmlsoap.org_soap_envelope_]
add cl, cl
or cl, al
mov eax, dword [ebp]
mov byte [esi + eax], dl
movzx eax, byte [esp + 0x1d]
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_http:__schemas.xmlsoap.org_soap_envelope_]
mov edx, dword [ebp]
inc esi
mov byte [esi + edx], al
and bl, 0x3f
inc esi
test edi, edi
jne 0x4307c7
mov al, 0x3d
jmp 0x4307d0
movzx ecx, cl
mov al, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_http:__schemas.xmlsoap.org_soap_envelope_]
mov edx, dword [ebp]
mov byte [esi + edx], al
inc esi
cmp edi, 2
jge 0x4307e0
mov al, 0x3d
jmp 0x4307e9
movzx eax, bl
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_http:__schemas.xmlsoap.org_soap_envelope_]
mov ecx, dword [ebp]
mov ebx, dword [esp + 0x14]
mov byte [esi + ecx], al
mov ecx, dword [esp + 0x18]
inc esi
mov byte [esp + 0x2a], 0
mov byte [esp + 0x29], 0
mov byte [esp + 0x28], 0
inc ecx
inc ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ecx
cmp ecx, dword [esp + 0x10]
jbe 0x430740
mov edx, dword [ebp]
mov eax, dword [esp + 0x20]
pop edi
mov byte [esi + edx], 0
pop esi
pop ebp
pop ebx
add esp, 0x14
ret

Function at 0x430830
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
cmp byte [edi + 4], 0
push esi
mov esi, ecx
jne 0x430859
push 0x501190
lea ecx, [esp + 8]
call fcn.004913de
push 0x4ecc6c
lea eax, [esp + 8]
push eax
call fcn.00494ebb
xor ecx, ecx
cmp dword [edi + 0x3cc], ecx
jle 0x430872
mov dl, byte [esi]
xor byte [eax], dl
inc ecx
inc esi
inc eax
cmp ecx, dword [edi + 0x3cc]
jl 0x430863
pop esi
add esp, 0xc
ret
Function at 0x438910
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
mov eax, 0x474
call fcn.004980a0
mov eax, dword [0x4fcc8c]
xor eax, esp
mov dword [esp + 0x470], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [esp + 0x3c], 0
test esi, esi
jne 0x438957
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x470]
xor ecx, esp
call fcn.004913be
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x48]
push eax
push esi
call fcn.00499014
add esp, 8
test eax, eax
jl 0x438940
mov eax, 8
call fcn.004980a0
fldz
fstp qword [esp]
lea ecx, [esp + 0x50]
push 0x30
push ecx
call fcn.00432a90
mov ebx, dword [ebp + 0xc]
add esp, 0x10
test ebx, ebx
je 0x438940
push 0x4eadc4
push esi
call fcn.00493c2b
add esp, 8
mov dword [esp + 0x40], eax
test eax, eax
je 0x438a31
jmp 0x4389b4
mov eax, dword [esp + 0x40]
test ebx, ebx
jle 0x4389c2
cmp ebx, 0x400
mov esi, ebx
jl 0x4389c7
mov esi, 0x400
push eax
push esi
lea edx, [esp + 0x80]
push 1
push edx
call fcn.004946e0
mov edi, eax
add esp, 0x10
mov dword [esp + 0x44], edi
test edi, edi
jle 0x438a15
fild dword [esp + 0x44]
mov eax, 8
call fcn.004980a0
lea eax, [esp + 0x80]
fstp qword [esp]
push esi
push eax
call fcn.00432a90
add dword [esp + 0x4c], edi
add esp, 0x10
test ebx, ebx
jle 0x4389b0
sub ebx, esi
test ebx, ebx
jg 0x4389b0
mov ecx, dword [esp + 0x40]
push ecx
call fcn.00494774
lea edx, [esp + 0x7c]
push 0x400
push edx
call fcn.0044be70
add esp, 0xc
mov ecx, dword [esp + 0x47c]
mov eax, dword [esp + 0x3c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004913be
mov esp, ebp
pop ebp
ret
Function at 0x43c9b0
Capabilities:
Access the windows event log

Disassembly:
mov eax, 0x108
call fcn.004980a0
mov eax, dword [0x4fcc8c]
xor eax, esp
mov dword [esp + 0x104], eax
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
test eax, eax
je 0x43ca15
push eax
call dword [sym.imp.KERNEL32.dll_GetFileType]
test eax, eax
je 0x43ca15
mov ecx, dword [esp + 0x10c]
lea eax, [esp + 0x110]
push eax
push ecx
call fcn.00493076
add eax, 0x40
push eax
call fcn.00499927
add esp, 0xc
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.004913be
add esp, 0x108
ret
mov eax, dword [esp + 0x10c]
lea edx, [esp + 0x110]
push edx
push eax
lea ecx, [esp + 0xc]
push 0xff
push ecx
call fcn.004997ef
add esp, 0x10
mov byte [esp + 0x103], 0
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x43caa4
call fcn.0043c8d0
test eax, eax
jle 0x43caa4
push esi
push str.OPENSSL
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
push 0
mov esi, eax
lea eax, [esp + 8]
push eax
push 0
push 1
push 0
push 0
push 0
push 1
lea edx, [esp + 0x28]
push esi
mov dword [esp + 0x28], edx
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.004913be
add esp, 0x108
ret
push 0x10
push str.OpenSSL:_FATAL
lea ecx, [esp + 0xc]
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.004913be
add esp, 0x108
ret

Function at 0x43cb00
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 0x10]
xor cl, cl
test edi, edi
jbe 0x43cb24
mov eax, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
sub esi, eax
mov dl, byte [esi + eax]
xor dl, byte [eax]
inc eax
or cl, dl
sub edi, 1
jne 0x43cb16
pop esi
movzx eax, cl
pop edi
ret

Function at 0x45f8f3
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x45f92e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x45f915
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x45f926
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x45f930
inc edi
add eax, 0x28
cmp edi, esi
jb 0x45f90b
xor eax, eax
pop edi
pop esi
ret
Function at 0x46a830
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [eax + 4]
push ebx
mov ebx, dword [esp + 0x10]
cmp ecx, dword [ebx + 4]
push esi
push edi
jge 0x46a849
mov edi, ebx
mov ebx, eax
jmp 0x46a84b
mov edi, eax
mov eax, dword [edi + 4]
mov esi, dword [esp + 0x10]
cmp eax, dword [esi + 8]
jg 0x46a85b
mov eax, esi
jmp 0x46a865
push eax
push esi
call fcn.0043abb0
add esp, 8
test eax, eax
jne 0x46a86d
pop edi
pop esi
pop ebx
ret
xor eax, eax
cmp dword [ebx + 4], eax
jle 0x46a889
mov edx, dword [edi]
mov ecx, dword [ebx]
mov edx, dword [edx + eax*4]
xor edx, dword [ecx + eax*4]
mov ecx, dword [esi]
mov dword [ecx + eax*4], edx
inc eax
cmp eax, dword [ebx + 4]
jl 0x46a874
cmp eax, dword [edi + 4]
jge 0x46a8a0
mov edi, edi
mov edx, dword [edi]
mov edx, dword [edx + eax*4]
mov ecx, dword [esi]
mov dword [ecx + eax*4], edx
inc eax
cmp eax, dword [edi + 4]
jl 0x46a890
mov edi, dword [edi + 4]
mov dword [esi + 4], edi
test edi, edi
jle 0x46a8c4
mov eax, dword [esi]
lea eax, [eax + edi*4 - 4]
or ecx, 0xffffffff
mov edx, dword [eax]
sub eax, 4
test edx, edx
jne 0x46a8c4
add dword [esi + 4], ecx
cmp dword [esi + 4], edx
jg 0x46a8b3
pop edi
pop esi
mov eax, 1
pop ebx
ret
Function at 0x4913be
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4fcc8c]
jne 0x4913c8
repz ret
jmp fcn.0049a4df

Function at 0x491dcd
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x491dfe
call fcn.00493353
mov dword [eax], esi
call fcn.00493340
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.004921b4
add esp, 0x14
push 0x16
pop eax
jmp 0x491e53
test dword [ebp + 0xc], 0xfffffff9
jne 0x491dda
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x491e2b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00493366
pop ecx
call fcn.00493340
mov eax, dword [eax]
jmp 0x491e53
test al, 0x10
jne 0x491e51
test al, 1
je 0x491e51
test byte [ebp + 0xc], 2
je 0x491e51
call fcn.00493353
mov dword [eax], 5
call fcn.00493340
mov dword [eax], 0xd
jmp 0x491e22
xor eax, eax
pop esi
pop ebp
ret