joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100b8701
Capabilities:
Contain obfuscated stackstrings

Disassembly:
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x100b872e
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
invalid
inc ebp
invalid

Function at 0x100b8796
Capabilities:
Contain obfuscated stackstrings

Disassembly:
les edx, [eax]
mov dword [ebp - 0x88], eax
call fcn.100b8440
push esi
daa
rol dword [eax - 0x7717ba73], 0x5d
call 0xf9691001
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
invalid
inc ebp

Function at 0x100b87fa
Capabilities:
Contain obfuscated stackstrings

Disassembly:
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.100b8450
push eax
push esi
push dword [ebp + 8]
call fcn.100b8405
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.100b8450
push eax
push esi
push dword [ebp + 8]
call fcn.100b8405
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.100b8440
mov bh, 0xa3
sub eax, 0x7c9d88e2
invalid
Function at 0x100ba5fd
Capabilities:
Resolve function by parsing pe exports

Disassembly:
js 0x100ba61b
sbb byte [edx + eax - 0x6a], dh
lodsd eax, dword [esi]
mov eax, dword [eax + 8]
push eax
call fcn.100b8440
cwde
push edi
mov dh, 0x5a
mov edi, eax
mov eax, dword [edi + 0x3c]
mov edx, dword [edi + eax + 0x78]
add edx, edi
xlatb
mov ecx, dword [edx + 0x18]
mov ebx, dword [edx + 0x20]
add ebx, edi
call fcn.100b8440
sbb al, 0xb6
xlatb
mov dl, 0x49
dec ecx
mov esi, dword [ebx + ecx*4]
add esi, edi
mov eax, 0x50746547
cmp dword [esi], eax
jne 0x100ba62d
mov eax, 0x41636f72
cmp dword [esi + 4], eax
jne 0x100ba62d
call fcn.100b8440
jle 0x100ba641
clc
movsd dword es:[edi], dword [esi]
mov ebx, dword [edx + 0x24]
add ebx, edi
mov cx, word [ebx + ecx*2]
mov ebx, dword [edx + 0x1c]
add ebx, edi
mov eax, dword [ebx + ecx*4]
add eax, edi
push eax
call fcn.100b8440
jecxz 0x100ba6ac
fistp word [edi]
push dword [ebp + 8]
push dword [ebp + 4]
push dword [ebp]
call fcn.100b8c40
mov esi, dword [ebp - 0x1c]
push 0
call fcn.100b897d
pop ecx
ret
push ebx
push esi
push edi
call fcn.100bc69f
mov esi, eax
test esi, esi
je 0x100ba7f7
mov edx, dword [esi]
xor ebx, ebx
mov ecx, edx
lea eax, [edx + 0x90]
cmp edx, eax
je 0x100ba6dc
mov edi, dword [ebp + 8]
cmp dword [ecx], edi
je 0x100ba6de
add ecx, 0xc
cmp ecx, eax
jne 0x100ba6d1
mov ecx, ebx
test ecx, ecx
je 0x100ba7f7
mov edi, dword [ecx + 8]
test edi, edi
je 0x100ba7f7
cmp edi, 5
jne 0x100ba701
xor eax, eax
mov dword [ecx + 8], ebx
inc eax
jmp 0x100ba7f9
cmp edi, 1
jne 0x100ba70e
or eax, 0xffffffff
jmp 0x100ba7f9
mov eax, dword [esi + 4]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 4], eax
cmp dword [ecx + 4], 8
jne 0x100ba7db
lea eax, [edx + 0x24]
lea edx, [eax + 0x6c]
jmp 0x100ba732
mov dword [eax + 8], ebx
add eax, 0xc
cmp eax, edx
jne 0x100ba72c
mov ebx, dword [esi + 8]
mov eax, 0xc0000091
cmp dword [ecx], eax
ja 0x100ba789
je 0x100ba782
cmp dword [ecx], 0xc000008d
je 0x100ba77b
cmp dword [ecx], 0xc000008e
je 0x100ba774
cmp dword [ecx], 0xc000008f
je 0x100ba76d
cmp dword [ecx], 0xc0000090
mov eax, ebx
jne 0x100ba7c8
mov eax, 0x81
jmp 0x100ba7c5
mov eax, 0x86
jmp 0x100ba7c5
mov eax, 0x83
jmp 0x100ba7c5
mov eax, 0x82
jmp 0x100ba7c5
mov eax, 0x84
jmp 0x100ba7c5
cmp dword [ecx], 0xc0000092
je 0x100ba7c0
cmp dword [ecx], 0xc0000093
je 0x100ba7b9
cmp dword [ecx], 0xc00002b4
je 0x100ba7b2
cmp dword [ecx], 0xc00002b5
mov eax, ebx
jne 0x100ba7c8
mov eax, 0x8d
jmp 0x100ba7c5
mov eax, 0x8e
jmp 0x100ba7c5
mov eax, 0x85
jmp 0x100ba7c5
mov eax, 0x8a
mov dword [esi + 8], eax
push eax
push 8
mov ecx, edi
call dword [0x100d1424]
call edi
pop ecx
mov dword [esi + 8], ebx
jmp 0x100ba7eb
push dword [ecx + 4]
mov dword [ecx + 8], ebx
mov ecx, edi
call dword [0x100d1424]
call edi
mov eax, dword [ebp - 4]
pop ecx
mov dword [esi + 4], eax
jmp 0x100ba706
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x100c2312
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100c2188

