joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40dbdb
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4190c0]
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
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00405004
mov dword [ebp - 0x14], eax
cmp dword [0x41b1dc], esi
jne 0x40dcce
push 0x800
push esi
push 0x417a5c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40dc5b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40ddae
push esi
push esi
push 0x417a5c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40ddae
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40ddae
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x41b1dc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x41b1e0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x41b1e4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x41b1ec], eax
test eax, eax
je 0x40dccb
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x41b1e8], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40dcf3
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40dce6
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40dd08
push 4
pop eax
jmp 0x40ddb0
cmp dword [ebp - 0x14], esi
je 0x40dd08
push dword [0x41b1dc]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40dced
mov eax, dword [0x41b1e8]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40dd66
cmp dword [0x41b1ec], edi
je 0x40dd66
push eax
call ebx
push dword [0x41b1ec]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40dd66
test eax, eax
je 0x40dd66
call ecx
test eax, eax
je 0x40dd5b
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 0x40dd5b
test byte [ebp - 8], 1
jne 0x40dd66
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40dd96
mov eax, dword [0x41b1e0]
cmp eax, edi
je 0x40dd93
push eax
call ebx
test eax, eax
je 0x40dd93
call eax
mov esi, eax
test esi, esi
je 0x40dd93
mov eax, dword [0x41b1e4]
cmp eax, edi
je 0x40dd93
push eax
call ebx
test eax, eax
je 0x40dd93
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x41b1dc]
call ebx
test eax, eax
je 0x40ddae
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40ddb0
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403fb3
mov esp, ebp
pop ebp
ret
Function at 0x1844058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x18441a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x184407e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x184406a
add dl, dl
jne 0x1844089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x18440dc
xor eax, eax
add dl, dl
jne 0x1844096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x184417d
add dl, dl
jne 0x18440a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x18440b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x18440bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x18440c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x18440d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x1844075
mov eax, 1
add dl, dl
jne 0x18440ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x18440f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x18440e1
sub eax, ebx
mov ebx, 1
jne 0x1844128
mov ecx, 1
add dl, dl
jne 0x184410e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1844119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1844105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1844075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x184413f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x184414a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1844136
cmp eax, 0x7d00
jae 0x184416d
cmp eax, 0x500
jb 0x1844168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1844075
cmp eax, 0x7f
ja 0x1844170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1844075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x184419e
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 0x1844075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x401210
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
not edx
and esi, 0x5b
mov eax, 0x8e
rcr ebx, 0x31
dec ebx
bswap eax
sbb edi, 5
inc edi
rcr eax, 0xd5
dec eax
imul edx
bswap ebx
not eax
not edi
inc ebx
bswap eax
rcr eax, 0x73
rcl edx, 0xdb
inc edx
and esi, 0x1e
imul eax
rcl esi, 0x2f
dec eax
sub esi, 0xc7
rol esi, 0x2d
ror edx, 0x83
sbb edi, 0xf7
inc edi
rol edi, 0x84
and eax, 0xcc
mov ebx, 0xd2
and edi, 0x7b
neg ebx
dec esi
bswap eax
mov eax, 0x34
sbb eax, 0x54
rol ebx, 0x6c
imul eax
rol edx, 0x71
dec ebx
not edi
mov esi, 0x5e
rol esi, 0x23
rcl eax, 0x98
imul esi
bswap edx
imul esi
rcl esi, 0x8c
rol edx, 0x6a
xor ecx, ecx
xor edi, edi
rcr edx, 0xdc
bswap ebx
rol eax, 0xb9
or edx, 0x59
dec ebx
add ebx, 0xa0
dec edi
rcr esi, 0xb2
mov esi, 0x71
imul esi
neg eax
or eax, 0x57
inc eax
mov ebx, 0xad
neg eax
neg esi
sub esi, 0xc5
add esi, 0x49
not eax
inc edi
bswap ebx
bswap ebx
inc edx
inc edx
not edx
and esi, 0xf8
add edx, 2
dec ebx
sbb eax, 0x85
bswap eax
sub edi, 0xd2
sub edx, 0x17
rol esi, 0x2f
inc esi
rcl ebx, 0x3b
neg edi
neg esi
rcl edx, 0xe
inc esi
mov eax, 0xa0
not edi
neg ebx
ror ebx, 0xb8
rcl esi, 0x8b
rcr esi, 0x5f
or esi, 0x2d
rcl ebx, 0x57
rol esi, 0xd
sub edx, 0x6b
add edx, 0x92
mov ecx, dword [ebp + 0xc]
and ebx, 0x2d
inc ebx
or ebx, 0x38
bswap ebx
inc eax
not edi
not ebx
and esi, 0xa0
not esi
dec eax
sub edx, 0x8c
bswap ebx
imul eax
rcl esi, 9
neg edx
dec eax
and eax, 0xb6
not ebx
bswap edx
not edi
inc ebx
and eax, 0xa8
rol eax, 0x96
rcl esi, 0xf
dec edi
ror edi, 0x1e
dec edx
mov edi, 0x77
not eax
rol edx, 0x33
neg ebx
imul edi
sub edi, 0xb9
rcl eax, 0x49
inc eax
imul ebx
rcl edx, 0x65
neg esi
neg esi
inc esi
rcl edx, 0x72
rcl esi, 0xb5
and esi, 0xb2
inc edi
neg edi
sbb ebx, 0x91
and eax, 0x42
sbb edx, 0xf7
dec edx
not esi
mov edi, dword [ebp + 8]
mov ebx, esi
mov eax, eax
mov eax, ebx
not byte [edi]
mov esi, ebx
mov esi, esi
mov ebx, ebx
xor ebx, eax
xor esi, esi
mov ebx, eax
mov esi, esi
mov eax, ebx
xor ebx, eax
add byte [edi], 0x79
mov ebx, ebx
xor eax, esi
mov eax, esi
xor esi, esi
xor ebx, ebx
mov eax, esi
xor ebx, eax
xor esi, esi
mov eax, ebx
sub byte [edi], 0x30
mov esi, eax
xor esi, esi
mov ebx, ebx
mov eax, esi
mov esi, esi
mov esi, eax
xor eax, eax
mov ebx, ebx
mov ebx, ebx
imul byte [edi]
inc edi
loop 0x4013be
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4042c5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4627d0]
jne 0x4042cf
repz ret
jmp fcn.00406045
Function at 0x404956
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004036f1
and dword [ebp - 4], 0
cmp dword [0x463668], 0
mov ebx, eax
jne 0x404a07
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x404ab8
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x404ab8
push eax
call fcn.0040367f
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x463668], eax
call esi
push eax
call fcn.0040367f
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x46366c], eax
call esi
push eax
call fcn.0040367f
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x463670], eax
call esi
push eax
call fcn.0040367f
pop ecx
mov dword [0x463678], eax
test eax, eax
je 0x404a07
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040367f
pop ecx
mov dword [0x463674], eax
mov eax, dword [0x463674]
cmp eax, ebx
je 0x404a5f
cmp dword [0x463678], ebx
je 0x404a5f
push eax
call fcn.004036fa
push dword [0x463678]
mov esi, eax
call fcn.004036fa
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x404a5f
test edi, edi
je 0x404a5f
call esi
test eax, eax
je 0x404a56
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x404a56
test byte [ebp - 0xc], 1
jne 0x404a5f
or dword [ebp + 0x10], 0x200000
jmp 0x404a98
mov eax, dword [0x46366c]
cmp eax, ebx
je 0x404a98
push eax
call fcn.004036fa
pop ecx
test eax, eax
je 0x404a98
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x404a98
mov eax, dword [0x463670]
cmp eax, ebx
je 0x404a98
push eax
call fcn.004036fa
pop ecx
test eax, eax
je 0x404a98
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x463668]
call fcn.004036fa
pop ecx
test eax, eax
je 0x404ab8
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x404aba
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40169e
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov dword [0x4042cb], ebp
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x404772], eax
xor eax, eax
push eax
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x404706], eax
mov dword [0x4042c3], eax
mov dword [0x4046f2], 0x30
mov dword [0x4046f6], 2
jmp 0x4016df
xor eax, eax
mov dword [0x4046fa], 0x403290
mov dword [0x4046fe], eax
mov dword [0x404702], eax
mov eax, 0x4041c7
mov dword [0x404712], 0xe
mov dword [0x40471a], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x40470e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x40470a], eax
mov dword [0x40471e], eax
push 0x4046f2
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x4042c3]
push 0
push 0
push 0x1e0
push 0x1fe
push 0xfffff862
push 0xfffff8f8
push 0xcf0000
push 0x4046c8
push 0x4041c7
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x404766], eax
push 5
push eax
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x404766]
call dword [sym.imp.user32.dll_UpdateWindow]
xor edi, edi
lea ebx, [0x404722]
jmp 0x4017a6
push ebx
call dword [sym.imp.user32.dll_TranslateMessage]
push ebx
call dword [sym.imp.user32.dll_DispatchMessageA]
push edi
push edi
push edi
push ebx
call dword [sym.imp.user32.dll_GetMessageA]
test al, al
jne 0x401798
mov eax, dword [0x40472a]
jmp 0x4017c1
call 0x402a9e
ret

Function at 0x43b64e
Capabilities:
Encode data using xor

Disassembly:
push 0x43b3c1
pop ebx
dec edx
inc eax
call fcn.0043b67f
or edx, eax
dec eax
add eax, eax
xor dword [esi], ebx
sub edx, eax
sub eax, 0xd30ee785
inc esi
or edx, edx
add eax, 0xcb861b62
sub edx, eax
cmp esi, edi
jne fcn.0043b64e
dec edx
dec eax
ret
Function at 0x1151d00
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x214
mov eax, dword [0x117104c]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
push 0x206
xor ebx, ebx
lea ecx, [esp + 0x12]
xor eax, eax
push ebx
push ecx
mov word [esp + 0x18], ax
call fcn.0115ba10
add esp, 0xc
mov dword [esp + 4], ebx
cmp edi, ebx
je 0x1151e21
cmp esi, ebx
je 0x1151e21
mov eax, esi
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x1151d50
sub eax, edx
sar eax, 1
je 0x1151e21
cmp dword [esp + 0x220], ebx
je 0x1151d75
lea edx, [esp + 0xc]
push edx
jmp 0x1151daf
mov eax, dword [esp + 0x21c]
cmp dword [eax], 3
jne 0x1151daa
push 0x104
lea ecx, [esp + 0x10]
push ecx
call dword [0x116b0c4]
push 0x116cc9c
lea edx, [esp + 0x10]
push 0x104
push edx
call fcn.01158901
add esp, 0xc
jmp 0x1151dba
lea eax, [esp + 0xc]
push eax
push 0x104
call dword [fcn.0116b100]
push esi
lea ecx, [esp + 0x10]
push 0x104
push ecx
call fcn.01158901
push 0x116cca0
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x18]
push eax
call fcn.01158a44
mov eax, dword [esp + 0x1c]
add esp, 0x18
cmp eax, ebx
je 0x1151e21
push eax
push 1
push 0x200
push edi
call fcn.01158d37
mov ecx, dword [esp + 0x14]
push ecx
call fcn.01158dcb
add esp, 0x14
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.011588f2
add esp, 0x214
ret 8
mov ecx, dword [esp + 0x214]
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.011588f2
add esp, 0x214
ret 8

Function at 0x1151ec0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x214
mov eax, dword [0x117104c]
xor eax, esp
mov dword [esp + 0x210], eax
push esi
push 0x206
xor esi, esi
lea ecx, [esp + 0x12]
xor eax, eax
push esi
push ecx
mov word [esp + 0x18], ax
call fcn.0115ba10
add esp, 0xc
cmp edi, esi
je 0x1151fa8
mov eax, 0x116cca8
mov dword [esp + 4], esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x1151f05
sub eax, edx
sar eax, 1
je 0x1151f2f
push 0x116ccac
lea edx, [esp + 8]
push 0x116cca8
push edx
call fcn.01158a44
add esp, 0xc
jmp 0x1151f6a
lea eax, [esp + 0xc]
push eax
push 0x104
call dword [fcn.0116b100]
push 0x116cc68
lea ecx, [esp + 0x10]
push 0x104
push ecx
call fcn.01158901
push 0x116ccac
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x18]
push eax
call fcn.01158a44
add esp, 0x18
mov eax, dword [esp + 4]
cmp eax, esi
je 0x1151f8d
push eax
push 1
push 0x200
push edi
call fcn.01158fa9
mov ecx, dword [esp + 0x14]
push ecx
call fcn.01158dcb
add esp, 0x14
mov eax, 1
pop esi
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.011588f2
add esp, 0x214
ret
mov ecx, dword [esp + 0x214]
mov eax, esi
pop esi
xor ecx, esp
call fcn.011588f2
add esp, 0x214
ret
Function at 0x11537b0
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0x117104c]
xor eax, ebp
mov dword [ebp + 0x194], eax
push esi
xor eax, eax
xor esi, esi
push 0x206
mov word [ebp - 0x74], ax
lea eax, [ebp - 0x72]
push esi
push eax
mov dword [ebp - 0x7c], esi
call fcn.0115ba10
add esp, 0xc
mov dword [ebp - 0x78], esi
cmp ebx, esi
je 0x1153862
push edi
mov edi, 0x116cc68
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, si
jne 0x11537fb
sub eax, edx
sar eax, 1
je 0x1153861
lea eax, [ebp - 0x74]
push eax
mov esi, 0x104
push esi
call dword [fcn.0116b100]
push edi
lea eax, [ebp - 0x74]
push esi
push eax
call fcn.01158901
push 0x116cca0
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.01158a44
add esp, 0x18
cmp dword [ebp - 0x78], 0
je 0x1153861
push dword [ebp - 0x78]
xor esi, esi
inc esi
push esi
push 0x200
push ebx
call fcn.01158d37
push dword [ebp - 0x78]
call fcn.01158dcb
add esp, 0x14
mov dword [ebp - 0x7c], esi
pop edi
mov ecx, dword [ebp + 0x194]
mov eax, dword [ebp - 0x7c]
xor ecx, ebp
pop esi
call fcn.011588f2
add ebp, 0x198
leave
ret

