joyce8/EMBER2024-capa huggingface dataset:
Function at 0x11606
Capabilities:
Create device object

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [ebp + 0x10]
push esi
xor esi, esi
cmp eax, esi
push edi
je 0x1161b
mov dword [eax], esi
mov edi, dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
push ebx
push dword [ebp + 0x14]
lea eax, [ebp - 0xc]
push eax
call edi
push esi
push esi
push esi
push 1
push 3
push esi
lea eax, [ebp - 0xc]
mov dword [ebp - 0x24], eax
push esi
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x2c]
push eax
push 0x100000
lea eax, [ebp - 4]
push eax
mov dword [ebp - 0x2c], 0x18
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x20], 0x40
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
call dword [sym.imp.ntoskrnl.exe_ZwCreateFile]
mov ebx, eax
cmp ebx, esi
jl 0x11679
push dword [ebp - 4]
call dword [sym.imp.ntoskrnl.exe_ZwClose]
jmp 0x11683
cmp ebx, 0xc0000034
je 0x11683
xor ebx, ebx
cmp ebx, esi
pop ebx
jl 0x1168f
mov eax, 0xc000010e
jmp 0x1170a
push dword [ebp + 0x18]
lea eax, [ebp - 0xc]
push eax
call edi
lea eax, [ebp + 0x14]
push eax
push esi
push esi
push dword [ebp + 0x20]
lea eax, [ebp - 0xc]
push eax
push 0xc
push dword [ebp + 8]
call dword [sym.imp.ntoskrnl.exe_IoCreateDevice]
cmp eax, esi
jl 0x1170a
push dword [ebp + 0x14]
call dword [sym.imp.ntoskrnl.exe_IoRegisterShutdownNotification]
mov edi, eax
cmp edi, esi
jge 0x116d0
push dword [ebp + 0x14]
call dword [sym.imp.ntoskrnl.exe_IoDeleteDevice]
mov eax, edi
jmp 0x1170a
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0x28]
mov ecx, dword [ebp + 0x1c]
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 0xc]
cmp ecx, esi
mov dword [eax + 8], esi
je 0x116f0
mov edx, dword [ecx + 0x28]
mov edx, dword [edx]
mov dword [eax], edx
mov eax, dword [ecx + 0x28]
mov ecx, dword [ebp + 0x14]
mov dword [eax], ecx
mov eax, dword [ebp + 0x10]
cmp eax, esi
mov ecx, dword [ebp + 0x14]
je 0x11701
mov dword [eax], ecx
push ecx
call dword [sym.imp.ntoskrnl.exe_IoRegisterFileSystem]
xor eax, eax
pop edi
pop esi
leave
ret 0x1c
Function at 0x423d0e
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x486a2b
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x49600c]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push esi
push edi
mov eax, dword [0x49600c]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [esp + 0x18]
xor esi, esi
push eax
push esi
push 0x4000
push 0x402ab4
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
jns 0x423d7b
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push 0x495c1c
push eax
call sub.msvcrt.dll__CxxThrowException
mov eax, dword [sym.imp.ole32.dll_CoTaskMemFree]
cmp eax, esi
jne 0x423d8a
mov dword [esp + 0x4c], esi
jmp 0x423d9e
mov dword [esp + 0x40], eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x3c], 0x4034dc
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x88], esi
push eax
push dword [esp + 0x1c]
lea ecx, [esp + 0x5c]
call fcn.0042675e
lea ecx, [esp + 0x3c]
mov byte [esp + 0x88], 2
call fcn.0041ae72
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x423e0f
push edi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x423ea6
test byte [0x498580], 4
je 0x423df9
push ecx
push ecx
mov edx, edi
mov ecx, 0x406948
call fcn.0042370d
mov dword [esp + 0x14], 0x80070057
lea eax, [esp + 0x14]
push 0x495c1c
jmp 0x423d75
mov ecx, dword [esp + 0x18]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x423e16
sub ecx, edx
sar ecx, 1
lea eax, [edi + ecx*2]
push eax
jmp 0x423e9a
push ebx
push edi
lea ecx, [esp + 0x28]
call fcn.004266cb
mov byte [esp + 0x88], 3
cmp dword [esp + 0x34], 8
mov eax, dword [esp + 0x20]
jae 0x423e4d
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x423e85
cmp dword [esp + 0x34], 8
mov eax, dword [esp + 0x20]
jae 0x423e67
lea eax, [esp + 0x20]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x423e85
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 0xb7
jne 0x423ed8
xor esi, esi
push esi
push 1
lea ecx, [esp + 0x28]
mov byte [esp + 0x90], 2
call fcn.0041b746
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFindNextComponentW]
mov ebx, eax
test ebx, ebx
jne 0x423e2b
or dword [esp + 0x88], 0xffffffff
lea ecx, [esp + 0x54]
call fcn.004267d8
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.00484070
mov esp, ebp
pop ebp
ret
test byte [0x498580], 8
je 0x423eef
push ecx
push ecx
mov edx, edi
mov ecx, 0x406938
call fcn.0042370d
test esi, esi
jg 0x423ef9
mov dword [esp + 0x1c], esi
jmp 0x423f05
movzx eax, si
or eax, 0x80070000
mov dword [esp + 0x1c], eax
push 0x495c1c
lea eax, [esp + 0x20]
jmp 0x423d75
Function at 0x42b720
Capabilities:
Read file via mapping

