joyce8/EMBER2024-capa huggingface dataset:
Function at 0x444650
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x28
mov eax, dword [esp + 0x4c]
mov esi, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov edi, dword [esp + 0x3c]
mov bx, 0xfffc
xor ebp, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
add ebx, 4
cmp word [edi + ebp], 0
lea ebp, [ebp + 2]
jne 0x444680
add ebp, 0xfffffffe
mov word [esp], bp
and ebx, 4
xor ebp, 2
add ebp, ebx
mov word [esp + 2], bp
mov dword [esp + 4], edi
mov dword [esp + 0x10], 0x18
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], 0x40
mov eax, esp
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 8], 0x20272625
mov dword [esp + 0xc], 0
lea eax, [esp + 8]
mov edi, 0xf6
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [eax]
lea ebp, [edi - 0xa3fc700]
or ebp, ebx
not ebp
and ebx, edi
or ebx, ebp
mov ebp, ebx
and ebp, 1
xor ebx, 1
lea ebx, [ebx + ebp*2]
add bl, 0xd2
mov byte [eax], bl
inc eax
dec edi
cmp edi, 0xee
jne 0x4446f0
mov eax, dword [esp + 8]
mov edi, dword [0x450c18]
test edi, edi
je 0x444772
xor ebx, ebx
mov ebp, dword [0x450c1c]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebp + ebx*8], 0x2df48de6
je 0x444751
inc ebx
cmp edi, ebx
jne 0x444740
jmp 0x444772
mov edi, dword [ebp + ebx*8 + 4]
cmp edi, eax
je 0x444772
lea eax, [esp + 0x10]
push esi
push eax
push edx
push ecx
push 4
push dword [0x450c20]
push edi
call fcn.00440770
add esp, 0x1c
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
nop
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x430072
nop
nop
mov ebx, 0x408ecc
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x1c71285a
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x430060
nop
nop
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4300d2
nop
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x395344d7
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..rsrc
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x42e072
nop
nop
mov ebx, 0x407ef8
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x216e1fe8
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x42e060
nop
nop
nop
nop
mov eax, section..rsrc_1
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x42e0d2
nop
nop
mov ebx, 0x42cd70
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x188f12d9
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x406864
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x406888
xor eax, eax
test eax, eax
je 0x40689b
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x40689b
xor ecx, ecx
jmp 0x40689e
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x4069c1
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x427dac], 0
push esi
jne 0x4069f8
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4069d2
mov dword [ecx*4 + 0x427da8], eax
inc ecx
cmp ecx, 0x100
jl 0x4069cd
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406a29
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x427da8]
xor eax, esi
inc ecx
dec edx
jne 0x406a0b
pop edi
not eax
pop esi
ret 0xc

Function at 0x503b8c
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x505076], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x505298], eax
mov dword [0x505220], 0x503376
mov dword [0x50521c], 2
jmp 0x503bbc
mov dword [0x505224], 0
mov dword [0x505228], 0
mov dword [0x505218], 0x30
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x50522c], eax
mov dword [0x505240], 0x50408c
mov dword [0x505238], 0xf
mov dword [0x50506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x505230], eax
mov dword [0x505244], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x505234], eax
push 0x505218
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x50506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push str.wait
push str.aroka
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x505290], eax
push 5
push dword [0x505290]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x505290]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x503c8f
push 0
push 0
push 0
push 0x505248
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x503cbc
push 0x505248
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x505248
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x503c8f
mov eax, dword [0x505250]
jmp 0x503cc9
call 0x502c0d
ret
Function at 0x402180
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, ecx
xor eax, eax
push edi
xor edi, edi
mov ebx, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], edi
mov word [esi], ax
cmp dword [esp + 0x10], eax
jle 0x4021c6
sub ebx, 0x422580
mov ax, word [ebx + edi*2 + 0x422580]
mov ecx, esi
xor ax, word [edi*2 + 0x422580]
movzx eax, ax
push eax
call fcn.00402bc2
inc edi
cmp edi, dword [esp + 0x10]
jl 0x4021a4
pop edi
mov eax, esi
pop esi
pop ebx
ret 4

