joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d760
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
mov esi, ecx
xor cl, cl
push edi
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x40d984
nop word [eax + eax]
cmp eax, 0x7c
je 0x40d984
cmp eax, 0x29
jne 0x40d7ae
cmp dword [esi + 0x10], 0
jne 0x40d984
cmp eax, eax
jne 0x40d7ae
test dword [esi + 0x50], 0x10000000
je 0x40d996
jmp 0x40d93d
cmp eax, 0x2e
jne 0x40d80d
push 5
lea ecx, [esi + 0x24]
call fcn.0040da00
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x40d801
cmp word [eax], 0x5c
jne 0x40d7fc
lea ecx, [eax + 2]
cmp ecx, edx
je 0x40d7fc
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x40d7e8
movzx edi, word [ecx]
cmp edi, 0x28
je 0x40d7fa
cmp edi, 0x29
je 0x40d7fa
test dl, 0x10
jne 0x40d7fc
movzx edx, word [ecx]
cmp edx, 0x7b
je 0x40d7fa
cmp edx, 0x7d
jne 0x40d7fc
mov eax, ecx
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.0040b490
jmp 0x40d96f
cmp eax, 0x5c
jne 0x40d86c
mov ecx, esi
call fcn.0040d710
test byte [esi + 0x50], 0x80
je 0x40d860
movzx eax, word [esi + 0x48]
cmp eax, 0x62
jne 0x40d83e
push 4
lea ecx, [esi + 0x24]
call fcn.0040da00
mov ecx, esi
call fcn.0040d710
jmp 0x40d976
cmp eax, 0x42
jne 0x40d860
push 4
lea ecx, [esi + 0x24]
call fcn.0040da00
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.0040d710
jmp 0x40d976
mov ecx, esi
call fcn.0040ec20
jmp 0x40d96f
cmp eax, 0x5b
jne 0x40d8cd
mov ecx, esi
call fcn.0040d710
lea ecx, [esi + 0x24]
call fcn.0040fce0
mov eax, dword [esi + 0x4c]
cmp eax, 0x5e
jne 0x40d899
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.0040d710
mov eax, dword [esi + 0x4c]
test dword [esi + 0x50], 0x20000000
je 0x40d8b7
cmp eax, 0x5d
jne 0x40d8b7
push eax
lea ecx, [esi + 0x24]
call fcn.0040fd70
mov ecx, esi
call fcn.0040d710
mov ecx, esi
call fcn.0040f700
cmp dword [esi + 0x4c], 0x5d
jne 0x40d99f
jmp 0x40d968
cmp eax, 0x28
jne 0x40d8f9
mov ecx, esi
call fcn.0040d710
mov ecx, esi
call fcn.0040ed70
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x40d996
mov ecx, esi
call fcn.0040d710
test bl, bl
je 0x40d976
jmp 0x40d96f
cmp eax, 0x5e
jne 0x40d911
push 2
lea ecx, [esi + 0x24]
call fcn.0040da00
mov ecx, esi
call fcn.0040d710
jmp 0x40d976
cmp eax, 0x24
jne 0x40d929
push 3
lea ecx, [esi + 0x24]
call fcn.0040da00
mov ecx, esi
call fcn.0040d710
jmp 0x40d976
cmp eax, 0x2a
je 0x40d98d
cmp eax, 0x2b
je 0x40d98d
cmp eax, 0x3f
je 0x40d98d
cmp eax, 0x7b
je 0x40d98d
cmp eax, 0x7d
jne 0x40d94d
test dword [esi + 0x50], 0x10000000
je 0x40d9a8
jmp 0x40d95b
cmp eax, 0x5d
jne 0x40d95b
test dword [esi + 0x50], 0x10000000
je 0x40d99f
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.0040efd0
mov ecx, esi
call fcn.0040d710
mov ecx, esi
call fcn.0040ee80
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x40d780
pop edi
pop esi
mov al, cl
pop ebx
mov esp, ebp
pop ebp
ret
push 0xa
mov ecx, esi
call fcn.0040b480
push 5
mov ecx, esi
call fcn.0040b480
push 4
mov ecx, esi
call fcn.0040b480
push 6
mov ecx, esi
call fcn.0040b480
int3
Function at 0x413aa0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x413aab
xor eax, eax
pop ebp
ret
push esi
mov esi, dword [ebp + 8]
not ecx
cmp esi, 8
jb 0x413b67
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x50dae0]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x50dae0]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x50dae0]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x50dae0]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x50dae0]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x50dae0]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x50dae0]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x50dae0]
sub edi, 1
jne 0x413ac0
pop edi
test esi, esi
je 0x413b8a
nop dword [eax + eax]
movzx eax, byte [edx]
lea edx, [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x50dae0]
sub esi, 1
jne 0x413b70
not ecx
mov eax, ecx
pop esi
pop ebp
ret

Function at 0x413ba0
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push esi
push edi
mov edi, ecx
movsx eax, dl
mov esi, dword [edi]
xor eax, esi
mov ecx, dword [edi + 8]
movzx eax, al
shr esi, 8
mov eax, dword [eax*4 + 0x50dae0]
xor eax, esi
mov dword [edi], eax
movzx eax, al
add eax, dword [edi + 4]
imul eax, eax, 0x8088405
inc eax
mov dword [edi + 4], eax
shr eax, 0x18
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x50dae0]
mov dword [edi + 8], ecx
pop edi
pop esi
ret

Function at 0x414350
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, edx
mov ebx, esi
mov dword [ebp - 8], esi
imul ebx, dword [ebp + 8]
mov eax, ecx
mov dword [ebp - 4], eax
cmp byte [edi], 0
je 0x414398
push 0
lea ecx, [ebp + 8]
push ecx
push ebx
push eax
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x41438a
mov byte [edi + 8], 1
mov eax, dword [ebp + 8]
xor edx, edx
pop edi
div esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [edi + 0x1c]
mov esi, dword [edi + 0x18]
mov ecx, dword [edi + 0x14]
sub esi, edx
lea eax, [edx + ebx]
cmp eax, dword [edi + 0x18]
cmovbe esi, ebx
add ecx, edx
push esi
push ecx
push dword [ebp - 4]
call fcn.004c4460
add dword [edi + 0x1c], esi
add esp, 0xc
mov eax, esi
xor edx, edx
div dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4143d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, ecx
mov ebx, edx
push edi
mov dword [ebp - 8], ebx
mov edi, 1
cmp byte [esi], 0
je 0x41440b
push 0
lea eax, [ebp - 8]
push eax
push edi
lea eax, [ebp - 1]
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x414406
mov byte [esi + 8], 1
mov edi, dword [ebp - 8]
jmp 0x414438
mov ebx, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
lea eax, [ebx + 1]
cmp eax, ecx
jbe 0x41441c
mov edi, ecx
sub edi, ebx
mov eax, dword [esi + 0x14]
add eax, ebx
push edi
push eax
lea eax, [ebp - 1]
push eax
call fcn.004c4460
lea eax, [ebx + edi]
add esp, 0xc
mov ebx, dword [ebp - 8]
mov dword [esi + 0x1c], eax
cmp edi, 1
jne 0x41444c
movzx eax, byte [ebp - 1]
mov dword [ebx], eax
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi], 0
je 0x414443
cmp byte [esi + 8], 0
je 0x414443
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x415e20
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f12d2
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x53ac84]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], ecx
push 0x44c
call fcn.004c1d17
mov ebx, eax
add esp, 4
mov dword [ebp - 0x18], ebx
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], 0
mov dword [ebx], 0
mov dword [ebx + 4], 0xffffffff
mov dword [ebx + 0x238], 0xffffffff
mov dword [ebx + 0x23c], 0
mov dword [ebx + 0x240], 0
test esi, esi
je 0x415ecd
mov ecx, esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x415ea0
sub ecx, edx
lea eax, [ecx + 1]
push eax
call fcn.004c2036
add esp, 4
mov dword [ebx + 0x23c], eax
sub eax, esi
nop dword [eax]
mov cl, byte [esi]
lea esi, [esi + 1]
mov byte [eax + esi - 1], cl
test cl, cl
jne 0x415ec0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebx], 0
jne 0x415f9b
cmp dword [ebx + 4], 0xffffffff
jne 0x415f9b
lea edi, [ebx + 0x244]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov ecx, edi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x415f00
sub ecx, edx
sar ecx, 1
movzx eax, word [ebx + ecx*2 + 0x242]
cmp eax, 0x5c
je 0x415f37
cmp eax, 0x2f
je 0x415f37
add edi, 0xfffffffe
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x415f24
mov eax, dword [0x50f724]
mov dword [edi], eax
push 0x20
call fcn.004c1d17
mov ecx, dword [ebp - 0x10]
add esp, 4
mov dword [eax + 0x14], ecx
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0x18], ecx
mov ecx, eax
mov word [eax], 0x100
mov byte [eax + 0x10], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0xc], 0
call fcn.004146d0
mov dword [ebx], eax
test eax, eax
jne 0x415f97
push ecx
mov ecx, ebx
mov dword [0x544f30], 0x200
call fcn.00415ff0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
jmp 0x415fa0
mov eax, 0x1000000
mov dword [0x544f30], eax
test eax, eax
je 0x415fc5
push ecx
mov ecx, ebx
call fcn.00415ff0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 8
call fcn.004c1d17
add esp, 4
mov dword [eax], 1
mov dword [eax + 4], ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x419ae0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [0x53ac84]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push esi
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0xc], esi
push edi
test edx, edx
je 0x419c24
mov ecx, edx
mov dword [esp + 0x2c], 0
xor eax, eax
mov dword [esp + 0x30], 7
mov word [esp + 0x1c], ax
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x419b30
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x24]
call fcn.00407020
cmp dword [esp + 0x30], 8
lea ebx, [esp + 0x1c]
mov edi, dword [esp + 0x1c]
mov edx, 0x811c9dc5
mov eax, dword [esp + 0x2c]
cmovae ebx, edi
xor ecx, ecx
add eax, eax
je 0x419b85
mov esi, eax
nop dword [eax + eax]
movzx eax, byte [ecx + ebx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x419b70
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x14], edx
cmp eax, 8
jb 0x419bc1
lea ecx, [eax*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x419bb7
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419c45
push ecx
push edi
call fcn.004c1d47
add esp, 8
lea eax, [esp + 0x14]
mov ecx, 0x544f4c
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.0041a860
mov eax, dword [eax]
cmp eax, dword [0x544f4c]
je 0x419c24
lea eax, [esp + 0x14]
mov ecx, 0x544f4c
push eax
call fcn.0041a8b0
mov dword [esi], 0
mov dword [esi + 4], 0
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x419c06
lock inc dword [ecx + 4]
mov ecx, dword [eax]
mov dword [esi], ecx
mov ecx, dword [eax + 4]
mov eax, esi
mov dword [esi + 4], ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.004c1fe9
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x34]
mov eax, esi
pop edi
mov dword [esi], 0
mov dword [esi + 4], 0
pop esi
pop ebx
xor ecx, esp
call fcn.004c1fe9
mov esp, ebp
pop ebp
ret
call fcn.004c7ca1
int3
Function at 0x41b280
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x53ac84]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
mov edx, ecx
push esi
push edi
test edx, edx
je 0x41b380
xor eax, eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 7
lea esi, [ecx + 2]
mov word [esp + 0x14], ax
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41b2c0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x1c]
call fcn.00407020
mov eax, dword [esp + 0x24]
lea edi, [esp + 0x14]
cmp dword [esp + 0x28], 8
mov edx, 0x811c9dc5
mov esi, dword [esp + 0x14]
cmovae edi, esi
xor ecx, ecx
lea ebx, [eax + eax]
test ebx, ebx
je 0x41b311
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x41b300
mov eax, dword [esp + 0x28]
mov dword [esp + 0xc], edx
cmp eax, 8
jb 0x41b349
lea ecx, [eax*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x41b33f
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b394
push ecx
push esi
call fcn.004c1d47
add esp, 8
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x14]
push eax
call fcn.0041ba60
mov eax, dword [eax]
cmp eax, dword [0x544f5c]
je 0x41b380
lea eax, [esp + 0xc]
push eax
call fcn.0041bac0
mov eax, dword [eax]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004c1fe9
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x2c]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004c1fe9
mov esp, ebp
pop ebp
ret
call fcn.004c7ca1
int3
Function at 0x41ca90
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x53ac84]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
mov edx, ecx
push esi
push edi
test edx, edx
je 0x41cb96
xor eax, eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 7
lea esi, [ecx + 2]
mov word [esp + 0x14], ax
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41cad0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x1c]
call fcn.00407020
mov eax, dword [esp + 0x24]
lea edi, [esp + 0x14]
cmp dword [esp + 0x28], 8
mov edx, 0x811c9dc5
mov esi, dword [esp + 0x14]
cmovae edi, esi
xor ecx, ecx
lea ebx, [eax + eax]
test ebx, ebx
je 0x41cb21
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x41cb10
mov eax, dword [esp + 0x28]
mov dword [esp + 0xc], edx
cmp eax, 8
jb 0x41cb59
lea ecx, [eax*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x41cb4f
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41cbad
push ecx
push esi
call fcn.004c1d47
add esp, 8
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x14]
push eax
call fcn.0041d060
mov eax, dword [eax]
cmp eax, dword [0x544f64]
je 0x41cb96
lea eax, [esp + 0xc]
push eax
call fcn.0041d0c0
cmp dword [eax + 0x14], 8
jb 0x41cb9b
mov eax, dword [eax]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004c1fe9
mov esp, ebp
pop ebp
ret
mov eax, 0x50f7a0
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004c1fe9
mov esp, ebp
pop ebp
ret
call fcn.004c7ca1
int3
Function at 0x41d9a0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f1988
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x53ac84]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov esi, ecx
mov dword [ebp - 0x24], esi
test ebx, ebx
je 0x41db3c
mov ecx, ebx
call fcn.004587f0
test eax, eax
je 0x41da0b
push dword [ebp + 0x10]
mov edx, ebx
mov ecx, esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00458f10
add esp, 0xc
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push ebx
mov dword [ebp - 0x14], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x41da90
lea eax, [ebp - 0x2c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x41da89
push dword [ebp - 0x2c]
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x41da89
push 0
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], 0
push ecx
push dword [ebp - 0x2c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41da80
lea eax, [ebp - 0x14]
push eax
push 1
push dword [ebp - 0x18]
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
jmp 0x41da89
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x41db3c
call fcn.00422250
push dword [ebp - 0x20]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push eax
mov dword [ebp - 0x18], 0
call fcn.00420bb0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov edi, dword [ebp - 0x18]
sub esp, 8
mov ecx, esp
mov dword [ecx], 0
mov dword [ecx + 4], 0
test edi, edi
je 0x41dae7
lock inc dword [edi + 4]
mov eax, dword [ebp - 0x1c]
mov edx, ebx
mov dword [ecx], eax
mov dword [ecx + 4], edi
push ecx
mov ecx, esi
call fcn.0041d770
add esp, 0xc
mov dword [ebp - 4], 1
test edi, edi
je 0x41db49
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [edi + 4], eax
jne 0x41db49
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], ebx
dec ebx
jne 0x41db49
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esi + 4], 0
mov dword [esi], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43d5c0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x43d5ee
push 0
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [ebp + 8]
push 0x10
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_PostMessageW]
pop esi
pop ebp
ret 4
Function at 0x443080
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f2de0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x53ac84]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
call fcn.00443660
mov ecx, dword [ebp + 0xc]
mov esi, eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], esi
mov word [esi + 0xc], 0
push dword [ecx]
lea ecx, [esi + 0x10]
call fcn.004071e0
mov dword [esi + 0x28], 0
mov eax, esi
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x444e00
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f2f63
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x53ac84]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ebp - 4], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], 7
mov word [esi + 0x18], ax
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
mov edx, eax
lea ebx, [edx + 2]
nop dword [eax + eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x444e60
sub edx, ebx
lea ecx, [esi + 0x18]
sar edx, 1
push edx
push eax
call fcn.00407020
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x30], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x34], eax
mov eax, esi
mov dword [esi + 0x3c], 0
mov dword [esi + 0x38], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4465c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f2fe6
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x53ac84]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xor eax, eax
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 7
mov word [esi + 0x20], ax
mov dword [ebp - 4], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], 7
mov word [esi + 0x38], ax
lea ecx, [esi + 0x54]
mov byte [ebp - 4], 1
call fcn.00445f60
mov dword [esi + 0xe4], 0
xor eax, eax
mov dword [esi + 0xe8], 7
mov word [esi + 0xd4], ax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 8], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0xc8], eax
mov dword [esi + 0xcc], eax
mov eax, esi
mov dword [esi + 0xc], 0x4000
mov dword [esi + 0xd0], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x446dc0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
mov ebx, ecx
push edi
mov edi, dword [ebp + 8]
push dword [ebx]
push 1
push dword [ebx + 8]
push edi
call fcn.004da7d0
mov esi, dword [ebx + 8]
mov ecx, eax
add esp, 0x10
cmp ecx, 1
sete al
mov byte [esp + 0x13], al
mov eax, esi
cdq
idiv dword [ebx + 0x18]
mov dword [ebx + 0x1c], eax
cmp ecx, 1
jne 0x446f57
add dword [ebx + 0x14], esi
cmp dword [ebx + 0x4c], 8
push 0xffffffffffffffff
push eax
lea eax, [ebx + 0x38]
push ecx
mov ecx, esp
jb 0x446e16
mov eax, dword [eax]
mov dword [ecx], eax
mov edx, 0x18
push ecx
mov eax, esp
lea ecx, [ebx + 0x20]
mov dword [eax], str.read
call fcn.00444bc0
mov eax, dword [ebx + 0x1c]
add esp, 0x10
mov edx, dword [ebx + 0x18]
xor ecx, ecx
mov dword [esp + 0x14], 0
mov esi, edi
mov dword [esp + 0x1c], edx
test eax, eax
je 0x446f04
mov edi, edx
jmp 0x446e5b
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
dec eax
mov dword [esp + 0x18], eax
cmp edx, 1
jne 0x446e6b
xor edx, edx
cmp byte [esi], dl
jmp 0x446e70
xor edx, edx
cmp word [esi], dx
sete dl
mov eax, edi
test edx, edx
je 0x446ea8
test ecx, ecx
je 0x446e9a
cmp esi, ecx
je 0x446e9a
imul edi, dword [esp + 0x14]
mov eax, esi
sub eax, ecx
push eax
push ecx
sub ecx, edi
push ecx
call fcn.004c4ce0
mov eax, dword [ebx + 0x18]
add esp, 0xc
mov edx, dword [esp + 0x14]
lea ecx, [eax + esi]
inc edx
mov dword [esp + 0x14], edx
jmp 0x446eac
mov edx, dword [esp + 0x14]
add esi, eax
mov edi, eax
cmp dword [esp + 0x18], 0
jne 0x446e53
test ecx, ecx
je 0x446ed1
cmp esi, ecx
je 0x446ed1
sub esi, ecx
imul eax, edx
push esi
push ecx
sub ecx, eax
push ecx
call fcn.004c4ce0
add esp, 0xc
mov esi, dword [esp + 0x14]
test esi, esi
je 0x446f01
push 0xffffffffffffffff
push esi
push ecx
mov eax, esp
mov edx, 1
push ecx
lea ecx, [ebx + 0x20]
mov dword [eax], 0
mov eax, esp
mov dword [eax], str.nulls_removed
call fcn.00444bc0
add esp, 0x10
sub dword [ebx + 0x1c], esi
mov edi, dword [ebp + 8]
cmp dword [ebx + 0x18], 1
jle 0x446f57
test byte [ebx + 4], 0x80
je 0x446f57
mov ecx, dword [ebx + 0x1c]
test ecx, ecx
je 0x446f32
nop word [eax + eax]
movzx eax, word [edi + ecx*2 - 2]
dec ecx
rol ax, 8
mov word [edi + ecx*2], ax
test ecx, ecx
jne 0x446f20
push 0xffffffffffffffff
push 0xffffffffffffffff
push ecx
mov eax, esp
xor edx, edx
push ecx
mov dword [eax], 0
mov eax, esp
mov dword [eax], str.endian_swap
lea eax, [ebx + 0x20]
mov ecx, eax
call fcn.00444bc0
add esp, 0x10
mov al, byte [esp + 0x13]
test al, al
jne 0x446f6a
mov ecx, ebx
call fcn.00446680
mov al, byte [esp + 0x13]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4