joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43f780
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x3b000]
push edi
or ebp, 0xffffffff
jmp 0x43f7a2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x43f7a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x43f798
mov eax, 1
add ebx, ebx
jne 0x43f7bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x43f7b0
jne 0x43f7cc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x43f7b0
xor ecx, ecx
sub eax, 3
jb 0x43f7e0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x43f852
mov ebp, eax
add ebx, ebx
jne 0x43f7eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x43f7f8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x43f81c
inc ecx
add ebx, ebx
jne 0x43f808
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x43f7fd
jne 0x43f819
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x43f7fd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x43f83c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x43f82d
jmp 0x43f79e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x43f83c
add edi, ecx
jmp 0x43f79e
pop esi
mov edi, esi
mov ecx, 0x307
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x43f85a
cmp byte [edi], 0
jne 0x43f85a
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 0x43f85f
lea edi, [esi + 0x3d000]
mov eax, dword [edi]
or eax, eax
je 0x43f8ce
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3f434]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x3f4d4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x43f88c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x3f4d8]
or eax, eax
je 0x43f8c8
mov dword [ebx], eax
add ebx, 4
jmp 0x43f8a9
call dword [esi + 0x3f4e0]
mov ebp, dword [esi + 0x3f4dc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x43f902
sub esp, 0xffffff80
jmp 0x4057b8

Function at 0x432005
Capabilities:
Encode data using xor

Disassembly:
pushal
mov eax, section..text
nop
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x32555c73
nop
test eax, eax
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x432024
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42f314
nop
mov ecx, 0x242f221c
nop
nop
nop
test eax, eax
nop
je 0x432084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x1000bc50
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push dword [edx + 0x37]
push edi
xor edi, 0x17051
sub edi, 0x14779
and edi, 0xe407
or edi, 0x17bbb
pop edi
push ebx
push eax
add esp, 4
add ebx, 0x1a64
and ebx, 0xefa2
xor ebx, 0x5c1b
pop ebx
jmp 0x1000bc28
push eax
add eax, 0x47f0
call 0x1000bc3f
add byte [esi + 0x3f], cl
inc esi
xor al, 0x46
inc esp
cmp byte [edx], dh
inc ebp
add esp, 4
pop eax
push esi
and esi, 0x12261
call 0x1000bc56
add byte [esi + 0x47], al
inc esi
inc edi
dec edx
push eax
dec edx
add esp, 4
pop esi
mov dword [ebp - 0xa48], 0
push edi
add edi, 0x14535
pop edi
push ebx
push ebx
add esp, 4
or ebx, 0x7c96
pop ebx
push edx
push esi
add esp, 4
or edx, 0x14d52
and edx, 0x26d
xor edx, 0x127e1
sub edx, 0x811c
pop edx
mov byte [ebp - 0x83c], 0x45
mov byte [ebp - 0x83b], 0x78
mov byte [ebp - 0x83a], 0x69
mov byte [ebp - 0x839], 0x74
push dword [esi + eax*8 - 0x7b]
enter 0xfffffffffffffff7, 0xffffffffffffffff
push eax
mov byte [ebp - 0x837], 0x72
mov byte [ebp - 0x836], 0x6f
mov byte [ebp - 0x835], 0x63
mov byte [ebp - 0x834], 0x65
mov byte [ebp - 0x833], 0x73
mov byte [ebp - 0x832], 0x73
push dword [ebx - 0x3a]
test edi, ecx
idiv edi
inc dword [eax]

Function at 0x1000bc56
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push dword [edx + 0x37]
push edi
xor edi, 0x17051
sub edi, 0x14779
and edi, 0xe407
or edi, 0x17bbb
pop edi
push ebx
push eax
add esp, 4
add ebx, 0x1a64
and ebx, 0xefa2
xor ebx, 0x5c1b
pop ebx
jmp 0x1000bc28
push eax
add eax, 0x47f0
call 0x1000bc3f
add byte [esi + 0x3f], cl
inc esi
xor al, 0x46
inc esp
cmp byte [edx], dh
inc ebp
add esp, 4
pop eax
push esi
and esi, 0x12261
call 0x1000bc56
add byte [esi + 0x47], al
inc esi
inc edi
dec edx
push eax
dec edx
add esp, 4
pop esi
mov dword [ebp - 0xa48], 0
push edi
add edi, 0x14535
pop edi
push ebx
push ebx
add esp, 4
or ebx, 0x7c96
pop ebx
push edx
push esi
add esp, 4
or edx, 0x14d52
and edx, 0x26d
xor edx, 0x127e1
sub edx, 0x811c
pop edx
mov byte [ebp - 0x83c], 0x45
mov byte [ebp - 0x83b], 0x78
mov byte [ebp - 0x83a], 0x69
mov byte [ebp - 0x839], 0x74
push dword [esi + eax*8 - 0x7b]
enter 0xfffffffffffffff7, 0xffffffffffffffff
push eax
mov byte [ebp - 0x837], 0x72
mov byte [ebp - 0x836], 0x6f
mov byte [ebp - 0x835], 0x63
mov byte [ebp - 0x834], 0x65
mov byte [ebp - 0x833], 0x73
mov byte [ebp - 0x832], 0x73
push dword [ebx - 0x3a]
test edi, ecx
idiv edi
inc dword [eax]

Function at 0x1000be63
Capabilities:
Get number of processors

Disassembly:
add byte [eax], al
xor edx, 0xa421
or edx, 0xc594
pop edx
push ecx
call 0x1000be63
add byte [0x32374843], dh
inc edx
inc ebx
add esp, 4
or ecx, 0x1068c
sub ecx, 0x1086f
add dword [eax], eax
pop ecx
cmp dword [ebp - 0x1500], 0
jne 0x1000be8b
mov dword [ebp - 0x2a0], 0
jmp 0x1000c147
mov edx, dword [ebp - 0x1500]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0xc1c], ecx
push eax
push edx
add esp, 4
add eax, 0xd61
add eax, 0x43db
jmp 0x1000beb6
and eax, 0x13f46
Function at 0x1000beb0
Capabilities:
Get number of processors

