joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d8ef
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, ecx
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [esi]
mov ebx, dword [ebp + 8]
cmp eax, ecx
je 0x40d914
cmp ebx, dword [esi + 0x58]
je 0x40d914
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esi + 0x58]
cmp ebx, eax
je 0x40d9d6
push edi
test eax, eax
je 0x40d967
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x20], 0x14
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x58]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x11c]
xor edi, edi
push edi
push edi
push edi
push str.killfocus
push dword [esi + 0x58]
mov ecx, esi
call fcn.0040d397
mov dword [esi + 0x58], edi
test ebx, ebx
je 0x40d9d5
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
cmp eax, esi
jne 0x40d9d5
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xd4]
test al, al
je 0x40d9d5
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xe0]
test al, al
je 0x40d9d5
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov dword [esi + 0x58], ebx
mov dword [ebp - 0x20], 0x15
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x58]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x11c]
xor eax, eax
push eax
push eax
push eax
push str.setfocus
push dword [esi + 0x58]
mov ecx, esi
call fcn.0040d397
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x411feb
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x473ff0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp byte [esi + 0x28], bl
je 0x41205c
cmp dword [esi + 0x20], ebx
je 0x41205c
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov edi, eax
inc edi
lea eax, [edi + edi]
call fcn.00446380
mov dword [ebp - 8], esp
cmp esp, ebx
je 0x41205c
push edi
push dword [ebp - 8]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x20]
push dword [ebp - 8]
add ecx, 0x1b8
call fcn.0040f99b
mov ecx, dword [esi + 0x20]
mov eax, dword [ecx]
push ebx
push ebx
push ebx
push str.textchanged
push ecx
call dword [eax + 0x1c]
mov ecx, eax
call fcn.0040d397
xor eax, eax
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004437f0
leave
ret 0x10
Function at 0x41981a
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov edx, dword [esp + 8]
test edx, edx
jne 0x419825
xor eax, eax
ret
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [esp + 0x14]
not eax
mov ecx, 0xff
cmp edi, 8
jb 0x4198e0
mov esi, edi
shr esi, 3
push ebx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x45f870]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x45f870]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x45f870]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x45f870]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x45f870]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x45f870]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x45f870]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x45f870]
inc edx
sub edi, 8
dec esi
jne 0x419845
pop ebx
test edi, edi
je 0x4198f9
movzx esi, byte [edx]
xor esi, eax
and esi, ecx
shr eax, 8
xor eax, dword [esi*4 + 0x45f870]
inc edx
dec edi
jne 0x4198e4
pop edi
not eax
pop esi
ret

Function at 0x419d90
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0xc]
imul edi, dword [ebp + 0x10]
cmp byte [esi], 0
je 0x419dc4
push 0
lea eax, [ebp + 0x10]
push eax
push edi
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x419dbf
mov byte [esi + 8], 1
mov eax, dword [ebp + 0x10]
jmp 0x419dec
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x14]
lea edx, [ecx + edi]
cmp edx, eax
jbe 0x419dd5
sub eax, ecx
mov edi, eax
mov eax, dword [esi + 0x10]
push edi
add eax, ecx
push eax
push dword [ebp + 8]
call fcn.00446010
add esp, 0xc
add dword [esi + 0x18], edi
mov eax, edi
xor edx, edx
div dword [ebp + 0xc]
pop edi
pop esi
pop ebp
ret

Function at 0x41ab89
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x473ff0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x41ac33
movzx ecx, word [esi]
test cx, cx
je 0x41ac33
mov eax, esi
mov edx, esi
movzx ecx, cx
cmp cx, 0x2f
je 0x41abc7
cmp cx, 0x5c
jne 0x41abc9
mov eax, edx
inc edx
inc edx
movzx ecx, word [edx]
test cx, cx
jne 0x41abbb
cmp eax, esi
je 0x41ac07
push edi
sub eax, esi
mov edi, eax
sar edi, 1
push edi
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.0044697f
xor eax, eax
mov word [ebp + edi*2 - 0x20c], ax
lea eax, [ebp - 0x20c]
push eax
push ebx
call fcn.0041ab89
add esp, 0x14
pop edi
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.00445bc8
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.00445b9a
add esp, 0x10
push 0
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004437f0
leave
ret
Function at 0x41c164
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x41c1df
cmp dword [esi + 4], 0xffffffff
jne 0x41c1df
push edi
lea edi, [esi + 0x138]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x469494
push edi
call fcn.00445b9a
cmp dword [ebp + 0x10], 1
pop ecx
pop ecx
pop edi
jne 0x41c1b1
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x41c1b1
mov eax, 0x2000000
jmp 0x41c1e4
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00419ba6
add esp, 0x10
test eax, eax
jne 0x41c1cf
mov eax, dword [ebp + 0x10]
jmp 0x41c1e4
push eax
call fcn.0041bd60
mov dword [esi], eax
mov eax, dword [0x475b94]
pop ecx
jmp 0x41c1e4
mov eax, 0x1000000
pop esi
pop ebp
ret 0xc
Function at 0x41d141
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
sub esp, 0x2b4
lea ebp, [esp - 4]
mov eax, dword [0x473ff0]
xor eax, ebp
mov dword [ebp + 0x2b4], eax
push 0xc
mov eax, 0x459c73
call fcn.00445a5d
mov edi, dword [ebp + 0x2c0]
mov ebx, ecx
call fcn.0041c704
call fcn.0040b89e
push eax
lea ecx, [ebp + 0x230]
call fcn.0040fbe4
xor esi, esi
mov dword [ebp - 4], esi
call fcn.0040b8a4
mov ecx, eax
call fcn.0040f947
test al, al
je 0x41d2a3
push edi
lea ecx, [ebp + 0x230]
call fcn.0040f9d7
push esi
push 0x80
push 3
push esi
push 1
push SysReAllocString
lea ecx, [ebp + 0x230]
call fcn.0040f7d5
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x18], eax
push esi
cmp eax, 0xffffffff
jne 0x41d217
push str.Error_opening_file
mov ecx, ebx
call fcn.0041c900
mov bl, al
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x230]
call fcn.0040f822
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2b4]
xor ecx, ebp
call fcn.004437f0
add ebp, 0x2b8
leave
ret 8
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, esi
jne 0x41d22c
push esi
push str.File_is_empty
jmp 0x41d1d8
cmp edi, 0x400000
jbe 0x41d23c
push esi
push 0x4600ec
jmp 0x41d1d8
push edi
mov dword [ebp - 0x14], esi
call fcn.0040b6cb
pop ecx
push esi
lea ecx, [ebp - 0x14]
push ecx
push edi
push eax
push dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x14], edi
je 0x41d282
push dword [ebp - 0x10]
call fcn.00443edc
pop ecx
mov ecx, ebx
call fcn.0041c704
push esi
push str.Could_not_read_file
jmp 0x41d1d8
push dword [ebp + 0x2c4]
mov ecx, ebx
push edi
push dword [ebp - 0x10]
call fcn.0041cff0
push dword [ebp - 0x10]
mov bl, al
call fcn.00443edc
pop ecx
jmp 0x41d1e1
call fcn.0040b8a4
push eax
lea ecx, [ebp + 0x230]
call fcn.0040f9bd
call fcn.0040b8aa
test al, al
je 0x41d2c4
call fcn.0040b8b0
jmp 0x41d2db
push 2
push esi
lea ecx, [ebp + 0x230]
call fcn.0040f7d5
push eax
call fcn.0041c543
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp eax, esi
jne 0x41d2ed
push esi
push str.Error_opening_zip_file
jmp 0x41d1d8
lea eax, [ebp]
push eax
lea eax, [ebp - 0x18]
push eax
push 1
push edi
push dword [ebp - 0x10]
call fcn.0041ac41
add esp, 0x14
test eax, eax
je 0x41d312
push esi
push str.Could_not_find_ziped_file
jmp 0x41d1d8
mov eax, dword [ebp + 0x22c]
mov dword [ebp - 0x14], eax
cmp eax, esi
je 0x41d224
cmp eax, 0x400000
ja 0x41d234
push eax
call fcn.0040b6cb
push 3
push dword [ebp - 0x14]
mov edi, eax
push edi
push dword [ebp - 0x18]
push dword [ebp - 0x10]
call fcn.0041c5a0
add esp, 0x18
cmp eax, esi
je 0x41d379
cmp eax, 0x600
je 0x41d379
push edi
call fcn.00443edc
pop ecx
call fcn.0040b8aa
test al, al
jne 0x41d36e
push dword [ebp - 0x10]
call fcn.0041c5da
pop ecx
push esi
push str.Could_not_unzip_file
jmp 0x41d1d8
call fcn.0040b8aa
test al, al
jne 0x41d38b
push dword [ebp - 0x10]
call fcn.0041c5da
pop ecx
push dword [ebp + 0x2c4]
mov ecx, ebx
push dword [ebp - 0x14]
push edi
call fcn.0041cff0
push edi
jmp 0x41d296
Function at 0x421f9b
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi + 0x4f8], ebx
je 0x422010
cmp dword [ebp + 8], 0x100
jne 0x421ffe
cmp word [ebp + 0xc], 0xd
jne 0x421ffe
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call edi
test ax, ax
jle 0x421fd4
cmp byte [esi + 0x4fe], bl
je 0x421fe5
push 0x11
call edi
test ax, ax
jge 0x421ffe
cmp byte [esi + 0x4ff], bl
jne 0x421ffe
mov ecx, dword [esi + 0x40]
cmp ecx, ebx
je 0x421ffa
push ebx
push ebx
push ebx
push str.return
push esi
call fcn.0040d397
xor eax, eax
jmp 0x422013
mov eax, dword [esi + 0x4f8]
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
pop edi
pop esi
pop ebx
pop ebp
jmp dword [eax + 0xc]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
pop ebp
ret 0x10

Function at 0x4294cf
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, eax
mov eax, dword [esi + 8]
push edi
mov edi, eax
and edi, 7
je 0x4294f4
cmp eax, edi
jge 0x4294ec
mov eax, esi
call fcn.00428e83
mov ecx, edi
shr dword [esi + 0xc], cl
sub dword [esi + 8], edi
xor ecx, ecx
cmp dword [esi + 8], ecx
jle 0x429516
mov al, byte [esi + 0xc]
shr dword [esi + 0xc], 8
add dword [esi + 8], 0xfffffff8
mov byte [ebp + ecx - 4], al
inc ecx
cmp dword [esi + 8], 0
jg 0x4294fb
cmp ecx, 4
jge 0x429535
mov edi, dword [esi + 4]
mov eax, dword [esi]
cmp eax, edi
jb 0x429523
xor eax, eax
jmp 0x42952b
mov dl, byte [eax]
inc eax
mov dword [esi], eax
movzx eax, dl
mov byte [ebp + ecx - 4], al
inc ecx
cmp ecx, 4
jl 0x429519
movzx edi, byte [ebp - 3]
movzx eax, byte [ebp - 4]
movzx ecx, byte [ebp - 2]
shl edi, 8
add edi, eax
movzx eax, byte [ebp - 1]
shl eax, 8
add eax, ecx
mov ecx, edi
xor ecx, 0xffff
cmp eax, ecx
je 0x429567
mov eax, str.zlib_corrupt
call fcn.00426aa0
jmp 0x4295a2
mov eax, dword [esi]
add eax, edi
cmp eax, dword [esi + 4]
jbe 0x429577
mov eax, str.read_past_buffer
jmp 0x429560
mov eax, dword [esi + 0x10]
add eax, edi
cmp eax, dword [esi + 0x18]
jbe 0x42958c
mov ecx, edi
call fcn.00428eae
test eax, eax
je 0x4295a2
push edi
push dword [esi]
push dword [esi + 0x10]
call fcn.00446010
add dword [esi], edi
add dword [esi + 0x10], edi
xor eax, eax
add esp, 0xc
inc eax
pop edi
pop esi
leave
ret
Function at 0x4437f0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x473ff0]
jne 0x4437fa
repz ret
jmp fcn.00448e2d