Function at 0x100c744d
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100c6fa0
Function at 0x401784
Capabilities:
Execute command

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
call sym._idade
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xf
jg 0x4017a6
mov dword [esp], str.No_eleitor
call sym._puts
jmp 0x4017f6
cmp dword [ebp - 0xc], 0x11
jle 0x4017cc
cmp dword [ebp - 0xc], 0x41
jg 0x4017cc
mov dword [esp], str.Eleitor_obrigatrio
call sym._puts
mov dword [esp], str.Bloco_C_sala_18
call sym._puts
jmp 0x4017f6
cmp dword [ebp - 0xc], 0xf
jle 0x4017d8
cmp dword [ebp - 0xc], 0x11
jle 0x4017de
cmp dword [ebp - 0xc], 0x41
jle 0x4017f6
mov dword [esp], str.Eleitor_facultativo
call sym._puts
mov dword [esp], str.Bloco_D_sala_22
call sym._puts
mov dword [esp], str.pause
call sym._system
nop
leave
ret
Function at 0x401cbb
Capabilities:
Execute command

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x20
call sym.___main
mov dword [esp], str.chcp_65001
call sym._system
mov dword [esp], 0x40635c
call sym._system
mov byte [esp + 0x1f], 1
mov dword [esp + 0x18], 0
call sym._menu
call sym._intValidate
mov dword [esp + 0x18], eax
cmp dword [esp + 0x18], 7
ja 0x401d52
mov eax, dword [esp + 0x18]
shl eax, 2
add eax, 0x406614
mov eax, dword [eax]
jmp eax
mov dword [esp], str.INVALID_INPUT_n_n
call sym._puts
nop
cmp byte [esp + 0x1f], 0
jne 0x401cee
mov eax, 0
leave
ret
Function at 0x4023b0
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x408044
call sym._EnterCriticalSection_4
mov ebx, dword [0x40803c]
sub esp, 4
test ebx, ebx
je 0x4023fb
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sym._TlsGetValue_4
sub esp, 4
mov esi, eax
call sym._GetLastError_0
test eax, eax
jne 0x4023f4
test esi, esi
je 0x4023f4
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x4023d0
mov dword [esp], 0x408044
call sym._LeaveCriticalSection_4
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x4025e0
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x17
mov dword [esp + 4], 1
lea esi, [esp + 0x24]
mov dword [esp], str.Mingw_runtime_failure:_n
lea ebx, [eax + 0x40]
mov dword [esp + 0xc], ebx
call sym._fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._vfprintf
call sym._abort
lea esi, [esi]