Function at 0x402d56
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor ebx, ebx
push edi
mov edi, edx
cmp dword [0x471e90], ebx
jne 0x402d9c
mov ecx, ebx
push 8
mov eax, ecx
pop edx
test al, 1
je 0x402d7d
shr eax, 1
xor eax, 0xedb88320
jmp 0x402d7f
shr eax, 1
dec edx
jne 0x402d70
mov dword [ecx*4 + 0x471a90], eax
inc ecx
cmp ecx, 0x100
jl 0x402d6b
mov dword [0x471e90], 1
mov eax, dword [ebp + 8]
or edx, 0xffffffff
xor ecx, ecx
lea eax, [edi + eax*2]
mov esi, eax
sub esi, edi
inc esi
shr esi, 1
cmp edi, eax
cmova esi, ecx
test esi, esi
je 0x402dd1
movzx eax, byte [edi]
lea edi, [edi + 2]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x471a90]
inc ebx
cmp ebx, esi
jb 0x402db7
pop edi
not edx
pop esi
mov eax, edx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x403ad1
Capabilities:
Access peb ldr_data

Disassembly:
push ecx
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push esi
push edi
mov dword [esp + 0x14], ecx
mov dword [ebp], 1
mov edx, dword fs:[0x30]
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
mov eax, dword [eax + 0xc]
mov esi, dword [eax + 0x14]
lea edi, [esi + 4]
jmp 0x403b18
mov ecx, dword [esi + 0x28]
call fcn.00402115
cmp eax, ebx
je 0x403b2b
cmp dword [esi + 0x10], 0
je 0x403b1c
mov esi, dword [esi]
cmp esi, dword [edi]
jne 0x403b04
mov esi, dword [esp + 0x14]
mov esi, dword [esi + 8]
mov eax, dword [esi]
mov dword [esp + 0x20], eax
jmp 0x403b45
mov eax, dword [esi + 0x10]
jmp 0x403b4b
mov ecx, dword [eax + 0x14]
cmp dword [ecx + 4], ebx
je 0x403b54
lea ecx, [esp + 0x20]
call fcn.00404a50
mov eax, dword [esp + 0x20]
cmp eax, esi
jne 0x403b30
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret 8
and dword [ebp], 0
mov eax, dword [ecx]
jmp 0x403b4b
Function at 0x403d2e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x10
push esi
mov esi, dword [esp + 0x18]
mov eax, 0x5a4d
mov dword [esp + 0x10], ecx
cmp word [esi], ax
je 0x403d4b
xor eax, eax
jmp 0x403eb9
mov eax, dword [esi + 0x3c]
cmp dword [eax + esi + 0x74], 0x10
jne 0x403d44
mov ecx, dword [eax + esi + 0x7c]
mov dword [esp + 0xc], ecx
test ecx, ecx
je 0x403d44
push ebx
push ebp
push edi
mov edi, dword [eax + esi + 0x78]
xor ebx, ebx
add edi, esi
mov eax, dword [edi + 0x24]
mov edx, dword [edi + 0x20]
add eax, esi
mov dword [esp + 0x10], eax
add edx, esi
mov eax, dword [edi + 0x1c]
add eax, esi
mov dword [esp + 0x24], edx
mov dword [esp + 0x14], eax
cmp dword [esp + 0x28], ebx
je 0x403dcc
xor ebp, ebp
cmp dword [edi + 0x14], ebx
jbe 0x403eb4
mov ecx, dword [edx + ebp*4]
add ecx, esi
call fcn.004020de
cmp eax, dword [esp + 0x28]
je 0x403db7
mov edx, dword [esp + 0x24]
inc ebp
cmp ebp, dword [edi + 0x14]
jb 0x403d98
jmp 0x403eb4
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
movzx eax, word [eax + ebp*2]
mov ebx, dword [ebx + eax*4]
jmp 0x403ddf
mov ebx, dword [esp + 0x2c]
sub ebx, dword [edi + 0x10]
cmp ebx, dword [edi + 0x14]
jae 0x403e73
mov ebx, dword [eax + ebx*4]
add ebx, esi
cmp ebx, edi
jbe 0x403eb4
lea eax, [ecx + edi]
cmp ebx, eax
jae 0x403eb4
push 0x104
call fcn.0040d3a8
mov esi, 0x100
mov dword [esp + 0x2c], eax
push esi
call fcn.0040d3a8
push 0x2e
push ebx
mov ebp, eax
call fcn.0040e7d0
add esp, 0x10
lea edi, [eax + 1]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpynA]
push edi
push ebp
call esi
sub edi, ebx
push edi
mov edi, dword [esp + 0x2c]
push ebx
push edi
call esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x423f28
push edi
call esi
push 0x423f2c
push edi
call esi
push 0x423f30
push edi
call esi
mov ebx, dword [esp + 0x1c]
mov ecx, ebx
push edi
call fcn.00403cc5
mov esi, eax
test esi, esi
jne 0x403e77
push eax
push ecx
push edi
mov ecx, ebx
call fcn.0040467d
mov esi, eax
test esi, esi
jne 0x403e77
xor eax, eax
jmp 0x403eb6
push ebp
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 1
jle 0x403e92
cmp byte [ebp], 0x23
jne 0x403e92
movsx eax, byte [ebp + 1]
push eax
push 0
jmp 0x403e9c
push 0
mov ecx, ebp
call fcn.004020de
push eax
push esi
mov ecx, ebx
call fcn.00403d2e
push ebp
mov ebx, eax
call fcn.0040e602
push edi
call fcn.0040e602
pop ecx
pop ecx
mov eax, ebx
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x10
ret 0xc

