joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402b14
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x41300c]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x402bac
push 0x80000002
call fcn.00401068
test eax, eax
jne 0x402b8c
xor eax, eax
push ebp
push 0x402b85
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x402bc8
mov eax, dword [ebp - 4]
push eax
call fcn.00401070
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x402b8c
mov eax, dword [ebp - 4]
push eax
call fcn.00401060
ret
mov ax, word [0x41300c]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x41300c], ax
mov esp, ebp
pop ebp
ret

Function at 0x403214
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x414034], 0
je 0x403275
cmp word [0x414208], 0xd7b2
jne 0x40323d
cmp dword [0x414210], 0
jbe 0x40323d
mov eax, 0x414204
call dword [0x414220]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x413054
push 0xfffffffffffffff5
call entry0
push eax
call fcn.00401020
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40329c
push 0xfffffffffffffff5
call entry0
push eax
call fcn.00401020
pop edx
ret
cmp byte [0x413018], 0
jne 0x403291
push 0
push 0x41304c
push 0x413054
push 0
call fcn.00401030
pop edx
ret

Function at 0x403bd0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x403c36
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call fcn.00401048
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00403538
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.004029a8
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x403c20
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403c3d
lea eax, [ebp - 0x10]
call fcn.00403398
ret

Function at 0x404c84
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
add esp, 0xfffffdec
mov esi, edx
mov ebx, eax
test ebx, ebx
jne 0x404cb4
push 0x20a
lea eax, [esp + 0xc]
push eax
push 0
call fcn.00404358
mov ecx, eax
lea edx, [esp + 8]
mov eax, esi
call fcn.00403708
jmp 0x404d24
call fcn.00404348
mov dword [esp], eax
mov eax, dword [esp]
call fcn.00404c0c
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
call fcn.00404c28
mov dword [esp], eax
dec ebx
test ebx, ebx
jge 0x404cbc
mov eax, dword [esp]
sub eax, dword [esp + 4]
sar eax, 1
jns 0x404ce7
adc eax, 0
cmp eax, 2
jl 0x404d0b
mov eax, dword [esp + 4]
cmp word [eax], 0x22
jne 0x404d0b
mov eax, dword [esp]
sub eax, 2
cmp word [eax], 0x22
jne 0x404d0b
add dword [esp + 4], 2
sub dword [esp], 2
mov ecx, dword [esp]
sub ecx, dword [esp + 4]
sar ecx, 1
jns 0x404d19
adc ecx, 0
mov eax, esi
mov edx, dword [esp + 4]
call fcn.00403708
add esp, 0x214
pop esi
pop ebx
ret
Function at 0x404d30
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00403794
push eax
call fcn.00404350
cmp eax, 0xffffffff
je 0x404d49
test al, 0x10
je 0x404d4d
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x404f80
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf4
push ebx
xor edx, edx
mov dword [ebp - 0x20c], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x404fea
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x104
lea eax, [ebp - 0x208]
push eax
call fcn.00404368
lea eax, [ebp - 0x20c]
lea edx, [ebp - 0x208]
call fcn.0040373c
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.00404e24
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x404ff1
lea eax, [ebp - 0x20c]
call fcn.004036a0
ret

Function at 0x404ff8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf4
push ebx
xor edx, edx
mov dword [ebp - 0x20c], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x405062
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x104
lea eax, [ebp - 0x208]
push eax
call fcn.00404370
lea eax, [ebp - 0x20c]
lea edx, [ebp - 0x208]
call fcn.0040373c
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.00404e24
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405069
lea eax, [ebp - 0x20c]
call fcn.004036a0
ret

Function at 0x4050e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
add eax, 0xfffffff8
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
push eax
mov eax, dword [ebp + 8]
add eax, 0xfffffffc
push eax
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
call fcn.00403794
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
push eax
call fcn.00404320
test eax, eax
sete al
pop ebp
ret

Function at 0x405184
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
test ebx, ebx
je 0x4051ba
mov eax, esi
call fcn.004037a4
inc eax
add eax, eax
push eax
mov eax, esi
call fcn.00403794
push eax
push 1
push 0
mov eax, edi
call fcn.00403794
push eax
push ebx
call fcn.00404328
test eax, eax
je 0x4051be
xor eax, eax
jmp 0x4051c0
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x405340
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 2
add esp, 0xfffff004
push eax
dec eax
jne 0x405349
mov eax, dword [ebp - 4]
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov edi, dword [ebp + 8]
cmp byte [ebx + 0x18], 0
jne 0x4053c7
mov word [ebp - 0x2004], 0
mov eax, dword [ebx + 0x19]
call fcn.00403794
push eax
push 0x1000
lea eax, [ebp - 0x2004]
push eax
mov eax, esi
call fcn.00403794
push eax
mov eax, dword [ebp - 4]
call fcn.00403794
push eax
mov eax, dword [ebx + 0x1d]
call fcn.00403794
push eax
call fcn.00404360
test eax, eax
je 0x4053be
mov eax, edi
lea edx, [ebp - 0x2004]
mov ecx, 0x1000
call fcn.00403778
jmp 0x4053f8
mov eax, edi
call fcn.004036a0
jmp 0x4053f8
mov eax, edi
mov edx, esi
call fcn.004036dc
mov eax, dword [ebx + 0x19]
call fcn.00403794
push eax
mov eax, esi
call fcn.00403794
push eax
mov eax, dword [ebp - 4]
call fcn.00403794
push eax
mov eax, dword [ebx + 0x1d]
call fcn.00403794
push eax
call fcn.00404380
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x407a54
Capabilities:
Get file attributes

Disassembly:
push ebx
push eax
push 0x8001
call fcn.00403f44
xchg ebx, eax
call fcn.00404350
inc eax
je 0x407a6f
dec eax
and al, 0x10
setne al
xchg ebx, eax
push eax
call fcn.00403f44
xchg ebx, eax
pop ebx
ret

Function at 0x40860c
Capabilities:
Hide graphical window

Disassembly:
and byte [eax + 0x27], 0xef
test dl, dl
je 0x408618
or byte [eax + 0x27], 0x10
mov ecx, dword [eax + 0x1c]
jecxz 0x408631
push eax
je 0x408632
call dword [0x413164]
pop eax
push 5
push dword [eax + 0x1c]
call fcn.004040a4
ret
and byte [eax + 0x37], 0xfe
push 0
push ecx
call fcn.004040a4
pop eax
call dword [0x413164]
ret
Function at 0x41204c
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbc4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x43c], ebx
mov dword [ebp - 4], ebx
mov ebx, ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x412184
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x22c]
xor ecx, ecx
mov edx, 0x20a
call fcn.00402988
lea eax, [ebp - 0x436]
xor ecx, ecx
mov edx, 0x20a
call fcn.00402988
mov eax, edi
call fcn.00403794
mov edx, eax
lea eax, [ebp - 0x22c]
call fcn.00406798
mov eax, ebx
call fcn.00403794
mov edx, eax
lea eax, [ebp - 0x436]
call fcn.00406798
mov eax, ebx
call fcn.00407a54
test al, al
jne 0x412124
mov eax, ebx
call fcn.00404ee8
test al, al
jne 0x412124
lea eax, [ebp - 4]
mov edx, dword [0x413384]
mov edx, dword [edx]
call fcn.00403700
push 0x412198
push ebx
push 0x4121a0
lea eax, [ebp - 0x43c]
mov edx, 3
call fcn.00403878
mov ecx, dword [ebp - 0x43c]
lea eax, [ebp - 4]
mov edx, 0x4121ac
call fcn.00404b08
mov edx, 0x10
mov eax, dword [ebp - 4]
call fcn.004044c8
mov dword [ebp - 0x22], esi
mov dword [ebp - 0x1e], 2
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x1a], eax
lea eax, [ebp - 0x436]
mov dword [ebp - 0x16], eax
mov word [ebp - 0x12], 0x95
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x22]
push eax
call fcn.004097bc
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41218b
lea eax, [ebp - 0x43c]
call fcn.004036a0
lea eax, [ebp - 4]
call fcn.004036a0
ret
Function at 0x40d8ee
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x18], 0
and dword [eax + 0x14], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
ret 4

Function at 0x45f874
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
test edi, edi
je 0x45f8ae
cmp ebx, 1
jle 0x45f8ae
lea eax, [ebx - 1]
push esi
mov esi, edi
mov dword [ebp - 4], eax
call fcn.0046ed13
cdq
xor eax, edx
sub eax, edx
cdq
idiv ebx
mov cx, word [esi]
lea eax, [edi + edx*2]
mov dx, word [eax]
mov word [esi], dx
inc esi
inc esi
dec dword [ebp - 4]
mov word [eax], cx
jne 0x45f88a
pop esi
leave
ret 4

Function at 0x46641b
Capabilities:
Enumerate pe sections

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
call dword [0x42620c]
mov edi, dword [esp + 0x18]
xor ebx, ebx
mov dword [esp + 0x10], eax
add edi, 0x14
mov esi, dword [edi - 0x10]
test esi, esi
je 0x466480
mov eax, dword [esp + 0x10]
sub eax, dword [edi]
cmp eax, dword [esi + 0x3c04]
jb 0x466480
and dword [esi + 0x3c0c], 0
mov ebp, dword [esi]
xor eax, eax
mov dword [esi + 0x3c08], 1
mov ax, word [edi + 6]
push 3
push 0
push eax
call dword [0x426490]
mov ecx, esi
push eax
push dword [edi - 4]
call dword [ebp + 4]
mov ecx, dword [esp + 0x18]
mov eax, ebx
call fcn.00466494
inc ebx
add edi, 0x18
cmp ebx, 0x280
jl 0x466433
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4

Function at 0x46d13d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
or dword [ebp - 8], 0xffffffff
push edi
xor edi, edi
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push dword [ebp + 8]
call dword [fcn.0042610c]
cmp eax, 0xffffffff
mov dword [ebp - 0x10], eax
je 0x46d200
push ebx
push esi
mov esi, 0x2000
push esi
call fcn.0046d536
pop ecx
push edi
mov edi, dword [0x426114]
mov ebx, eax
lea eax, [ebp - 4]
push eax
push esi
push ebx
push dword [ebp - 0x10]
call edi
mov eax, dword [ebp - 4]
and dword [ebx + 0x28], 0
mov dword [ebp - 0xc], eax
jmp 0x46d1dd
cmp dword [ebp - 4], 0
mov eax, ebx
jbe 0x46d1ca
mov edx, dword [ebp - 8]
xor ecx, ecx
mov cl, byte [eax]
shr edx, 8
xor ecx, dword [ebp - 8]
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x427458]
xor ecx, edx
inc eax
dec dword [ebp - 4]
mov dword [ebp - 8], ecx
jne 0x46d1a5
push 0
lea eax, [ebp - 4]
push eax
push esi
push ebx
push dword [ebp - 0x10]
call edi
mov eax, dword [ebp - 4]
add dword [ebp - 0xc], eax
cmp dword [ebp - 4], 0
ja 0x46d19d
mov eax, dword [ebp - 8]
xor eax, dword [ebp - 0xc]
push dword [ebp - 0x10]
not eax
mov dword [ebp - 8], eax
call dword [fcn.004261d4]
push ebx
call fcn.0046d41e
pop ecx
pop esi
pop ebx
mov eax, dword [ebp - 8]
pop edi
leave
ret
Function at 0x5d2424
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 0x5d242a
ret