Function at 0x402630
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push edi
mov edi, ecx
push esi
push ebx
mov ebx, eax
mov esi, edx
sub esp, 0x4c
lea eax, [esp + 0x24]
mov dword [esp + 8], 0x1c
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._VirtualQuery_12
sub esp, 0xc
test eax, eax
je 0x402708
mov eax, dword [esp + 0x38]
cmp eax, 0x40
je 0x40266e
cmp eax, 4
jne 0x402690
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sym._memcpy
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x30]
lea ebp, [esp + 0x20]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov edx, dword [esp + 0x38]
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 0x1c], edx
call sym._memcpy
mov edx, dword [esp + 0x1c]
cmp edx, 0x40
je 0x40267e
cmp edx, 4
je 0x40267e
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.004025e0
Function at 0x401000
Capabilities:
Hide graphical window

Disassembly:
push 3
call sub.KERNEL32.dll_SetErrorMode
push 0x40245c
call sub.KERNEL32.dll_LoadLibraryA
mov ebx, eax
test eax, eax
jne 0x401034
nop
nop
nop
nop
push 0x402467
call sub.KERNEL32.dll_LoadLibraryA
mov ebx, eax
test eax, eax
jne 0x401034
nop
nop
nop
nop
call sub.KERNEL32.dll_ExitProcess
mov esi, 0x4024dd
mov edi, esi
lodsd eax, dword [esi]
test eax, eax
je 0x40104e
nop
nop
nop
nop
push eax
push ebx
call sub.KERNEL32.dll_GetProcAddress
stosd dword es:[edi], eax
jmp 0x40103b
call fcn.00401604
mov dword [0x402372], 0x3f800000
mov dword [0x402376], 0x3f800000
mov dword [0x40237a], 0x3f800000
mov dword [0x40237e], 0
mov dword [0x402382], 0
mov dword [0x402386], 0
push 0
call sub.USER32.dll_GetSystemMetrics
sub eax, 0x258
shr eax, 1
mov dword [0x402246], eax
push 1
call sub.USER32.dll_GetSystemMetrics
sub eax, 0x258
shr eax, 1
mov dword [0x40224a], eax
push 0
call sub.KERNEL32.dll_GetModuleHandleA
mov dword [0x402509], eax
mov dword [0x4021fa], eax
mov eax, 0x4011be
mov dword [0x4021ee], eax
mov dword [0x40220e], 0x40223e
push 0x4021e6
call sub.USER32.dll_RegisterClassExA
push 0
push dword [0x402509]
push 0
push 0
push 0x258
push 0x258
push dword [0x40224a]
push dword [0x402246]
push 0x88000000
push 0x40223e
push 0x40223e
push 8
call sub.USER32.dll_CreateWindowExA
mov dword [0x40250d], eax
push 0x24e
push 0x24e
push 0x1e
push 0xa
call sub.GDI32.dll_CreateEllipticRgn
push 1
push eax
push dword [0x40250d]
call sub.USER32.dll_SetWindowRgn
push 1
push dword [0x40250d]
call sub.USER32.dll_ShowWindow
push dword [0x40250d]
call sub.USER32.dll_UpdateWindow
call fcn.00401260
push 0
push 0
push dword [0x40250d]
call sub.USER32.dll_InvalidateRect
push 1
push 0
push 0
push 0
push 0x40252d
call sub.USER32.dll_PeekMessageA
cmp eax, 0
jne 0x40118b
nop
nop
nop
nop
jmp 0x40115f
cmp dword [0x402531], 0x12
je 0x4011ae
nop
nop
nop
nop
push 0x40252d
call sub.USER32.dll_TranslateMessage
push 0x40252d
call sub.USER32.dll_DispatchMessageA
jmp 0x40115f
call fcn.004015dc
push dword [0x402535]
call sub.KERNEL32.dll_ExitProcess
enter 0, 0
cmp dword [ebp + 0xc], 1
jne 0x4011d3
nop
nop
nop
nop
xor eax, eax
jmp 0x40125c
cmp dword [ebp + 0xc], 0x84
jne 0x4011ea
nop
nop
nop
nop
mov eax, 2
jmp 0x40125c
cmp dword [ebp + 0xc], 0xf
jne 0x40124b
nop
nop
nop
nop
push 0x40251d
push dword [0x40250d]
call sub.USER32.dll_GetClientRect
mov eax, dword [0x402511]
mov dword [0x4021b2], eax
push 0x4021b2
push dword [0x40250d]
call sub.USER32.dll_BeginPaint
call fcn.00401308
mov eax, dword [0x402511]
mov dword [0x4021b2], eax
push 0x4021b2
push dword [0x40250d]
call sub.USER32.dll_EndPaint
xor eax, eax
jmp 0x40125c
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call sub.USER32.dll_DefWindowProcA
leave
ret 0x10
Function at 0x40cf20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4518f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
push ebx
xor ebx, ebx
push ebp
push esi
push edi
mov dword [esp + 0x44], 0x4566a4
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov esi, dword [0x48493c]
mov edi, dword [fcn.0045606c]
lea eax, [esp + 0x44]
add esi, 0x10
push esi
mov dword [esp + 0x88], ebx
mov dword [esp + 0x14], eax
call edi
mov ebp, dword [fcn.004560a8]
call ebp
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [0x4849d4]
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x1c], eax
call fcn.00409100
push esi
call dword [fcn.00456070]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov eax, dword [0x489c30]
mov ecx, 0x489c30
mov byte [esp + 0x84], 1
mov dword [esp + 0x18], 0x4566e4
mov dword [esp + 0x38], ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x3c], eax
mov edx, dword [0x489c30]
mov ecx, 0x489c30
mov byte [esp + 0x84], 2
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x40], eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x24]
push ecx
push 0x484974
mov byte [esp + 0x90], 3
call fcn.004021e0
mov edx, dword [0x489bc8]
push ebx
push 0x403050
push ebx
push 0xc9
push edx
call dword [0x456384]
cmp eax, ebx
jne 0x40d088
lea ecx, [esp + 0x18]
mov byte [esp + 0x84], bl
call fcn.00402ba0
mov eax, dword [esp + 0x54]
cmp eax, ebx
je 0x40d05a
push eax
call fcn.00445d0a
add esp, 4
mov dword [esp + 0x54], ebx
mov eax, dword [esp + 0x48]
cmp eax, ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
je 0x40d073
push eax
call fcn.00445d0a
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
add esp, 0x78
ret
mov eax, dword [esp + 0x1c]
push 0xa
push eax
call dword [0x4563c4]
lea ecx, [esp + 0x44]
call fcn.00401c50
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x10], eax
mov eax, edx
lea esi, [eax + 1]
jmp 0x40d0b0
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x40d0b0
mov ecx, dword [esp + 0x8c]
sub eax, esi
push eax
push edx
call fcn.00408600
mov esi, dword [0x48493c]
add esi, 0x10
push esi
call edi
call ebp
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [0x4849d4]
mov dword [esp + 0x18], eax
call fcn.00402da0
push esi
call dword [fcn.00456070]
lea ecx, [esp + 0x18]
mov byte [esp + 0x84], bl
call fcn.00402ba0
mov eax, dword [esp + 0x54]
cmp eax, ebx
je 0x40d115
push eax
call fcn.00445d0a
add esp, 4
mov dword [esp + 0x54], ebx
mov eax, dword [esp + 0x48]
cmp eax, ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
je 0x40d12e
push eax
call fcn.00445d0a
add esp, 4
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x78
ret
Function at 0x413940
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov eax, 0x80
call fcn.00446330
push ebx
mov ebx, dword [esp + 0x88]
push ebp
push esi
mov esi, dword [esp + 0x9c]
xor eax, eax
test esi, esi
push edi
je 0x41396b
mov eax, 1
mov dword [ebx], esi
jmp 0x413976
mov ecx, dword [ebx]
mov dword [esp + 0xa0], ecx
mov esi, ecx
mov ecx, dword [esp + 0x98]
test ecx, ecx
je 0x413adb
mov edi, dword [esi + 0x40]
cmp edi, 0x80
jle 0x4139a4
push 0x457560
push 0x52
push 0x457548
call fcn.00422e50
add esp, 0xc
mov ebp, dword [esp + 0x9c]
cmp edi, ebp
jge 0x4139e3
mov edx, dword [esp + 0xa4]
push edx
lea edi, [ebx + 4]
push esi
push edi
call fcn.00422720
mov eax, dword [esp + 0xa4]
push ebp
push eax
push edi
call fcn.00422840
lea esi, [ebx + 0x34]
push esi
lea ecx, [ebx + 0x38]
push ecx
push edi
call fcn.00422850
add esp, 0x24
jmp 0x413a22
test ebp, ebp
jl 0x4139ef
cmp ebp, 0x80
jle 0x413a03
push 0x457520
push 0x5c
push 0x457548
call fcn.00422e50
add esp, 0xc
mov esi, dword [esp + 0x98]
mov ecx, ebp
mov edx, ecx
shr ecx, 2
lea edi, [ebx + 0x38]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea esi, [ebx + 0x34]
mov dword [esi], ebp
mov esi, dword [esi]
cmp esi, 0x80
je 0x413a47
mov ecx, 0x80
sub ecx, esi
mov edx, ecx
shr ecx, 2
xor eax, eax
lea edi, [esi + ebx + 0x38]
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov esi, dword [esp + 0xa0]
xor eax, eax
mov cl, byte [ebx + eax + 0x38]
xor cl, 0x36
mov byte [esp + eax + 0x10], cl
inc eax
cmp eax, 0x80
jl 0x413a50
mov ebp, dword [esp + 0xa4]
push ebp
lea edi, [ebx + 0x14]
push esi
push edi
call fcn.00422720
mov edx, dword [esi + 0x40]
push edx
lea eax, [esp + 0x20]
push eax
push edi
call fcn.00422840
add esp, 0x18
xor eax, eax
lea esp, [esp]
mov cl, byte [ebx + eax + 0x38]
xor cl, 0x5c
mov byte [esp + eax + 0x10], cl
inc eax
cmp eax, 0x80
jl 0x413a90
push ebp
lea edi, [ebx + 0x24]
push esi
push edi
call fcn.00422720
mov edx, dword [esi + 0x40]
push edx
lea eax, [esp + 0x20]
push eax
push edi
call fcn.00422840
add esp, 0x18
lea ecx, [ebx + 0x14]
push ecx
add ebx, 4
push ebx
call fcn.00422940
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x80
ret
test eax, eax
je 0x413ac0
jmp 0x413a4e

Function at 0x413be0
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x58], ecx
mov eax, 1
ret
Function at 0x4146c0
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x5c], ecx
mov eax, 1
ret
Function at 0x425060
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x2c
call fcn.00446330
push ebx
mov ebx, dword [esp + 0x3c]
test ebx, ebx
jle 0x4251f9
cmp ebx, 0x80
jg 0x4251f9
push ebp
push esi
push edi
mov edi, dword [esp + 0x50]
mov eax, edi
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x1c], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x20], edx
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x4c]
push eax
push edi
push edi
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
call fcn.00425b30
lea eax, [ebx + 7]
cdq
and edx, 7
add eax, edx
mov ebp, eax
mov eax, dword [esp + 0x60]
add esp, 0xc
sar ebp, 3
test eax, eax
je 0x4250f7
test ebp, ebp
jle 0x42513f
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x44]
lea esi, [esp + 0x2c]
sub edx, edi
sub esi, edi
mov ecx, edi
sub ebx, edi
mov al, byte [edx + ecx]
xor al, byte [ecx]
inc ecx
dec ebp
mov byte [esi + ecx - 1], al
mov byte [ebx + ecx - 1], al
jne 0x4250e4
jmp 0x42513b
xor esi, esi
test ebp, ebp
jle 0x42513f
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x2c]
mov edx, ecx
sub eax, ecx
mov ecx, dword [esp + 0x44]
mov ebx, edi
sub ebx, edx
sub ecx, edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ecx
jmp 0x425121
mov ebx, dword [esp + 0x14]
lea ecx, [esp + esi + 0x2c]
mov dl, byte [eax + ecx]
mov bl, byte [ebx + ecx]
xor bl, dl
mov byte [ecx], dl
mov edx, dword [esp + 0x18]
inc esi
cmp esi, ebp
mov byte [edx + ecx], bl
jl 0x42511d
mov ebx, dword [esp + 0x48]
and ebx, 0x80000007
jns 0x42514c
dec ebx
or ebx, 0xfffffff8
inc ebx
mov eax, dword [esp + 0x48]
cdq
and edx, 7
add eax, edx
sar eax, 3
test ebx, ebx
mov dword [esp + 0x14], ebx
jne 0x425183
lea eax, [esp + eax + 0x1c]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [edi], ecx
mov ecx, dword [eax + 8]
mov dword [edi + 4], edx
mov edx, dword [eax + 0xc]
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
mov cl, 8
sub cl, bl
mov byte [esp + 0x48], cl
inc edi
lea esi, [esp + eax + 0x1d]
mov ebp, 4
mov al, byte [esi]
mov dl, byte [esi - 1]
mov ecx, ebx
shl dl, cl
mov cl, byte [esp + 0x48]
mov bl, al
shr bl, cl
mov ecx, dword [esp + 0x14]
shl al, cl
mov cl, byte [esp + 0x48]
or dl, bl
mov byte [edi - 1], dl
mov dl, byte [esi + 1]
mov bl, dl
shr bl, cl
add esi, 4
add edi, 4
or al, bl
mov ebx, dword [esp + 0x14]
mov byte [edi - 4], al
mov al, byte [esi - 2]
mov ecx, ebx
shl dl, cl
mov cl, byte [esp + 0x48]
mov byte [esp + 0x13], al
shr al, cl
or dl, al
mov al, byte [esp + 0x13]
mov byte [edi - 3], dl
mov dl, byte [esi - 1]
shr dl, cl
mov ecx, ebx
shl al, cl
or dl, al
dec ebp
mov byte [edi - 2], dl
jne 0x425195
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
Function at 0x437820
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebx
push ebp
push esi
mov ebp, ecx
mov ecx, dword [ebp]
mov esi, dword [ebp + 4]
sub esi, ecx
inc esi
xor eax, eax
push edi
mov ebx, 1
xor ecx, ecx
jmp 0x437840
mov edx, 1
shl edx, cl
or eax, edx
inc ecx
cmp ecx, 0x20
jl 0x437840
cmp eax, 0xffffffff
mov ecx, eax
jne 0x437860
mov ebx, 2
mov ecx, 0x7fffffff
inc ecx
xor edx, edx
mov eax, ecx
div esi
test edx, edx
jne 0x43786f
mov ebx, eax
jmp 0x437887
shr eax, 5
cmp eax, esi
jb 0x437887
shr ecx, 1
xor edx, edx
mov eax, ecx
div esi
add ebx, ebx
shr eax, 5
cmp eax, esi
jae 0x437876
mov edi, dword [esp + 0x14]
mov eax, dword [edi + 0x1380]
cmp eax, 0x270
jne 0x43789c
push 0
jmp 0x4378a5
cmp eax, 0x4e0
jl 0x4378ac
push 1
mov ecx, edi
call fcn.00437400
mov eax, dword [edi + 0x1380]
mov ecx, dword [edi + eax*4]
inc eax
mov dword [edi + 0x1380], eax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov edx, ecx
and edx, 0xff3a58ad
shl edx, 7
xor ecx, edx
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
xor edx, edx
div ebx
xor edx, edx
mov ecx, dword [ebp]
pop edi
div esi
pop esi
pop ebp
pop ebx
mov eax, edx
add eax, ecx
ret 4