joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4951d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
push edi
mov edi, ecx
cmp byte [edi + 0x3c], 0
jne 0x495293
mov ecx, 0x56a4bc
call fcn.00416ad0
mov esi, dword [0x5699f4]
mov ecx, dword [esi + 0x34]
sub ecx, dword [esi + 0x30]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
jbe 0x495233
mov eax, dword [esi + 0x30]
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x495233
mov edx, dword [eax + 0x20]
test edx, edx
je 0x495227
mov eax, dword [eax + 0x1c]
mov edx, dword [edx + 0xc]
imul eax, edx
add eax, ecx
jmp 0x495235
mov eax, dword [eax + 0x1c]
xor edx, edx
imul eax, edx
add eax, ecx
jmp 0x495235
xor eax, eax
mov ecx, dword [eax + 0x14]
and cl, 3
cmp cl, 1
jne 0x4952f1
mov ecx, 0x56a480
call fcn.004056e0
mov ecx, dword [0x5699dc]
mov edx, dword [ecx + 0x18]
test edx, edx
jne 0x49525f
xor ecx, ecx
jmp 0x495275
mov eax, dword [ecx + 0x20]
test eax, eax
je 0x49526b
mov eax, dword [eax + 0xc]
jmp 0x49526d
xor eax, eax
mov ecx, dword [ecx + 0x1c]
imul ecx, eax
add ecx, edx
push 6
call fcn.00406630
test al, al
je 0x4952f1
push 0
mov ecx, edi
call fcn.00423c80
mov byte [edi + 0x3c], 1
mov al, byte [edi + 0x3c]
pop edi
pop esi
ret
mov ecx, 0x56a480
call fcn.004056e0
mov edx, dword [0x5699dc]
mov esi, dword [edx + 0x18]
test esi, esi
jne 0x4952ae
xor eax, eax
jmp 0x4952c4
mov eax, dword [edx + 0x20]
test eax, eax
je 0x4952ba
mov ecx, dword [eax + 0xc]
jmp 0x4952bc
xor ecx, ecx
mov eax, dword [edx + 0x1c]
imul eax, ecx
add eax, esi
mov ecx, dword [eax + 0x74]
mov edx, dword [eax + 0x78]
cmp ecx, edx
je 0x4952e4
mov eax, dword [eax + 0x10]
lea eax, [eax + ecx + 1]
cmp byte [eax], 0
jne 0x4952f1
add ecx, 3
add eax, 3
cmp ecx, edx
jne 0x4952d5
push 0
mov ecx, edi
call fcn.00423c80
mov byte [edi + 0x3c], 0
mov al, byte [edi + 0x3c]
pop edi
pop esi
ret
Function at 0x49e350
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
cmp byte [ebp + 8], 0
push ebx
push esi
push edi
mov esi, ecx
je 0x49e374
xor ebx, ebx
mov dword [esi], ebx
mov edx, dword [esi + 0x20]
cmp edx, ebx
jne 0x49e43d
xor eax, eax
jmp 0x49e453
mov eax, dword [esi]
test eax, eax
je 0x49e389
dec eax
mov dword [esi], eax
pop edi
pop esi
mov eax, 2
pop ebx
pop ebp
ret 4
mov ecx, dword [esi + 0x3c]
sub ecx, dword [esi + 0x38]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
mov dword [ebp + 8], 0
je case.default.0x49e423
mov ecx, dword [esi + 0x38]
jmp 0x49e3b0
mov edi, dword [ecx]
test edi, edi
jne 0x49e3ba
xor eax, eax
jmp 0x49e3d0
mov eax, dword [ecx + 8]
test eax, eax
je 0x49e3c6
mov edx, dword [eax + 0xc]
jmp 0x49e3c8
xor edx, edx
mov eax, dword [ecx + 4]
imul eax, edx
add eax, edi
cmp byte [eax + 8], 0
je 0x49e3fd
test edi, edi
jne 0x49e3de
xor eax, eax
jmp 0x49e3f4
mov eax, dword [ecx + 8]
test eax, eax
je 0x49e3ea
mov edx, dword [eax + 0xc]
jmp 0x49e3ec
xor edx, edx
mov eax, dword [ecx + 4]
imul eax, edx
add eax, edi
cmp dword [eax + 0xa4], 0
jne case.0x49e423.2
mov eax, dword [ebp + 8]
inc eax
add ecx, 0xc
mov dword [ebp + 8], eax
cmp eax, ebx
jb 0x49e3b0
jmp case.default.0x49e423
mov ecx, esi
call fcn.00497ed0
inc dword [esi + 0x88]
inc eax
cmp eax, 3
ja case.default.0x49e423
jmp dword [eax*4 + 0x49e530]
pop edi
pop esi
or eax, 0xffffffff
pop ebx
pop ebp
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 4
mov eax, dword [esi + 0x28]
cmp eax, ebx
je 0x49e449
mov ecx, dword [eax + 0xc]
jmp 0x49e44b
xor ecx, ecx
mov eax, dword [esi + 0x24]
imul eax, ecx
add eax, edx
mov edi, dword [eax + 4]
mov ecx, 0x56a451
call fcn.004074f0
mov ecx, dword [0x5699e4]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push edi
call fcn.00474d20
mov ecx, 0x56a4b4
call fcn.00416a20
mov ecx, dword [0x5699f0]
mov eax, dword [ecx + 0x18]
cmp eax, ebx
jne 0x49e48d
xor ecx, ecx
jmp 0x49e4a3
mov edx, dword [ecx + 0x20]
cmp edx, ebx
je 0x49e499
mov edx, dword [edx + 0xc]
jmp 0x49e49b
xor edx, edx
mov ecx, dword [ecx + 0x1c]
imul ecx, edx
add ecx, eax
push str.bg_black.bgd
lea edi, [esi + 0x14]
push edi
call fcn.004324d0
test al, al
je 0x49e42a
mov dword [esi + 0x54], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], 0xffffffff
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x7c], 0xff
mov dword [esi + 0x80], ebx
push ebx
mov ecx, edi
mov dword [esi + 0x70], ebx
call fcn.004832d0
mov dword [esi + 0x58], eax
mov ecx, dword [esi + 0x20]
cmp ecx, ebx
jne 0x49e501
xor eax, eax
jmp 0x49e517
mov eax, dword [esi + 0x28]
cmp eax, ebx
je 0x49e50d
mov edx, dword [eax + 0xc]
jmp 0x49e50f
xor edx, edx
mov eax, dword [esi + 0x24]
imul eax, edx
add eax, ecx
mov eax, dword [eax + 4]
mov dword [esi + 0x5c], eax
mov dword [esi + 4], 8
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret 4
Function at 0x4c3430
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51da6b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x56858c]
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 + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
lea edi, [esi + 0x2c]
mov dword [ebp - 4], eax
or eax, 0xffffffff
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x1c]
cmp ecx, eax
je 0x4c34bf
mov edx, dword [ebp - 0x10]
push edx
push ecx
push eax
push eax
call fcn.004f59a0
mov edx, dword [esi + 0x20]
mov ebx, eax
mov eax, dword [ebp - 0x10]
push eax
lea ecx, [esi + 0x28]
push ecx
push edx
push ebx
call fcn.0048cd80
add esp, 0x20
mov dword [esi + 0x20], ebx
push edi
call dword [0x526248]
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 0x4c34e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51dabc
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x56858c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
xor edi, edi
mov dword [esi], vtable.GuiControl::GuiDialog.0
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [ebp - 4], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov eax, 1
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
push 4
mov byte [ebp - 4], 3
call fcn.00503a77
add esp, 4
cmp eax, edi
je 0x4c3571
mov dword [eax], vtable.GuiControl::NullInputState.0
jmp 0x4c3573
xor eax, eax
push eax
lea ecx, [esi + 0x1c]
call fcn.004af250
push 0x80
call fcn.00503a77
add esp, 4
cmp eax, edi
je 0x4c3598
mov dword [eax], vtable.Graphics::CDirtyRect.0
mov dword [eax + 0x7c], edi
jmp 0x4c359a
xor eax, eax
push eax
lea ecx, [esi + 0x58]
call fcn.004738d0
mov dword [esi + 0x48], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x4c], edi
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 8
Function at 0x4c5c90
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51de08
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x56858c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [esi + 0xc], 0xffffffff
mov dword [esi + 0x10], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov edx, 1
mov dword [esi + 0x14], edx
mov dword [esi + 0x18], edx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
lea ecx, [esi + 0x28]
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x4c], edx
mov dword [esi + 0x50], eax
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x38], ebx
mov eax, dword [ebp + 0xc]
mov dword [esi + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x18]
mov dword [esi], vtable.GuiControl::Static.0
mov dword [esi + 8], edx
mov dword [ebp - 0x14], eax
cmp eax, ebx
je 0x4c5d2c
add dword [eax + 4], edx
lea edx, [ebp - 0x1c]
push edx
mov byte [ebp - 4], 2
call fcn.0044ca40
mov edi, dword [ebp - 0x14]
mov byte [ebp - 4], 1
cmp edi, ebx
je 0x4c5d61
dec dword [edi + 4]
jne 0x4c5d61
cmp byte [edi + 8], bl
je 0x4c5d56
mov eax, dword [edi]
mov edx, dword [eax]
mov ecx, edi
call edx
mov eax, dword [edi]
mov edx, dword [eax + 4]
push 1
mov ecx, edi
call edx
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
jne 0x4c5d6f
xor eax, eax
jmp 0x4c5d80
cmp ecx, ebx
je 0x4c5d78
mov eax, dword [ecx + 0xc]
jmp 0x4c5d7a
xor eax, eax
imul eax, dword [ebp + 0x14]
add eax, edx
mov edi, dword [eax + 0x30]
mov edx, dword [eax + 0x2c]
mov dword [ebp - 0x1c], edi
mov edi, dword [eax + 0x34]
mov eax, dword [eax + 0x38]
mov dword [esi + 0x38], edx
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], eax
mov dword [esi + 0x3c], edx
mov dword [ebp - 4], 0xffffffff
cmp ecx, ebx
je 0x4c5dcc
dec dword [ecx + 4]
cmp dword [ecx + 4], ebx
jne 0x4c5dcc
cmp byte [ecx + 8], bl
je 0x4c5dbc
mov eax, dword [ecx]
mov edx, dword [eax]
call edx
mov ecx, dword [ebp + 0x18]
cmp ecx, ebx
je 0x4c5dcc
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push 1
call edx
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 0x14
Function at 0x4c6520
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51de08
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x56858c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [esi + 0xc], 0xffffffff
mov dword [esi + 0x10], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov edx, 1
mov dword [esi + 0x14], edx
mov dword [esi + 0x18], edx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
lea ecx, [esi + 0x28]
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x4c], edx
mov dword [esi + 0x50], eax
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x38], ebx
mov eax, dword [ebp + 0xc]
mov dword [esi + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x18]
mov dword [esi], vtable.GuiControl::Button.0
mov dword [esi + 8], ebx
mov dword [esi + 0x58], 7
mov dword [esi + 0x54], ebx
mov dword [esi + 0x5c], ebx
mov dword [ebp - 0x14], eax
cmp eax, ebx
je 0x4c65c9
add dword [eax + 4], edx
lea edx, [ebp - 0x1c]
push edx
mov byte [ebp - 4], 2
call fcn.0044ca40
mov edi, dword [ebp - 0x14]
mov byte [ebp - 4], 1
cmp edi, ebx
je 0x4c65fe
dec dword [edi + 4]
jne 0x4c65fe
cmp byte [edi + 8], bl
je 0x4c65f3
mov eax, dword [edi]
mov edx, dword [eax]
mov ecx, edi
call edx
mov eax, dword [edi]
mov edx, dword [eax + 4]
push 1
mov ecx, edi
call edx
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
jne 0x4c660c
xor eax, eax
jmp 0x4c661d
cmp ecx, ebx
je 0x4c6615
mov eax, dword [ecx + 0xc]
jmp 0x4c6617
xor eax, eax
imul eax, dword [ebp + 0x14]
add eax, edx
mov edi, dword [eax + 0x30]
mov edx, dword [eax + 0x2c]
mov dword [ebp - 0x1c], edi
mov edi, dword [eax + 0x34]
mov eax, dword [eax + 0x38]
mov dword [esi + 0x38], edx
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], eax
mov dword [esi + 0x3c], edx
mov dword [ebp - 4], 0xffffffff
cmp ecx, ebx
je 0x4c6669
dec dword [ecx + 4]
cmp dword [ecx + 4], ebx
jne 0x4c6669
cmp byte [ecx + 8], bl
je 0x4c6659
mov eax, dword [ecx]
mov edx, dword [eax]
call edx
mov ecx, dword [ebp + 0x18]
cmp ecx, ebx
je 0x4c6669
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push 1
call edx
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 0x14
Function at 0x4ccbe0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51f3b8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x56858c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov ecx, 0x56a4b4
call fcn.00416a20
mov eax, dword [0x5699f0]
mov edx, dword [eax + 0x18]
test edx, edx
jne 0x4ccc24
xor ecx, ecx
jmp 0x4ccc3a
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x4ccc30
mov esi, dword [ecx + 0xc]
jmp 0x4ccc32
xor esi, esi
mov ecx, dword [eax + 0x1c]
imul ecx, esi
add ecx, edx
lea eax, [ebp - 0x18]
push eax
call fcn.004753f0
mov edi, eax
lea esi, [ebx + 0x68]
mov dword [ebp - 4], 0
cmp esi, edi
je 0x4ccc9f
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4ccc88
dec dword [ecx + 4]
jne 0x4ccc7b
cmp byte [ecx + 8], 0
je 0x4ccc6b
mov edx, dword [ecx]
mov eax, dword [edx]
call eax
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4ccc7b
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov dword [esi + 8], 0
mov dword [esi], 0
mov ecx, dword [edi]
mov dword [esi], ecx
mov edx, dword [edi + 4]
mov dword [esi + 4], edx
mov edi, dword [edi + 8]
mov dword [esi + 8], edi
test edi, edi
je 0x4ccc9f
inc dword [edi + 4]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x4cccdc
dec dword [eax + 4]
cmp dword [eax + 4], 0
mov ecx, eax
jne 0x4cccd4
cmp byte [ecx + 8], 0
je 0x4cccc4
mov eax, dword [ecx]
mov edx, dword [eax]
call edx
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x4cccd4
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push 1
call edx
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebx]
mov edx, dword [eax + 0x24]
push 1
mov ecx, ebx
call edx
mov esi, dword [ebx + 0x80]
cmp esi, dword [ebx + 0x84]
je 0x4ccd27
mov edx, dword [esi]
test edx, edx
jne 0x4cccff
xor ecx, ecx
jmp 0x4ccd15
mov eax, dword [esi + 8]
test eax, eax
je 0x4ccd0b
mov eax, dword [eax + 0xc]
jmp 0x4ccd0d
xor eax, eax
mov ecx, dword [esi + 4]
imul ecx, eax
add ecx, edx
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
add esi, 0xc
cmp esi, dword [ebx + 0x84]
jne 0x4cccf5
mov eax, dword [ebx]
mov edx, dword [eax + 0x3c]
xor esi, esi
mov ecx, ebx
mov dword [ebx + 0x78], esi
call edx
mov eax, dword [ebx]
mov edx, dword [eax + 0x68]
mov ecx, ebx
call edx
mov dword [ebx + 0x54], 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 0x438ca6
Capabilities:
Encode data using xor