Disassembly:
cmp eax, dword [edi + 0x37]
cmp dword [0x46e0814f], esi
aas
add dword [eax], eax
pop eax
push eax
push ebx
add esp, 4
sub eax, 0x1954
xor eax, 0x13a5e
pop eax
cmp dword [ebp - 0xc1c], 0
jne 0x1000bee7
mov dword [ebp - 0x2a0], 0
jmp 0x1000c147
mov edx, dword [ebp - 0xc1c]
mov dword [ebp - 0x4bc], edx
push ecx
push ebx
add esp, 4
or ecx, 0x145d5
pop ecx
push esi
add esi, 0x140d6
call fcn.1000bf12
add byte [ebx + 0x4c], al
inc esp
dec edx
push esi
push edi
add esp, 4
xor esi, 0x183eb
add esi, 0x5c34
sub esi, 0x17d83
pop esi
push ecx
xor ecx, 0xa609
add ecx, 0x1449e
sub ecx, 0x12d43
add ecx, 0x1120b
pop ecx
cmp dword [ebp - 0x2a0], 0
jne 0x1000ca7e
mov ecx, 0x6b
mov word [ebp - 0x1638], cx
mov edx, 0x65
mov word [ebp - 0x1636], dx
mov eax, 0x72
mov word [ebp - 0x1634], ax
mov ecx, 0x6e
mov word [ebp - 0x1632], cx
mov edx, 0x65
mov word [ebp - 0x1630], dx
mov eax, 0x6c
mov word [ebp - 0x162e], ax
mov ecx, 0x33
mov word [ebp - 0x162c], cx
mov edx, 0x32
mov word [ebp - 0x162a], dx
mov eax, 0x2e
mov word [ebp - 0x1628], ax
mov ecx, 0x64
mov word [ebp - 0x1626], cx
mov edx, 0x6c
mov word [ebp - 0x1624], dx
mov eax, 0x6c
mov word [ebp - 0x1622], ax
xor ecx, ecx
mov word [ebp - 0x1620], cx
push esi
push eax
push eax
add esp, 4
sub eax, 0x1635f
add eax, 0x14293
xor eax, 0xe876
pop eax
push ecx
sub ecx, 0x10bc8
add ecx, 0x14cb8
and ecx, 0x10dbd
xor ecx, 0x1772c
pop ecx
mov edx, dword fs:[0x18]
mov dword [ebp - 0x1bf0], edx
mov eax, dword [ebp - 0x1bf0]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0x1bf4], ecx
mov edx, dword [ebp - 0x1bf4]
mov dword [ebp - 0x1528], edx
push edi
push edi
add esp, 4
or edi, 0x1073d
add edi, 0x30a7
sub edi, 0x1b75
pop edi
push eax
add eax, 0x16420
or eax, 0x1a27
sub eax, 0xe946
and eax, 0x17aa2
pop eax
cmp dword [ebp - 0x1528], 0
jne 0x1000cb22
mov dword [ebp - 0x2a0], 0
jmp 0x1000cdc9
mov eax, dword [ebp - 0x1528]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0xc38], edx
push ecx
push edi
add esp, 4
add ecx, 0x99ba
pop ecx
Function at 0x1000c0bb
Capabilities:
Get number of processors

Disassembly:
mov ax, word [ebp - 0xfb8]
mov word [ebp - 0x100], ax
push eax
push ebx
add esp, 4
call 0x1000bff2
add byte [eax + 0x45], cl
dec ebp
inc eax
xor eax, 0x503f3f4e
add esp, 4
or eax, 0x16717
sub eax, 0x6cd0
and eax, 0xf9d6
pop eax
push edx
sub edx, 0x5c2d
pop edx
movzx ecx, word [ebp - 0x100]
test ecx, ecx
jne 0x1000c033
movzx edx, word [ebp - 0x1ac]
movzx eax, word [ebp - 0x100]
sub edx, eax
mov dword [ebp - 0x150c], edx
jmp 0x1000c096
movzx ecx, word [ebp - 0x1ac]
movzx edx, word [ebp - 0x100]
cmp ecx, edx
je 0x1000bf52
movzx eax, word [ebp - 0x1ac]
xor eax, 0x20
movzx ecx, word [ebp - 0x100]
cmp eax, ecx
je 0x1000bf52
movzx edx, word [ebp - 0x1ac]
movzx eax, word [ebp - 0x100]
cmp edx, eax
jge 0x1000c080
mov dword [ebp - 0x1504], 0xffffffff
jmp 0x1000c08a
mov dword [ebp - 0x1504], 1
mov ecx, dword [ebp - 0x1504]
mov dword [ebp - 0x150c], ecx
cmp dword [ebp - 0x150c], 0
jne 0x1000c0df
push edx
sub edx, 0x12e1f
pop edx
push edx
push esi
add esp, 4
call 0x1000c0bb
add byte [ebx], dh
cmp al, 0x39
dec ebx
cmp ecx, dword [ebx + 0x3e]
xor cl, byte [ebx + eax*4 - 0x3c]
add al, 0x81
ret 0x37aa
push ebx
jmp 0x1000c0e6
call 0x1000c0f4
add byte [esi + 0x3b], cl
aaa
xor eax, 0x343d4d35
add esp, 4
call 0x1000c104
add byte [esi + ecx*2 + 0x4c], cl
push eax
inc edx
dec ebx
dec ebx
add esp, 4
jmp 0x1000c110
pop ebx
mov eax, dword [ebp - 0x4bc]
mov ecx, dword [eax]
mov dword [ebp - 0x4bc], ecx
mov edx, dword [ebp - 0x4bc]
cmp edx, dword [ebp - 0xc1c]
je 0x1000c13d
mov eax, dword [ebp - 0x4bc]
cmp dword [eax + 0x30], 0
jne 0x1000bef3
mov dword [ebp - 0x2a0], 0
Function at 0x1000c104
Capabilities:
Get number of processors

Disassembly:
mov ax, word [ebp - 0xfb8]
mov word [ebp - 0x100], ax
push eax
push ebx
add esp, 4
call 0x1000bff2
add byte [eax + 0x45], cl
dec ebp
inc eax
xor eax, 0x503f3f4e
add esp, 4
or eax, 0x16717
sub eax, 0x6cd0
and eax, 0xf9d6
pop eax
push edx
sub edx, 0x5c2d
pop edx
movzx ecx, word [ebp - 0x100]
test ecx, ecx
jne 0x1000c033
movzx edx, word [ebp - 0x1ac]
movzx eax, word [ebp - 0x100]
sub edx, eax
mov dword [ebp - 0x150c], edx
jmp 0x1000c096
movzx ecx, word [ebp - 0x1ac]
movzx edx, word [ebp - 0x100]
cmp ecx, edx
je 0x1000bf52
movzx eax, word [ebp - 0x1ac]
xor eax, 0x20
movzx ecx, word [ebp - 0x100]
cmp eax, ecx
je 0x1000bf52
movzx edx, word [ebp - 0x1ac]
movzx eax, word [ebp - 0x100]
cmp edx, eax
jge 0x1000c080
mov dword [ebp - 0x1504], 0xffffffff
jmp 0x1000c08a
mov dword [ebp - 0x1504], 1
mov ecx, dword [ebp - 0x1504]
mov dword [ebp - 0x150c], ecx
cmp dword [ebp - 0x150c], 0
jne 0x1000c0df
push edx
sub edx, 0x12e1f
pop edx
push edx
push esi
add esp, 4
call 0x1000c0bb
add byte [ebx], dh
cmp al, 0x39
dec ebx
cmp ecx, dword [ebx + 0x3e]
xor cl, byte [ebx + eax*4 - 0x3c]
add al, 0x81
ret 0x37aa
push ebx
jmp 0x1000c0e6
call 0x1000c0f4
add byte [esi + 0x3b], cl
aaa
xor eax, 0x343d4d35
add esp, 4
call 0x1000c104
add byte [esi + ecx*2 + 0x4c], cl
push eax
inc edx
dec ebx
dec ebx
add esp, 4
jmp 0x1000c110
pop ebx
mov eax, dword [ebp - 0x4bc]
mov ecx, dword [eax]
mov dword [ebp - 0x4bc], ecx
mov edx, dword [ebp - 0x4bc]
cmp edx, dword [ebp - 0xc1c]
je 0x1000c13d
mov eax, dword [ebp - 0x4bc]
cmp dword [eax + 0x30], 0
jne 0x1000bef3
mov dword [ebp - 0x2a0], 0

Function at 0x1000c220
Capabilities:
Contain obfuscated stackstrings
Get number of processors

Disassembly:
push edx
add esp, 4
or esi, 0x1161f
pop esi
push edx
jmp 0x1000c234
pop edx
push eax
push eax
add esp, 4
and eax, 0x11b84
pop eax
push ecx
and ecx, 0x9131
pop ecx
push edx
add edx, 0xf2d8
pop edx
mov byte [ebp - 0x84c], 0x4c
mov byte [ebp - 0x84b], 0x6f
mov byte [ebp - 0x84a], 0x61
mov byte [ebp - 0x849], 0x64
mov byte [ebp - 0x848], 0x4c
mov byte [ebp - 0x847], 0x69
mov byte [ebp - 0x846], 0x62
mov byte [ebp - 0x845], 0x72
mov byte [ebp - 0x844], 0x61
mov byte [ebp - 0x843], 0x72
mov byte [ebp - 0x842], 0x79
mov byte [ebp - 0x841], 0x57
mov byte [ebp - 0x840], 0
mov edx, dword fs:[0x18]
mov dword [ebp - 0x1bd0], edx
mov eax, dword [ebp - 0x1bd0]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0x1bd4], ecx
mov edx, dword [ebp - 0x1bd4]
invalid
xchg ebp, eax
Function at 0x1000c3fc
Capabilities:
Resolve function by parsing pe exports

Disassembly:
add esp, 4
xor eax, 0xe930
pop eax
push edi
sub edi, 0x14596
add edi, 0x946e
pop edi
mov eax, dword [ebp - 0xc20]
mov cx, word [eax]
mov word [ebp - 0xfba], cx
mov edx, dword [ebp - 0xc20]
add edx, 2
mov dword [ebp - 0xc20], edx
mov ax, word [ebp - 0xfba]
mov word [ebp - 0x1b0], ax
mov ecx, dword [ebp - 0xc24]
mov dx, word [ecx]
mov word [ebp - 0xfbc], dx
mov eax, dword [ebp - 0xc24]
add eax, 2
mov dword [ebp - 0xc24], eax
mov cx, word [ebp - 0xfbc]
mov word [ebp - 0x24], cx
push edx
push ecx
add esp, 4
xor edx, 0x11a60
xor edx, 0x11d39
jmp 0x1000c483
jmp 0x1000c48a
pop edx
push ecx
push eax
add esp, 4
xor ecx, 0x3299
add ecx, 0x3ceb
pop ecx
movzx edx, word [ebp - 0x24]
test edx, edx
jne 0x1000c4ba
movzx eax, word [ebp - 0x1b0]
movzx ecx, word [ebp - 0x24]
sub eax, ecx
mov dword [ebp - 0x1518], eax
jmp 0x1000c514
movzx edx, word [ebp - 0x1b0]
movzx eax, word [ebp - 0x24]
cmp edx, eax
je 0x1000c3e2
movzx ecx, word [ebp - 0x1b0]
xor ecx, 0x20
movzx edx, word [ebp - 0x24]
cmp ecx, edx
je 0x1000c3e2
movzx eax, word [ebp - 0x1b0]
movzx ecx, word [ebp - 0x24]
cmp eax, ecx
jge 0x1000c4fe
mov dword [ebp - 0x1514], 0xffffffff
jmp 0x1000c508
mov dword [ebp - 0x1514], 1
mov edx, dword [ebp - 0x1514]
mov dword [ebp - 0x1518], edx
cmp dword [ebp - 0x1518], 0
jne 0x1000c55d
push ecx
add ecx, 0xca99
pop ecx
push ebx
jmp 0x1000c52f
pop ebx
push ecx
push esi
add esp, 4
sub ecx, 0xee5d
and ecx, 0x15ca4
jmp 0x1000c548
and ecx, 0x4804
pop ecx
mov eax, dword [ebp - 0x4c0]
mov dword [ebp - 0x728], eax
jmp 0x1000c5c5
push ebx
sub ebx, 0xa46d
and ebx, 0x75ee
sub ebx, 0x13225
xor ebx, 0x85c1
pop ebx
push edx
push eax
add esp, 4
and edx, 0x16c50
sub edx, 0x9a4f
sub edx, 0x11baa
pop edx
mov ecx, dword [ebp - 0x4c0]
mov edx, dword [ecx]
mov dword [ebp - 0x4c0], edx
mov eax, dword [ebp - 0x4c0]
cmp eax, dword [ebp - 0xc28]
je 0x1000c5bb
mov ecx, dword [ebp - 0x4c0]
cmp dword [ecx + 0x30], 0
jne 0x1000c386
mov dword [ebp - 0x728], 0
Function at 0x100288f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x28
push ebx
push esi
mov esi, eax
mov al, 0x49
push edi
mov edi, ecx
mov cl, 0x45
mov byte [esp + 0x11], al
mov byte [esp + 0x13], al
mov byte [esp + 0x19], al
mov eax, dword [edi + 0xc]
push esi
mov byte [esp + 0x10], 0x54
mov byte [esp + 0x11], 0x52
mov byte [esp + 0x12], 0x55
mov byte [esp + 0x13], cl
mov byte [esp + 0x14], 0x56
mov byte [esp + 0x16], 0x53
mov byte [esp + 0x18], 0x4f
mov byte [esp + 0x19], 0x4e
mov byte [esp + 0x1a], 0x2d
mov byte [esp + 0x1b], 0x58
mov byte [esp + 0x1c], 0x46
mov byte [esp + 0x1e], 0x4c
mov byte [esp + 0x1f], cl
mov byte [esp + 0x20], 0x2e
mov byte [esp + 0x21], 0
call eax
mov ecx, dword [edi + 8]
push 2
push 0
push esi
mov ebx, eax
call ecx
mov edx, dword [edi + 0xc]
push esi
call edx
mov ecx, dword [edi + 8]
push 0
lea eax, [eax + ebx - 0x12]
push eax
push esi
call ecx
mov eax, dword [edi]
push esi
push 0x12
push 1
lea edx, [esp + 0x2c]
push edx
call eax
mov ecx, dword [edi + 8]
push 0
push ebx
push esi
call ecx
mov esi, 0x12
lea ecx, [esp + 0x20]
lea edx, [esp + 0xc]
lea esp, [esp]
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x100289b4
sub esi, 4
add ecx, 4
add edx, 4
cmp esi, 4
jae 0x100289a0
movzx eax, byte [edx]
movzx edi, byte [ecx]
sub eax, edi
jne 0x100289e5
movzx eax, byte [edx + 1]
movzx edi, byte [ecx + 1]
sub eax, edi
jne 0x100289e5
cmp esi, 2
jbe 0x100289fb
movzx eax, byte [edx + 2]
movzx esi, byte [ecx + 2]
sub eax, esi
jne 0x100289e5
movzx eax, byte [edx + 3]
movzx ecx, byte [ecx + 3]
sub eax, ecx
sar eax, 0x1f
or eax, 1
xor edx, edx
test eax, eax
sete dl
pop edi
pop esi
pop ebx
mov eax, edx
add esp, 0x28
ret
xor eax, eax
xor edx, edx
test eax, eax
sete dl
pop edi
pop esi
pop ebx
mov eax, edx
add esp, 0x28
ret
Function at 0x10034040
Capabilities:
Resolve function by parsing pe exports

Disassembly:
or ecx, 0xffffffff
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
push esi
mov esi, ecx
mov edx, ecx
mov word [eax], dx
mov word [eax + 0xc], dx
mov word [eax + 0xe], dx
mov dword [eax + 0x10], ecx
xor edx, edx
mov dword [eax + 0x14], edx
mov word [eax + 0x18], si
mov word [eax + 0x1a], si
mov word [eax + 0x1c], si
mov word [eax + 0x1e], si
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ecx
mov word [eax + 0x30], si
mov word [eax + 0x2e], si
mov word [eax + 0x2c], si
mov word [eax + 0x2a], si
mov word [eax + 0x28], si
mov word [eax + 0x32], si
mov word [eax + 0x3c], si
xor esi, esi
push edi
movzx edi, si
mov esi, edi
shl edi, 0x10
or esi, edi
mov dword [eax + 0x34], esi
mov dword [eax + 0x38], esi
mov byte [eax + 0x3e], dl
mov byte [eax + 0x3f], 0x30
mov dword [eax + 0x40], ecx
mov dword [eax + 0x44], ecx
mov dword [eax + 0x48], ecx
mov dword [eax + 0x4c], ecx
mov dword [eax + 0x50], ecx
mov dword [eax + 0x54], ecx
mov dword [eax + 0x5c], edx
mov esi, ecx
mov word [eax + 0x58], si
mov word [eax + 0x5a], si
mov dword [eax + 0x60], edx
mov dword [eax + 0x64], edx
pop edi
mov word [eax + 0x68], si
mov word [eax + 0x6a], si
mov byte [eax + 0x73], dl
mov byte [eax + 0x72], dl
mov byte [eax + 0x70], dl
mov byte [eax + 0x71], dl
mov byte [eax + 0x74], dl
mov dword [eax + 0x6c], 0x1e
mov dword [eax + 0x78], edx
mov dword [eax + 0x7c], ecx
pop esi
ret
Function at 0x100356e0
Capabilities:
Encode data using xor