Function at 0x454051
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0044a7e9
and dword [ebp - 4], 0
cmp dword [0x47687c], 0
mov ebx, eax
jne 0x454102
push 0x4685d4
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4541b3
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4541b3
push eax
call fcn.0044a777
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x47687c], eax
call esi
push eax
call fcn.0044a777
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x476880], eax
call esi
push eax
call fcn.0044a777
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x476884], eax
call esi
push eax
call fcn.0044a777
pop ecx
mov dword [0x47688c], eax
test eax, eax
je 0x454102
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0044a777
pop ecx
mov dword [0x476888], eax
mov eax, dword [0x476888]
cmp eax, ebx
je 0x45415a
cmp dword [0x47688c], ebx
je 0x45415a
push eax
call fcn.0044a7f2
push dword [0x47688c]
mov esi, eax
call fcn.0044a7f2
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x45415a
test edi, edi
je 0x45415a
call esi
test eax, eax
je 0x454151
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x454151
test byte [ebp - 0xc], 1
jne 0x45415a
or dword [ebp + 0x10], 0x200000
jmp 0x454193
mov eax, dword [0x476880]
cmp eax, ebx
je 0x454193
push eax
call fcn.0044a7f2
pop ecx
test eax, eax
je 0x454193
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x454193
mov eax, dword [0x476884]
cmp eax, ebx
je 0x454193
push eax
call fcn.0044a7f2
pop ecx
test eax, eax
je 0x454193
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x47687c]
call fcn.0044a7f2
pop ecx
test eax, eax
je 0x4541b3
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4541b5
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x403060
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x448008], 0x8088405
inc edx
mov dword [ebx + 0x448008], edx
mul edx
mov eax, edx
pop ebx
ret
Function at 0x43cfb8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov edi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43d032
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.00404538
mov eax, dword [ebp - 4]
call fcn.004047f8
mov esi, eax
test esi, esi
jle 0x43d01c
mov dword [ebp - 8], 1
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov bl, byte [eax + edx - 1]
xor bl, 0xa
lea eax, [ebp - 0xc]
mov edx, ebx
call fcn.00404720
mov edx, dword [ebp - 0xc]
mov eax, edi
call fcn.00404800
inc dword [ebp - 8]
dec esi
jne 0x43cff5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43d039
lea eax, [ebp - 0xc]
call fcn.00404538
ret
Function at 0x43e850
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov byte [ebp - 1], dl
mov esi, eax
xor eax, eax
push ebp
push 0x43ea97
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 2], 0
xor ebx, ebx
push 0
push 0x80
push 3
push 0
push 1
push 0xc0000000
mov eax, esi
call fcn.004049f8
push eax
call fcn.004067f4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x43e8ab
mov byte [ebp - 2], 1
jmp 0x43ea7b
push 0
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
call fcn.00406a14
cmp eax, 0xffffffff
je 0x43e8da
push 0
lea eax, [ebp - 8]
push eax
push 0x40
lea eax, [ebp - 0x54]
push eax
mov eax, dword [ebp - 0xc]
push eax
call fcn.004069ec
test eax, eax
je 0x43e8da
mov bl, 1
test bl, bl
jne 0x43e8e7
mov byte [ebp - 2], 1
jmp 0x43ea7b
xor ebx, ebx
cmp word [ebp - 0x54], 0x5a4d
je 0x43e8f7
cmp dword [ebp - 8], 0x40
jne 0x43e93a
push 0
push 0
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0xc]
push eax
call fcn.00406a14
cmp eax, 0xffffffff
je 0x43e93a
push 0
lea eax, [ebp - 8]
push eax
push 0xf8
lea eax, [ebp - 0x14c]
push eax
mov eax, dword [ebp - 0xc]
push eax
call fcn.004069ec
test eax, eax
je 0x43e93a
cmp dword [ebp - 0x14c], 0x4550
jne 0x43e93a
mov bl, 1
test bl, bl
je 0x43ea72
xor eax, eax
push ebp
push 0x43ea68
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.0043e784
mov dword [ebp - 0x144], eax
call fcn.00402af0
mov eax, 9
call fcn.00403060
mov word [ebp - 0x108], ax
mov eax, 9
call fcn.00403060
mov word [ebp - 0x106], ax
push 0
push 0
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0xc]
push eax
call fcn.00406a14
cmp eax, 0xffffffff
je 0x43e9bc
push 0
lea eax, [ebp - 8]
push eax
push 0xf8
lea eax, [ebp - 0x14c]
push eax
mov eax, dword [ebp - 0xc]
push eax
call fcn.00406a34
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 2], al
cmp word [ebp - 0x54], 0x5a4d
je 0x43e9fc
mov word [ebp - 0xe], 0x5a4d
push 0
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
call fcn.00406a14
cmp eax, 0xffffffff
je 0x43e9fc
push 0
lea eax, [ebp - 8]
push eax
push 2
lea eax, [ebp - 0xe]
push eax
mov eax, dword [ebp - 0xc]
push eax
call fcn.00406a34
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 2], al
cmp byte [ebp - 1], 0
je 0x43ea5e
mov eax, 0x200
call fcn.00403060
mov ebx, eax
shl ebx, 4
test ebx, ebx
jle 0x43ea5e
push 2
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
call fcn.00406a14
cmp eax, 0xffffffff
je 0x43ea5e
push ebx
lea eax, [ebp - 0x14]
mov ecx, 1
mov edx, dword [0x43e82c]
call fcn.004058e8
add esp, 4
mov edx, ebx
mov eax, dword [ebp - 0x14]
call fcn.00406aa8
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
push eax
call fcn.00406a34
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x43ea72
mov eax, dword [ebp - 0xc]
push eax
call fcn.004067cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43ea9e
lea eax, [ebp - 0x14]
mov edx, dword [0x43e82c]
call fcn.004058f4
ret
Function at 0x43f2cc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov edi, dword [ebp + 8]
xor eax, eax
push ebp
push 0x43f3c4
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, edi
call fcn.00404538
push 0
push 0x80
push 2
push 0
push 1
push 0xc0000000
mov eax, esi
call fcn.004049f8
push eax
call fcn.004067f4
mov esi, eax
cmp esi, 0xffffffff
jne 0x43f339
lea eax, [ebp - 0x14]
call fcn.0043eb28
mov edx, dword [ebp - 0x14]
mov eax, edi
call fcn.0040458c
jmp 0x43f3a0
mov eax, dword [ebp - 8]
push eax
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, dword [0x43f2a8]
call fcn.004058e8
add esp, 4
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
dec eax
test eax, eax
jb 0x43f374
inc eax
xor ecx, ecx
mov ebx, dword [ebp - 0x10]
add ebx, ecx
push ebx
mov bl, byte [edx]
xor bl, 0xff
pop edi
mov byte [edi], bl
inc edx
inc ecx
dec eax
jne 0x43f361
push 0
push 0
push 0
push esi
call fcn.00406a14
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x10]
push eax
push esi
call fcn.00406a34
cmp eax, 1
sbb ebx, ebx
inc ebx
push esi
call fcn.004067cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43f3cb
lea eax, [ebp - 0x14]
call fcn.00404538
lea eax, [ebp - 0x10]
mov edx, dword [0x43f2a8]
call fcn.004058f4
ret
Function at 0x43fdc0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x14c], ebx
mov dword [ebp - 0x150], ebx
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov edi, dword [ebp + 8]
xor eax, eax
push ebp
push 0x43ff4c
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov dword [esi], 2
mov eax, edi
call fcn.00404538
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, ebx
call fcn.004049f8
push eax
call fcn.004067f4
mov ebx, eax
cmp ebx, 0xffffffff
je 0x43ff2e
push 0
push 0
push 0
push ebx
call fcn.00406a14
cmp eax, 0xffffffff
je 0x43ff28
push 0
lea eax, [ebp - 0xc]
push eax
push 0x40
lea eax, [ebp - 0x50]
push eax
push ebx
call fcn.004069ec
test eax, eax
je 0x43ff28
cmp word [ebp - 0x50], 0x5a4d
jne 0x43ff28
push 0
push 0
mov eax, dword [ebp - 0x14]
push eax
push ebx
call fcn.00406a14
cmp eax, 0xffffffff
je 0x43ff28
push 0
lea eax, [ebp - 0xc]
push eax
push 0xf8
lea eax, [ebp - 0x148]
push eax
push ebx
call fcn.004069ec
test eax, eax
je 0x43ff28
cmp dword [ebp - 0x148], 0x4550
jne 0x43ff28
mov eax, dword [ebp - 0x140]
xor eax, 0x50485e00
xor eax, dword [ebp - 0x120]
movzx edx, word [ebp - 0x142]
xor eax, edx
mov dword [ebp - 0x10], eax
cmp dword [ebp - 4], 2
jne 0x43fedb
call fcn.0043cdd4
add eax, 0x7c6
xor dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 2
jle 0x43fef5
cmp dword [ebp - 0x10], 0x7a120
jge 0x43fef5
mov eax, dword [ebp - 0x10]
mov dword [esi], eax
mov byte [ebp - 5], 1
jmp 0x43ff28
lea edx, [ebp - 0x14c]
mov eax, dword [ebp - 0x10]
call fcn.00407fc8
mov eax, dword [ebp - 0x14c]
push eax
lea edx, [ebp - 0x150]
mov eax, 0x43ff68
call fcn.0043cfb8
mov edx, dword [ebp - 0x150]
mov eax, edi
pop ecx
call fcn.00404844
push ebx
call fcn.004067cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43ff53
lea eax, [ebp - 0x150]
mov edx, 2
call fcn.0040455c
ret