joyce8/EMBER2024-capa huggingface dataset:
Function at 0x450fb0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push dword fs:[0x14]
mov edx, esp
sub esp, 0x1bc
mov dword [esp], esp
mov dword [esp + 4], 0x1bc
call fcn.00450a90
lea ecx, [esp + 0x30]
mov dword fs:[0x14], ecx
mov ebx, esp
sub esp, 0xd8
mov dword [ecx], esp
mov dword [ebx], esp
mov dword [esp], esp
mov dword [esp + 4], 0xd8
call fcn.00450a90
lea ebx, [esp + 0xd8]
mov dword [esp + 0x18], ebx
lea ecx, [esp - 0x8000]
mov dword [esp], ecx
add ecx, 0xb70
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 4], edx
push eax
push dword [ebp + 0x10]
call dword [ebp + 8]
pop ecx
pop eax
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov esp, dword [ecx + 4]
pop dword fs:[0x14]
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4510b0
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword [esp + 4]
mov edx, dword [ecx]
mov eax, esp
mov dword [edx + 4], eax
sub eax, 0x10000
mov dword [edx], eax
add eax, 0xb70
mov dword [edx + 8], eax
mov dword [edx + 0xc], eax
lea esi, [ecx + 0x30]
mov dword fs:[0x14], esi
mov dword [edx + 0x18], ecx
mov dword [esi], edx
cld
call fcn.0044fea0
call fcn.0042ea60
ret
Function at 0x47a680
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x47a8b6
sub esp, 0x4c
mov eax, dword [esp + 0x54]
movzx ecx, word [eax + 2]
movzx edx, word [eax + 8]
movzx ebx, word [eax + 0xa]
movzx ebp, word [eax + 0xc]
mov esi, dword [esp + 0x50]
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], 1
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], 0
mov ecx, dword [0x80b500]
mov dword [esp + 0x1c], ecx
call fcn.00478e30
lea esi, [esp + 0x20]
mov dword [esp + 0x34], esi
lea edi, [esp + 0x38]
call fcn.00450a4e
mov edi, esp
mov esi, dword [esp + 0x34]
call fcn.00450a4e
call fcn.00476c50
mov eax, dword [esp + 0x14]
add eax, 0x15180
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
adc ecx, 0
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x93a80
mov dword [esp + 0xc], 0
call fcn.0044af20
mov eax, dword [esp + 0x54]
movzx ecx, word [eax + 4]
mov edx, dword [esp + 0x10]
mov ebx, eax
mov eax, edx
mov ebp, 0xc22e4507
mov esi, edx
imul ebp
mov eax, esi
sar esi, 0x1f
add eax, edx
sar eax, 0x10
sub eax, esi
sub ecx, eax
test ecx, ecx
jge 0x47a898
lea edx, [ecx + 7]
movzx ebp, word [ebx + 6]
lea esi, [ebp - 1]
cmp esi, 4
jge 0x47a7ff
lea ecx, [ebp + ebp*2]
lea ecx, [ebp + ecx*2]
lea ecx, [edx + ecx - 6]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x38]
mov ebp, edx
shr edx, 0x1f
shl edx, 0x1f
test edx, edx
je 0x47a7f5
shl ebp, 1
mov edx, ebx
shr ebx, 0x1f
or ebx, ebp
shl edx, 1
shr edx, 0x1f
mov ebp, ebx
shl ebx, 1
or ebx, edx
mov edx, ebx
add ebx, 0xd7b17f80
shr ebp, 0x1f
add edx, 0xd7b17f80
adc ebp, 0xd
lea eax, [ecx - 1]
mov ecx, 0x15180
mov esi, eax
mul ecx
mov ecx, eax
add eax, ebx
mov edi, eax
add eax, 0x886e0900
mov dword [esp + 0x58], eax
sar esi, 0x1f
imul esi, esi, 0x15180
add edx, esi
add ecx, ebx
adc edx, ebp
add edi, 0x886e0900
adc edx, 0xfffffff1
mov dword [esp + 0x5c], edx
add esp, 0x4c
ret
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0x44]
jmp 0x47a7ba
movzx eax, word [ebx + 2]
cmp eax, 2
jne 0x47a892
mov ebx, dword [esp + 0x50]
test ebx, 3
jne 0x47a88a
mov ecx, eax
mov eax, 0x51eb851f
mov ebp, edx
imul ebx
mov esi, ebx
sar ebx, 0x1f
mov edi, edx
sar edx, 5
sub edx, ebx
imul edx, edx, 0x64
cmp esi, edx
je 0x47a878
mov eax, 1
test al, al
je 0x47a857
mov eax, 0x1d
lea ecx, [ebp + 0x1d]
cmp ecx, eax
jle 0x47a77e
lea ecx, [ebp + 0x16]
jmp 0x47a77e
cmp ecx, 0xd
jae 0x47a8a9
lea edx, [0x7db180]
mov edx, dword [edx + ecx*4]
lea eax, [ecx - 1]
cmp eax, 0xd
jae 0x47a89f
sub edx, dword [ecx*4 + 0x7db17c]
mov eax, edx
jmp 0x47a844
sar edi, 7
sub edi, ebx
imul edx, edi, 0x190
cmp edx, esi
sete al
jmp 0x47a83b
mov ecx, eax
mov ebp, edx
xor eax, eax
jmp 0x47a83b
mov ecx, eax
mov ebp, edx
jmp 0x47a857
mov edx, ecx
jmp 0x47a762
mov ecx, 0xd
call fcn.00450360
mov eax, ecx
mov ecx, 0xd
call fcn.00450360
nop
call fcn.0044eaa0
jmp fcn.0047a680
Function at 0x52b5a0
Capabilities:
Parse credit card information

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x52b77e
movzx eax, byte [esp + 4]
cmp al, 0x61
jb 0x52b5cb
cmp al, 0x7a
ja 0x52b5cb
mov byte [esp + 0xc], 0
ret
cmp al, 0x41
jb 0x52b777
cmp al, 0x5a
setbe cl
test cl, cl
jne 0x52b5c5
cmp al, 0x30
jb 0x52b770
cmp al, 0x39
setbe cl
test cl, cl
jne 0x52b5c5
mov ecx, dword [esp + 8]
cmp ecx, 3
jne 0x52b762
cmp al, 0x2c
ja 0x52b73f
lea edx, [eax - 0x21]
cmp dl, 1
ja 0x52b615
mov byte [esp + 0xc], 0
ret
cmp al, 0x24
je 0x52b60f
lea edx, [eax - 0x26]
cmp dl, 6
jbe 0x52b60f
cmp al, 0x2f
ja 0x52b705
cmp al, 0x26
ja 0x52b6dd
cmp al, 0x24
jne 0x52b6d2
cmp ecx, 2
jg 0x52b696
cmp ecx, 1
je 0x52b68b
cmp ecx, 2
jne 0x52b66d
cmp al, 0x2f
jne 0x52b65b
mov eax, 1
mov byte [esp + 0xc], al
ret
cmp al, 0x3b
je 0x52b651
cmp al, 0x2c
je 0x52b651
cmp al, 0x3f
sete al
jmp 0x52b656
cmp ecx, 7
jne 0x52b685
cmp al, 0x21
jne 0x52b67d
mov byte [esp + 0xc], 0
ret
add eax, 0xffffffd8
cmp al, 2
jbe 0x52b677
mov byte [esp + 0xc], 1
ret
cmp al, 0x3f
sete al
mov byte [esp + 0xc], al
ret
cmp ecx, 5
jne 0x52b6bc
cmp al, 0x40
jne 0x52b6aa
mov eax, 1
mov byte [esp + 0xc], al
ret
cmp al, 0x2f
je 0x52b6a0
cmp al, 0x3f
je 0x52b6a0
cmp al, 0x3a
sete al
jmp 0x52b6a5
cmp ecx, 6
je 0x52b6cc
cmp ecx, 7
jne 0x52b66d
mov byte [esp + 0xc], 0
ret
mov byte [esp + 0xc], 1
ret
cmp al, 0x26
je 0x52b63d
jmp 0x52b66d
lea edx, [eax - 0x2b]
cmp dl, 1
jbe 0x52b63d
lea edx, [eax - 0x2d]
cmp dl, 1
ja 0x52b6f7
mov byte [esp + 0xc], 0
ret
cmp al, 0x2f
je 0x52b63d
jmp 0x52b66d
cmp al, 0x3d
ja 0x52b724
lea edx, [eax - 0x3a]
cmp dl, 1
jbe 0x52b63d
cmp al, 0x3d
je 0x52b63d
jmp 0x52b66d
lea edx, [eax - 0x3f]
cmp dl, 1
jbe 0x52b63d
cmp al, 0x5f
je 0x52b6f1
cmp al, 0x7e
je 0x52b6f1
jmp 0x52b66d
lea edx, [eax - 0x3a]
cmp dl, 4
jbe 0x52b60f
cmp al, 0x5b
je 0x52b60f
cmp al, 0x5d
je 0x52b60f
jmp 0x52b622
cmp ecx, 4
je 0x52b5fe
jmp 0x52b622
xor ecx, ecx
jmp 0x52b5ed
xor ecx, ecx
jmp 0x52b5da
call fcn.0044eaa0
jmp fcn.0052b5a0
Function at 0x5b5870
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5b5a89
sub esp, 0x70
mov ecx, dword [esp + 0x74]
test ecx, ecx
je 0x5b5a72
lea edi, [esp + 0x40]
xor eax, eax
call fcn.00450564
lea ecx, [0x639ee0]
mov dword [esp], ecx
mov edx, dword [esp + 0x74]
mov dword [esp + 4], edx
lea ebx, [esp + 0x40]
mov dword [esp + 8], ebx
call fcn.0040c290
xor eax, eax
jmp 0x5b58e3
mov eax, dword [esp + 0x44]
mov eax, dword [eax + 4]
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x40]
mov dword [esp], ecx
call fcn.0040c500
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
add eax, ecx
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x40]
test ecx, ecx
jne 0x5b58c2
lea ecx, [0x607720]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.0043bc20
mov eax, dword [esp + 0xc]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x74]
mov edx, dword [ecx]
lea ebx, [0x639ee0]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], 0
call fcn.0040b020
mov eax, dword [esp + 0xc]
mov dword [esp + 0x34], eax
lea edi, [esp + 0x40]
xor eax, eax
call fcn.00450564
lea eax, [0x639ee0]
mov dword [esp], eax
mov ecx, dword [esp + 0x74]
mov dword [esp + 4], ecx
lea ecx, [esp + 0x40]
mov dword [esp + 8], ecx
call fcn.0040c290
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x24]
jmp 0x5b5992
lea eax, [esp + 0x40]
mov dword [esp], eax
call fcn.0040c500
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
sub ecx, eax
mov edx, ecx
neg ecx
shl eax, 3
sar ecx, 0x1f
and eax, ecx
mov ecx, dword [esp + 0x38]
add eax, ecx
mov ecx, edx
mov edx, dword [esp + 0x40]
test edx, edx
je 0x5b5a66
mov dword [esp + 0x38], eax
mov dword [esp + 0x24], ecx
mov ebx, dword [esp + 0x44]
mov ebp, dword [ebx + 8]
mov esi, dword [ebx + 4]
mov ebx, dword [ebx]
mov edi, dword [edx + 4]
mov dword [esp + 0x2c], edi
mov edx, dword [edx]
mov dword [esp + 0x30], edx
lea edi, [0x607720]
mov dword [esp], edi
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], ebp
call fcn.00410090
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x24]
cmp edx, ebx
ja 0x5b5a83
mov dword [esp + 0x28], edx
lea eax, [0x639ee0]
mov dword [esp], eax
mov ecx, dword [esp + 0x34]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x30]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0xc], edx
call fcn.0040f360
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x28]
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov ecx, dword [0x823e50]
test ecx, ecx
jne 0x5b5a4b
mov edx, dword [esp + 0x38]
mov dword [edi], edx
mov ecx, dword [esp + 0x24]
cmp eax, ecx
jbe 0x5b5968
jmp 0x5b5a7e
mov ecx, eax
mov eax, dword [esp + 0x38]
call fcn.004502e0
mov ebx, dword [esp + 0x24]
cmp ecx, ebx
mov eax, ecx
mov ecx, ebx
mov edx, dword [esp + 0x38]
jmp 0x5b5a43
mov eax, dword [esp + 0x34]
mov dword [esp + 0x78], eax
add esp, 0x70
ret
mov dword [esp + 0x78], 0
add esp, 0x70
ret
call fcn.004503c0
call fcn.00450400
nop
call fcn.0044eaa0
jmp fcn.005b5870
Function at 0x401064
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe7c
push esi
push edi
call sub.kernel32.dll_GetCommandLineA
mov dword [ebp - 4], eax
xor ecx, ecx
mov esi, dword [ebp - 4]
lodsb al, byte [esi]
cmp al, 0
je 0x401088
cmp al, 0x22
jne 0x40107c
inc ecx
jmp 0x40107c
push ecx
shr ecx, 1
shl ecx, 1
pop eax
cmp eax, ecx
je 0x40109d
pop edi
pop esi
mov eax, 3
leave
ret 8
mov esi, dword [ebp - 4]
lea edi, [ebp - 0xc4]
lodsb al, byte [esi]
cmp al, 0
je 0x4010b4
cmp al, 9
jne 0x4010b1
mov al, 0x20
stosb byte es:[edi], al
jmp 0x4010a6
stosb byte es:[edi], al
lea eax, [ebp - 0xc4]
mov esi, eax
mov edi, eax
lodsb al, byte [esi]
cmp al, 0
jne 0x4010c6
jmp 0x4010e1
cmp al, 0x22
jne 0x4010cd
stosb byte es:[edi], al
jmp 0x4010d0
stosb byte es:[edi], al
jmp 0x4010bf
lodsb al, byte [esi]
cmp al, 0x20
jne 0x4010d7
mov al, 0xfe
cmp al, 0x22
jne 0x4010de
stosb byte es:[edi], al
jmp 0x4010bf
stosb byte es:[edi], al
jmp 0x4010d0
stosb byte es:[edi], al
lea eax, [ebp - 0xc4]
mov esi, eax
lea edi, [ebp - 0x184]
mov ecx, 0
lodsb al, byte [esi]
cmp al, 0x20
je 0x4010f5
cmp ecx, dword [ebp + 8]
je 0x401114
lodsb al, byte [esi]
cmp al, 0
je 0x401121
cmp al, 0x20
jne 0x401112
lodsb al, byte [esi]
cmp al, 0x20
je 0x401108
inc ecx
cmp al, 0
je 0x401121
jmp 0x4010fa
stosb byte es:[edi], al
lodsb al, byte [esi]
cmp al, 0x20
je 0x401121
cmp al, 0
je 0x401121
stosb byte es:[edi], al
jmp 0x401115
mov al, 0
stosb byte es:[edi], al
cmp ecx, dword [ebp + 8]
jae 0x40113a
mov edi, dword [ebp + 0xc]
mov al, 0
stosb byte es:[edi], al
mov eax, 2
pop edi
pop esi
leave
ret 8
lea eax, [ebp - 0x184]
mov esi, eax
mov edi, dword [ebp + 0xc]
lodsb al, byte [esi]
cmp al, 0
je 0x401157
cmp al, 0x22
je 0x401145
cmp al, 0xfe
jne 0x401154
mov al, 0x20
stosb byte es:[edi], al
jmp 0x401145
stosb byte es:[edi], al
mov esi, dword [ebp + 0xc]
lodsb al, byte [esi]
cmp al, 0
jne 0x40116b
pop edi
pop esi
mov eax, 4
leave
ret 8
mov eax, 1
pop edi
pop esi
leave
ret 8