Function at 0x1153cdf
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push edi
push 0x116cca0
push dword [ebp + 8]
lea eax, [ebp - 4]
xor edi, edi
push eax
mov dword [ebp - 4], edi
call fcn.01158a44
add esp, 0xc
test eax, eax
je 0x1153d09
xor eax, eax
jmp 0x1153d8c
push ebx
push esi
push 2
push edi
push dword [ebp - 4]
call fcn.01159a6a
push dword [ebp - 4]
call fcn.01159c8c
push edi
push edi
push dword [ebp - 4]
mov esi, eax
call fcn.01159a6a
lea eax, [esi + 0x32]
push eax
mov dword [ebp - 8], eax
call fcn.01159d49
push dword [ebp - 4]
mov edi, eax
push 1
push esi
push edi
call fcn.01158d37
push dword [ebp - 4]
call fcn.01158dcb
push 0x32
lea ebx, [edi + esi]
call fcn.01153d8f
push 0x116ccac
push dword [ebp + 0xc]
lea eax, [ebp - 4]
push eax
call fcn.01158a44
add esp, 0x44
pop esi
pop ebx
test eax, eax
jne 0x1153d02
push dword [ebp - 4]
push 1
push dword [ebp - 8]
push edi
call fcn.01158fa9
push dword [ebp - 4]
call fcn.01158dcb
xor eax, eax
add esp, 0x14
inc eax
pop edi
leave
ret
Function at 0x1153dd1
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x2a0]
sub esp, 0x320
mov eax, dword [0x117104c]
xor eax, ebp
mov dword [ebp + 0x29c], eax
push ebx
push esi
push edi
mov esi, 0x116d0ec
lea edi, [ebp + 0x28c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov esi, 0x103
push esi
xor edi, edi
lea eax, [ebp + 0x189]
push edi
push eax
mov byte [ebp + 0x188], 0
call fcn.0115ba10
push esi
lea eax, [ebp + 0x85]
push edi
push eax
mov byte [ebp + 0x84], 0
call fcn.0115ba10
push esi
lea eax, [ebp - 0x7f]
push edi
push eax
mov byte [ebp - 0x80], 0
call fcn.0115ba10
add esp, 0x24
lea eax, [ebp + 0x84]
push eax
lea ebx, [esi + 1]
push ebx
call dword [0x116b040]
lea eax, [ebp + 0x28c]
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1153e5b
lea edi, [ebp + 0x84]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x1153e6b
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebx
lea eax, [ebp + 0x188]
push eax
and ecx, 3
push 0
rep movsb byte es:[edi], byte [esi]
call dword [0x116b044]
lea eax, [ebp + 0x188]
push eax
lea eax, [ebp - 0x80]
push ebx
push eax
call fcn.01159e13
lea eax, [ebp - 0x80]
push 0x5c
push eax
call fcn.011598b0
add esp, 0x14
test eax, eax
je 0x1153eb9
mov byte [eax], 0
lea eax, [ebp + 0x84]
push 0x116d0fc
push eax
call fcn.01159f3f
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x1153ffe
push esi
xor edi, edi
inc edi
push edi
push 9
push 0x116d100
call fcn.01158fa9
push esi
push edi
push 5
push 0x116d10c
call fcn.01158fa9
lea eax, [ebp + 0x188]
add esp, 0x20
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1153f01
push esi
sub eax, ecx
push edi
push eax
lea eax, [ebp + 0x188]
push eax
call fcn.01158fa9
push esi
push edi
push 2
mov ebx, 0x116d114
push ebx
call fcn.01158fa9
push esi
push edi
push 0xa
push 0x116d118
call fcn.01158fa9
lea eax, [ebp + 0x188]
add esp, 0x30
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1153f42
push esi
sub eax, ecx
push edi
push eax
lea eax, [ebp + 0x188]
push eax
call fcn.01158fa9
push esi
push edi
push 0xf
push 0x116d124
call fcn.01158fa9
push esi
push edi
push 7
push 0x116d134
call fcn.01158fa9
lea eax, [ebp - 0x80]
add esp, 0x30
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1153f7f
push esi
sub eax, ecx
push edi
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.01158fa9
push esi
push edi
push 3
push ebx
call fcn.01158fa9
push esi
push edi
push 5
push 0x116d10c
call fcn.01158fa9
lea eax, [ebp + 0x84]
add esp, 0x30
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1153fb8
push esi
sub eax, ecx
push edi
push eax
lea eax, [ebp + 0x84]
push eax
call fcn.01158fa9
push esi
push edi
push edi
push 0x116d13c
call fcn.01158fa9
push esi
call fcn.01158dcb
add esp, 0x24
xor eax, eax
push eax
push eax
push eax
lea ecx, [ebp + 0x84]
push ecx
push 0x116d140
push eax
call dword [0x116b19c]
mov ecx, dword [ebp + 0x29c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.011588f2
add ebp, 0x2a0
leave
ret
Function at 0x1153edb
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x2a0]
sub esp, 0x320
mov eax, dword [0x117104c]
xor eax, ebp
mov dword [ebp + 0x29c], eax
push ebx
push esi
push edi
mov esi, 0x116d0ec
lea edi, [ebp + 0x28c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov esi, 0x103
push esi
xor edi, edi
lea eax, [ebp + 0x189]
push edi
push eax
mov byte [ebp + 0x188], 0
call fcn.0115ba10
push esi
lea eax, [ebp + 0x85]
push edi
push eax
mov byte [ebp + 0x84], 0
call fcn.0115ba10
push esi
lea eax, [ebp - 0x7f]
push edi
push eax
mov byte [ebp - 0x80], 0
call fcn.0115ba10
add esp, 0x24
lea eax, [ebp + 0x84]
push eax
lea ebx, [esi + 1]
push ebx
call dword [0x116b040]
lea eax, [ebp + 0x28c]
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1153e5b
lea edi, [ebp + 0x84]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x1153e6b
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebx
lea eax, [ebp + 0x188]
push eax
and ecx, 3
push 0
rep movsb byte es:[edi], byte [esi]
call dword [0x116b044]
lea eax, [ebp + 0x188]
push eax
lea eax, [ebp - 0x80]
push ebx
push eax
call fcn.01159e13
lea eax, [ebp - 0x80]
push 0x5c
push eax
call fcn.011598b0
add esp, 0x14
test eax, eax
je 0x1153eb9
mov byte [eax], 0
lea eax, [ebp + 0x84]
push 0x116d0fc
push eax
call fcn.01159f3f
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x1153ffe
push esi
xor edi, edi
inc edi
push edi
push 9
push 0x116d100
call fcn.01158fa9
push esi
push edi
push 5
push 0x116d10c
call fcn.01158fa9
lea eax, [ebp + 0x188]
add esp, 0x20
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1153f01
push esi
sub eax, ecx
push edi
push eax
lea eax, [ebp + 0x188]
push eax
call fcn.01158fa9
push esi
push edi
push 2
mov ebx, 0x116d114
push ebx
call fcn.01158fa9
push esi
push edi
push 0xa
push 0x116d118
call fcn.01158fa9
lea eax, [ebp + 0x188]
add esp, 0x30
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1153f42
push esi
sub eax, ecx
push edi
push eax
lea eax, [ebp + 0x188]
push eax
call fcn.01158fa9
push esi
push edi
push 0xf
push 0x116d124
call fcn.01158fa9
push esi
push edi
push 7
push 0x116d134
call fcn.01158fa9
lea eax, [ebp - 0x80]
add esp, 0x30
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1153f7f
push esi
sub eax, ecx
push edi
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.01158fa9
push esi
push edi
push 3
push ebx
call fcn.01158fa9
push esi
push edi
push 5
push 0x116d10c
call fcn.01158fa9
lea eax, [ebp + 0x84]
add esp, 0x30
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1153fb8
push esi
sub eax, ecx
push edi
push eax
lea eax, [ebp + 0x84]
push eax
call fcn.01158fa9
push esi
push edi
push edi
push 0x116d13c
call fcn.01158fa9
push esi
call fcn.01158dcb
add esp, 0x24
xor eax, eax
push eax
push eax
push eax
lea ecx, [ebp + 0x84]
push ecx
push 0x116d140
push eax
call dword [0x116b19c]
mov ecx, dword [ebp + 0x29c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.011588f2
add ebp, 0x2a0
leave
ret