joyce8/EMBER2024-capa huggingface dataset:
Function at 0x446be8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x45eb50], 0
je 0x446d31
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x45db68]
mov edx, dword [edx]
xor al, byte [edx + 0xbc]
je 0x446d31
mov eax, dword [0x45eb54]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x45eb50]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x446d00
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x45eb50]
call fcn.00413c88
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x446cf8
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1ae], 0
je 0x446cf8
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x446cf8
mov eax, dword [ebp - 0x14]
call fcn.00450064
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x446cf8
push ebp
call fcn.00446ba4
pop ecx
test al, al
jne 0x446cf8
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbc
call fcn.0040337c
test al, al
je 0x446cf8
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbd
call fcn.0040337c
cmp byte [ebp - 1], 0
je 0x446cf8
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x446cf8
mov edx, dword [ebp - 0x14]
mov eax, dword [0x45eb54]
call fcn.00446300
inc edi
dec ebx
jne 0x446c4d
mov eax, dword [0x45eb54]
cmp dword [eax + 8], 0
jle 0x446d18
mov eax, dword [0x45eb54]
call fcn.004463b8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x446d31
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00446a08
pop ecx
test al, al
jne 0x446d31
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44a4a0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x44a4ee
xor edx, edx
mov eax, esi
call fcn.0043074c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x44a4ee
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x268], 0
je 0x44a4ee
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x268]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x44a62f
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x44a530
cmp eax, 0x109
ja 0x44a530
mov dl, 1
mov eax, esi
call fcn.0043074c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x44a626
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xfc]
test al, al
jne 0x44a62f
jmp 0x44a626
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x44a60f
cmp eax, 0x20a
ja 0x44a60f
test byte [esi + 0x50], 0x80
jne 0x44a562
sub eax, 0x203
je 0x44a55f
sub eax, 3
je 0x44a55f
sub eax, 3
jne 0x44a562
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x44a576
dec eax
je 0x44a58b
dec eax
je 0x44a5a8
dec eax
je 0x44a58b
jmp 0x44a5af
mov ecx, ebx
mov eax, dword [0x45db68]
mov eax, dword [eax]
mov edx, esi
call fcn.0043ad94
jmp 0x44a626
cmp byte [esi + 0x5d], 1
jne 0x44a5a1
mov eax, esi
mov si, 0xffed
call fcn.0040337c
jmp 0x44a62f
or word [esi + 0x54], 1
jmp 0x44a626
and word [esi + 0x54], 0xfffe
jmp 0x44a626
mov eax, dword [0x45eb0c]
cmp byte [eax + 0x20], 0
je 0x44a626
mov eax, dword [0x45eb0c]
cmp dword [eax + 0x1c], 0
je 0x44a626
mov eax, dword [ebx]
mov edx, dword [0x45eb0c]
cmp eax, dword [edx + 0x1c]
jne 0x44a626
lea eax, [ebp - 0x114]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.00430690
mov byte [ebp - 0xc], al
movzx eax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.0040337c
jmp 0x44a62f
cmp eax, 0xb00b
jne 0x44a626
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.00448d34
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44d570
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffed8
mov ebx, ecx
mov edi, edx
mov esi, eax
call sub.user32.dll_GetMessagePos
call fcn.00405ff4
mov dword [esp + 8], eax
movsx eax, word [esp + 8]
mov dword [esp + 0xc], eax
movsx eax, word [esp + 0xa]
mov dword [esp + 0x10], eax
mov ecx, esp
lea edx, [esp + 0xc]
mov eax, esi
call fcn.00448cd8
test ebx, ebx
jne 0x44d5c3
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.0044d4ac
mov ebx, eax
test ebx, ebx
je 0x44d6ae
cmp esi, ebx
je 0x44d5ec
mov eax, dword [esp]
sub eax, dword [ebx + 0x40]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
sub eax, dword [ebx + 0x44]
mov dword [esp + 0x118], eax
jmp 0x44d601
mov eax, dword [esp]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x118], eax
movzx eax, word [edi + 8]
mov dword [esp + 0x11c], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x124], eax
movzx eax, word [edi + 0xa]
cmp eax, 0x201
jge 0x44d639
add eax, 0xffffff5f
sub eax, 2
jb 0x44d651
dec eax
sub eax, 2
jb 0x44d665
dec eax
sub eax, 2
jb 0x44d65b
jmp 0x44d66f
add eax, 0xfffffdff
sub eax, 2
jb 0x44d651
dec eax
sub eax, 2
jb 0x44d665
dec eax
sub eax, 2
jb 0x44d65b
jmp 0x44d66f
mov byte [esp + 0x120], 0
jmp 0x44d677
mov byte [esp + 0x120], 2
jmp 0x44d677
mov byte [esp + 0x120], 1
jmp 0x44d677
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.00430690
mov byte [esp + 0x121], al
lea eax, [esp + 0x114]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.0044a3d0
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x44d6b0
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret
Function at 0x44e084
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x210], 0
je 0x44e0a0
cmp dword [esi + 4], 0
je 0x44e0cd
test byte [ebx + 0x55], 1
jne 0x44e0bf
mov eax, ebx
call fcn.0044c810
test eax, eax
jne 0x44e0bf
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x44e1dd
mov edx, esi
mov eax, ebx
call fcn.0044dac0
jmp 0x44e1dd
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x44e1d6
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00450064
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.0044a3d0
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0044e084
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00450064
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44e1dd
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x454f74
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x45dcc8]
cmp byte [eax + 0xc], 0
je 0x4550e1
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4550da
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x45eb60], 0
jne 0x454fc8
push 0x4550e8
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x4550f0
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45eb60], eax
cmp dword [0x45d024], 0
jne 0x4550c3
push 0x455100
call sub.kernel32.dll_LoadLibraryA
mov dword [0x45d024], eax
cmp dword [0x45d024], 0
je 0x4550c3
push 0x45510c
mov eax, dword [0x45d024]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45eb64], eax
push 0x45511c
mov eax, dword [0x45d024]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45eb68], eax
push 0x455130
mov eax, dword [0x45d024]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45eb6c], eax
push 0x455148
mov eax, dword [0x45d024]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45eb70], eax
push 0x455160
mov eax, dword [0x45d024]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45eb74], eax
push 0x455174
mov eax, dword [0x45d024]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45eb78], eax
push 0x45518c
mov eax, dword [0x45d024]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45eb7c], eax
push 0x4551a4
mov eax, dword [0x45d024]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45eb80], eax
push 0x4551c0
mov eax, dword [0x45d024]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45eb84], eax
push 0x4551cc
mov eax, dword [0x45d024]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45eb88], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4550e1
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret
Function at 0x455d1c
Capabilities:
Encode data using xor
Encrypt data using des
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff9c
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov esi, 0x30
mov ecx, 0x45d0b0
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x44]
movzx ebx, byte [ecx]
mov edi, dword [ebp - 4]
movzx ebx, byte [edi + ebx - 1]
xor bl, byte [edx]
mov byte [eax], bl
inc eax
inc edx
inc ecx
dec esi
jne 0x455d3e
mov esi, 1
mov edx, 0x45d140
mov ecx, esi
dec ecx
mov eax, ecx
add eax, eax
lea eax, [eax + eax*2]
add ecx, ecx
add ecx, ecx
movzx ebx, byte [ebp + eax - 0x44]
add ebx, ebx
movzx edi, byte [ebp + eax - 0x3f]
add ebx, edi
mov dword [ebp - 0x10], ebx
movzx ebx, byte [ebp + eax - 0x43]
add ebx, ebx
add ebx, ebx
add ebx, ebx
movzx edi, byte [ebp + eax - 0x42]
add edi, edi
add edi, edi
add ebx, edi
movzx edi, byte [ebp + eax - 0x41]
add edi, edi
add ebx, edi
movzx eax, byte [ebp + eax - 0x40]
add ebx, eax
mov dword [ebp - 0x14], ebx
mov eax, 1
mov ebx, eax
dec ebx
je 0x455dba
dec ebx
je 0x455ddc
dec ebx
je 0x455dfe
dec ebx
je 0x455e1f
jmp 0x455e39
mov ebx, dword [ebp - 0x10]
add ebx, ebx
lea ebx, [edx + ebx*8]
mov edi, dword [ebp - 0x14]
movzx ebx, byte [ebx + edi - 0x40]
and bl, 8
movzx ebx, bl
shr ebx, 3
lea edi, [eax + ecx]
mov byte [ebp + edi - 0x65], bl
jmp 0x455e39
mov ebx, dword [ebp - 0x10]
add ebx, ebx
lea ebx, [edx + ebx*8]
mov edi, dword [ebp - 0x14]
movzx ebx, byte [ebx + edi - 0x40]
and bl, 4
movzx ebx, bl
shr ebx, 2
lea edi, [eax + ecx]
mov byte [ebp + edi - 0x65], bl
jmp 0x455e39
mov ebx, dword [ebp - 0x10]
add ebx, ebx
lea ebx, [edx + ebx*8]
mov edi, dword [ebp - 0x14]
movzx ebx, byte [ebx + edi - 0x40]
and bl, 2
movzx ebx, bl
shr ebx, 1
lea edi, [eax + ecx]
mov byte [ebp + edi - 0x65], bl
jmp 0x455e39
mov ebx, dword [ebp - 0x10]
add ebx, ebx
lea ebx, [edx + ebx*8]
mov edi, dword [ebp - 0x14]
movzx ebx, byte [ebx + edi - 0x40]
and bl, 1
lea edi, [eax + ecx]
mov byte [ebp + edi - 0x65], bl
inc eax
cmp eax, 5
jne 0x455daa
inc esi
add edx, 0x40
cmp esi, 9
jne 0x455d5d
mov esi, 0x20
mov eax, 0x45d0e0
mov edx, dword [ebp - 0xc]
movzx ecx, byte [eax]
movzx ecx, byte [ebp + ecx - 0x65]
mov byte [edx], cl
inc edx
inc eax
dec esi
jne 0x455e5d
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x455f08
Capabilities:
Encode data using xor
Encrypt data using des
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbd8
push ebx
push esi
push edi
mov dword [ebp - 0x3c], ecx
mov edi, edx
mov bl, 1
lea esi, [ebp - 0x88]
mov eax, edi
mov edx, ebx
call fcn.00455cac
mov byte [esi], al
inc ebx
inc esi
cmp bl, 0x41
jne 0x455f21
mov bl, 0x1c
mov esi, 0x45d300
lea edi, [ebp - 0x1c]
lea eax, [ebp - 0x38]
mov dword [ebp - 0x44], eax
movzx edx, byte [esi]
mov eax, dword [ebp + 0xc]
call fcn.00455cac
mov byte [edi], al
movzx edx, byte [esi + 0x1c]
mov eax, dword [ebp + 0xc]
call fcn.00455cac
mov edx, dword [ebp - 0x44]
mov byte [edx], al
inc dword [ebp - 0x44]
inc edi
inc esi
dec bl
jne 0x455f43
mov bl, 1
lea esi, [ebp - 0x3c8]
push ebp
mov edx, esi
mov eax, ebx
call fcn.00455e9c
pop ecx
inc ebx
add esi, 0x30
cmp bl, 0x11
jne 0x455f72
mov bl, 1
mov eax, 0x45d030
lea edx, [ebp - 0x3e8]
lea esi, [ebp - 0x428]
cmp bl, 0x20
ja 0x455fad
movzx ecx, byte [eax]
movzx ecx, byte [ebp + ecx - 0x89]
mov byte [edx], cl
jmp 0x455fba
movzx ecx, byte [eax]
movzx ecx, byte [ebp + ecx - 0x89]
mov byte [esi], cl
inc ebx
inc esi
inc edx
inc eax
cmp bl, 0x41
jne 0x455f99
mov byte [ebp - 0x3d], 1
lea eax, [ebp - 0x3c8]
mov dword [ebp - 0x48], eax
cmp byte [ebp + 8], 0
je 0x455fee
lea ecx, [ebp - 0x428]
mov eax, dword [ebp - 0x48]
mov edx, eax
lea eax, [ebp - 0x408]
call fcn.00455d1c
jmp 0x456018
movzx eax, byte [ebp - 0x3d]
mov edx, 0x11
sub edx, eax
mov eax, edx
add eax, eax
lea eax, [eax + eax*2]
lea edx, [ebp + eax*8 - 0x3f8]
lea ecx, [ebp - 0x428]
lea eax, [ebp - 0x408]
call fcn.00455d1c
mov bl, 0x20
lea eax, [ebp - 0x3e8]
lea edx, [ebp - 0x428]
movzx ecx, byte [eax]
xor byte [edx], cl
inc edx
inc eax
dec bl
jne 0x456026
lea esi, [ebp - 0x408]
lea edi, [ebp - 0x3e8]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0x428]
lea edi, [ebp - 0x408]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
inc byte [ebp - 0x3d]
add dword [ebp - 0x48], 0x30
cmp byte [ebp - 0x3d], 0x11
jne 0x455fd0
mov bl, 0x40
mov eax, 0x45d070
lea esi, [ebp - 0xc8]
movzx edx, byte [eax]
cmp dl, 0x20
ja 0x45608c
movzx edx, dl
movzx edx, byte [ebp + edx - 0x409]
mov byte [esi], dl
jmp 0x456099
movzx edx, dl
movzx edx, byte [ebp + edx - 0x409]
mov byte [esi], dl
inc esi
inc eax
dec bl
jne 0x456075
mov bl, 1
lea esi, [ebp - 0xc8]
movzx ecx, byte [esi]
mov eax, dword [ebp - 0x3c]
mov edx, ebx
call fcn.00455cd4
inc ebx
inc esi
cmp bl, 0x41
jne 0x4560a7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4593d4
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
test eax, eax
jne 0x4593ef
xor eax, eax
jmp 0x459437
mov edx, dword [esp + 0x10]
sub edx, 1
jb 0x4593ff
je 0x459406
dec edx
je 0x459420
jmp 0x459435
mov eax, 3
jmp 0x459437
mov eax, dword [esp + 8]
test eax, eax
jne 0x459415
mov eax, 4
jmp 0x459437
test eax, eax
jbe 0x459420
mov eax, 5
jmp 0x459437
cmp dword [esp + 4], 5
jae 0x45942e
mov eax, 6
jmp 0x459437
mov eax, 7
jmp 0x459437
xor eax, eax
add esp, 0x94
ret
Function at 0x45ac1a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push es
mov ax, 0x101f
mov es, eax
xor eax, eax
mov esi, eax
mov ecx, 0x8000
xor al, byte es:[esi]
inc esi
loop 0x45ac2f
pop es
mov byte [ebp - 1], al
cmp byte [ebp - 1], 0
jne 0x45ac43
mov byte [ebp - 1], 0x55
mov al, byte [ebp - 1]
mov edx, dword [ebp + 8]
mov byte [edx], al
xor eax, eax
pop esi
pop ecx
pop ebp
ret
Function at 0x4031d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x90
push ebx
push ebp
push esi
push edi
xor ebp, ebp
push 0x34
mov ebx, eax
lea eax, [esp + 0x24]
push ebp
push eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x1c], ebp
call fcn.0040bf40
push 0x18
lea ecx, [esp + 0x74]
push ebp
push ecx
call fcn.0040bf40
push 0x24
lea edx, [esp + 0x98]
push ebp
push edx
call fcn.0040bf40
mov edi, ebx
add esp, 0x24
and edi, 2
lea eax, [esp + 0x64]
mov dword [esp + 0x40], eax
jne 0x403236
lea ecx, [esp + 0x54]
lea edx, [esp + 0x7c]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x58], edx
lea eax, [esp + 0x5c]
push eax
mov dword [esp + 0x24], 0x637476
call fcn.00409fd0
add esp, 4
test eax, eax
jne 0x403257
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x24], ecx
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0xac]
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0xac]
push eax
push ecx
push edx
call fcn.004077d0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x4032b3
mov eax, dword [esp + 0xb8]
mov edx, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x24]
push ecx
push edx
call fcn.00406d90
mov esi, eax
mov eax, dword [esp + 0x28]
push eax
call fcn.00405380
add esp, 0x10
test esi, esi
jne 0x4032b3
mov ebp, 1
jmp 0x4032e4
test bl, 1
je 0x4033a0
push 0x10
push 1
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0x10
call fcn.00411a00
add esp, 8
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], 0
and ebx, 1
je 0x403357
mov eax, dword [esp + 0xb0]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0xb0]
push edi
lea edx, [esp + 0x28]
push edx
mov edx, dword [esp + 0xb0]
push eax
push ecx
push edx
call fcn.004117f0
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x4033a0
mov esi, dword [esp + 0x40]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x28]
push edx
mov dword [esp + 0x4c], 0
call fcn.00408a20
add esp, 0xc
test eax, eax
mov dword [esp + 0x40], esi
jne 0x40339b
mov eax, dword [esp + 0x14]
test eax, eax
je 0x403362
xor eax, eax
xor ecx, ecx
jmp 0x403370
test ebp, ebp
jne 0x40331e
mov esi, 7
jmp 0x4033a0
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xb0]
mov edx, dword [esp + 0xbc]
push edx
mov edx, dword [esp + 0xb8]
push ebx
push edx
push ecx
mov ecx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x2c]
push eax
push ecx
call fcn.004116c0
mov esi, eax
add esp, 0x1c
test esi, esi
je 0x4033a0
mov esi, 0x2bb
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4033b1
push eax
call fcn.00410c70
add esp, 4
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4033e7
xor edi, edi
jmp 0x4033c0
mov edx, dword [esp + 0x40]
mov eax, dword [edx + 0x14]
test eax, eax
je 0x4033df
mov eax, dword [eax + 4]
mov eax, dword [eax + edi + 8]
test eax, eax
je 0x4033df
push eax
call fcn.0040bf30
add esp, 4
add edi, 0xc
cmp edi, 0x24
jb 0x4033c0
mov eax, dword [esp + 0x44]
test eax, eax
je 0x4033f8
push eax
call fcn.0040bf30
add esp, 4
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x403409
push eax
call fcn.0040bf30
add esp, 4
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x40341a
push eax
call fcn.0040bf30
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret
Function at 0x404da0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x30
push ebx
mov ebx, dword [esp + 0x44]
cmp ebx, 0x10
je 0x404f6e
cmp ebx, 0x20
je 0x404f6e
jae 0x404f32
push ebp
push esi
mov esi, dword [esp + 0x48]
push edi
push ebx
lea eax, [esp + 0x24]
push esi
push eax
call fcn.0040bf50
mov ebp, dword [esp + 0x54]
add esp, 0xc
test ebp, ebp
push 0x10
push esi
push 0
jne 0x404e81
push ebp
mov ebp, dword [esp + 0x54]
push ebp
call fcn.00404d20
mov edi, eax
add esp, 0x14
test edi, edi
je 0x404e14
push ebx
lea ecx, [esp + 0x24]
push ecx
push esi
call fcn.0040bf50
add esp, 0xc
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
push 0x10
lea edx, [esp + 0x14]
push esi
push edx
call fcn.0040bf50
mov edi, ebx
add esp, 0xc
xor eax, eax
and edi, 0xf
jbe 0x404e43
lea ecx, [ecx]
mov dl, byte [esp + eax + 0x10]
mov cl, byte [esi + eax + 0x10]
xor dl, cl
mov byte [esp + eax + 0x10], dl
inc eax
cmp eax, edi
jb 0x404e30
push 0x10
lea edx, [esp + 0x14]
push edx
push 0
push 0
push ebp
call fcn.00404d20
mov ebp, eax
add esp, 0x14
test ebp, ebp
je 0x404e76
push ebx
lea eax, [esp + 0x24]
push eax
push esi
call fcn.0040bf50
add esp, 0xc
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x30
ret
push edi
push esi
lea ecx, [esi + 0x10]
push ecx
jmp 0x404f13
mov eax, dword [esp + 0x50]
push ebp
push eax
call fcn.00404d20
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x404dfb
mov edi, ebx
and edi, 0xf
jbe 0x404eb1
mov bl, byte [eax + esi]
mov dl, byte [eax + esi + 0x10]
xor bl, dl
mov byte [eax + esi], bl
inc eax
cmp eax, edi
jb 0x404ea0
push edi
lea ebx, [esi + 0x10]
lea eax, [esp + 0x14]
push ebx
push eax
call fcn.0040bf50
mov ecx, 0x10
sub ecx, edi
push ecx
lea edx, [edi + esi]
push edx
lea eax, [esp + edi + 0x24]
push eax
call fcn.0040bf50
mov edx, dword [esp + 0x5c]
push 0x10
lea ecx, [esp + 0x2c]
push ecx
push 0
push ebp
push edx
call fcn.00404d20
mov ebp, eax
add esp, 0x2c
test ebp, ebp
je 0x404f10
mov eax, dword [esp + 0x50]
push eax
lea ecx, [esp + 0x24]
push ecx
push esi
call fcn.0040bf50
add esp, 0xc
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x30
ret
push edi
push esi
push ebx
call fcn.0040bf50
lea edx, [esp + 0x1c]
push 0x10
push edx
push esi
call fcn.0040bf50
add esp, 0x18
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x30
ret
mov eax, dword [esp + 0x3c]
test eax, eax
push fcn.00404d20
push ebx
jne 0x404f57
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x40]
push eax
push ecx
call fcn.00420260
add esp, 0x10
pop ebx
add esp, 0x30
ret
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x40]
push edx
push eax
call fcn.004206e0
add esp, 0x10
pop ebx
add esp, 0x30
ret
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
push ebx
push ecx
push 0
push edx
push eax
call fcn.00404d20
add esp, 0x14
pop ebx
add esp, 0x30
ret