joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100076f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, ecx
call fcn.10007670
movzx eax, word [ebp + 8]
mov ebx, dword [ebp + 0xc]
push 0x1012cfac
push eax
push ebx
mov dword [esi + 0xc], 1
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x10007725
pop edi
pop esi
pop ebx
pop ebp
ret 8
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x10007746
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
push ebx
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [esi + 8], eax
xor eax, eax
cmp dword [esi + 4], eax
pop edi
pop esi
setne al
pop ebx
pop ebp
ret 8

Function at 0x10011019
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x10011060
call fcn.10008fc9
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x10011060
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x1001107c
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.10010b1e
mov esi, eax
test edi, edi
je 0x1001107a
test ebx, ebx
je 0x1001107a
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x10011f2b
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x1011f14f
call fcn.1010711b
mov esi, ecx
cmp dword [esi + 0x6c], 0
jne 0x10011f50
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x10011fa2
call fcn.10012440
push eax
lea ecx, [ebp - 0x10]
call fcn.10002190
mov ecx, dword [esi + 0x6c]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.10106f42
push eax
call fcn.1000793f
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.100014b0
mov eax, esi
call fcn.101071f3
ret 8

Function at 0x100133f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.10008fc9
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x10013429
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.10013032
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8
Function at 0x10013487
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x78], ebx
test ebx, 0xffff0000
jne 0x100134ab
cmp dword [edi + 0x74], 0
jne 0x100134ab
movzx eax, bx
mov dword [edi + 0x74], eax
call fcn.10008fc9
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.10013448
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x100184a2
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
mov ecx, esi
call fcn.10018161
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x100184ec
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.1000efe1
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.1000d67c
jmp 0x100184f7
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.1001d10b
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x100184fd
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 4]
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
call fcn.100117fe
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongA]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x1001853a
call fcn.10018161
mov dword [esi + 0xc], 1
jmp 0x1001853f
call fcn.10018161
cmp dword [esi], 0
je 0x10018588
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
test eax, eax
jle 0x10018560
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.1000efe1
jmp 0x10018572
mov ecx, dword [ebp + 0x10]
push 0xff
call fcn.10002340
push 0x100
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.1000d67c
jmp 0x100185ac
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
jne 0x100185ac
push dword [esi]
push dword [ebp + 8]
call fcn.1001d10b
pop esi
pop ebp
ret 0xc
Function at 0x1001a87e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x1001a8c6
call fcn.10008fc9
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x1001a8c6
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x1001a909
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x1001a8f2
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x1001a8f2
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x68], 0
je 0x1001a906
mov ecx, dword [esi + 0x68]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x10031d36
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.1006b774
call fcn.100089e6
cmp dword [eax + 0x14], 0
jne 0x10031d53
mov ecx, esi
pop esi
jmp fcn.1003181d
pop esi
ret

Function at 0x10035400
Capabilities:
Get common file path
Get file system object information

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.100922ab
call fcn.100089e6
cmp dword [eax + 0x14], 0
jne 0x1003541d
mov ecx, esi
pop esi
jmp fcn.10034dd3
pop esi
ret

Function at 0x1006f619
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 4], ecx
test esi, esi
jne 0x1006f633
call fcn.10008fc9
mov esi, dword [eax + 0xc]
push dword [0x10179acc]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x1006f651
xor eax, eax
pop edi
pop esi
leave
ret 8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x1006f649
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x1006f67e
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x1006f64b
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.1006f547
mov esi, eax
jmp 0x1006f670

