joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409790
Capabilities:
Access peb ldr_data
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x483a80
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebp
push 1
push 0x48bf00
lea ecx, [esp + 0x40]
mov dword [esp + 0x38], 0
call fcn.00401db0
push 0x48befc
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0xc]
push ecx
call fcn.00407070
add esp, 0xc
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 1
call fcn.004580f8
mov ebp, dword [esp + 4]
push 0
push ebp
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 2
call fcn.00458170
test eax, eax
je 0x4098a2
push esi
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push edi
jmp 0x409810
lea ecx, [esp + 0x18]
call fcn.00457fef
mov edx, dword [esp + 0x18]
push 0x10
lea ecx, [esp + 0x1c]
mov edi, eax
call dword [edx + 0x38]
test eax, eax
jne 0x409898
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
call fcn.00458398
push eax
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x18]
push edx
mov byte [esp + 0x44], 3
call fcn.00406fc0
mov eax, dword [eax]
add esp, 0xc
push eax
call esi
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409875
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x38], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409898
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test edi, edi
jne 0x409810
pop edi
pop esi
lea ecx, [esp + 0x10]
call fcn.00457f1f
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 1
call fcn.0045811c
lea eax, [ebp - 0x10]
mov byte [esp + 0x30], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop ebp
jg 0x4098d9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov dword [esp + 0x2c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4098ff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret 4
Function at 0x40b680
Capabilities:
Create thread

Disassembly:
sub esp, 0x34
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 0x78]
xor ebp, ebp
cmp eax, ebp
jne 0x40b7cc
push edi
lea edi, [esi + 0x90]
push edi
push 0x40f
call fcn.00476c6a
mov eax, dword [edi]
cmp dword [eax - 0xc], ebp
jg 0x40b6c0
push ebp
push ebp
push 0x48c0b4
call fcn.0047bc66
pop edi
pop esi
pop ebp
add esp, 0x34
ret
push 1
mov ecx, esi
call fcn.00474603
lea ecx, [esi + 0x454]
call fcn.00477015
mov eax, dword [esi + 0x3dc]
cmp eax, ebp
jne 0x40b735
mov edx, dword [esi + 0x470]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esp + 0xc]
push ecx
push ebp
push 0x1100
push edx
mov dword [esp + 0x24], 0x27
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x34], 0x48c0a8
mov dword [esp + 0x48], 0xffffffff
call edi
push eax
push 9
mov dword [esi + 0x3dc], eax
mov eax, dword [esi + 0x470]
push 0x110b
push eax
call edi
jmp 0x40b79d
mov ecx, dword [esi + 0x470]
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push eax
push 9
push 0x110b
push ecx
call ebx
mov eax, dword [esi + 0x3dc]
mov edx, dword [esi + 0x470]
push eax
push 4
push 0x110a
push edx
call ebx
mov edi, eax
cmp edi, ebp
je 0x40b79c
lea ebx, [ebx]
mov eax, dword [esi + 0x470]
push edi
push 1
push 0x110a
push eax
mov ebp, edi
call ebx
mov ecx, dword [esi + 0x470]
push ebp
push 0
push 0x1101
push ecx
mov edi, eax
call ebx
test edi, edi
jne 0x40b770
xor ebp, ebp
pop ebx
cmp dword [esi + 0x98], ebp
jne 0x40b7af
mov dword [esi + 0x98], 1
push ebp
push ebp
push esi
push 0x40ace0
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
mov dword [esi + 0x80], eax
pop esi
pop ebp
add esp, 0x34
ret
push ebp
push ebp
push 0x48c080
call fcn.0047bc66
pop esi
pop ebp
add esp, 0x34
ret

Function at 0x40c940
Capabilities:
Create thread

Disassembly:
push esi
push 0
push 0
mov esi, ecx
push esi
push 0x40bbb0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x88], eax
pop esi
ret
Function at 0x40cd40
Capabilities:
Encode data using xor
Encrypt data using des

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
push esi
push edi
mov ebp, ecx
xor eax, eax
lea esp, [esp]
movsx ecx, byte [eax + 0x48c308]
mov dl, byte [ecx + ebx - 1]
movsx ecx, byte [eax + 0x48c309]
mov byte [eax + 0x4abdd8], dl
mov dl, byte [ecx + ebx - 1]
movsx ecx, byte [eax + 0x48c30a]
mov byte [eax + 0x4abdd9], dl
mov dl, byte [ecx + ebx - 1]
movsx ecx, byte [eax + 0x48c30b]
mov byte [eax + 0x4abdda], dl
mov dl, byte [ecx + ebx - 1]
movsx ecx, byte [eax + 0x48c30c]
mov byte [eax + 0x4abddb], dl
mov dl, byte [ecx + ebx - 1]
movsx ecx, byte [eax + 0x48c30d]
mov byte [eax + 0x4abddc], dl
mov dl, byte [ecx + ebx - 1]
mov byte [eax + 0x4abddd], dl
add eax, 6
cmp eax, 0x30
jb 0x40cd50
mov ecx, 0xc
mov esi, 0x4abdd8
mov edi, 0x4abf98
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x18]
mov edi, esi
xor eax, eax
sub edi, 0x4abf98
lea ecx, [ecx]
mov cl, byte [edi + eax + 0x4abf98]
mov dl, byte [eax + 0x4abf98]
xor dl, cl
mov cl, byte [eax + 0x4abf99]
mov byte [eax + 0x4abf98], dl
mov dl, byte [esi + eax + 1]
xor cl, dl
mov dl, byte [eax + 0x4abf9a]
mov byte [eax + 0x4abf99], cl
mov cl, byte [esi + eax + 2]
xor dl, cl
mov cl, byte [eax + 0x4abf9b]
mov byte [eax + 0x4abf9a], dl
mov dl, byte [esi + eax + 3]
xor cl, dl
mov dl, byte [eax + 0x4abf9c]
mov byte [eax + 0x4abf9b], cl
mov cl, byte [esi + eax + 4]
xor dl, cl
mov cl, byte [eax + 0x4abf9d]
mov byte [eax + 0x4abf9c], dl
mov dl, byte [esi + eax + 5]
xor cl, dl
mov byte [eax + 0x4abf9d], cl
add eax, 6
cmp eax, 0x30
jl 0x40cde0
push 0x4abf98
push ebx
mov ecx, ebp
call fcn.0040ca10
xor eax, eax
jmp 0x40ce70
movsx ecx, byte [eax + 0x48c338]
mov dl, byte [ecx + ebx - 1]
movsx ecx, byte [eax + 0x48c339]
mov byte [eax + 0x4abdd8], dl
mov dl, byte [ecx + ebx - 1]
movsx ecx, byte [eax + 0x48c33a]
mov byte [eax + 0x4abdd9], dl
mov dl, byte [ecx + ebx - 1]
movsx ecx, byte [eax + 0x48c33b]
mov byte [eax + 0x4abdda], dl
mov dl, byte [ecx + ebx - 1]
mov byte [eax + 0x4abddb], dl
add eax, 4
cmp eax, 0x20
jb 0x40ce70
mov edi, ebx
mov ecx, 8
mov esi, 0x4abdd8
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebp
pop ebx
ret 8
Function at 0x40d502
Capabilities:
Terminate thread

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [esi + 0x820]
mov eax, 1
push edi
xor edi, edi
cmp ecx, eax
mov dword [esi + 0x98], eax
jne 0x40d534
mov eax, dword [esi + 0x56c]
push edi
push edi
push 0x12
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov dword [esi + 0x820], edi
mov eax, dword [esi + 0x7c]
test eax, eax
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
je 0x40d555
cmp edi, 3
jge 0x40d555
push 0x3e8
call ebx
mov eax, dword [esi + 0x7c]
inc edi
test eax, eax
jne 0x40d541
mov eax, dword [esi + 0x7c]
test eax, eax
mov ebp, dword [sym.imp.KERNEL32.dll_TerminateThread]
je 0x40d571
push 0
push eax
call ebp
mov ecx, dword [esi + 0x7c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 0x88]
xor edi, edi
test eax, eax
je 0x40d597
lea ecx, [ecx]
cmp edi, 3
jge 0x40d597
push 0x3e8
call ebx
mov eax, dword [esi + 0x88]
inc edi
test eax, eax
jne 0x40d580
mov eax, dword [esi + 0x88]
test eax, eax
je 0x40d5b3
push 0
push eax
call ebp
mov edx, dword [esi + 0x88]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 0x8c]
xor edi, edi
test eax, eax
je 0x40d5d7
nop
cmp edi, 3
jge 0x40d5d7
push 0x3e8
call ebx
mov eax, dword [esi + 0x8c]
inc edi
test eax, eax
jne 0x40d5c0
mov eax, dword [esi + 0x8c]
test eax, eax
je 0x40d5f3
push 0
push eax
call ebp
mov eax, dword [esi + 0x8c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 0x90]
xor edi, edi
test eax, eax
je 0x40d617
nop
cmp edi, 3
jge 0x40d617
push 0x3e8
call ebx
mov eax, dword [esi + 0x90]
inc edi
test eax, eax
jne 0x40d600
mov eax, dword [esi + 0x90]
test eax, eax
je 0x40d633
push 0
push eax
call ebp
mov ecx, dword [esi + 0x90]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 0x94]
xor edi, edi
test eax, eax
je 0x40d657
nop
cmp edi, 3
jge 0x40d657
push 0x3e8
call ebx
mov eax, dword [esi + 0x94]
inc edi
test eax, eax
jne 0x40d640
mov eax, dword [esi + 0x94]
test eax, eax
je 0x40d673
push 0
push eax
call ebp
mov edx, dword [esi + 0x94]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi]
pop edi
mov ecx, esi
pop esi
pop ebp
pop ebx
jmp dword [eax + 0x150]
Function at 0x40ee50
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x483f28
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push 0
push 9
mov esi, ecx
mov eax, dword [esi + 0x4ac]
push 0x110a
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x40efef
push edi
push eax
lea ecx, [esi + 0x490]
call fcn.00471345
mov edi, eax
mov eax, dword [esi + 0x81c]
test eax, eax
mov dword [esi + 0xa4], 0
jne 0x40eedf
push 0
push 0
push esi
push 0x40e4c0
push 0
push 0
mov dword [esi + 0x81c], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
mov dword [esi + 0x88], eax
pop esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
mov eax, dword [esi + 0x3d8]
cmp eax, 0xffffffff
je 0x40ef44
cmp eax, edi
jne 0x40ef44
mov eax, dword [esi + 0x818]
test eax, eax
jne 0x40efee
mov ecx, dword [esi + 0xa8]
push ecx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push 0
push 0
push esi
push 0x40ed40
push 0
push 0
mov dword [esi + 0x818], 1
mov dword [esi + 0x3d4], edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
mov dword [esi + 0x84], eax
pop esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
call fcn.00477b74
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 8], eax
push edi
lea eax, [esp + 0xc]
push str.InfoDmData_d.jpg
push eax
mov dword [esp + 0x20], 0
call fcn.00406fa0
add esp, 0xc
lea edx, [esp + 8]
lea ecx, [esi + 0x6c0]
push edx
call fcn.00401e70
mov eax, dword [esi + 0x820]
test eax, eax
mov dword [esi + 0x6bc], edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateThread]
jne 0x40efb8
push 0
push 0
push esi
push 0x40d3c0
push 0
push 0
mov dword [esi + 0x820], 1
mov dword [esi + 0x6b0], esi
call edi
push 0
push 0
push esi
push 0x40d690
push 0
push 0
call edi
mov eax, dword [esp + 8]
add eax, 0xfffffff0
mov dword [esp + 0x14], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40efee
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
pop edi
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x411d10
Capabilities:
Access peb ldr_data
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x484250
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebp
push 1
push 0x48bf00
lea ecx, [esp + 0x40]
mov dword [esp + 0x38], 0
call fcn.00401db0
push 0x48befc
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0xc]
push ecx
call fcn.00407070
add esp, 0xc
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 1
call fcn.004580f8
mov ebp, dword [esp + 4]
push 0
push ebp
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 2
call fcn.00458170
test eax, eax
je 0x411e22
push esi
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push edi
jmp 0x411d90
lea ecx, [esp + 0x18]
call fcn.00457fef
mov edx, dword [esp + 0x18]
push 0x10
lea ecx, [esp + 0x1c]
mov edi, eax
call dword [edx + 0x38]
test eax, eax
jne 0x411e18
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
call fcn.00458398
push eax
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x18]
push edx
mov byte [esp + 0x44], 3
call fcn.00406fc0
mov eax, dword [eax]
add esp, 0xc
push eax
call esi
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411df5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x38], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411e18
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test edi, edi
jne 0x411d90
pop edi
pop esi
lea ecx, [esp + 0x10]
call fcn.00457f1f
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 1
call fcn.0045811c
lea eax, [ebp - 0x10]
mov byte [esp + 0x30], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop ebp
jg 0x411e59
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov dword [esp + 0x2c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411e7f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret 4

Function at 0x4141a0
Capabilities:
Create thread

Disassembly:
push esi
push 0
push 0
mov esi, ecx
push esi
push 0x413410
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x94], eax
pop esi
ret
Function at 0x416330
Capabilities:
Get file size

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
push 0
push 0x80
push 3
push 0
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x416374
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41636c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
pop edi
or eax, 0xffffffff
pop esi
ret 4
push ebx
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4163a1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, ebx
pop ebx
pop edi
pop esi
ret 4
Function at 0x41f000
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x4847d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
push edi
push 5
push 0x43c
mov esi, ecx
call fcn.00476dee
mov ecx, eax
call fcn.00476fb8
push 0
push 4
mov ecx, esi
mov dword [0x4ac2b8], 0
mov dword [0x4ac2bc], 0
call fcn.00476dee
mov ecx, eax
call fcn.00476ff4
push 0
push 5
mov ecx, esi
call fcn.00476dee
mov ecx, eax
call fcn.00476ff4
call fcn.00477b74
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea ebp, [eax + 0x10]
mov dword [esp + 0xc], ebp
mov eax, dword [esi + 0xc90]
mov edx, dword [0x4ac294]
test edx, edx
mov dword [0x4ac2b4], eax
mov ecx, dword [esi + 0x594]
mov dword [esp + 0x18], 0
je 0x41f0b8
test ecx, ecx
jne 0x41f0ed
push 0x48d890
lea ecx, [esi + 0x308]
call fcn.00405900
mov eax, dword [0x4ac2b4]
push eax
jmp 0x41f0d3
test ecx, ecx
je 0x41f0ed
push 0x48d890
lea ecx, [esi + 0x308]
call fcn.00405900
mov ecx, dword [0x4ac2b4]
push ecx
lea edi, [esi + 0x294]
mov ecx, edi
push 0
call fcn.0042fc80
mov ecx, edi
push 0
call fcn.0042fcc0
jmp 0x41f10f
push eax
lea edi, [esi + 0xb1c]
mov ecx, edi
push 0
call fcn.0042fc80
mov ecx, edi
push 0
call fcn.0042fcc0
mov ecx, edi
push 5
call fcn.00476fb8
push 0
push 0
push esi
push 0x41ec30
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [esi + 0x1c]
push 0
push 0x3e8
push 6
push edx
call dword [sym.imp.USER32.dll_SetTimer]
lea eax, [ebp - 0x10]
mov dword [esp + 0x18], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop edi
pop esi
pop ebp
jg 0x41f15b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x41f170
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x485231
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x114
mov eax, dword [0x4aadb8]
push esi
mov dword [esp + 0x114], eax
push 0x103
lea eax, [esp + 0x14]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 8]
call fcn.00402080
mov edx, dword [esp + 4]
push 0x5c
push edx
mov dword [esp + 0x128], 0
call fcn.0045f824
add esp, 8
test eax, eax
jne 0x41f1db
or esi, 0xffffffff
jmp 0x41f1e1
sub eax, dword [esp + 4]
mov esi, eax
push 0x48aa80
lea ecx, [esp + 0xc]
call fcn.00402080
push esi
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x128], 1
call fcn.00403300
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x124], 2
call fcn.00401e70
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov byte [esp + 0x120], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop esi
jg 0x41f23f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push 0x14
push str.IvanBuildclean.bat
lea ecx, [esp + 0xc]
call fcn.00401db0
mov eax, dword [esp + 4]
push 0
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov eax, dword [esp + 4]
add eax, 0xfffffff0
mov byte [esp + 0x11c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f28d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp]
add eax, 0xfffffff0
mov dword [esp + 0x11c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f2b5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x114]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x110]
call fcn.0045f776
add esp, 0x120
ret
Function at 0x42fa20
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x485ed3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.0047a2c0
xor ecx, ecx
lea ebp, [esi + 0x10]
mov dword [esi], method.CDC.virtual_0
mov dword [esp + 0x24], ecx
mov dword [ebp + 4], ecx
mov dword [ebp], vtable.CBitmap.0
mov ebx, dword [esp + 0x2c]
xor eax, eax
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x18], ecx
cmp dword [ebx + 0xc], ecx
sete al
mov byte [esp + 0x24], 1
cmp eax, ecx
mov dword [esi + 0x30], eax
je 0x42fae7
mov eax, dword [ebx]
lea edi, [esi + 0x20]
push edi
mov ecx, ebx
call dword [eax + 0x50]
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov ecx, esi
call fcn.0047a7a8
mov ecx, dword [edi + 4]
mov eax, dword [edi + 0xc]
mov edx, dword [edi]
sub eax, ecx
mov ecx, dword [edi + 8]
sub ecx, edx
push eax
push ecx
mov ecx, dword [ebx + 4]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, ebp
call fcn.0047aaa5
test ebp, ebp
je 0x42fac5
mov ebp, dword [ebp + 4]
mov edx, dword [esi + 4]
push ebp
push edx
call fcn.0047ab2e
mov ecx, dword [edi]
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x24]
push eax
push ecx
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
call fcn.0047a410
jmp 0x42faf9
mov eax, dword [ebx + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [ebx + 4]
mov dword [esi + 4], ecx
mov edx, dword [ebx + 8]
mov dword [esi + 8], edx
mov ecx, dword [esp + 0x1c]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 4
Function at 0x430c80
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x486028
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
mov ebx, ecx
mov eax, dword [ebx + 0x78]
test eax, eax
jne 0x430d80
push esi
call fcn.00477b74
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 8], esi
mov eax, dword [esi - 4]
mov ecx, 1
sub ecx, eax
mov eax, dword [esi - 8]
sub eax, 0x104
or eax, ecx
mov dword [esp + 0x14], 0
jge 0x430ce8
push 0x104
lea ecx, [esp + 0xc]
call fcn.004016e0
mov esi, dword [esp + 8]
push 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test esi, esi
jne 0x430cfc
xor eax, eax
jmp 0x430d10
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x430d01
sub eax, edx
js 0x430d90
cmp eax, dword [esi - 8]
jg 0x430d90
push edi
push 0xd
mov dword [esi - 0xc], eax
push str.winhlp32.exe
lea ecx, [esp + 0x14]
mov byte [eax + esi], 0
call fcn.00401db0
mov edi, dword [esp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x430d55
push 0x6a
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
test eax, eax
je 0x430d55
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [ebx + 0x78], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [edi - 0x10]
mov dword [esp + 0x18], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop edi
jg 0x430d7f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
pop esi
mov ecx, dword [esp + 8]
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
push 0x80070057
call fcn.00401110
int3

Function at 0x430f48
Capabilities:
Terminate thread

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 0x7c]
push edi
xor edi, edi
test eax, eax
mov dword [esi + 0x88], 1
je 0x430f74
nop
cmp edi, 3
jge 0x430f74
push 0x3e8
call ebx
mov eax, dword [esi + 0x7c]
inc edi
test eax, eax
jne 0x430f60
mov eax, dword [esi + 0x7c]
test eax, eax
mov ebp, dword [sym.imp.KERNEL32.dll_TerminateThread]
je 0x430f90
push 0
push eax
call ebp
mov eax, dword [esi + 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 0x80]
xor edi, edi
test eax, eax
je 0x430fb7
lea esp, [esp]
cmp edi, 3
jge 0x430fb7
push 0x3e8
call ebx
mov eax, dword [esi + 0x80]
inc edi
test eax, eax
jne 0x430fa0
mov eax, dword [esi + 0x80]
test eax, eax
je 0x430fd3
push 0
push eax
call ebp
mov ecx, dword [esi + 0x80]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 0x84]
xor edi, edi
test eax, eax
je 0x430ff7
nop
cmp edi, 3
jge 0x430ff7
push 0x3e8
call ebx
mov eax, dword [esi + 0x84]
inc edi
test eax, eax
jne 0x430fe0
mov eax, dword [esi + 0x84]
test eax, eax
je 0x431013
push 0
push eax
call ebp
mov edx, dword [esi + 0x84]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi]
pop edi
mov ecx, esi
pop esi
pop ebp
pop ebx
jmp dword [eax + 0x150]