Function at 0x404f88
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, ecx
xor eax, eax
push edi
xor edi, edi
mov ebx, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], edi
mov word [esi], ax
cmp dword [esp + 0x10], eax
jle 0x404fce
sub ebx, 0x422640
mov ax, word [ebx + edi*2 + 0x422640]
mov ecx, esi
xor ax, word [edi*2 + 0x422640]
movzx eax, ax
push eax
call fcn.00402bc2
inc edi
cmp edi, dword [esp + 0x10]
jl 0x404fac
pop edi
mov eax, esi
pop esi
pop ebx
ret 4
Function at 0x404fd8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, ecx
xor eax, eax
push edi
xor edi, edi
mov ebx, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], edi
mov word [esi], ax
cmp dword [esp + 0x10], eax
jle 0x40501e
sub ebx, 0x4226b0
mov ax, word [ebx + edi*2 + 0x4226b0]
mov ecx, esi
xor ax, word [edi*2 + 0x4226b0]
movzx eax, ax
push eax
call fcn.00402bc2
inc edi
cmp edi, dword [esp + 0x10]
jl 0x404ffc
pop edi
mov eax, esi
pop esi
pop ebx
ret 4

Function at 0x405026
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x9c
push ebx
push ebp
push esi
mov ebx, ecx
mov esi, edx
push edi
lea ecx, [esp + 0x28]
call fcn.004050eb
push 0x10
pop edi
cmp dword [esp + 0x3c], edi
lea edx, [esp + 0x28]
push dword [esi + 0x10]
cmovae edx, dword [esp + 0x2c]
lea ecx, [esp + 0x44]
xor ebp, ebp
mov dword [esp + 0x4c], 0x67452301
mov dword [esp + 0x48], ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x50], 0xefcdab89
mov dword [esp + 0x54], 0x98badcfe
mov dword [esp + 0x58], 0x10325476
call fcn.00408042
lea ecx, [esp + 0x40]
call fcn.004080ce
xor eax, eax
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], ebp
lea esi, [esp + 0x98]
mov word [esp + 0x10], ax
movzx eax, byte [esi]
lea ecx, [esp + 0x10]
push eax
call fcn.00402bc2
inc esi
dec edi
jne 0x4050a6
push dword [esp + 0x20]
lea edx, [esp + 0x14]
mov ecx, ebx
call fcn.0040518c
push ebp
push 1
lea ecx, [esp + 0x18]
call fcn.0040199b
push ebp
push 1
lea ecx, [esp + 0x30]
call fcn.0040176d
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x9c
ret
Function at 0x4089e6
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, ecx
xor eax, eax
push edi
xor edi, edi
mov ebx, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], edi
mov word [esi], ax
cmp dword [esp + 0x10], eax
jle 0x408a2c
sub ebx, 0x4227b0
mov ax, word [ebx + edi*2 + 0x4227b0]
mov ecx, esi
xor ax, word [edi*2 + 0x4227b0]
movzx eax, ax
push eax
call fcn.00402bc2
inc edi
cmp edi, dword [esp + 0x10]
jl 0x408a0a
pop edi
mov eax, esi
pop esi
pop ebx
ret 4

Function at 0x408a34
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, ecx
xor eax, eax
push edi
xor edi, edi
mov ebx, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], edi
mov word [esi], ax
cmp dword [esp + 0x10], eax
jle 0x408a7a
sub ebx, 0x422730
mov ax, word [ebx + edi*2 + 0x422730]
mov ecx, esi
xor ax, word [edi*2 + 0x422730]
movzx eax, ax
push eax
call fcn.00402bc2
inc edi
cmp edi, dword [esp + 0x10]
jl 0x408a58
pop edi
mov eax, esi
pop esi
pop ebx
ret 4

Function at 0x409b99
Capabilities:
Get common file path

Disassembly:
sub esp, 0x2b4
lea eax, [esp + 0xa8]
push ebx
push ebp
push esi
push edi
push 0x208
push eax
mov bh, 1
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x409d05
and dword [esp + 0x38], 0
lea ecx, [esp + 0x28]
xor eax, eax
mov dword [esp + 0x3c], 7
mov word [esp + 0x28], ax
lea eax, [esp + 0xb8]
push eax
call fcn.0040187c
push 0xc
mov edx, 0x467fc0
lea ecx, [esp + 0x5c]
call fcn.004089e6
push 0xd
mov edx, 0x468400
lea ecx, [esp + 0x74]
call fcn.004089e6
push 0xb
mov edx, 0x468050
lea ecx, [esp + 0x8c]
call fcn.004089e6
push 0xc
mov edx, 0x468230
lea ecx, [esp + 0xa4]
call fcn.004089e6
xor esi, esi
lea ebp, [esp + 0x58]
mov edi, esi
xor eax, eax
mov dword [esp + 0x20], esi
mov esi, dword [esp + 0x38]
push 0x423f24
mov dword [esp + 0x28], 7
mov word [esp + 0x14], ax
call fcn.0040e285
pop ecx
add eax, esi
lea ecx, [esp + 0x10]
push eax
call fcn.004036f7
push 0xffffffffffffffff
xor esi, esi
lea eax, [esp + 0x2c]
push esi
push eax
lea ecx, [esp + 0x1c]
call fcn.00401bde
push 0x423f24
call fcn.0040e285
pop ecx
push eax
push 0x423f24
lea ecx, [esp + 0x18]
call fcn.00401c70
push 0xffffffffffffffff
push esi
push ebp
lea ecx, [esp + 0x1c]
call fcn.00401bde
push eax
lea ecx, [esp + 0x44]
call fcn.0040165a
lea ecx, [esp + 0x40]
call fcn.00409587
push esi
push 1
lea ecx, [esp + 0x48]
mov bl, al
call fcn.0040199b
push esi
push 1
lea ecx, [esp + 0x18]
call fcn.0040199b
test bl, bl
jne 0x409cdb
inc edi
add ebp, 0x18
cmp edi, 4
jl 0x409c33
jmp 0x409cdd
xor bh, bh
push 3
lea esi, [esp + 0xbc]
pop edi
push 0
sub esi, 0x18
push 1
mov ecx, esi
call fcn.0040199b
dec edi
jns 0x409ce7
push 0
push 1
lea ecx, [esp + 0x30]
call fcn.0040199b
pop edi
pop esi
pop ebp
mov al, bh
pop ebx
add esp, 0x2b4
ret
Function at 0x40b6bf
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test edx, edx
jne 0x40b6ca
xor eax, eax
jmp 0x40b7a2
push ebx
push esi
mov esi, dword [esp + 0xc]
not ecx
mov ebx, 0xff
cmp esi, 8
jb 0x40b783
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x423910]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x423910]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x423910]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x423910]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x423910]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x423910]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x423910]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x423910]
dec edi
jne 0x40b6e6
pop edi
test esi, esi
je 0x40b79c
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x423910]
inc edx
dec esi
jne 0x40b787
not ecx
pop esi
mov eax, ecx
pop ebx
ret 4

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

Disassembly:
push esi
push edi
mov edi, ecx
movsx eax, dl
mov edx, 0xff
mov esi, dword [edi]
xor eax, esi
and eax, edx
shr esi, 8
mov eax, dword [eax*4 + 0x423910]
xor eax, esi
mov dword [edi], eax
movzx eax, al
add eax, dword [edi + 4]
imul ecx, eax, 0x8088405
mov eax, dword [edi + 8]
inc ecx
mov dword [edi + 4], ecx
shr ecx, 0x18
xor ecx, eax
shr eax, 8
and ecx, edx
xor eax, dword [ecx*4 + 0x423910]
mov dword [edi + 8], eax
pop edi
pop esi
ret
Function at 0x40c6c1
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xc
push ebx
push edi
mov edi, ecx
mov ebx, edx
test edi, edi
jne 0x40c6d6
push 0xffffffffffffff9a
pop eax
jmp 0x40c7ff
push ebp
xor ebp, ebp
cmp dword [edi + 0x18], ebp
jne 0x40c6e2
push 0xffffffffffffff9a
jmp 0x40c707
cmp dword [edi + 0x7c], ebp
je 0x40c6ec
call fcn.0040ca35
lea eax, [esp + 0x10]
mov ecx, edi
push eax
lea eax, [esp + 0x18]
push eax
lea edx, [esp + 0x14]
call fcn.0040c522
test eax, eax
je 0x40c70d
push 0xffffffffffffff99
pop eax
jmp 0x40c7fe
push esi
push 0x7e
call fcn.0040ef12
mov esi, eax
pop ecx
test esi, esi
je 0x40c737
push 0x4000
call fcn.0040ef12
mov dword [esi], eax
mov dword [esi + 0x4c], ebp
pop ecx
test eax, eax
jne 0x40c73f
push esi
call fcn.0040ee9a
pop ecx
push 0xffffffffffffff98
pop eax
jmp 0x40c7fd
mov dword [esi + 0x40], ebp
xor ecx, ecx
cmp dword [edi + 0x34], ebp
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x54], eax
sete cl
mov dword [esi + 0x50], ebp
mov eax, dword [edi + 0x34]
mov dword [esi + 0x64], eax
mov eax, dword [edi]
mov dword [esi + 0x60], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0x68], eax
mov dword [esi + 0x18], ebp
test ecx, ecx
jne 0x40c787
lea ecx, [esi + 4]
mov dword [esi + 0x24], ebp
mov dword [esi + 0x28], ebp
mov dword [esi + 0x2c], ebp
call fcn.0040b97b
test eax, eax
jne 0x40c787
mov dword [esi + 0x40], 1
mov eax, dword [edi + 0x40]
mov dword [esi + 0x58], eax
mov eax, dword [edi + 0x44]
mov dword [esi + 0x5c], eax
mov al, byte [edi + 0x30]
and al, 1
mov byte [esi + 0x6c], al
mov eax, dword [edi + 0x30]
shr eax, 3
test al, 1
je 0x40c7aa
mov al, byte [edi + 0x39]
jmp 0x40c7ad
mov al, byte [edi + 0x3f]
mov byte [esi + 0x7d], al
xor eax, eax
cmp byte [esi + 0x6c], al
push 0xc
pop ecx
cmovne eax, ecx
mov dword [esi + 0x79], eax
mov dword [esi + 0x6d], 0x12345678
mov dword [esi + 0x71], 0x23456789
mov dword [esi + 0x75], 0x34567890
test ebx, ebx
je 0x40c7e8
mov dl, byte [ebx]
test dl, dl
je 0x40c7e8
lea ecx, [esi + 0x6d]
call fcn.0040b7a5
inc ebx
jne 0x40c7d7
mov eax, dword [esp + 0x10]
add eax, 0x1e
add eax, dword [edi + 0x78]
and dword [esi + 8], ebp
mov dword [esi + 0x3c], eax
xor eax, eax
mov dword [edi + 0x7c], esi
pop esi
pop ebp
pop edi
pop ebx
add esp, 0xc
ret
Function at 0x418f74
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x426a74]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.launcher28.exe__DecodePointer_4]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.004149fa
mov dword [ebp - 0x14], eax
cmp dword [0x469584], esi
jne 0x419067
push 0x800
push esi
push 0x421cd4
call dword [0x424108]
mov edi, eax
test edi, edi
jne 0x418ff4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x419147
push esi
push esi
push 0x421cd4
call dword [0x424108]
mov edi, eax
test edi, edi
je 0x419147
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x419147
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x469584], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x469588], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x46958c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x469594], eax
test eax, eax
je 0x419064
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x469590], eax
mov edi, dword [ebp - 0x18]
call dword [0x424100]
test eax, eax
je 0x41908c
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x41907f
push eax
call dword [0x42410c]
cmp dword [ebp - 0x14], esi
je 0x4190a1
push 4
pop eax
jmp 0x419149
cmp dword [ebp - 0x14], esi
je 0x4190a1
push dword [0x469584]
call dword [0x4240fc]
push 3
jmp 0x419086
mov eax, dword [0x469590]
mov ebx, dword [sym.launcher28.exe__DecodePointer_4]
cmp eax, edi
je 0x4190ff
cmp dword [0x469594], edi
je 0x4190ff
push eax
call ebx
push dword [0x469594]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4190ff
test eax, eax
je 0x4190ff
call ecx
test eax, eax
je 0x4190f4
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x4190f4
test byte [ebp - 8], 1
jne 0x4190ff
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x41912f
mov eax, dword [0x469588]
cmp eax, edi
je 0x41912c
push eax
call ebx
test eax, eax
je 0x41912c
call eax
mov esi, eax
test esi, esi
je 0x41912c
mov eax, dword [0x46958c]
cmp eax, edi
je 0x41912c
push eax
call ebx
test eax, eax
je 0x41912c
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x469584]
call ebx
test eax, eax
je 0x419147
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x419149
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040f54d
mov esp, ebp
pop ebp
ret