Function at 0x100ebad3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x100ebaeb
mov edi, dword [esi + 0xc]
jmp 0x100ebb2b
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x100ebb04
call fcn.10009a1a
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x100ebb19
call fcn.10009a1a
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x100ebb2b
call fcn.10009a1a
call fcn.10008fc9
cmp dword [eax + 0x3c], 0
je 0x100ebb40
push edi
mov ecx, ebx
call fcn.100ea999
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.100eb9ed
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x100ebb5e
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x7c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x100ebb6a
mov edi, eax
mov dword [ebx + 0x7c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x10105aee
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10174cbc]
jne 0x10105af8
repz ret
jmp fcn.1010c974
Function at 0x10118ffb
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10174cbc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.1010dbc5
and dword [ebp - 0x14], 0
cmp dword [0x1017c55c], 0
mov dword [ebp - 0x18], eax
jne 0x101190ae
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x10119156
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x10119156
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x10154b50
push ebx
mov dword [0x1017c55c], eax
call edi
push eax
call esi
push 0x10154b3c
push ebx
mov dword [0x1017c560], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x1017c564], eax
call edi
push eax
call esi
mov dword [0x1017c56c], eax
test eax, eax
je 0x101190ae
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x1017c568], eax
mov eax, dword [0x1017c568]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x10119107
cmp dword [0x1017c56c], ecx
je 0x10119107
push eax
call esi
push dword [0x1017c56c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x10119107
test ebx, ebx
je 0x10119107
call edi
test eax, eax
je 0x101190fe
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x101190fe
test byte [ebp - 8], 1
jne 0x10119107
or dword [ebp + 0x10], 0x200000
jmp 0x1011913a
mov eax, dword [0x1017c560]
cmp eax, dword [ebp - 0x18]
je 0x1011913a
push eax
call esi
test eax, eax
je 0x1011913a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1011913a
mov eax, dword [0x1017c564]
cmp eax, dword [ebp - 0x18]
je 0x1011913a
push eax
call esi
test eax, eax
je 0x1011913a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x1017c55c]
call esi
test eax, eax
je 0x10119156
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x10119158
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10105aee
leave
ret
Function at 0x110125e0
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x110127ad
pushal
mov esi, section.UPX1
lea edi, [esi - 0xc000]
push edi
or ebp, 0xffffffff
jmp 0x1101260a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x11012611
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x11012600
mov eax, 1
add ebx, ebx
jne 0x11012623
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x11012618
jne 0x11012634
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x11012618
xor ecx, ecx
sub eax, 3
jb 0x11012648
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x110126ba
mov ebp, eax
add ebx, ebx
jne 0x11012653
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x11012660
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x11012684
inc ecx
add ebx, ebx
jne 0x11012670
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x11012665
jne 0x11012681
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x11012665
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x110126a4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x11012695
jmp 0x11012606
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x110126a4
add edi, ecx
jmp 0x11012606
pop esi
mov edi, esi
mov ecx, 0x73
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x110126c2
cmp byte [edi], 2
jne 0x110126c2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x110126c7
lea edi, [esi + 0x10000]
mov eax, dword [edi]
or eax, eax
je 0x1101273f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x12e08]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x12e44]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x110126f4
mov ecx, edi
jns 0x11012723
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x12e48]
or eax, eax
je 0x11012739
mov dword [ebx], eax
add ebx, 4
jmp 0x11012711
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x11012770
cmp al, 0xef
ja 0x11012763
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x11012745
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x11012752
mov ebp, dword [esi + 0x12e4c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1df]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x110127a4
sub esp, 0xffffff80
jmp 0x11001620
Function at 0x401720
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x4fa2a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor ebx, ebx
push 0x3f
lea ecx, [ebp - 0x10f]
push ebx
push ecx
mov dword [ebp - 0xcc], eax
mov byte [ebp - 0x110], bl
call fcn.00436fe0
add esp, 0xc
push 0x3f
lea edx, [ebp - 0xa7]
push ebx
push edx
call fcn.00436fe0
add esp, 0xc
push 0x3f
lea eax, [ebp - 0x67]
push ebx
push eax
mov byte [ebp - 0x68], bl
call fcn.00436fe0
sub esp, 0x10
mov ecx, esp
push 0xffffffffffffffff
push ebx
lea edx, [ebp + 0xc]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
push edx
lea esi, [ebp - 0x110]
mov byte [ecx], bl
call fcn.004027c0
mov ecx, esi
call fcn.00401a70
mov ecx, 8
lea esi, [ebp - 0x110]
lea edi, [ebp - 0xc8]
rep movsd dword es:[edi], dword [esi]
mov ecx, 8
lea esi, [ebp - 0xf0]
lea edi, [ebp - 0x24]
rep movsd dword es:[edi], dword [esi]
xor esi, esi
lea esp, [esp]
mov edx, dword [ebp - 0xcc]
lea eax, [ebp - 0xc8]
push eax
mov ecx, esi
lea ebx, [ebp - 0x24]
call fcn.004018e0
inc esi
cmp esi, 0x10
jl 0x4017d0
mov ecx, 8
mov esi, ebx
lea edi, [ebp - 0xa8]
rep movsd dword es:[edi], dword [esi]
mov ecx, 8
lea esi, [ebp - 0xc8]
lea edi, [ebp - 0x88]
rep movsd dword es:[edi], dword [esi]
xor eax, eax
movsx ecx, byte [eax + 0x4d4a20]
movzx edx, byte [ebp + ecx - 0xa9]
movsx ecx, byte [eax + 0x4d4a21]
mov byte [ebp + eax - 0x68], dl
movzx edx, byte [ebp + ecx - 0xa9]
movsx ecx, byte [eax + 0x4d4a22]
mov byte [ebp + eax - 0x67], dl
movzx edx, byte [ebp + ecx - 0xa9]
movsx ecx, byte [eax + 0x4d4a23]
mov byte [ebp + eax - 0x66], dl
movzx edx, byte [ebp + ecx - 0xa9]
mov byte [ebp + eax - 0x65], dl
add eax, 4
cmp eax, 0x40
jl 0x401811
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x20]
push ecx
call fcn.004013c0
mov esi, 0x10
cmp dword [eax + 0x14], esi
jb 0x40187e
mov eax, dword [eax]
mov edx, dword [eax]
mov ecx, dword [ebp - 0xcc]
mov dword [ecx + 0x300], edx
mov edx, dword [eax + 4]
mov dword [ecx + 0x304], edx
mov edx, dword [eax + 8]
mov dword [ecx + 0x308], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0x30c], eax
cmp dword [ebp - 0xc], esi
jb 0x4018b8
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.0042d960
add esp, 4
cmp dword [ebp + 0x20], esi
jb 0x4018c9
mov edx, dword [ebp + 0xc]
push edx
call fcn.0042d960
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042cf77
mov esp, ebp
pop ebp
ret 0x20
Function at 0x401cd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x4fa2a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push 0xff
mov ebx, ecx
lea ecx, [ebp - 0x103]
push 0
push ecx
mov dword [ebp - 0x108], eax
mov byte [ebp - 0x104], 0
call fcn.00436fe0
mov eax, dword [ebp + 0xc]
add esp, 0xc
test eax, eax
jle 0x401d4c
push esi
mov esi, dword [ebp + 8]
push edi
sub esi, ebx
lea edi, [ebp - 0x104]
mov ecx, ebx
sub edi, ebx
mov ebx, eax
xor edx, edx
cmp byte [esi + ecx], 0x31
sete dl
xor eax, eax
cmp byte [ecx], 0x31
sete al
xor eax, edx
dec eax
neg eax
sbb al, al
add al, 0x31
mov byte [edi + ecx], al
inc ecx
dec ebx
jne 0x401d26
mov eax, dword [ebp + 0xc]
pop edi
pop esi
push eax
mov eax, dword [ebp - 0x108]
lea edx, [ebp - 0x104]
push edx
push eax
call fcn.004316e0
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
pop ebx
call fcn.0042cf77
mov esp, ebp
pop ebp
ret 0xc