Disassembly:
push 0xd0
mov eax, 0x48795b
call fcn.004847e9
mov edi, dword [ebp + 8]
xor ebx, ebx
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
push ecx
mov dword [ebp - 4], ebx
push ecx
mov ecx, edi
mov dword [ebp - 0xcc], edi
mov byte [ebp - 0xc8], al
mov dword [ebp - 0xc0], ebx
call fcn.0041c49d
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x5c]
push 0x420110
mov dword [ebp - 0xc0], 1
call fcn.004222a0
xor ecx, ecx
inc ecx
mov dword [ebp - 4], ecx
cmp dword [esi + 0x14], 8
jb 0x42b780
mov esi, dword [esi]
lea eax, [ebp - 0x5c]
mov edx, SysReAllocString
push eax
push ecx
push ecx
push 3
push ebx
push ecx
mov ecx, esi
call fcn.0042032b
push eax
lea ecx, [ebp - 0x7c]
call fcn.00421f12
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 3
call fcn.0041ae72
mov ecx, dword [ebp - 0x7c]
cmp ecx, 0xffffffff
je 0x42b8c3
call fcn.00423b06
mov esi, eax
test esi, esi
je 0x42b8c3
push 0x420110
lea ecx, [ebp - 0x44]
call fcn.004222a0
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 4
push eax
push ebx
push ebx
push ebx
push 2
push ebx
push dword [ebp - 0x7c]
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
push eax
lea ecx, [ebp - 0x9c]
call fcn.00421f12
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 6
call fcn.0041ae72
cmp dword [ebp - 0x9c], 0xffffffff
je 0x42b8b4
mov eax, dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
cmp eax, ebx
jne 0x42b81d
mov dword [ebp - 0x1c], ebx
jmp 0x42b82d
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0x4036e8
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 7
push eax
push ebx
push ebx
push ebx
push 4
push dword [ebp - 0x9c]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
push eax
lea ecx, [ebp - 0xbc]
call fcn.0042d01d
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 9
call fcn.0041ae72
mov edx, dword [ebp - 0xbc]
test edx, edx
je 0x42b8a5
mov eax, 0xfeff
shr esi, 1
cmp word [edx], ax
jne 0x42b8a5
push dword [ebp - 0xc8]
add edx, 2
lea ecx, [ebp - 0xdc]
dec esi
push esi
call fcn.0042b8dd
push eax
mov ecx, edi
mov byte [ebp - 4], 0xa
call fcn.0041c40d
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 9
call fcn.0041addb
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 6
call fcn.004267d8
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 3
call fcn.00421f5b
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], bl
call fcn.00421f5b
mov eax, edi
call fcn.00484789
ret 0xc
Function at 0x483e10
Capabilities:
Terminate process

Disassembly:
call fcn.00484b68
jmp 0x483e1f
push 0x5c
push 0x4958b8
call fcn.004846b8
and dword [ebp - 0x24], 0
and dword [ebp - 4], 0
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov dword [ebp - 4], 0xfffffffe
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov edi, dword [eax + 4]
xor esi, esi
mov edx, 0x498898
mov ecx, edi
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
je 0x483e6c
cmp eax, edi
jne 0x483e7e
mov esi, ebx
cmp dword [0x49889c], ebx
jne 0x483e8b
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x483eba
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x483e55
cmp dword [0x49889c], 0
jne 0x483eb4
mov dword [0x49889c], ebx
push 0x401090
push 0x401084
call fcn.0048400a
pop ecx
pop ecx
test eax, eax
je 0x483eba
jmp 0x483ff3
mov dword [0x49806c], ebx
cmp dword [0x49889c], ebx
jne 0x483edd
push 0x401080
push section..text
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x49889c], 2
test esi, esi
jne 0x483eea
xor eax, eax
mov ecx, 0x498898
xchg dword [ecx], eax
cmp dword [0x4988a8], 0
je 0x483f18
push 0x4988a8
call fcn.00484a60
pop ecx
test eax, eax
je 0x483f18
push 0
push 2
push 0
mov esi, dword [0x4988a8]
mov ecx, esi
call dword [0x49943c]
call esi
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
mov edi, dword [ebp - 0x24]
mov cl, byte [esi]
cmp cl, 0x20
ja 0x483f76
test cl, cl
je 0x483f34
test edi, edi
jne 0x483f76
mov al, byte [esi]
test al, al
je 0x483f44
cmp al, 0x20
ja 0x483f44
inc esi
mov dword [ebp - 0x20], esi
jmp 0x483f34
test byte [ebp - 0x40], 1
je 0x483f50
movzx eax, word [ebp - 0x3c]
jmp 0x483f53
push 0xa
pop eax
push eax
push esi
push 0
push 0x400000
call main
mov dword [0x498068], eax
cmp dword [0x498080], 0
jne 0x483fcf
push eax
call dword [sym.imp.msvcrt.dll_exit]
cmp cl, 0x22
jne 0x483f87
xor eax, eax
test edi, edi
sete al
mov edi, eax
mov dword [ebp - 0x24], edi
movzx eax, cl
push eax
call dword [sym.imp.msvcrt.dll__ismbblead]
pop ecx
test eax, eax
je 0x483f9a
inc esi
mov dword [ebp - 0x20], esi
inc esi
mov dword [ebp - 0x20], esi
jmp 0x483f25
cmp dword [0x49806c], 0
jne 0x483fe3
call dword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x498068]
mov dword [ebp - 4], 0xfffffffe
jmp 0x483fff
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.00484700
ret

Function at 0x48494f
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x4959b8
call fcn.00484618
xor ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x4849af
cmp eax, 0xffffffff
je 0x4849af
mov dword [ebp - 4], ecx
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x4849a8
mov edx, dword [eax + 0x3c]
test edx, edx
js 0x4849a8
cmp edx, 0x10000000
jae 0x4849a8
add eax, edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
sub ecx, 0x4550
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
jmp 0x4849a5
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
call fcn.0048465d
ret 4
Function at 0x417f70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
ja 0x417f89
call fcn.0043ae00
jmp fcn.00417f70
sub esp, 0x30
mov ebx, dword [esp + 0x38]
cmp ebx, 0
jne 0x417f99
add esp, 0x30
ret
call fcn.004382a0
mov eax, dword [esp]
xor ebx, ebx
cmp eax, ebx
je 0x41805c
cmp dword [eax + 0x70], 0
je 0x41805c
mov edi, dword [eax + 0x74]
mov edx, dword [eax + 0x78]
mov esi, dword [eax + 0x78]
cmp esi, edx
jb 0x418055
cmp edx, edi
jb 0x418055
mov dword [esp + 0x14], eax
mov eax, dword [eax + 0x70]
mov ebp, edx
sub ebp, edi
mov edx, esi
sub edx, edi
cmp edx, 0
je 0x417fe8
mov ebx, edi
add ebx, eax
mov eax, ebx
mov esi, eax
mov eax, ebp
mov dword [esp + 0x2c], edx
mov ebp, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], ecx
cmp ecx, eax
jge 0x41800e
mov eax, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x24], esi
mov dword [esp], esi
mov dword [esp + 0x18], ebp
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
call fcn.0043ce00
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov ecx, dword [edx + 0x74]
add ecx, eax
mov eax, dword [edx + 0x78]
cmp eax, ecx
jb 0x41804e
mov ebp, dword [edx + 0x70]
mov dword [edx + 0x70], ebp
mov dword [edx + 0x74], ecx
mov dword [edx + 0x78], eax
add esp, 0x30
ret
call fcn.00416ea0
ud2
call fcn.00416ea0
ud2
mov eax, dword [esp + 0x38]
mov dword [esp], 2
cmp dword [esp + 0x38], 0
jbe 0x418083
mov ebx, dword [esp + 0x34]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
call fcn.0042f020
add esp, 0x30
ret
call fcn.00416e50
ud2
Function at 0x43a4d0
Capabilities:
Check for software breakpoints

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 0xc]
ja 0x43a4e9
call fcn.0043a010
jmp fcn.0043a4d0
sub esp, 0x20
mov edx, dword [esp + 0x24]
mov ecx, dword [edx + 4]
movzx eax, byte [ecx]
cmp eax, 0xe9
jne 0x43a50f
mov eax, dword [ecx + 1]
mov ecx, dword [edx + 4]
add eax, ecx
add eax, 5
mov dword [edx + 4], eax
add esp, 0x20
ret
movzx eax, byte [ecx]
cmp eax, 0xeb
jne 0x43a52c
movsx eax, byte [ecx + 1]
mov ecx, dword [edx + 4]
add eax, ecx
add eax, 2
mov dword [edx + 4], eax
add esp, 0x20
ret
movzx eax, byte [ecx]
cmp eax, 0xcc
jne 0x43a53a
add esp, 0x20
ret
mov eax, str.runtime:_pc_p__x__x__x__x__x_n
mov dword [esp], eax
mov dword [esp + 4], ecx
movzx eax, byte [ecx]
mov dword [esp + 8], eax
movzx eax, byte [ecx + 1]
mov dword [esp + 0xc], eax
movzx eax, byte [ecx + 2]
mov dword [esp + 0x10], eax
movzx eax, byte [ecx + 3]
mov dword [esp + 0x14], eax
movzx eax, byte [ecx + 4]
mov dword [esp + 0x18], eax
call fcn.00417f30
mov eax, str.runtime:_misuse_of_rewindmorestack
mov dword [esp], eax
call fcn.00417d80
add esp, 0x20
ret

Function at 0x9694f8
Capabilities:
Enumerate pe sections

Disassembly:
push esi
push ebx
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
add edx, dword [edx + 0x3c]
movzx esi, word [edx + 6]
movzx eax, word [edx + 0x14]
test esi, esi
lea eax, [edx + eax + 0x18]
je 0x969530
xor edx, edx
nop
mov ecx, dword [eax + 0xc]
cmp ecx, ebx
ja 0x969526
add ecx, dword [eax + 8]
cmp ebx, ecx
jb 0x969532
add edx, 1
add eax, 0x28
cmp edx, esi
jb 0x969518
xor eax, eax
pop ebx
pop esi
ret
Function at 0x430c40
Capabilities:
Delete file
Get common file path

Disassembly:
mov eax, dword [esp + 0xc]
sub esp, 0x208
cmp eax, 1
push ebx
push edi
jne case.default.0x430c9a
xor ebx, ebx
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 9]
mov byte [esp + 8], bl
mov byte [esp + 0x10c], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x10d]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x218]
add eax, 0xfffff006
cmp eax, 5
ja case.default.0x430c9a
jmp dword [eax*4 + 0x430ddc]
mov ecx, dword [0x5c88a4]
push ebx
call fcn.00408d70
pop edi
pop ebx
add esp, 0x208
ret 0x10
mov ecx, dword [0x5c8890]
push ebx
call fcn.0048aca0
pop edi
pop ebx
add esp, 0x208
ret 0x10
mov ecx, dword [0x5c88bc]
push ebx
push 1
call fcn.00472d50
push 0x13
jmp 0x430dc4
mov ecx, dword [0x5c88bc]
push ebx
push 1
call fcn.00472d50
lea ecx, [esp + 8]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetCurrentDirectoryA]
lea edx, [esp + 8]
lea eax, [esp + 0x10c]
push edx
push str._sImageET.dat
push eax
call fcn.004b8784
add esp, 0xc
lea ecx, [esp + 0x10c]
push ecx
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
push 0x13
jmp 0x430dc4
cmp dword [0x5c899c], ebx
je 0x430d82
mov ecx, dword [0x5c8890]
call fcn.0048be20
mov ecx, 0x5ecbb8
call fcn.0046af40
mov edx, dword [0x5d339c]
xor eax, eax
mov ecx, 0x4b0
mov dword [0x5d9ed0], ebx
mov dword [edx*4 + 0x5d33a0], ebx
mov edx, dword [0x5d339c]
lea edx, [edx + edx*2]
lea edx, [edx + edx*4]
lea edi, [edx + edx*4]
shl edi, 6
add edi, 0x5c9d98
rep stosd dword es:[edi], eax
mov ecx, dword [0x5c88bc]
push ebx
push 1
call fcn.00472d50
mov ecx, dword [0x5c8884]
call fcn.0042b0b0
cmp eax, 1
jne 0x430dc2
mov eax, dword [0x5c8884]
mov dword [0x5d33c0], ebx
push ebx
mov ecx, dword [eax + 0xd40]
call fcn.004340e0
pop edi
pop ebx
add esp, 0x208
ret 0x10
push 9
mov ecx, dword [0x5c8884]
call fcn.0042b0e0
pop edi
pop ebx
add esp, 0x208
ret 0x10
Function at 0x48d230
Capabilities:
Check mutex on windows
Create process on windows

Disassembly:
sub esp, 0x100
push ebp
push esi
push edi
xor esi, esi
push str.OnceMutex
push esi
push esi
call dword [sym.imp.KERNEL32.DLL_CreateMutexA]
mov ebp, eax
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0xb7
jne 0x48d2a6
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0xd]
mov byte [esp + 0xc], 0
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x110]
push 0x100
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x10]
push eax
push 0x15
push ecx
call dword [sym.imp.USER32.dll_LoadStringA]
push esi
lea edx, [esp + 0x10]
push str.Info
push edx
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x100
ret 0x10
mov ecx, 0x41e5
xor eax, eax
mov edi, 0x5c8938
push 0x59c
rep stosd dword es:[edi], eax
call fcn.004b7e62
add esp, 4
test eax, eax
je 0x48d2cc
mov ecx, eax
call fcn.0048a690
mov edi, dword [sym.imp.KERNEL32.DLL_Sleep]
mov ecx, dword [0x5c8890]
push 1
call fcn.0048bf40
test eax, eax
jne 0x48d2f0
push 0x1f4
call edi
inc esi
cmp esi, 3
jl 0x48d2d2
mov ecx, dword [0x5c8890]
cmp dword [ecx + 0x578], 1
jne 0x48d359
test ecx, ecx
je 0x48d309
mov eax, dword [ecx]
push 1
call dword [eax]
push ebp
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0xd]
mov byte [esp + 0xc], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [0x5c8890]
push 0x16
stosb byte es:[edi], al
call fcn.0048cd00
push 0
lea edx, [esp + 0x10]
push str.Info
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x100
ret 0x10
mov eax, dword [esp + 0x118]
push eax
call fcn.0048d1e0
add esp, 4
test eax, eax
jne 0x48d3b3
mov ecx, 0x3f
lea edi, [esp + 0xd]
mov byte [esp + 0xc], al
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [0x5c8890]
push 0x17
stosb byte es:[edi], al
call fcn.0048cd00
push 0
lea edx, [esp + 0x10]
push str.Info
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x100
ret 0x10
mov ecx, dword [0x5c8890]
call fcn.0048c7e0
mov eax, dword [esp + 0x11c]
mov ecx, dword [esp + 0x110]
push 6
push eax
push ecx
mov ecx, dword [0x5c8890]
call fcn.0048b400
test eax, eax
je 0x48d3ec
mov ecx, dword [0x5c8890]
call fcn.0048bb50
jmp 0x48d406
mov eax, dword [0x5c8890]
mov ecx, dword [eax + 0x10]
call fcn.00411390
push 0
push 0
push 0x10
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [0x5c8890]
push 0
call fcn.0048bf40
mov ecx, dword [0x5c8890]
test ecx, ecx
je 0x48d432
call fcn.0048b950
mov ecx, dword [0x5c8890]
test ecx, ecx
je 0x48d432
mov edx, dword [ecx]
push 1
call dword [edx]
push ebp
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push 1
push 0
push 0
push str.http:__www.nanyei.com_exit.htm
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x100
ret 0x10
Function at 0x410273
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x410283
xor eax, eax
jmp 0x41044c
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 8
jb 0x410404
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x420034]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x420034]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x420034]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x420034]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x420034]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x420034]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x420034]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x420034]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0x10]
sub ecx, 8
mov dword [ebp + 0x10], ecx
jmp 0x41028c
cmp dword [ebp + 0x10], 0
je 0x410446
mov edx, dword [ebp + 0xc]
xor eax, eax
mov al, byte [edx]
mov ecx, dword [ebp + 8]
xor ecx, eax
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
mov eax, dword [ecx*4 + 0x420034]
xor eax, edx
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0x10]
sub edx, 1
mov dword [ebp + 0x10], edx
cmp dword [ebp + 0x10], 0
jne 0x41040a
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop ebp
ret