joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4063d0
Capabilities:
Get common file path

Disassembly:
mov eax, dword [0x45ee38]
sub esp, 0x310
test eax, eax
push esi
je 0x4063fd
push eax
lea eax, [esp + 8]
push 0x4588e4
push eax
push 0xe6
call fcn.004048b0
add esp, 0x10
jmp 0x406483
call fcn.00405700
test eax, eax
je 0x40643c
lea ecx, [esp + 0x10c]
push ecx
push 0xe6
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea edx, [esp + 0x10c]
push edx
call fcn.00405120
mov esi, eax
add esp, 4
test esi, esi
jne 0x406465
mov eax, 7
pop esi
add esp, 0x310
ret
lea ecx, [esp + 0x10c]
push ecx
push 0xe6
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea edx, [esp + 0x10c]
push edx
call fcn.004050f0
mov esi, eax
add esp, 4
test esi, esi
je 0x40642f
push esi
lea eax, [esp + 8]
push 0x4588e4
push eax
push 0xe6
call fcn.004048b0
push esi
call fcn.0044a212
add esp, 0x14
push str.etilqs_
call fcn.00404b70
lea ecx, [esp + 8]
mov esi, eax
push ecx
call fcn.00404b70
lea edx, [esi + eax + 0x11]
mov esi, dword [esp + 0x320]
add esp, 8
cmp edx, esi
jl 0x4064b8
mov eax, 1
pop esi
add esp, 0x310
ret
lea eax, [esp + 4]
push eax
call fcn.00404b70
add esp, 4
test eax, eax
jbe 0x4064d7
lea ecx, [esp + 4]
dec ecx
cmp byte [ecx + eax], 0x5c
jne 0x4064d7
dec eax
jne 0x4064ce
push ebx
lea ecx, [esp + 8]
push edi
mov edi, dword [esp + 0x324]
push ecx
push str._setilqs_
add esi, 0xffffffef
push edi
push esi
mov byte [esp + eax + 0x1c], 0
call fcn.004048b0
push edi
call fcn.00404b70
mov esi, eax
lea edx, [esi + edi]
push edx
push 0xf
call fcn.004049b0
add esp, 0x1c
mov ecx, 0xf
xor eax, eax
xor edx, edx
mov al, byte [esi + edi]
mov ebx, 0x3e
div ebx
inc esi
dec ecx
mov al, byte [edx + str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
mov byte [esi + edi - 1], al
jne 0x406514
mov byte [esi + edi], 0
pop edi
pop ebx
xor eax, eax
pop esi
add esp, 0x310
ret

Function at 0x406810
Capabilities:
Get disk size

Disassembly:
sub esp, 0x110
mov ecx, dword [esp + 0x118]
mov edx, dword [esp + 0x114]
lea eax, [esp + 8]
push esi
push eax
push 0x104
push ecx
push edx
mov dword [esp + 0x18], 0x200
call fcn.00406740
add esp, 0x10
test eax, eax
jne 0x4068f9
lea eax, [esp + 0xc]
push eax
call fcn.004062a0
mov esi, eax
add esp, 4
test esi, esi
je 0x4068ec
push edi
call fcn.00405700
test eax, eax
mov ecx, esi
je 0x4068aa
mov ax, word [esi]
test ax, ax
je 0x40688d
cmp ax, 0x5c
je 0x406888
mov ax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x406874
jmp 0x40688d
mov word [ecx], 0
lea ecx, [esp + 8]
lea edx, [esp + 8]
push ecx
lea eax, [esp + 0x10]
push edx
lea ecx, [esp + 0x10]
push eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
jmp 0x4068dc
mov al, byte [esi]
test al, al
je 0x4068c1
cmp al, 0x5c
je 0x4068be
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x4068b0
jmp 0x4068c1
mov byte [ecx], 0
lea edx, [esp + 8]
lea eax, [esp + 8]
push edx
lea ecx, [esp + 0x10]
push eax
lea edx, [esp + 0x10]
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
push esi
mov edi, eax
call fcn.0044a212
add esp, 4
test edi, edi
pop edi
jne 0x4068f9
mov eax, 0x200
pop esi
add esp, 0x110
ret
mov eax, dword [esp + 8]
pop esi
add esp, 0x110
ret
Function at 0x409890
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
xor edx, edx
push edi
mov ebp, dword [esi + 0x84]
mov eax, dword [esi + 0x78]
mov ebx, dword [esi + 0xa0]
cmp ebp, eax
mov dword [esp + 0x10], edx
jbe 0x4098b4
mov ebp, eax
cmp dword [esi + 0x64], edx
jle 0x4098e1
xor ecx, ecx
mov eax, dword [esi + 0x60]
mov edi, dword [eax + ecx + 8]
lea eax, [eax + ecx + 8]
or edi, dword [eax + 4]
jne 0x4098d6
mov edi, dword [esi + 0x48]
mov dword [eax], edi
mov edi, dword [esi + 0x4c]
mov dword [eax + 4], edi
mov eax, dword [esi + 0x64]
inc edx
add ecx, 0x30
cmp edx, eax
jl 0x4098bb
push esi
call fcn.00408d60
mov dword [esi + 0x48], eax
mov al, byte [esi + 8]
mov dword [esi + 0x4c], edx
mov ecx, dword [esi + 0x48]
add esp, 4
mov dword [esi + 0x50], ecx
test al, al
mov dword [esi + 0x54], edx
jne 0x409925
cmp byte [esi + 5], 4
je 0x409925
mov eax, dword [esi + 0x38]
push eax
call fcn.00408410
add esp, 4
test ah, 2
jne 0x409925
mov edx, ebx
xor ecx, ecx
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
jmp 0x409943
mov eax, dword [0x452b6c]
lea edx, [ebx + 8]
mov dword [ebx], eax
mov ecx, dword [0x452b70]
push 0xffffffffffffffff
push edx
mov dword [ebx + 4], ecx
call fcn.00408d30
add esp, 8
lea edi, [esi + 0x2c]
push edi
push 4
call fcn.004049b0
mov eax, dword [edi]
lea ecx, [ebx + 0xc]
push eax
push ecx
call fcn.00408d30
mov edx, dword [esi + 0x1c]
lea eax, [ebx + 0x10]
push edx
push eax
call fcn.00408d30
mov ecx, dword [esi + 0x78]
lea edx, [ebx + 0x14]
push ecx
push edx
call fcn.00408d30
mov eax, dword [esi + 0x84]
lea ecx, [ebx + 0x18]
push eax
push ecx
call fcn.00408d30
lea ecx, [ebp - 0x1c]
xor eax, eax
mov edx, ecx
lea edi, [ebx + 0x1c]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 0x28
and ecx, 3
rep stosb byte es:[edi], al
xor edi, edi
cmp edi, dword [esi + 0x78]
jae 0x4099d5
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
mov edx, dword [esi + 0x3c]
push eax
push ecx
push ebp
push ebx
push edx
call fcn.00407a80
mov edx, dword [esi + 0x48]
add esp, 0x14
add edx, ebp
mov dword [esp + 0x10], eax
mov dword [esi + 0x48], edx
mov ecx, dword [esi + 0x4c]
adc ecx, 0
add edi, ebp
test eax, eax
mov dword [esi + 0x4c], ecx
je 0x40999f
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x421f20
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0xc]
xor eax, eax
test esi, esi
jle 0x421f4c
mov ecx, dword [esp + 8]
push ebx
xor edx, edx
xor ebx, ebx
mov dl, byte [ecx]
mov bl, byte [edx + 0x452460]
lea edx, [eax*8]
xor ebx, edx
xor eax, ebx
inc ecx
dec esi
jne 0x421f30
pop ebx
pop esi
ret
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 0x409660
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x7000]
push edi
jmp 0x40967a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x409681
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x409670
mov eax, 1
add ebx, ebx
jne 0x409693
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x409688
jne 0x4096a4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x409688
xor ecx, ecx
sub eax, 3
jb 0x4096b8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40972a
mov ebp, eax
add ebx, ebx
jne 0x4096c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4096d0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4096f4
inc ecx
add ebx, ebx
jne 0x4096e0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4096d5
jne 0x4096f1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4096d5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x409714
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x409705
jmp 0x409676
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x409714
add edi, ecx
jmp 0x409676
pop esi
lea edi, [esi + 0x7000]
mov eax, dword [edi]
or eax, eax
je 0x40977c
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xbb24]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xbb90]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x409731
mov ecx, edi
jns 0x409760
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xbb98]
or eax, eax
je 0x409776
mov dword [ebx], eax
add ebx, 4
jmp 0x40974e
call dword [esi + 0xbb94]
mov ebp, dword [esi + 0xbb9c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4097b0
sub esp, 0xffffff80
jmp 0x4017e0
Function at 0x4035ac
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0xbda008], 0x8088405
inc edx
mov dword [ebx + 0xbda008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x41cf00
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push ebp
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
cld
mov dl, 0x80
mov al, byte [esi]
add esi, 1
mov byte [edi], al
add edi, 1
mov ebx, 2
add dl, dl
jne 0x41cf31
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cf19
add dl, dl
jne 0x41cf3c
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cf8d
xor eax, eax
add dl, dl
jne 0x41cf49
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41d02a
add dl, dl
jne 0x41cf58
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cf63
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cf6e
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cf79
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x41cf83
mov ebx, edi
sub ebx, eax
mov al, byte [ebx]
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x41cf28
mov eax, 1
add dl, dl
jne 0x41cf9b
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cfa6
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cf92
sub eax, ebx
mov ebx, 1
jne 0x41cfd9
mov ecx, 1
add dl, dl
jne 0x41cfbf
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41cfca
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cfb6
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cf28
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x41cff0
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41cffb
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cfe7
cmp eax, 0x7d00
sbb ecx, 0xffffffff
cmp eax, 0x500
sbb ecx, 0xffffffff
cmp eax, 0x80
adc ecx, 0
cmp eax, 0x80
adc ecx, 0
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cf28
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x41d04b
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x41cf28
pop ebp
sub edi, dword [ebp - 8]
mov dword [ebp - 0xc], edi
pop edi
pop esi
pop ebx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x41f05c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, edx
xor edx, edx
push ebp
push 0xbbe54a
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
mov dword [ebp - 8], edx
mov esi, ebx
xor ecx, ecx
cmp byte [eax + 0x6a], 0
je 0x41f0ab
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [esi + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x88]
test edx, edx
je 0x41f0ca
mov ecx, edx
add ecx, ebx
jmp 0x41f0ca
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [esi + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x78]
test edx, edx
je 0x41f0ca
mov ecx, edx
add ecx, ebx
test ecx, ecx
je 0x41f13c
mov esi, dword [ecx + 0x18]
mov eax, dword [ecx + 0x1c]
add eax, ebx
mov dword [ebp - 0x10], eax
mov edi, dword [ecx + 0x20]
add edi, ebx
mov eax, dword [ecx + 0x24]
add eax, ebx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
cmp eax, 0xffff
jbe 0x41f125
test esi, esi
jbe 0x41f13c
mov eax, dword [edi]
add eax, ebx
mov edx, dword [ebp - 4]
call fcn.004088ec
test eax, eax
jne 0x41f117
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x41f13c
add dword [ebp - 0xc], 2
add edi, 4
dec esi
test esi, esi
ja 0x41f0f4
jmp 0x41f13c
mov edx, eax
sub edx, dword [ecx + 0x10]
cmp edx, dword [ecx + 0x14]
jae 0x41f13c
mov eax, edx
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xbbe551
ret
Function at 0x420294
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov word [ebp - 4], cx
mov byte [ebp - 1], dl
xor eax, eax
push ebp
push 0xbbf8af
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404cd0
xor ebx, ebx
mov eax, ebx
and eax, 0x80000001
jns 0x4202cf
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x4202e8
lea eax, [ebp - 0x10]
mov edx, dword [0xbdc54c]
mov edx, dword [edx]
mov edx, dword [edx + 0xc]
call fcn.00404d30
jmp 0x4202fb
lea eax, [ebp - 0x10]
mov edx, dword [0xbdc54c]
mov edx, dword [edx]
mov edx, dword [edx + 0x10]
call fcn.00404d30
lea eax, [ebp - 0x10]
mov edx, ebx
sar edx, 1
jns 0x420307
adc edx, 0
mov edx, dword [edx*4 + 0xbdb378]
call fcn.00404f20
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 0x10]
call fcn.00404f04
push eax
call fcn.00406b1c
mov esi, eax
cmp esi, 0xffffffff
je 0x420481
mov eax, 0x40
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x40
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x420474
mov eax, edi
cmp word [eax], 0x5a4d
jne 0x420474
push 0
push 0
mov eax, dword [eax + 0x3c]
push eax
push esi
call fcn.00406ddc
mov eax, edi
call fcn.00403288
mov eax, 0x18
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x18
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x420474
mov eax, edi
cmp dword [eax], 0x4550
jne 0x420474
add eax, 4
mov dword [ebp - 0xc], eax
cmp byte [ebp - 1], 0
je 0x420412
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x8664
jne 0x420412
mov eax, edi
call fcn.00403288
mov eax, 0xf0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xf0
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x420412
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x420412
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
cmp byte [ebp - 1], 0
jne 0x420474
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x14c
jb 0x420474
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x150
ja 0x420474
mov eax, edi
call fcn.00403288
mov eax, 0xe0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xe0
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x420474
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x420474
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
mov eax, edi
call fcn.00403288
push esi
call fcn.00406ad4
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor edx, edx
call fcn.0040502c
jne 0x420499
inc ebx
cmp ebx, 0x19
jne 0x4202c1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xbbf8b6
lea eax, [ebp - 0x10]
call fcn.00404cd0
ret
Function at 0x402308
Capabilities:
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x810
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
xor esi, esi
push ebx
mov dword [ebp + esi*4 - 0x410], esi
call fcn.00410b12
pop ecx
mov ecx, eax
xor edx, edx
mov eax, esi
div ecx
inc esi
movzx eax, byte [edx + ebx]
mov dword [ebp + esi*4 - 0x814], eax
cmp esi, 0x100
jl 0x40231b
xor edx, edx
mov ecx, dword [ebp + edx - 0x810]
lea eax, [ebp + edx - 0x410]
mov esi, dword [eax]
add ecx, esi
add edi, ecx
and edi, 0x800000ff
jns 0x40236b
dec edi
or edi, 0xffffff00
inc edi
lea ecx, [ebp + edi*4 - 0x410]
mov ebx, dword [ecx]
add edx, 4
mov dword [eax], ebx
mov dword [ecx], esi
cmp edx, 0x400
jl 0x402347
push dword [ebp + 8]
call fcn.00410b12
inc eax
push eax
call sub.msvcrt.dll_void____cdecl_operator_new___unsigned_int_
push dword [ebp + 8]
mov esi, eax
xor edi, edi
mov dword [ebp - 8], esi
xor ebx, ebx
mov dword [ebp - 4], edi
call fcn.00410b12
add esp, 0xc
test eax, eax
jle 0x40244b
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 8]
sub eax, esi
mov dword [ebp - 0xc], eax
jmp 0x4023c1
mov ebx, dword [ebp - 0x10]
inc edi
and edi, 0x800000ff
jns 0x4023d2
dec edi
or edi, 0xffffff00
inc edi
lea eax, [ebp + edi*4 - 0x410]
mov ecx, dword [eax]
lea edx, [ecx + ebx]
and edx, 0x800000ff
jns 0x4023ee
dec edx
or edx, 0xffffff00
inc edx
mov dword [ebp - 0x10], edx
lea edx, [ebp + edx*4 - 0x410]
mov ebx, dword [edx]
mov dword [eax], ebx
mov dword [edx], ecx
mov eax, dword [eax]
add eax, ecx
and eax, 0x800000ff
jns 0x402410
dec eax
or eax, 0xffffff00
inc eax
mov cl, byte [esi]
movzx edx, cl
lea eax, [ebp + eax*4 - 0x410]
cmp dword [eax], edx
jne 0x402428
mov eax, dword [ebp - 0xc]
mov byte [eax + esi], cl
jmp 0x402432
mov al, byte [eax]
xor al, cl
mov ecx, dword [ebp - 0xc]
mov byte [ecx + esi], al
push dword [ebp + 8]
inc dword [ebp - 4]
inc esi
call fcn.00410b12
pop ecx
cmp dword [ebp - 4], eax
jl 0x4023be
mov esi, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov byte [esi + eax], 0
mov eax, dword [ebp + 0x10]
pop edi
mov dword [eax], esi
pop esi
pop ebx
leave
ret

Function at 0x40245c
Capabilities:
Decode data using base64 via winapi

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4e24
call fcn.004181c0
push ebx
push esi
push edi
xor ebx, ebx
push 0x4e1f
lea eax, [ebp - 0x4e23]
push ebx
push eax
mov byte [ebp - 0x4e24], bl
call sub.msvcrt.dll_memset
mov edi, dword [ebp + 8]
add esp, 0xc
push ebx
push ebx
lea eax, [ebp - 4]
push eax
push ebx
push 1
push edi
mov dword [ebp - 4], ebx
call fcn.00410b12
mov esi, dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
pop ecx
push eax
push edi
call esi
push ebx
push ebx
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x4e24]
push eax
push 1
push edi
call fcn.00410b12
pop ecx
push eax
push edi
call esi
pop edi
pop esi
test eax, eax
pop ebx
lea eax, [ebp - 0x4e24]
jne 0x4024d5
mov eax, 0x42478c
leave
ret
Function at 0x4041b2
Capabilities:
Check http status code

Disassembly:
mov eax, 0x41ea4a
call sub.msvcrt.dll__EH_prolog
sub esp, 0x598
push ebx
push esi
push edi
sub esp, 0xc
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x28], esp
push eax
mov dword [ebp - 4], 1
call fcn.0040f95a
lea eax, [ebp - 0xa4]
push eax
call fcn.00403a54
add esp, 0x10
push 0xf
pop ecx
push 0x5f5e0ff
mov esi, eax
xor ebx, ebx
lea edi, [ebp - 0x68]
push ebx
rep movsd dword es:[edi], dword [esi]
call dword [0x640164]
push eax
call dword [0x6400fc]
push ebx
push ebx
xor edi, edi
push ebx
inc edi
push ebx
lea ecx, [ebp + 0x14]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], edi
call fcn.0040fb4d
push eax
call dword [0x640060]
push dword [0x62f33c]
mov dword [ebp - 0x18], eax
push dword [ebp - 0x64]
xor esi, esi
call dword [0x64013c]
test eax, eax
jne 0x404244
mov esi, edi
cmp dword [ebp - 0x18], ebx
je 0x404378
push ebx
push ebx
push 3
push ebx
push ebx
push dword [ebp - 0x50]
push dword [ebp - 0x58]
push dword [ebp - 0x18]
call dword [0x640160]
mov dword [ebp - 0x24], eax
cmp eax, ebx
je 0x40436f
mov eax, esi
neg eax
push ebx
sbb eax, eax
and eax, 0x800000
add eax, 0x400100
push eax
push ebx
push ebx
push dword [0x62f188]
push dword [ebp - 0x3c]
push 0x4259cc
push dword [ebp - 0x24]
call dword [0x640194]
mov edi, eax
cmp edi, ebx
je 0x404368
cmp esi, ebx
je 0x4042bc
or dword [ebp - 0x20], 0x10300
push 4
lea eax, [ebp - 0x20]
push eax
push 0x1f
push edi
call dword [str.pLLs]
push ebx
push ebx
push ebx
push ebx
push edi
call dword [0x640128]
push ebx
mov esi, eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x1a4]
push eax
push 0x13
push edi
mov dword [ebp - 0x28], 0x100
call dword [0x6401ac]
test eax, eax
jne 0x40430c
lea ecx, [ebp + 8]
xor esi, esi
mov byte [ebp - 4], bl
call fcn.0040f98e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call fcn.0040f98e
mov eax, dword [ebp - 0x2c]
mov edx, esi
jmp 0x40439e
lea eax, [ebp - 0x1a4]
push eax
call fcn.00410a77
pop ecx
cmp eax, 0xc8
jne 0x4042e9
cmp esi, ebx
je 0x404368
jmp 0x404363
lea eax, [ebp - 0x10]
push eax
push 0x400
lea eax, [ebp - 0x5a4]
push eax
push edi
call dword [0x640088]
xor esi, esi
cmp dword [ebp - 0x10], ebx
jbe 0x404368
push 1
lea eax, [ebp + esi - 0x5a4]
push eax
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x1c]
push eax
call fcn.00410ac8
inc dword [ebp - 0x14]
inc esi
cmp esi, dword [ebp - 0x10]
jb 0x404344
cmp dword [ebp - 0x10], ebx
ja 0x404326
push edi
call dword [0x64005c]
push dword [ebp - 0x24]
call dword [0x64005c]
push dword [ebp - 0x18]
call dword [0x64005c]
lea ecx, [ebp + 8]
mov byte [ebp - 4], bl
call fcn.0040f98e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call fcn.0040f98e
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x404f2a
Capabilities:
Check http status code

Disassembly:
mov eax, 0x41ec50
call sub.msvcrt.dll__EH_prolog
sub esp, 0x978
push ebx
push esi
xor ebx, ebx
push edi
mov dword [ebp - 0x14], ebx
sub esp, 0xc
lea eax, [ebp + 0xc]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
mov dword [ebp - 4], 2
call fcn.0040f95a
lea eax, [ebp - 0xb4]
push eax
call fcn.00403a54
add esp, 0x10
push 0xf
pop ecx
mov esi, eax
lea edi, [ebp - 0x78]
rep movsd dword es:[edi], dword [esi]
push 0x4259a6
lea ecx, [ebp - 0x30]
call fcn.0040f923
push ebx
push ebx
push ebx
push 1
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], 3
call fcn.0040fb4d
push eax
call dword [0x640060]
push dword [0x62f33c]
mov dword [ebp - 0x10], eax
push dword [ebp - 0x74]
xor esi, esi
call dword [0x64013c]
test eax, eax
jne 0x404fb1
inc esi
cmp dword [ebp - 0x10], ebx
je 0x4050f5
push ebx
push ebx
push 3
push ebx
push ebx
push dword [ebp - 0x60]
push dword [ebp - 0x68]
push dword [ebp - 0x10]
call dword [0x640160]
mov dword [ebp - 0x1c], eax
cmp eax, ebx
je 0x4050ec
mov eax, esi
neg eax
push ebx
sbb eax, eax
and eax, 0x800000
add eax, 0x400100
push eax
push ebx
push ebx
push dword [0x62f188]
push dword [ebp - 0x4c]
push 0x425adc
push dword [ebp - 0x1c]
call dword [0x640194]
mov edi, eax
cmp edi, ebx
je 0x4050e3
cmp esi, ebx
je 0x405029
or dword [ebp - 0x20], 0x10300
push 4
lea eax, [ebp - 0x20]
push eax
push 0x1f
push edi
call dword [str.pLLs]
push ebx
push ebx
push ebx
push ebx
push edi
call dword [0x640128]
push ebx
mov esi, eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1b4]
push eax
push 0x13
push edi
mov dword [ebp - 0x18], 0x100
call dword [0x6401ac]
test eax, eax
jne 0x405068
mov ecx, dword [ebp + 8]
push 0x425ae0
call fcn.0040f923
jmp 0x405101
lea eax, [ebp - 0x1b4]
push eax
call fcn.00410a77
pop ecx
cmp eax, 0xc8
jne 0x40513d
cmp esi, ebx
je 0x4050dc
mov esi, 0x7cf
jmp 0x4050c5
mov eax, dword [ebp - 0x24]
cmp eax, ebx
je 0x4050dc
mov byte [ebp + eax - 0x984], bl
lea eax, [ebp - 0x984]
push eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x30]
call fcn.0040fa9c
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 4
call fcn.0040f9e1
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 3
call fcn.0040f98e
lea eax, [ebp - 0x24]
push eax
push esi
lea eax, [ebp - 0x984]
push eax
push edi
call dword [0x640088]
cmp eax, ebx
jne 0x40508b
push edi
call dword [0x64005c]
push dword [ebp - 0x1c]
call dword [0x64005c]
push dword [ebp - 0x10]
call dword [0x64005c]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x30]
push eax
call fcn.0040f95a
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x14], 1
mov byte [ebp - 4], 2
call fcn.0040f98e
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.0040f98e
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], bl
call fcn.0040f98e
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
mov ecx, dword [ebp + 8]
push 0x425ae8
call fcn.0040f923
jmp 0x405101