Function at 0x401ec0
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4fa2a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0x1c]
xor eax, eax
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, ecx
mov byte [ebp - 0x24], al
mov dword [ebp - 0x23], eax
mov dword [ebp - 0x1f], eax
mov dword [ebp - 0x1b], eax
mov dword [ebp - 0x17], eax
mov dword [ebp - 0x13], eax
mov dword [ebp - 0xf], eax
mov dword [ebp - 0xb], eax
mov word [ebp - 7], ax
mov byte [ebp - 5], al
push esi
lea esp, [esp]
mov esi, ebx
cmp edx, 0x10
jae 0x401f0a
lea esi, [ebp + 8]
movsx ecx, byte [eax + 0x4d4a00]
mov cl, byte [ecx + esi - 1]
mov byte [ebp + eax - 0x24], cl
mov esi, ebx
cmp edx, 0x10
jae 0x401f23
lea esi, [ebp + 8]
movsx ecx, byte [eax + 0x4d4a01]
mov cl, byte [ecx + esi - 1]
mov byte [ebp + eax - 0x23], cl
mov esi, ebx
cmp edx, 0x10
jae 0x401f3c
lea esi, [ebp + 8]
movsx ecx, byte [eax + 0x4d4a02]
mov cl, byte [ecx + esi - 1]
mov byte [ebp + eax - 0x22], cl
mov esi, ebx
cmp edx, 0x10
jae 0x401f55
lea esi, [ebp + 8]
movsx ecx, byte [eax + 0x4d4a03]
mov cl, byte [ecx + esi - 1]
mov byte [ebp + eax - 0x21], cl
add eax, 4
cmp eax, 0x20
jl 0x401f00
mov ecx, 8
lea esi, [ebp - 0x24]
rep movsd dword es:[edi], dword [esi]
pop esi
cmp edx, 0x10
jb 0x401f85
push ebx
call fcn.0042d960
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.0042cf77
mov esp, ebp
pop ebp
ret 0x1c

Function at 0x403080
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, eax
mov eax, dword [ebp + 8]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x403098
pop edi
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4030ca
mov ecx, dword [ebp + 8]
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, esi
and edi, 0xf
jbe 0x4030c6
cmp esi, eax
jae 0x4030ca
dec edi
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x4030b8
cmp esi, eax
jb 0x4030d0
pop esi
xor eax, eax
pop edi
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebp
ret
Function at 0x407b80
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push 0x3c
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.00436fe0
add esp, 0xc
lea ecx, [ebp - 0x3c]
push ecx
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 0x440
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], str.open
mov dword [ebp - 0x2c], str.https:__gameneocell.com_cn_terms.html
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 5
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov esp, ebp
pop ebp
ret
Function at 0x409a50
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp eax, 0x10
je 0x409a74
cmp eax, 0xa3
je 0x409a80
mov edx, dword [ebp + 0x10]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
call sym.Setup.exe_public_virtual:_long_int___thiscall_DuiLib::WindowImplBase::HandleMessage_unsigned_int__unsigned_int__long_int_
pop ebp
ret 0xc
mov eax, dword [ecx + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop ebp
ret 0xc

Function at 0x40a4c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
call fcn.00406aa0
mov ebx, eax
mov eax, str._usilent
lea esi, [ebp - 4]
call fcn.00403290
mov eax, esi
call fcn.00404900
mov esi, eax
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a504
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x40a581
mov edx, dword [0x4fb44c]
mov eax, dword [edx + 0xc]
push edi
mov ecx, 0x4fb44c
call eax
add eax, 0x10
push ebx
lea edi, [ebp - 8]
mov dword [ebp - 4], eax
call fcn.00405090
mov ecx, dword [eax]
push ecx
push 0x4d5728
lea edi, [ebp - 4]
call fcn.00403dd0
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
add esp, 8
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
pop edi
test ecx, ecx
jg 0x40a55b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp - 4]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a581
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret