joyce8/EMBER2024-capa huggingface dataset:
Function at 0x423965
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.004238e1
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x423ad4
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x423ad4
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x423a89
jg 0x4239c1
test eax, eax
je 0x423a7f
push 1
push 0x1000
call fcn.0041a423
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x4239e4
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x423a76
push 0x8000
push ebx
call fcn.00412fab
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x423a0d
jg 0x423a08
cmp ecx, 0x1000
jb 0x423a0d
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.00418f46
add esp, 0x10
cmp eax, 0xffffffff
je 0x423a52
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x423a08
jl 0x423a39
test ecx, ecx
jne 0x4239fa
push dword [ebp - 0xc]
push ebx
call fcn.00412fab
push esi
call fcn.00416ccb
add esp, 0xc
xor ebx, ebx
jmp 0x423ae2
cmp byte [edi + 0x24], 0
je 0x423a69
cmp dword [edi + 0x20], 5
jne 0x423a69
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x423a74
mov ebx, dword [edi + 0x18]
jmp 0x423a76
xor ebx, ebx
push esi
call fcn.00416ccb
pop ecx
jmp 0x423ae2
test ecx, ecx
jg 0x423a4b
jl 0x423a89
test eax, eax
jae 0x423a4b
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0041840a
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x423aa9
cmp byte [edi + 0x1c], 0
je 0x423a4b
jmp 0x423ada
push ebx
call fcn.00414319
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x423a4b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x423ae2
cmp byte [edi + 0x1c], 0
je 0x423adf
mov ebx, dword [edi + 0x18]
jmp 0x423ae2
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.0041840a
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x425750
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42577d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42577d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x100867a6
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x1017dcd0
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x40
cmp dword [0x1025b5d4], 1
jge 0x1017dd3f
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
test ecx, ecx
je 0x1017dd15
mov edx, dword [ebx + 8]
movzx eax, word [edx]
movzx ecx, word [ebx + 0xc]
cmp eax, ecx
je 0x1017dd15
mov edx, dword [ebx + 8]
add edx, 2
mov dword [ebx + 8], edx
jmp 0x1017dcf2
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
movzx edx, word [ebx + 0xc]
cmp ecx, edx
jne 0x1017dd2b
mov eax, dword [ebx + 8]
mov dword [ebp - 4], eax
jmp 0x1017dd32
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
jmp 0x1017de3d
movzx ecx, word [ebx + 0xc]
movd xmm0, ecx
movdqa xmmword [ebp - 0x30], xmm0
pshuflw xmm0, xmmword [ebp - 0x30], 0
movdqa xmmword [ebp - 0x30], xmm0
pshufd xmm0, xmmword [ebp - 0x30], 0
movdqa xmmword [ebp - 0x30], xmm0
mov edx, dword [ebx + 8]
and edx, 0xfff
cmp edx, 0xff0
ja 0x1017de0e
mov eax, dword [ebx + 8]
movdqu xmm0, xmmword [eax]
movdqa xmmword [ebp - 0x40], xmm0
movdqa xmm0, xmmword [ebp - 0x20]
pxor xmm0, xmmword [ebp - 0x20]
movdqa xmmword [ebp - 0x20], xmm0
movdqa xmm0, xmmword [ebp - 0x20]
pcmpeqw xmm0, xmmword [ebp - 0x40]
movdqa xmmword [ebp - 0x20], xmm0
movdqa xmm0, xmmword [ebp - 0x40]
pcmpeqw xmm0, xmmword [ebp - 0x30]
movdqa xmmword [ebp - 0x40], xmm0
movdqa xmm0, xmmword [ebp - 0x20]
por xmm0, xmmword [ebp - 0x40]
movdqa xmmword [ebp - 0x20], xmm0
movdqa xmm0, xmmword [ebp - 0x20]
pmovmskb ecx, xmm0
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x1017de03
bsf edx, dword [ebp - 8]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
add eax, dword [ebx + 8]
mov dword [ebx + 8], eax
mov ecx, dword [ebx + 8]
movzx edx, word [ecx]
movzx eax, word [ebx + 0xc]
cmp edx, eax
jne 0x1017ddf7
mov ecx, dword [ebx + 8]
mov dword [ebp - 0xc], ecx
jmp 0x1017ddfe
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc]
jmp 0x1017de3d
mov edx, dword [ebx + 8]
add edx, 0x10
mov dword [ebx + 8], edx
jmp 0x1017de38
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
movzx edx, word [ebx + 0xc]
cmp ecx, edx
jne 0x1017de21
mov eax, dword [ebx + 8]
jmp 0x1017de3d
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
test ecx, ecx
jne 0x1017de2f
xor eax, eax
jmp 0x1017de3d
mov edx, dword [ebx + 8]
add edx, 2
mov dword [ebx + 8], edx
jmp 0x1017dd62
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x10099bc0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
push ebx
push esi
push edi
lea edi, [ebp - 0xcc]
mov ecx, 0x33
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov esi, esp
lea eax, [ebp - 8]
push eax
push 0x40
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp esi, esp
call fcn.10087430
cmp dword [ebp + 0x10], 1
jle 0x10099c0b
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [eax], ecx
jmp 0x10099c13
mov eax, dword [ebp + 8]
mov cl, byte [ebp + 0xc]
mov byte [eax], cl
mov esi, esp
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp esi, esp
call fcn.10087430
mov eax, 1
push edx
mov ecx, ebp
push eax
lea edx, [0x10099c5c]
call fcn.100883bc
pop eax
pop edx
pop edi
pop esi
pop ebx
add esp, 0xcc
cmp ebp, esp
call fcn.10087430
mov esp, ebp
pop ebp
ret
Function at 0x100bd550
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.100bd760
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x100bd61d
mov edx, dword [ebp - 4]
cmp edx, dword [0x101c3d18]
jb 0x100bd59a
mov eax, dword [ebp - 4]
cmp eax, dword [0x101c3d1c]
ja 0x100bd59a
mov ecx, dword [ebp - 4]
sub ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x100bd56a
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.10086463
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x100bd5c0
jmp 0x100bd61d
cmp dword [ebp - 0x14], 0x10000
jne 0x100bd603
cmp dword [ebp - 0x18], 0x10000
jb 0x100bd603
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x100bd5f6
mov eax, dword [ebp - 8]
jmp 0x100bd61f
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x100bd618
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.100bd760
add esp, 4
mov dword [ebp - 4], eax
jmp 0x100bd56a
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x100bd660
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.100bd790
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x100bd725
mov edx, dword [ebp - 4]
cmp edx, dword [0x101c3d18]
jb 0x100bd6a5
mov eax, dword [ebp - 4]
cmp eax, dword [0x101c3d1c]
ja 0x100bd6a5
mov ecx, dword [ebp - 4]
add ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x100bd675
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.10086463
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x100bd6cb
jmp 0x100bd725
cmp dword [ebp - 0x14], 0x10000
jne 0x100bd70e
cmp dword [ebp - 0x18], 0x10000
jb 0x100bd70e
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x100bd701
mov eax, dword [ebp - 8]
jmp 0x100bd727
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x100bd720
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.100bd790
add esp, 4
mov dword [ebp - 4], eax
jmp 0x100bd675
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x100c0d70
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0x1025a06c], 0
je 0x100c0d86
xor eax, eax
jmp 0x100c0fa2
cmp dword [0x1025a068], 0
je 0x100c0d99
mov eax, dword [0x1025a068]
jmp 0x100c0fa2
push 0x24
push 0
push 0x1025a03c
call fcn.10086463
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [0x1025a03c], eax
push 0
push 0
push str.dbghelp.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [0x1025a040], eax
cmp dword [0x1025a040], 0
jne 0x100c0e3e
mov dword [0x1025a06c], 1
cmp dword [0x1025a040], 0
je 0x100c0df1
mov eax, dword [0x1025a040]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x1025a044], 0
mov dword [0x1025a048], 0
mov dword [0x1025a04c], 0
mov dword [0x1025a050], 0
mov dword [0x1025a054], 0
mov dword [0x1025a058], 0
mov dword [0x1025a05c], 0
xor eax, eax
jmp 0x100c0fa2
push str.ImagehlpApiVersionEx
mov ecx, dword [0x1025a040]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1025a044], eax
push str.SymInitialize
mov edx, dword [0x1025a040]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1025a048], eax
push str.SymSetOptions
mov eax, dword [0x1025a040]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1025a04c], eax
push str.SymGetOptions
mov ecx, dword [0x1025a040]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1025a050], eax
push str.SymLoadModule64
mov edx, dword [0x1025a040]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1025a054], eax
push str.SymGetModuleInfo64
mov eax, dword [0x1025a040]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1025a058], eax
push str.SymFromName
mov ecx, dword [0x1025a040]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1025a05c], eax
push 8
push 0
lea edx, [ebp - 0xc]
push edx
call fcn.10086463
add esp, 0xc
mov eax, 0xc
mov word [ebp - 0xc], ax
cmp dword [0x1025a044], 0
je 0x100c0f23
cmp dword [0x1025a048], 0
je 0x100c0f23
cmp dword [0x1025a054], 0
je 0x100c0f23
cmp dword [0x1025a058], 0
je 0x100c0f23
cmp dword [0x1025a05c], 0
jne 0x100c0f28
jmp 0x100c0dd2
lea ecx, [ebp - 0xc]
push ecx
call dword [0x1025a044]
movzx edx, word [ebp - 0xc]
cmp edx, 0xc
jge 0x100c0f40
jmp 0x100c0dd2
push 0
push 0
mov eax, dword [0x1025a03c]
push eax
call dword [0x1025a048]
test eax, eax
jne 0x100c0f59
jmp 0x100c0dd2
cmp dword [0x1025a050], 0
je 0x100c0f93
cmp dword [0x1025a04c], 0
je 0x100c0f93
call dword [0x1025a050]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
and ecx, 0xfffffff8
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
or edx, 0x2704
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
push eax
call dword [0x1025a04c]
mov dword [0x1025a068], 0x1025a03c
mov eax, dword [0x1025a068]
mov esp, ebp
pop ebp
ret
Function at 0x401c30
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
xorps xmm0, xmm0
xor esi, esi
push edi
mov byte [ebp - 0x24], 0
movq qword [ebp - 0x23], xmm0
movq qword [ebp - 0x1b], xmm0
movq qword [ebp - 0x13], xmm0
mov dword [ebp - 0xb], 0
mov byte [ebp - 7], 0
lea ebx, [esi + 0xa]
push 0x421050
mov edx, 5
mov dword [0x423d84], 0x50007
call fcn.00404dfa
add esp, 4
push 0xf
push 0x46
push 8
push 0xa
call fcn.004010a0
push 0x42103c
mov dword [0x423d84], 0xa0017
call fcn.00404dfa
lea eax, [ebp - 0x44]
push eax
push 0x421098
call fcn.00405029
push 0x42109c
mov dword [0x423d84], 0xc0017
call fcn.00404dfa
add esp, 0x10
lea eax, [ebp - 0x24]
push eax
call fcn.00401030
inc esi
cmp esi, 3
je 0x401e96
mov ecx, str.ADMIN
lea eax, [ebp - 0x44]
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x401d00
test dl, dl
je 0x401cfc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x401d00
add eax, 2
add ecx, 2
test dl, dl
jne 0x401ce0
xor eax, eax
jmp 0x401d05
sbb eax, eax
or eax, 1
test eax, eax
jne 0x401d3a
mov eax, 0x421100
lea ecx, [ebp - 0x24]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x401d31
test dl, dl
je 0x401d2d
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x401d31
add ecx, 2
add eax, 2
test dl, dl
jne 0x401d11
xor eax, eax
jmp 0x401d36
sbb eax, eax
or eax, 1
test eax, eax
je 0x401d5b
call fcn.00401a30
push 0x421104
mov dword [0x423d84], 0xa0019
call fcn.00404dfa
add esp, 4
jmp 0x401c5f
movsx edi, byte [ebp - 1]
mov bl, byte [ebp - 1]
add edi, 0xffffffcf
call fcn.00401a30
push str.1._Add_User
mov dword [0x423d84], 0x8001e
call fcn.00404dfa
push str.2._Delete_User
mov dword [0x423d84], 0xa001e
call fcn.00404dfa
push str.3._Edit_User_name___Password
mov dword [0x423d84], 0xc001e
call fcn.00404dfa
push str.4._View_User_Log
mov dword [0x423d84], 0xe001e
call fcn.00404dfa
push str.5._Exit
mov dword [0x423d84], 0x10001e
call fcn.00404dfa
add esp, 0x14
mov dword [0x423d84], 0x110001
mov esi, 0x4e
push 0x42117c
call fcn.00404dfa
add esp, 4
dec esi
jne 0x401de0
push str._Press_a_number_between_the_range__1__5_
mov dword [0x423d84], 0x130017
call fcn.00404dfa
add esp, 4
cmp edi, 4
ja case.default.0x401e0c
jmp dword [edi*4 + 0x401ed0]
call fcn.00401ef0
jmp 0x401d65
call fcn.004020a0
jmp 0x401d65
call fcn.004022d0
jmp 0x401d65
call fcn.00401a30
push 0x4211ac
mov dword [0x423d84], 0xa000f
call fcn.00404dfa
add esp, 4
cmp bl, 0x59
je 0x401ec6
cmp bl, 0x79
je 0x401ec6
jmp 0x401d65
call fcn.00401a30
push str.Your_input_is_out_of_range__Enter_a_choice_between_1_to_5_
mov dword [0x423d84], 0xa000a
call fcn.00404dfa
push 0x421210
mov dword [0x423d84], 0xc000f
call fcn.00404dfa
add esp, 8
jmp 0x401d65
call fcn.004025a0
call fcn.00401a30
push 0x4210b0
mov dword [0x423d84], 0x80019
call fcn.00404dfa
push str.Press_any_key_to_exit_the_program...
mov dword [0x423d84], 0xb0016
call fcn.00404dfa
add esp, 8
push 0
call fcn.0040544f
lea ecx, [ecx]
adc ebx, dword [esi]
inc eax
add byte [0x2700401e], bl
push ds
inc eax
add byte [ecx + 0x3100401e], dl
push ds
inc eax
add ah, cl
int3
Function at 0x404820
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 8]
push esi
mov eax, dword [ebx + 0x3c]
push edi
mov eax, dword [eax + ebx + 0x78]
add eax, ebx
xor edi, edi
mov ecx, dword [eax + 0x1c]
mov edx, dword [eax + 0x20]
add ecx, ebx
mov dword [ebp - 0xc], ecx
mov ecx, dword [eax + 0x24]
add ecx, ebx
mov dword [ebp - 8], ecx
mov ecx, dword [eax + 0x18]
add edx, ebx
mov dword [ebp - 4], edx
mov dword [ebp + 8], ecx
test ecx, ecx
je 0x404894
lea esp, [esp]
mov edx, dword [edx + edi*4]
add edx, ebx
mov eax, 0x1451
movsx esi, byte [edx]
test esi, esi
je 0x404887
mov ecx, eax
shl eax, 5
lea edx, [edx + 1]
add eax, esi
movsx esi, byte [edx]
add eax, ecx
test esi, esi
jne 0x404871
mov ecx, dword [ebp + 8]
cmp eax, dword [ebp + 0xc]
je 0x40489f
mov edx, dword [ebp - 4]
inc edi
cmp edi, ecx
jb 0x404860
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
movzx eax, word [eax + edi*2]
pop edi
mov eax, dword [ecx + eax*4]
pop esi
add eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x404960
Capabilities:
Encode data using xor
Hide graphical window
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x49fc
call fcn.00405840
push ebx
push esi
push edi
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.00404900
push 0xb616c5d9
push ebx
call fcn.00404820
push 0xe0baa99
push ebx
mov dword [ebp - 4], eax
call fcn.00404820
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push 0x23fdef72
push 0x421824
mov edi, eax
call esi
push eax
call fcn.00404820
push 0x695c9378
push str.User32.dll
mov dword [ebp - 8], eax
call esi
push eax
call fcn.00404820
push 0x9347c911
push ebx
mov esi, eax
call fcn.00404820
push 0xa
push str.IEUCIZEO
push 0
call eax
push eax
push 0
call edi
push 0x4605
push eax
lea eax, [ebp - 0x49fc]
push eax
call fcn.004063e0
add esp, 0xc
xor eax, eax
lea ecx, [ecx]
mov bl, byte [ebp + eax - 0x49fc]
not bl
xor bl, 0xf8
not bl
sub bl, 0x42
rol bl, 3
sub bl, al
xor bl, 0x43
sub bl, al
xor bl, 0x7e
not bl
add bl, 0x22
ror bl, 2
xor bl, 0xba
not bl
xor bl, al
neg bl
inc eax
rol bl, 2
mov byte [ebp + eax - 0x49fd], bl
cmp eax, 0x4605
jb 0x404a10
lea eax, [ebp - 0xc]
push eax
push 0x40
push 0x4605
lea eax, [ebp - 0x49fc]
push eax
call dword [ebp - 4]
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x3f4]
push eax
lea eax, [ebp - 0x49fc]
push eax
push 0
push 0
call esi
push eax
call dword [ebp - 8]
call fcn.00401b40
push 0xd
push 0x46
push 9
push 8
call fcn.004010a0
push str.Press_A_to_Log_in_as_ADMINISTRATOR_or_S_to_log_in_as_STAFF_n_n_n_t_t_t_t_t
mov dword [0x423d84], 0xb000a
call fcn.00404dfa
add esp, 4
cmp bl, 0x41
je 0x404afc
cmp bl, 0x61
je 0x404afc
cmp bl, 0x53
je 0x404af7
cmp bl, 0x73
je 0x404af7
cmp bl, 0x1b
je 0x404af0
push 0xd
push 0x46
push 9
push 8
call fcn.004010a0
push str.Press_A_to_Log_in_as_ADMINISTRATOR_or_S_to_log_in_as_STAFF_n_n_n_t_t_t_t_t
mov dword [0x423d84], 0xb000a
call fcn.00404dfa
add esp, 4
jmp 0x404ab6
push 0
call fcn.0040544f
call fcn.004027c0
call fcn.00401c30
int3
Function at 0x40e9fd
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x422ec0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.00409fc2
mov dword [ebp - 0x14], eax
cmp dword [0x4246d0], edi
jne 0x40eaee
push 0x800
push edi
push 0x41bc7c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x40ea7b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40ebce
push 0x41bc7c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x40ebce
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40ebce
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x4246d0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x4246d4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x4246d8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4246e0], eax
test eax, eax
je 0x40eaeb
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4246dc], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40eb13
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40eb06
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x40eb28
push 4
pop eax
jmp 0x40ebd0
cmp dword [ebp - 0x14], edi
je 0x40eb28
push dword [0x4246d0]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40eb0d
mov eax, dword [0x4246dc]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x40eb86
cmp dword [0x4246e0], esi
je 0x40eb86
push eax
call ebx
push dword [0x4246e0]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40eb86
test eax, eax
je 0x40eb86
call ecx
test eax, eax
je 0x40eb7b
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 0x40eb7b
test byte [ebp - 8], 1
jne 0x40eb86
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x40ebb6
mov eax, dword [0x4246d4]
cmp eax, esi
je 0x40ebb3
push eax
call ebx
test eax, eax
je 0x40ebb3
call eax
mov edi, eax
test edi, edi
je 0x40ebb3
mov eax, dword [0x4246d8]
cmp eax, esi
je 0x40ebb3
push eax
call ebx
test eax, eax
je 0x40ebb3
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x4246d0]
call ebx
test eax, eax
je 0x40ebce
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x40ebd0
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040b76f
leave
ret
Function at 0x10001b46
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0
mov edi, ecx
mov eax, dword [esi]
push 0x80
mov dword [ebp - 4], eax
mov eax, dword [esi + 4]
push 3
mov dword [ebp + 8], eax
push 0
push 2
lea eax, [edi + 0x18]
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [ebp - 8]
push 0
push eax
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff8
add esi, 8
push eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
mov ecx, dword [0x10009d70]
add dword [ebp + 8], eax
lea eax, [ebp - 4]
push 4
push eax
lea eax, [ebp - 0x13]
mov byte [ebp - 0x14], 0xd9
push eax
call fcn.10004e4f
mov ecx, dword [0x10009d70]
lea eax, [ebp + 8]
push 4
push eax
lea eax, [ebp - 0xf]
push eax
call fcn.10004e4f
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x14]
push 9
push eax
mov ecx, edi
call fcn.100042ff
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x10001bfc
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
push edi
push 0
mov esi, ecx
push 0x80
push 3
push 0
push 0
lea eax, [esi + 0x18]
push bind
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x10001c39
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, esi
call fcn.10001cb4
jmp 0x10001cae
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push edi
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [0x10009d70]
lea eax, [ebp - 4]
push 4
push eax
lea eax, [ebp - 0x17]
mov byte [ebp - 0x18], 0xdb
push eax
call fcn.10004e4f
mov ecx, dword [0x10009d70]
lea eax, [ebp - 8]
push 4
push eax
lea eax, [ebp - 0x13]
push eax
call fcn.10004e4f
mov ecx, dword [0x10009d70]
push 4
lea eax, [ebp - 0xf]
push 0x10009d74
push eax
call fcn.10004e4f
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x18]
push 0xd
push eax
mov ecx, esi
call fcn.100042ff
pop edi
pop esi
leave
ret 4