Disassembly:
push ecx
push edi
mov edi, eax
test edi, edi
je 0x100356f1
mov eax, dword [edi]
mov ecx, dword [eax]
cmp ecx, 1
je 0x100356f6
xor eax, eax
pop edi
pop ecx
ret
lea ecx, [eax + 0x128]
mov edx, ecx
and edx, 0xf
je 0x1003570c
mov eax, 0x10
sub eax, edx
jmp 0x1003570e
xor eax, eax
movzx eax, word [eax + ecx + 0x16]
shr eax, 3
push ebp
mov ebp, eax
lea eax, [ebp - 3]
cmp eax, 1
ja 0x1003578a
push ebx
push esi
push edi
call sym.FreeImage.dll__FreeImage_GetHeight_4
push edi
mov ebx, eax
call sym.FreeImage.dll__FreeImage_GetLine_4
mov esi, eax
add esi, 3
push edi
and esi, 0xfffffffc
call sym.FreeImage.dll__FreeImage_GetLine_4
push edi
mov dword [esp + 0x14], eax
call sym.FreeImage.dll__FreeImage_GetBits_4
mov edi, eax
test ebx, ebx
jbe 0x1003577f
mov ecx, dword [esp + 0x10]
lea edx, [edi + ecx]
mov eax, ebx
mov ecx, edi
cmp edi, edx
jae 0x10035776
mov edi, edi
movzx ebx, byte [ecx + 2]
xor byte [ecx], bl
mov bl, byte [ecx]
xor byte [ecx + 2], bl
mov bl, byte [ecx + 2]
xor byte [ecx], bl
add ecx, ebp
cmp ecx, edx
jb 0x10035760
add edi, esi
add edx, esi
sub eax, 1
jne 0x10035758
pop esi
pop ebx
pop ebp
mov eax, 1
pop edi
pop ecx
ret
pop ebp
xor eax, eax
pop edi
pop ecx
ret
Function at 0x1004cb70
Capabilities:
Write file on windows