Function at 0x401178
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
mov dword [ebp - 4], eax
push dword [ebp + 8]
call fcn.00401220
mov dword [ebp - 0xc], eax
push 0
lea eax, [ebp - 8]
push eax
push dword [ebp - 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call sub.kernel32.dll_WriteFile
mov eax, dword [ebp - 8]
leave
ret 4
Function at 0x7741a690
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x7741a6ce
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x7741a6c6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x7741a6d0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x7741a6b6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x7741a7a0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x7741a7d1
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x7741a7d1
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x7741a7d1
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x774211ef
Capabilities:
Encode data using xor

Disassembly:
call 0x77421168
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x77421198
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x774211b4
xor edx, 0
jmp 0x774211bf
xor edx, edx
jmp 0x774211d6
jmp 0x774211e2
xor eax, eax
push 0x8427d7c0
call 0x774211ef
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x7742122b
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x77421204
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x77421242
add eax, 0
jno 0x77421247
add esi, 0
ret 0x10
Function at 0x77421fb0
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x77421fd2
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x77422174
cmp edi, dword [ebp + 0x10]
jb 0x77422174
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.77421a9c
inc edi
jmp 0x7742205b
jmp 0x77422068
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.77421a9c
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.77421a9c
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x774220bc
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x774220a0
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.774220ea
add dword [eax], 0x39
jle 0x774220c6
sub al, 0xf5
mov ch, al
call fcn.774220ff
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10

Function at 0x77423dd7
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0x77423ded
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0x77423dfe
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.77423e3f
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx
Function at 0x774261ab
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0xffffffffffffffff
push esi
mov esi, esp
xor dword [esp - 0x43], esi
xor dword [esp - 0x45], esi
and dword [esi + 4], eax
pop esi
push 0
ja 0x774260f4
add ebx, 0
push ecx
call 0x77426109
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
add esp, 8
xor dword [esp], ebx
sub esp, 0x6b
mov dword [esp + 0x67], edx
add esp, 0x67
push ecx
push 0
xor dword [esp - 0x56], edx
xor edi, 0
add dword [esp], edi
push esi
mov ebx, 0x7330738e
sub ebx, dword [0x73326bcd]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x73326bbd
call fcn.77421bd3
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.774210e1
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x77426267
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x77426267
mov ecx, dword [esi + 0x10]
sub dword [esp - 0x34], ebx
xor ecx, edi
mov edx, dword [esi + 0x14]
xor edx, edi
shl edx, 2
add edx, 0x18
mov eax, dword [esi]
xor eax, edi
cmp eax, 1
je 0x7742621e
mov eax, 1
lock xchg dword [0x73326bc9], eax
push 0x3dd1fc71
call 0x774261ab
push esi
add esp, 8
cmp eax, 0
jne 0x77426194
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x774261ba
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x774261cf
cmp ecx, edx
cmp eax, 0
je 0x774261f4
mov dword [ebp - 4], eax
lea ecx, [esi + 0x18]
mov eax, dword [esi + ecx]
xor eax, edi
add eax, edx
add dword [esi + eax], ebx
add ecx, 4
dec dword [ebp - 4]
jne 0x774261de
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.7742620d
dec eax
loope 0x77426210
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x73326bc9], 0
add edx, esi
mov dword [ebp + 4], edx
xchg dword [esp], esi
push ecx
lea ecx, [edi - 0x72d1f741]
mov ecx, esp
mov dword [ecx - 0x15], ebx
pop ecx
push esi
xor esi, esi
mov esi, esp
and dword [esi - 0x1d], ecx
pop esi
mov dword [esp], esi
jb 0x77426244
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x77426259
jmp 0x77426264
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x77426152
Function at 0x7742d2cc
Capabilities:
Access peb ldr_data

Disassembly:
add esp, 8
and dword [esp], ebx
push ecx
push edx
push edi
push esi
or edi, 0xffffffff
not edi
add edi, dword [ebp + 8]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
xor edx, edx
mov ecx, dword [ecx]
cmp ecx, dword [esp]
je 0x7742d5a2
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x73313841
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x7330a807
push 0xffffffffffffffff
call fcn.774244cc
xchg edx, eax
and eax, 0
add eax, 0x75d46dc4
push ecx
and ecx, 0xcfb6d7ec
mov ecx, esp
mov dword [ecx - 0x54], esi
pop ecx
ja 0x7742d336
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.7742d34e
mov byte [0xee69f033], al
invalid
mov eax, ecx
pop esi
mov edi, dword [esp]
add esp, 4
pop edx
xor ecx, ecx
add ecx, 0xffffffff
and ecx, dword [esp]
xor ecx, 0
add esp, 4
pop ebx
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
jno 0x7742d596
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x7742d56a
Function at 0x7743cd9c
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x7743cdbe
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x7743cdbe
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x7743cdbe
ret
cmp word [ebx + 4], 0x14c
jne 0x7743cdbe
test word [ebx + 0x16], 2
je 0x7743cdbe
test word [ebx + 0x16], 0x100
je 0x7743cdbe
cmp word [ebx + 0x18], 0x10b
jne 0x7743cdbe
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x7743cdbe
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x7743ce4a
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x7743cdde
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.77423d29
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x7743cdbe
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8

Function at 0x7743ce4a
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x7743cdbe
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x7743cdbe
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x7743cdbe
ret
cmp word [ebx + 4], 0x14c
jne 0x7743cdbe
test word [ebx + 0x16], 2
je 0x7743cdbe
test word [ebx + 0x16], 0x100
je 0x7743cdbe
cmp word [ebx + 0x18], 0x10b
jne 0x7743cdbe
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x7743cdbe
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x7743ce4a
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x7743cdde
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.77423d29
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x7743cdbe
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8
Function at 0x7743cf01
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x7743cf5a
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x7743cf01
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x7743cf10
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x77842bb3
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x7743cf61
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.77423dd7
cmp eax, dword [ebp + 0xc]
pop eax
je 0x7743d000
add edi, 4
add eax, 2
dec ecx
jne 0x7743cf46
call 0x7743cfad
loope 0x7743cfa3
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x7743cffd
mov dh, pe_nt_image_headers32
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x7743d00e
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x7743cfc1
cmp eax, ecx
ja 0x7743cfc1
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x7743d04b
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x7743d041
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.774242b6
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]