Disassembly:
push 0x438a14
mov esi, dword [esp]
add esp, 4
mov edx, edx
call fcn.00438ce2
sub edi, edx
inc edx
sub edx, 0xb03f0789
xor dword [ecx], esi
dec edi
add ecx, 1
sub edx, 0xaa85b244
cmp ecx, eax
jne fcn.00438ca6
inc edi
push edi
pop edx
ret
Function at 0x50872d13
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x50872d22
pop dword [ebp - 0x1c]
mov eax, 0xc3659b21
sub eax, 0x72de6dff
sub dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], 0xbd96716e
sub dword [ebp - 0x2c], 0x6f442c23
mov dword [ebp - 0x28], 0xb2acfa42
sub dword [ebp - 0x28], 0x8079adfd
mov dword [ebp - 0x24], 0x8988b4b7
add dword [ebp - 0x24], 0xc2c38f77
mov dword [ebp - 0x20], 0x8be2066b
add dword [ebp - 0x20], 0x741df995
lea eax, [ebp - 0x2c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x1c]
call dword [eax]
mov dword [ebp - 0x2c], 0xce7ad21e
sub dword [ebp - 0x2c], 0x5a0868c8
mov dword [ebp - 0x28], 0x35c9f362
sub dword [ebp - 0x28], 0xf45d91ed
mov dword [ebp - 0x24], 0xbc791288
sub dword [ebp - 0x24], 0x5909a61c
mov dword [ebp - 0x20], 0xbadc9ac2
sub dword [ebp - 0x20], 0xbadc9ac2
lea ebx, [ebp - 0x2c]
push ebx
push eax
mov eax, 0x48d75a64
add eax, 0x7afb604
add eax, dword [ebp - 0x1c]
call dword [eax]
push 0x40
push 0x1000
push 0x36129
push 0
call eax
mov ecx, 0x44f3
mov esi, eax
mov edx, 0x50879000
add edx, dword [ebp - 0x1c]
mov edi, 0x6a208fcb
sub edi, 0xc9c2c36c
xor dword [ebp - 0x14], eax
mov ebx, dword [edx]
mov dword [ebp - 0x10], 0xa2d0d606
sub ebx, edi
mov dword [esi], ebx
sub dword [ebp - 8], edi
add esi, 4
add edx, 0xb9781ead
sub edx, 0xb9781ea9
loop 0x50872e33
add eax, 0x24d56d54
add eax, 0xdb2b994b
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x7ac7f410
add ecx, 0xd5bf0bf0
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret

Function at 0x5087472e
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x94
push esi
mov esi, ecx
call fcn.50874717
and byte [esi + 0xc], 0
mov eax, 0x50870000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x1c]
push 0
push eax
mov dword [esi], 0x3c
call sub.MSVCR70.dll_memset
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], 0x94
call dword [sym.imp.kernel32.dll_GetVersionExA]
cmp dword [ebp - 0xc], 2
jne 0x50874788
cmp dword [ebp - 0x18], 5
jb 0x508747a0
jmp 0x5087479c
cmp dword [ebp - 0xc], 1
jne 0x508747a0
cmp dword [ebp - 0x18], 4
ja 0x5087479c
jne 0x508747a0
cmp dword [ebp - 0x14], 0
jbe 0x508747a0
mov byte [esi + 0xc], 1
lea eax, [esi + 0x18]
push eax
mov dword [esi + 0x10], 0x700
mov dword [esi + 0x14], 0x50875050
call dword [sym.imp.kernel32.dll_InitializeCriticalSection]
mov eax, esi
pop esi
add ebp, 0x78
leave
ret
Function at 0x10003680
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, edx
not ebx
mov esi, ecx
mov eax, ebx
test edi, edi
je 0x100036e1
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x100036c4
cmp edi, 2
jb 0x100036c4
cmp byte [esi], cl
jne 0x100036c4
cmp byte [esi + 1], cl
jne 0x100036c4
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10094e40]
jmp 0x10003695
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10094e40]
test edi, edi
jne 0x10003695
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x10003710
cmp cl, 0x23
jne 0x100036f7
cmp byte [esi], cl
jne 0x100036f7
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x10094e40]
test cl, cl
jne 0x100036e8
pop edi
pop esi
not eax
pop ebx
pop ebp
ret