Disassembly:
sub esp, 0xc
push ebx
push ebp
mov ebx, eax
cmp dword [ebx + 0x9c], 0
push esi
push edi
jne 0x1004cc4c
cmp dword [ebx + 0x54], 0x20
jbe 0x1004cc4c
lea ebp, [ebx + 0x3c]
mov eax, ebp
call fcn.1004d1a0
mov edi, dword [eax]
mov eax, dword [edi]
mov ecx, dword [ebx]
imul eax, eax, 0xfff8
push 0
push eax
push ecx
call fcn.10150a2b
mov edx, dword [ebx]
mov eax, dword [edi + 8]
add esp, 0xc
push edx
push 1
push 0xfff8
push eax
call fcn.101504f9
mov ecx, dword [edi + 8]
push ecx
call fcn.101512a8
mov dword [edi + 8], 0
mov esi, dword [ebp]
mov edx, dword [ebp + 0x14]
add esp, 0x14
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], esi
test esi, esi
jne 0x1004cbef
call fcn.1014f6d2
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 4]
mov dword [esp + 0x18], eax
test esi, esi
je 0x1004cc02
mov esi, dword [esi]
jmp 0x1004cc04
xor esi, esi
cmp eax, dword [esi + 0x14]
jne 0x1004cc0e
call fcn.1014f6d2
mov edx, dword [esp + 0x18]
mov ecx, dword [ebx + 0x6c]
mov eax, dword [ecx]
mov ecx, dword [ebx + 0x58]
push edx
mov edx, dword [esp + 0x18]
lea esi, [ebx + 0x58]
push edx
push eax
push ecx
push esi
mov eax, ebp
call fcn.1004d1f0
mov eax, dword [edi]
mov ecx, dword [esi + 0x14]
mov edi, dword [ecx]
mov esi, dword [esi]
lea edx, [esp + 0x14]
push edx
add ebx, 0x74
mov dword [esp + 0x18], eax
call fcn.1004d2b0
mov dword [eax], esi
mov dword [eax + 4], edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x1004cd50
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x20]
cmp dword [ebp + 0x98], 0
push esi
push edi
jne 0x1004ceab
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x14]
lea ebx, [ebp + 0x74]
push ecx
mov edi, ebx
call fcn.1004d3c0
mov esi, dword [esp + 0x10]
mov edx, dword [ebx + 0x18]
mov eax, dword [ebx]
mov dword [esp + 0x1c], edx
test esi, esi
je 0x1004cd91
cmp esi, eax
je 0x1004cd96
call fcn.1014f6d2
mov edi, dword [esp + 0x14]
cmp edi, dword [esp + 0x1c]
je 0x1004ceab
test esi, esi
jne 0x1004cdd0
call fcn.1014f6d2
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x1004cdb9
call fcn.1014f6d2
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x1004cdcc
call fcn.1014f6d2
mov eax, dword [edi + 0x10]
test eax, eax
je 0x1004cdd4
mov eax, dword [eax]
jmp 0x1004cdd6
mov eax, dword [esi]
jmp 0x1004cdaf
xor eax, eax
mov ecx, dword [edi + 0x14]
cmp ecx, dword [eax + 0x14]
jne 0x1004cde3
call fcn.1014f6d2
mov edx, dword [edi + 0x14]
mov eax, dword [edx + 8]
mov dword [ebp + 0x98], eax
cmp dword [eax + 8], 0
jne 0x1004ce90
push 0xfff8
call fcn.1014ed96
mov ecx, dword [ebp + 0x98]
mov dword [ecx + 8], eax
mov edx, dword [ebp + 0x98]
mov eax, dword [edx]
mov ecx, dword [ebp]
imul eax, eax, 0xfff8
add esp, 4
push 0
push eax
push ecx
call fcn.10150a2b
mov edx, dword [ebp]
mov eax, dword [ebp + 0x98]
mov ecx, dword [eax + 8]
add esp, 0xc
push edx
push 1
push 0xfff8
push ecx
call fcn.1015037a
add esp, 0x10
test esi, esi
jne 0x1004cea7
call fcn.1014f6d2
cmp edi, dword [esi + 0x18]
jne 0x1004ce5c
call fcn.1014f6d2
mov edx, dword [ebp + 0x50]
mov eax, dword [edx]
mov edx, dword [edi + 0x14]
mov ecx, dword [ebp + 0x3c]
lea esi, [ebp + 0x3c]
push edx
mov edx, dword [edi + 0x10]
push edx
push eax
push ecx
lea eax, [ebp + 0x58]
push esi
call fcn.1004d1f0
mov eax, dword [esi + 0x14]
mov edi, dword [eax]
mov esi, dword [esi]
lea ecx, [esp + 0x2c]
push ecx
call fcn.1004d2b0
mov dword [eax], esi
mov dword [eax + 4], edi
mov eax, ebp
call fcn.1004cb70
mov eax, dword [ebp + 0x98]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
mov esi, dword [esi]
jmp 0x1004ce52
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x14
ret 8