Function at 0x5e1c0c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4341bd
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.005b26d0
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x4341d4
call fcn.005b232c
mov eax, ebx
call fcn.005d0270
mov edi, eax
dec edi
test edi, edi
jl 0x5e1cc4
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.005d0244
mov edx, dword [0x44720c]
call fcn.005b12d8
test al, al
je 0x5e1cc0
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.005d0244
lea edx, [ebp - 0x14]
call fcn.00603b30
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.005b26d0
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.005b23a0
inc esi
dec edi
jne 0x5e1c72
mov al, byte [0x4341d8]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x4341e4
mov eax, dword [ebp - 0xc]
call fcn.005bc060
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.005b20b8
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.00603b30
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x4341d4
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x2f8]
call fcn.00603b30
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x4341d4
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x4341d4
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x4341f0
call fcn.005b7e00
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4341c4
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.005b2044
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.005b2044
lea eax, [ebp - 0x14]
call fcn.005b2020
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.005b2044
ret
Function at 0x636160
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x53ddc0
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x636182
shr eax, 1
xor eax, 0xedb88320
jmp 0x636184
shr eax, 1
dec edx
jne 0x636170
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x636169
mov byte [0x53e1c0], 1
pop esi
pop ebx
ret

Function at 0x6361a0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x53e1c0], 0
jne 0x6361b7
call fcn.00636160
mov eax, edi
dec eax
test eax, eax
jl 0x6361e0
inc eax
xor edx, edx
xor ecx, ecx
mov cl, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x53ddc0]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x6361c1
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x638a00
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov al, byte [eax]
dec al
je 0x638a31
dec al
je 0x638a6d
dec al
je 0x638ab1
dec al
je 0x638b1c
jmp 0x638ba6
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x638ba6
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
mov dl, byte [ecx + edx]
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x638a41
jmp 0x638ba6
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x638ba6
mov esi, 1
mov al, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov dl, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x638a7d
jmp 0x638ba6
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x638ba6
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x638adf
xor ebp, ebp
jmp 0x638af0
mov ecx, esi
sub ecx, edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x638af9
adc eax, 0
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x638ac1
jmp 0x638ba6
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x638ba6
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x638b74
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
mov dl, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
mov cl, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.006361e8
add al, byte [esp]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x638b30
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x673eb4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
mov ebx, eax
push esi
push edi
mov esi, ecx
mov eax, esi
test eax, eax
je 0x673ecd
mov eax, dword [esi - 4]
push eax
push esi
mov esi, edx
mov ecx, esi
test ecx, ecx
je 0x673eda
mov ecx, dword [esi - 4]
add al, cl
inc eax
lea edi, [ebp - 0x100]
mov edx, eax
stosb byte es:[edi], al
mov al, cl
stosb byte es:[edi], al
rep movsb byte es:[edi], byte [esi]
pop esi
pop ecx
rep movsb byte es:[edi], byte [esi]
mov ecx, edx
std
dec edi
mov esi, edi
xor dl, 0xeb
lodsb al, byte [esi]
xor al, dl
stosb byte es:[edi], al
loop 0x673ef8
cld
pop edi
pop esi
xor ecx, ecx
mov cl, byte [ebp - 0x100]
inc ecx
lea edx, [ebp - 0x100]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0x10]
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x673f1c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe7c
push ebx
push esi
push edi
mov dword [ebp - 0x184], ecx
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0x80]
mov ecx, 1
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
xor ecx, ecx
mov cl, byte [ebp - 0x80]
lea edx, [ebp - 0x7f]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0xc]
push esi
push edi
xor eax, eax
lea esi, [ebp - 0x80]
lodsb al, byte [esi]
push esi
push eax
mov ecx, eax
mov edx, eax
mov edi, esi
xor dl, 0xeb
lodsb al, byte [esi]
xor al, dl
stosb byte es:[edi], al
loop 0x673f63
pop eax
pop esi
lea edi, [ebp - 0x100]
mov cl, byte [esi]
inc ecx
sub eax, ecx
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x180]
stosb byte es:[edi], al
mov ecx, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
mov eax, esi
lea edx, [ebp - 0x100]
call fcn.005b2284
mov eax, dword [ebp - 0x184]
lea edx, [ebp - 0x180]
call fcn.005b2284
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x404506
Capabilities:
Packed with generic packer

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
xor edi, edi
mov ebx, ecx
mov dword [ebp - 8], edi

Function at 0x4045c1
Capabilities:
Packed with generic packer

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [0x42607c]
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, edx
push edi
mov edi, ecx
mov dword [0x4260e8], edi
cmp eax, esi
jbe 0x404620
mov edi, edi
mov edx, dword [0x426080]
test edx, edx
je 0x404620
mov ecx, dword [edx + 4]
dec eax
push edx
mov dword [edx], 0
push 0
mov dword [0x426080], ecx
mov dword [0x42607c], eax
mov dword [edx + 4], 0
call dword [0x4422e4]
push eax
call dword [0x4422d8]
mov eax, dword [0x42607c]
cmp eax, esi
ja 0x4045e1
xor esi, esi
cmp esi, 1
ja 0x404636
mov eax, dword [esi*4 + 0x426504]
test eax, eax
jne 0x414187
inc esi
cmp esi, 2
jl 0x404622
xor eax, eax
mov dword [0x4260fc], edi
push eax
push 0x426560
mov dword [0x426100], ebx
mov word [0x43d802], ax
mov dword [0x426108], 0x43d802
mov dword [0x42610c], 0x43d802
call fcn.0040392d
add esp, 8
test eax, eax
jne 0x4046c3
xor ecx, ecx
mov dword [0x4260e0], eax
mov dword [0x4260e4], eax
call fcn.00404128
mov esi, eax
test esi, esi
je 0x4061c6
call fcn.004046cf
test eax, eax
je 0x4046aa
xor ecx, ecx
call fcn.0040441e
cmp eax, 0xa
jne 0x41d937
mov dword [str.AMPM], 0
cmp byte [0x441810], 0
jne 0x416988
mov eax, esi
pop edi
pop esi
pop ebx
pop ebp
ret 4
mov dword [str.AMPM], 1
jmp 0x4046b4
add byte [eax - 0xbffbf96], bl

Function at 0x4048d4
Capabilities:
Packed with generic packer

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push edi
push esi
call dword [0x4420e0]
pop ecx
mov edi, eax
push edi
call dword [0x442208]
and eax, 0xffff7fff
cmp eax, 2
je 0x404b53
and dword [0x4260c0], 0
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
sub esi, 0
je 0x4098d5
dec esi
jne 0x405180
push 0xfffffffffffffff5
call dword [0x44227c]
mov edi, eax
push ebx
mov ebx, 0x4261a4
push ebx
call dword [0x442318]
lea eax, [ebp - 4]
push eax
push edi
call dword [0x4421b0]
push ebx
mov esi, eax
call dword [0x442300]
xor eax, eax
inc eax
pop ebx
test esi, esi
je 0x4085e5
test byte [ebp - 4], 7
je 0x41dc63
mov dword [0x4260c0], eax
jmp 0x404906
dec esi
jne 0x404b6d
push 0xfffffffffffffff4
jmp 0x404b65
and dword [0x4260c0], 0
jmp 0x404906
push 0xfffffffffffffff6
jmp 0x404b65
or al, byte [eax - 0x16]
inc ecx
add byte [edx], al
add byte [ebx], cl
inc esp
jae 0x41dce3
imul ebp, dword [esi + 0x61], 0x6e6f6974
add al, byte [eax]
push ss
push es
Function at 0x406c37
Capabilities:
Check http status code

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, dword [0x426054]
xor ebx, ebx
mov dword [ebp - 8], ecx
push edi
mov edi, edx
test esi, esi
je 0x40f83d
mov dword [ebp - 4], ebx
cmp dword [0x426144], 0xc8
test dword [eax], 0x73685203
add al, byte [eax]
add al, byte [eax]
or esp, dword [eax]
fsub qword [ebp]