Function at 0x10003820
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
test ebx, ebx
je 0x10003834
mov dword [ebx], 0
mov edx, 0x10094a44
call fcn.10003720
mov esi, eax
test esi, esi
je 0x10003922
mov edi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
push esi
call edi
add esp, 4
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x10003918
push 2
push 0
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x10003918
push esi
call edi
mov edi, eax
add esp, 4
mov dword [ebp + 8], edi
cmp edi, 0xffffffff
je 0x10003918
push 0
push dword [ebp - 4]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x10003918
mov eax, dword [0x10123348]
test eax, eax
je 0x100038ac
inc dword [eax + 0xb0]
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edi, eax
add esp, 4
test edi, edi
je 0x10003918
push esi
push dword [ebp + 8]
push 1
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
push esi
cmp eax, dword [ebp + 8]
je 0x100038fd
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [0x10123348]
add esp, 4
test eax, eax
je 0x100038ea
dec dword [eax + 0xb0]
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
test ebx, ebx
je 0x1000390f
mov eax, dword [ebp + 8]
mov dword [ebx], eax
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10006a50
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1009e3c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea edx, [ebp - 8]
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov esi, 4
mov eax, dword [edi + 0xe4]
mov ebx, dword [edi + 0xec]
mov ebx, dword [ebx + eax*4 - 4]
not ebx
nop dword [eax + eax]
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x10094e40]
sub esi, 1
jne 0x10006a90
mov eax, dword [edi]
not ebx
cmp dword [eax + 0x3e94], ebx
jne 0x10006ac7
push ecx
push dword [ebp - 0xc]
lea edx, [esi + 4]
mov ecx, ebx
call fcn.100192b0
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100841e2
mov esp, ebp
pop ebp
ret 4
Function at 0x100089e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [0x10123348]
mov ebx, edx
push edi
mov edi, ecx
mov dword [ebp - 0xc], edi
mov eax, dword [esi + 0x47ec]
mov edx, dword [eax]
inc dword [esi + 0xa8]
mov ecx, dword [edi + 0x264]
mov dword [ebp - 4], edx
cmp dword [ecx + 0x7c], 1
jle 0x10008a1f
push ecx
add ecx, 0x78
call fcn.10024e70
mov edx, dword [ebp - 4]
mov edi, dword [edi + 0x264]
mov esi, dword [edx + ebx*4 + 0x70]
mov eax, dword [edi]
test eax, eax
je 0x10008a92
cmp eax, 1
jne 0x10008a43
mov eax, dword [edi + 8]
cmp dword [eax + 0x1c], 0
jne 0x10008a43
cmp dword [eax + 0x20], 0
je 0x10008a92
mov eax, dword [esi]
mov ecx, dword [esi + 4]
cmp eax, ecx
jne 0x10008a79
lea edx, [eax + 1]
mov dword [ebp - 8], edx
test ecx, ecx
je 0x10008a64
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [ebp - 8]
sar eax, 1
add eax, ecx
jmp 0x10008a69
mov eax, 8
cmp eax, edx
mov ecx, esi
cmovg edx, eax
push edx
call fcn.10019a40
mov edx, dword [ebp - 4]
mov ecx, dword [esi]
mov eax, dword [esi + 8]
mov dword [eax + ecx*4], edi
inc dword [esi]
inc dword [edx + 0x3c]
mov eax, dword [edi + 0x18]
add dword [edx + 0x44], eax
mov eax, dword [edi + 0xc]
add dword [edx + 0x40], eax
mov eax, dword [ebp - 0xc]
mov esi, dword [eax + 0x188]
mov eax, dword [eax + 0x180]
lea edi, [esi + eax*4]
cmp esi, edi
je 0x10008ad2
nop dword [eax + eax]
mov ecx, dword [esi]
cmp byte [ecx + 0xaa], 0
je 0x10008acb
cmp byte [ecx + 0xb1], 0
jne 0x10008acb
mov edx, ebx
call fcn.100089e0
add esi, 4
cmp esi, edi
jne 0x10008ab0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret