joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42de34
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi + 4]
add eax, 0x18
lock inc dword [eax]
cmp byte [ebp + 0x18], 0
je 0x42de4f
push 0
push 0
jmp 0x42deb8
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
jne 0x42de62
push 0
push 0x2719
jmp 0x42deb8
mov eax, dword [ebp + 0x14]
and dword [ebp + 0x18], 0
push edi
push 0
push dword [ebp + 0x1c]
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp + 0x18]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ecx
call dword [sym.imp.WS2_32.dll_WSARecv]
mov edi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x40
jne 0x42de9b
mov eax, 0x2746
jmp 0x42dea8
cmp eax, 0x4d2
mov ecx, 0x274d
cmove eax, ecx
test edi, edi
pop edi
je 0x42dec5
cmp eax, 0x3e5
je 0x42dec5
push dword [ebp + 0x18]
push eax
push dword [ebp + 0x1c]
mov ecx, dword [esi + 4]
call fcn.00425bde
jmp 0x42ded0
push dword [ebp + 0x1c]
mov ecx, dword [esi + 4]
call fcn.00425c3b
pop esi
pop ebp
ret 0x18

Function at 0x42ded5
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, ecx
mov eax, dword [edi + 4]
add eax, 0x18
lock inc dword [eax]
cmp byte [ebp + 0x18], 0
je 0x42def0
push 0
push 0
jmp 0x42df46
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cmp eax, 0xffffffff
jne 0x42df03
push 0
push 0x2719
jmp 0x42df46
and dword [ebp + 0x18], 0
lea ecx, [ebp + 0x18]
push esi
push 0
push dword [ebp + 0x1c]
push dword [ebp + 0x14]
push ecx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call dword [sym.imp.WS2_32.dll_WSASend]
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x4d2
mov ecx, 0x274d
cmove eax, ecx
test esi, esi
pop esi
je 0x42df53
cmp eax, 0x3e5
je 0x42df53
push dword [ebp + 0x18]
push eax
push dword [ebp + 0x1c]
mov ecx, dword [edi + 4]
call fcn.00425bde
jmp 0x42df5e
push dword [ebp + 0x1c]
mov ecx, dword [edi + 4]
call fcn.00425c3b
pop edi
pop ebp
ret 0x18
Function at 0x42f61e
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
test ebx, ebx
jg 0x42f642
jl 0x42f639
test esi, esi
jne 0x42f642
xor eax, eax
xor edx, edx
jmp 0x42f735
cmp dword [edi + 0x38], 0
je 0x42f657
push ebx
push esi
push dword [ebp + 8]
call fcn.0040d5b8
jmp 0x42f735
mov eax, dword [edi + 0x1c]
mov ecx, esi
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], esi
mov ecx, dword [eax]
test ecx, ecx
je 0x42f6ab
mov eax, dword [edi + 0x2c]
mov eax, dword [eax]
mov dword [ebp - 4], eax
test eax, eax
je 0x42f6ab
cmp eax, esi
jb 0x42f67d
mov eax, esi
mov dword [ebp - 4], esi
push eax
push ecx
push dword [ebp + 8]
call fcn.00451540
mov edx, dword [ebp - 4]
mov ecx, esi
mov eax, dword [ebp + 8]
sub ecx, edx
add eax, edx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
add esp, 0xc
mov eax, dword [edi + 0x2c]
mov dword [ebp - 0xc], ecx
sub dword [eax], edx
mov eax, dword [edi + 0x1c]
add dword [eax], edx
jmp 0x42f6b1
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [edi + 0x4c], 0
je 0x42f729
mov ecx, edi
call fcn.0042ef9a
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0xc], eax
cmp eax, 0xfff
jbe 0x42f705
mov ecx, dword [ebp - 4]
push dword [edi + 0x4c]
push 0xfff
push 1
push ecx
call fcn.0045e7f9
mov ecx, dword [ebp - 4]
add esp, 0x10
mov edx, dword [ebp - 8]
add ecx, eax
sub edx, eax
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
cmp eax, 0xfff
jne 0x42f701
cmp edx, eax
ja 0x42f6ce
jmp 0x42f708
sub esi, edx
jmp 0x42f72e
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov ecx, eax
test eax, eax
je 0x42f72c
push dword [edi + 0x4c]
push edx
push 1
push dword [ebp - 4]
call fcn.0045e7f9
mov ecx, dword [ebp - 0xc]
add esp, 0x10
sub ecx, eax
jmp 0x42f72c
mov ecx, dword [ebp - 0xc]
sub esi, ecx
sbb ebx, 0
mov eax, esi
mov edx, ebx
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x43c63c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x458757
Capabilities:
Contain obfuscated stackstrings

Disassembly:
test dword [edi - 0x68000007], esp
mov byte [ebp - 0x658], 0x9b
mov byte [ebp - 0x657], 0xf8
lea eax, [ebp - 0x664]
push eax
call fcn.00457c0c
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00457bc1
add esp, 0xc
mov dword [ebp - 0x67c], eax
and byte [ebp - 0x524], 0
and byte [ebp - 0x523], 0
mov byte [ebp - 0x522], 0x15
and byte [ebp - 0x521], 0
mov byte [ebp - 0x520], 0xa2
mov byte [ebp - 0x51f], 0x8f
mov byte [ebp - 0x51e], 0x8b
mov byte [ebp - 0x51d], 0x9a
mov byte [ebp - 0x51c], 0xac
mov byte [ebp - 0x51b], 0x98
mov byte [ebp - 0x51a], 0x8f
mov byte [ebp - 0x519], 0x8f
mov byte [ebp - 0x518], 0xea
lea eax, [ebp - 0x524]
push eax
call fcn.00457c0c
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00457bc1
add esp, 0xc
mov dword [ebp - 0x39c], eax
call fcn.00457bfc
daa
xchg edx, eax
add ch, ah
and byte [ebp - 0x514], 0
and byte [ebp - 0x513], 0
mov byte [ebp - 0x512], 0xe3
and byte [ebp - 0x511], 0
mov byte [ebp - 0x510], 0x5b
mov byte [ebp - 0x50f], 0x79
invalid
test edx, esi
cli
invalid

Function at 0x4598f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add byte [eax], al
and byte [ebp - 0x7ac], 0
and byte [ebp - 0x7ab], 0
mov byte [ebp - 0x7aa], 0xed
and byte [ebp - 0x7a9], 0
mov byte [ebp - 0x7a8], 0x4e
mov byte [ebp - 0x7a7], 0x55

Function at 0x4696cc
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00469542

Function at 0x46dd51
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0046d8a4

Function at 0x475859
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x68]
cmp eax, 0xffffffff
je 0x4758ad
test byte [esi + 0x48], 1
je 0x4758ad
test byte [esi + 0x48], 2
je 0x47587c
mov eax, dword [esi]
call dword [eax + 0x34]
mov eax, dword [esi + 0x68]
and dword [ebp - 4], 0
lea ecx, [ebp - 4]
push 0
push ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4758a1
lea eax, [esi + 0x50]
push eax
call fcn.00416d8f
pop ecx
mov eax, dword [ebp - 4]
add dword [esi + 0x70], eax
adc dword [esi + 0x74], 0
jmp 0x4758b0
or eax, 0xffffffff
pop esi
leave
ret 0xc
Function at 0x475b24
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, ecx
mov eax, dword [esi + 0x68]
cmp eax, 0xffffffff
je 0x475bb4
test byte [esi + 0x48], 2
je 0x475bb4
push edi
xor edi, edi
test byte [esi + 0x48], 8
je 0x475b85
push 2
lea ecx, [ebp - 8]
xorps xmm0, xmm0
push ecx
push edi
push eax
movlpd qword [ebp - 0xc], xmm0
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
jne 0x475b79
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x475b76
lea eax, [esi + 0x50]
push eax
call fcn.00416d8f
pop ecx
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x70], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x74], eax
mov eax, dword [esi + 0x68]
push edi
lea ecx, [ebp - 4]
mov dword [ebp - 4], edi
push ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x475ba8
lea eax, [esi + 0x50]
push eax
call fcn.00416d8f
pop ecx
mov eax, dword [ebp - 4]
add dword [esi + 0x70], eax
adc dword [esi + 0x74], edi
pop edi
jmp 0x475bb7
or eax, 0xffffffff
pop esi
leave
ret 0xc
Function at 0x406a06
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x406a2a
xor eax, eax
test eax, eax
je 0x406a3d
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x406a3d
xor ecx, ecx
jmp 0x406a40
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x406b63
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x4275ec], 0
push esi
jne 0x406b9a
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406b74
mov dword [ecx*4 + 0x4275e8], eax
inc ecx
cmp ecx, 0x100
jl 0x406b6f
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406bcb
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x4275e8]
xor eax, esi
inc ecx
dec edx
jne 0x406bad
pop edi
not eax
pop esi
ret 0xc

Function at 0x44305f
Capabilities:
Packed with generic packer

Disassembly:
pushal
push 0x2bd46
push section.packerBY
push 0x4434e3
call fcn.004434a8
cld
mov esi, 0x414000
mov ecx, 4
sub ecx, esi
cmp esi, 0x440290
ja 0x4430a7
lodsb al, byte [esi]
add al, 0x18
sub al, 2
jb 0x44309d
cmp al, 0x25
jne 0x443081
mov al, byte [esi]
and al, 0xf0
cmp al, 0x80
jne 0x443081
inc esi
lea edi, [esi + ecx]
sub dword [esi], edi
add esi, 4
jmp 0x443081
mov edx, 0x400000
lea esi, [edx + 0x4120c]
mov eax, dword [esi + 0xc]
test eax, eax
je 0x44310a
add eax, edx
mov edi, dword [esi + 0x10]
mov ebx, dword [esi]
test ebx, ebx
jne 0x4430c6
mov ebx, edi
add ebx, edx
add edi, edx
push edx
push edi
push eax
call dword [sym.imp.kernel32.dll_LoadLibraryA]
pop edi
pop edx
test eax, eax
je 0x443108
mov ecx, eax
mov eax, dword [ebx]
test eax, eax
je 0x443103
btr eax, 0x1f
jb 0x4430eb
lea eax, [eax + edx + 2]
push ecx
push edx
push edi
push eax
push ecx
call dword [sym.imp.kernel32.dll_GetProcAddress]
pop edi
pop edx
pop ecx
test eax, eax
je 0x443108
stosd dword es:[edi], eax
add ebx, 4
jmp 0x4430db
add esi, 0x14
jmp 0x4430b2
popal
ret
popal
jmp 0x440130
Function at 0x454d7f
Capabilities:
Check for software breakpoints

Disassembly:
push eax
call 0x454d85
pop ebx
sub ebx, 0x1a2
mov ecx, 0x16be3
sub ebx, ecx
mov esi, ebx
sub ebx, 0x3d000
mov edi, ebx
sub ebx, 0x1000
push edi
push ecx
push esi
call fcn.00454c34
add esp, 0xc
mov ebp, dword [ebx + 0xc0]
lea ebp, [ebx + ebp]
dec ebp
mov cl, byte [ebp]
cmp cl, 0xcc
je 0x454db7
sub ebp, 9
mov edx, ebx
sub edx, dword [ebx + 0x74]
add dword [ebp], edx
add ebp, 6
add dword [ebp], edx
lea edx, [eax - 4]
sub edx, dword [edx]
mov esi, ebx
add esi, dword [edx + 0x10c]
mov edi, dword [edx + 0x104]
mov ecx, 0x21172
call fcn.00454d55
mov esi, dword [edx + 0x80]
push edx
add esi, ebx
mov eax, dword [esi + 0xc]
or eax, eax
je 0x454e41
add eax, ebx
push eax
call sub.kernel32.dll_LoadLibraryA
mov ebp, eax
mov ecx, dword [esi]
add ecx, ebx
mov edi, dword [esi + 0x10]
add edi, ebx
mov eax, dword [ecx]
or eax, eax
je 0x454e3c
pushal
test eax, 0x80000000
je 0x454e26
and eax, 0x7fffffff
jmp 0x454e2a
lea eax, [ebx + eax + 2]
push eax
push ebp
call sub.kernel32.dll_GetProcAddress
mov dword [edi], eax
popal
add edi, 4
add ecx, 4
jmp 0x454e11
add esi, 0x14
jmp 0x454df7
pop edx
mov ebp, ebx
sub ebp, dword [edx + 0x34]
mov esi, dword [edx + 0xa0]
add esi, ebx
cmp esi, ebx
je 0x454e8b
push edx
mov eax, dword [esi + 4]
or eax, eax
je 0x454e8a
mov ecx, dword [esi]
add ecx, ebx
add esi, 8
sub eax, 8
shr eax, 1
mov edx, esi
lea edi, [eax + esi]
lea esi, [eax + edi]
xor eax, eax
add al, byte [edx]
adc ah, byte [edi]
test ah, 0x30
je 0x454e82
push eax
and ah, 0xf
add dword [ecx + eax], ebp
pop eax
inc edx
inc edi
cmp edi, esi
jb 0x454e71
jmp 0x454e54
pop edx
pop eax
cmp eax, 0xd0dec0de
je 0x454e98
add ebx, dword [edx + 0x28]
jmp ebx
ret 0xc
Function at 0x401c57
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x401c66
pop dword [ebp - 0x50]
mov eax, 0xe4507b06
sub eax, 0xe4105ea0
sub dword [ebp - 0x50], eax
mov dword [ebp - 0x60], 0x38f1cdaa
add dword [ebp - 0x60], 0x156077a1
mov dword [ebp - 0x5c], 0x40476426
sub dword [ebp - 0x5c], 0xe1417e1
mov dword [ebp - 0x58], 0xc6fab93d
add dword [ebp - 0x58], 0x85518af1
mov dword [ebp - 0x54], 0x1e7c1f36
add dword [ebp - 0x54], 0xe183e0ca
lea eax, [ebp - 0x60]
push eax
mov eax, 0xac45764f
sub eax, 0xac0545fb
add eax, dword [ebp - 0x50]
call dword [eax]
mov dword [ebp - 0x60], 0xc08b4c09
sub dword [ebp - 0x60], 0x4c18e2b3
mov dword [ebp - 0x5c], 0x53edc10e
add dword [ebp - 0x5c], 0xed7ea067
mov dword [ebp - 0x58], 0xb52dbeb3
sub dword [ebp - 0x58], 0x51be5247
mov dword [ebp - 0x54], 0x2538c181
add dword [ebp - 0x54], 0xdac73e7f
lea ebx, [ebp - 0x60]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x50]
call dword [eax]
push 0x40
push 0x1000
push 0x335f6
push 0
call eax
mov ecx, 0xafb82b16
sub ecx, 0xafb7ef85
xor edi, edi
add edi, eax
mov ebx, 0x407000
add ebx, dword [ebp - 0x50]
mov edx, 0xfe7b779c
sub edx, 0xb80fdbb3
sub dword [ebp - 0xc], 0x1622291a
mov esi, dword [ebx]
mov dword [ebp - 4], 0x98a05dc6
add esi, edx
xor dword [ebp - 0x10], 0xfd50040d
mov dword [edi], esi
xor dword [ebp - 0x30], 0xd21e44f0
add edi, 0xe1c2a920
sub edi, 0xe1c2a91c
add ebx, 0x1311e123
add ebx, 0xecee1ee1
loop 0x401d7f
add eax, 0xe117
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x50]
call ebx
leave
ret

Function at 0x401fb2
Capabilities:
Delete file
Move file

Disassembly:
mov ecx, 0x404f28
jmp fcn.0040170c

Function at 0x401ff6
Capabilities:
Check if file exists
Delete directory
Get file attributes

Disassembly:
push esi
mov esi, 0x404f28
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x402013
push esi
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
test eax, eax
je 0x402018
push 1
pop eax
pop esi
ret
call fcn.00401fb2
pop esi
ret
Function at 0x100636c0
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x100638ad
pushal
mov esi, section.UPX1
lea edi, [esi - 0x4d000]
push edi
or ebp, 0xffffffff
jmp 0x100636ea
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x100636f1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x100636e0
mov eax, 1
add ebx, ebx
jne 0x10063703
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x10063714
jne 0x10063733
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x10063733
dec eax
add ebx, ebx
jne 0x10063720
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x100636f8
add ebx, ebx
jne 0x1006372f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x10063785
xor ecx, ecx
sub eax, 3
jb 0x1006374b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x100637ba
sar eax, 1
mov ebp, eax
jmp 0x10063756
add ebx, ebx
jne 0x10063756
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x10063724
inc ecx
add ebx, ebx
jne 0x10063764
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x10063724
add ebx, ebx
jne 0x10063771
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x10063766
jne 0x10063782
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x10063766
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x100637a4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x10063796
jmp 0x100636e6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x100637a4
add edi, ecx
jmp 0x100636e6
pop esi
mov edi, esi
mov ecx, 0xc89
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x100637c2
cmp byte [edi], 9
jne 0x100637c2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x100637c7
lea edi, [esi + 0x60000]
mov eax, dword [edi]
or eax, eax
je 0x1006383f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x63ad0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x63bc0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x100637f4
mov ecx, edi
jns 0x10063823
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 + 0x63bc4]
or eax, eax
je 0x10063839
mov dword [ebx], eax
add ebx, 4
jmp 0x10063811
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x10063870
cmp al, 0xef
ja 0x10063863
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x10063845
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x10063852
mov ebp, dword [esi + 0x63bc8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x100638a4
sub esp, 0xffffff80
jmp 0x1001c4c7
Function at 0x2d812ef5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x2d812f04
pop dword [ebp - 0x2c]
mov eax, 0xa0116990
add eax, 0x8d6fc574
sub dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0x84c4a731
sub dword [ebp - 0x3c], 0x367261e6
mov dword [ebp - 0x38], 0xb6d75687
add dword [ebp - 0x38], 0x7b5bf5be
mov dword [ebp - 0x34], 0x9b091ec0
sub dword [ebp - 0x34], 0x4ebcda92
mov dword [ebp - 0x30], 0x3dc2087f
add dword [ebp - 0x30], 0xc23df781
lea eax, [ebp - 0x3c]
push eax
mov eax, 0x468a30d5
add eax, 0xe702fffb
add eax, dword [ebp - 0x2c]
call dword [eax]
mov dword [ebp - 0x3c], 0x6616726b
sub dword [ebp - 0x3c], 0xf1a40915
mov dword [ebp - 0x38], 0x38b1fcd6
add dword [ebp - 0x38], 0x8ba649f
mov dword [ebp - 0x34], 0xa2b9e9ad
add dword [ebp - 0x34], 0xc0b582bf
mov dword [ebp - 0x30], 0xd994ba8d
add dword [ebp - 0x30], 0x266b4573
lea ebx, [ebp - 0x3c]
push ebx
push eax
mov eax, 0x3feda1d9
sub eax, 0x12607115
add eax, dword [ebp - 0x2c]
call dword [eax]
push 0x40
push 0x1000
push 0x5b9da
push 0
call eax
mov ecx, 0x47b1
xor ebx, ebx
add ebx, eax
mov esi, 0x7a8e1c9b
add esi, 0xb309fb65
add esi, dword [ebp - 0x2c]
mov edx, 0x16e9da0c
add edx, 0xcdfb1cf4
mov dword [ebp - 0x24], 0x65a52ef8
mov edi, dword [esi]
xor dword [ebp - 0x10], edx
sub edi, edx
mov dword [ebx], edi
xor dword [ebp - 0x20], 0x478f2f73
add ebx, 0x78b98d
add ebx, 0xff874677
add esi, 0x942cc3c7
add esi, 0x6bd33c3d
loop 0x2d813022
add eax, 0x11197
mov ebx, eax
add eax, 0xcdc2aa45
sub eax, 0xcdc2aa40
mov ecx, 0x2d800000
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret
Function at 0x40107f
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47b9c7
mov eax, dword fs:[0]
push eax
mov eax, 0x19064
call 0x467530
mov eax, dword [0x4ad090]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0x19070], edi
mov dword [ebp - 0x19058], esi
push esi
push esi
xor ebx, ebx
push esi
inc ebx
push ebx
push esi
mov dword [ebp - 4], ebx
call dword [0x48869c]
mov dword [ebp - 0x1905c], eax
cmp eax, esi
jne 0x4010f0
push 0xffffffffffffffff
push 0x488800
mov ecx, edi
call 0x40920e
jmp 0x40123b
push esi
push 0x102
push esi
push esi
lea ecx, [ebp + 0xc]
call fcn.00409059
push eax
push dword [ebp - 0x1905c]
call dword [0x4886a0]
mov dword [ebp - 0x19060], eax
cmp eax, esi
jne 0x401128
push dword [ebp - 0x1905c]
call dword [0x4886a4]
jmp 0x40122d
push esi
lea ecx, [ebp - 0x1906c]
push ecx
lea ecx, [ebp - 0x19068]
push ecx
push 0x20000013
push eax
mov dword [ebp - 0x19068], esi
mov dword [ebp - 0x1906c], esi
call dword [0x4886a8]
cmp dword [ebp - 0x19068], 0x190
ja 0x401217
push 0x19000
lea eax, [ebp - 0x19010]
push esi
push eax
mov dword [ebp - 0x19064], esi
call 0x4674b0
add esp, 0xc
lea eax, [ebp - 0x19064]
push eax
push 0x19000
lea eax, [ebp - 0x19010]
push eax
push dword [ebp - 0x19060]
call dword [0x488698]
test eax, eax
je 0x401217
mov eax, dword [ebp - 0x19064]
cmp eax, esi
jbe 0x401217
push dword [ebp - 0x19060]
mov esi, dword [0x4886a4]
mov byte [ebp + eax - 0x19010], 0
call esi
push dword [ebp - 0x1905c]
call esi
push 0xffffffffffffffff
lea eax, [ebp - 0x19010]
push eax
lea ecx, [ebp - 0x19054]
call 0x40920e
push 0x19000
lea eax, [ebp - 0x19010]
push 0
push eax
mov byte [ebp - 4], 2
call 0x4674b0
add esp, 0xc
lea eax, [ebp - 0x19054]
push eax
mov ecx, edi
call 0x40922e
lea ecx, [ebp - 0x19054]
mov dword [ebp - 0x19058], ebx
mov byte [ebp - 4], bl
call fcn.0040903f
jmp 0x401241
push dword [ebp - 0x19060]
mov esi, dword [0x4886a4]
call esi
push dword [ebp - 0x1905c]
call esi
push 0xffffffffffffffff
push 0x488800
mov ecx, edi
call 0x40920e
mov dword [ebp - 0x19058], ebx
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0
call fcn.0040903f
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call 0x4666f8
leave
ret 0x48
Function at 0x100299c
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x28
push 0x1001330
call fcn.01002b38
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp word [eax], 0x5a4d
jne 0x10029d7
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10029d7
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x10029ef
cmp eax, 0x20b
je 0x10029dc
mov dword [ebp - 0x1c], edi
jmp 0x1002a03
cmp dword [ecx + 0x84], 0xe
jbe 0x10029d7
xor eax, eax
cmp dword [ecx + 0xf8], edi
jmp 0x10029fd
cmp dword [ecx + 0x74], 0xe
jbe 0x10029d7
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 [0x1004018], 0xffffffff
or dword [0x100401c], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x1004014]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x1004010]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x1004020], eax
call fcn.01002b34
cmp dword [section..data], edi
jne 0x1002a5e
push fcn.01002b34
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.01002b22
push 0x10011a4
push 0x10011a0
call sub.msvcrt.dll__initterm
mov eax, dword [0x100400c]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [0x1004008]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.msvcrt.dll___getmainargs]
mov dword [ebp - 0x30], eax
push 0x100119c
push 0x1001198
call sub.msvcrt.dll__initterm
mov eax, dword [ebp - 0x24]
mov ecx, dword [sym.imp.msvcrt.dll___initenv]
mov dword [ecx], eax
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call fcn.010028da
add esp, 0x30
mov esi, eax
mov dword [ebp - 0x34], esi
cmp dword [ebp - 0x1c], edi
jne 0x1002ad5
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x1002b0a
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.01002b71
ret