joyce8/EMBER2024-capa huggingface dataset:
Function at 0xdf0100
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x96f015
lea edi, [esi - 0x56e015]
lea eax, [edi + 0x9a98d0]
push dword [eax]
mov dword [eax], 0x533b9f9b
push eax
push edi
or ebp, 0xffffffff
jmp 0xdf0132
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xdf0139
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xdf0128
mov eax, 1
add ebx, ebx
jne 0xdf014b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xdf0140
jne 0xdf015c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xdf0140
xor ecx, ecx
sub eax, 3
jb 0xdf0170
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xdf01e2
mov ebp, eax
add ebx, ebx
jne 0xdf017b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0xdf0188
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0xdf01ac
inc ecx
add ebx, ebx
jne 0xdf0198
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xdf018d
jne 0xdf01a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xdf018d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xdf01cc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xdf01bd
jmp 0xdf012e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xdf01cc
add edi, ecx
jmp 0xdf012e
pop esi
pop edi
pop eax
mov dword [edi], eax
mov edi, esi
mov ecx, 0x561244
mov al, 0xe8
repne scasb al, byte es:[edi]
jne 0xdf020b
cmp byte [edi], 0x9d
jne 0xdf01f0
mov eax, dword [edi]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
add eax, esi
stosd dword es:[edi], eax
jmp 0xdf01ee
lea edi, [esi + 0x9de000]
mov eax, dword [edi]
or eax, eax
je 0xdf0253
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xa08180]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xa0844c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xdf0211
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xa08454]
or eax, eax
je 0xdf024d
mov dword [ebx], eax
add ebx, 4
jmp 0xdf022e
call dword [esi + 0xa08450]
mov ebp, dword [esi + 0xa08458]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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
lea ebx, [esi - 0x1000]
lea edi, [ebx + 0x9f02ae]
push edi
xor eax, eax
stosb byte es:[edi], al
pop ecx
dec ecx
push eax
push 1
push ebx
call ecx
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0xdf029f
sub esp, 0xffffff80
jmp 0x401480
Function at 0x43b626
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0x43b3c1
and ebx, eax
inc eax
call fcn.0043b661
and eax, ebx
xor dword [edi], esi
inc eax
sub eax, 0x7b19c5de
sub eax, 1
add edi, 1
add ebx, 0x3f9a6aa3
cmp edi, edx
jne fcn.0043b626
and eax, ebx
ret
Function at 0x401670
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x408c
call fcn.0040c310
mov eax, dword [0x41398c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x4018ab
mov eax, dword [esi]
test eax, eax
je 0x4018ab
cmp dword [eax], 0
je 0x4018ab
push edi
xor edi, edi
push ebx
lea ebx, [ebx]
push 0x40d3a4
lea eax, [ebp - 0x84]
push 0x40
push eax
call fcn.00405640
mov ecx, dword [esi]
mov edx, dword [edi + ecx]
push edx
lea eax, [ebp - 0x84]
push 0x40
push eax
call fcn.00405590
add esp, 0x18
push 0x1fff
lea ecx, [ebp - 0x4084]
push ecx
lea edx, [ebp - 0x84]
push edx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x401858
cmp eax, 0x1fff
jae 0x401865
mov eax, dword [esi]
mov eax, dword [edi + eax + 0xc]
test al, 2
je 0x40173a
mov edx, dword [esi + 0x20]
lea ecx, [ebp - 0x4084]
push ecx
push edx
call fcn.00401c10
mov ecx, dword [esi]
mov dword [edi + ecx + 0x10], eax
mov edx, dword [esi]
lea eax, [edi + edx + 0xc]
add esp, 8
or dword [eax], 0x1000
jmp 0x401865
test al, 1
je 0x401764
lea eax, [ebp - 0x4084]
push eax
call fcn.00408c30
mov ecx, dword [esi]
mov dword [edi + ecx + 0x14], eax
mov edx, dword [esi]
lea eax, [edi + edx + 0xc]
add esp, 4
or dword [eax], 0x1000
jmp 0x401865
test al, 0x10
je 0x401865
lea eax, [ebp - 0x4084]
push eax
mov dword [ebp - 0x4088], 0
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edx, dword [esi]
lea ecx, [eax + eax + 4]
mov dword [edi + edx + 0x14], ecx
mov eax, dword [esi]
mov ecx, dword [edi + eax + 0x14]
mov edx, dword [esi + 0x20]
push ecx
push edx
call fcn.00401b10
mov ecx, dword [esi]
mov dword [edi + ecx + 0x10], eax
add esp, 8
lea ecx, [ebp - 0x4084]
mov dword [ebp - 0x408c], ecx
cmp word [ebp - 0x4084], bx
je 0x401848
xor eax, eax
movzx ecx, word [ecx]
cmp cx, 0x27
jne 0x4017df
xor edx, edx
cmp dword [ebp - 0x4088], edx
sete dl
mov dword [ebp - 0x4088], edx
jmp 0x40182f
cmp cx, 0x22
jne 0x4017ff
mov edx, dword [esi]
xor ecx, ecx
test ebx, ebx
sete cl
mov ebx, ecx
mov ecx, dword [edi + edx + 0x10]
mov edx, 0x22
mov word [eax + ecx], dx
jmp 0x40182c
cmp cx, 0x23
je 0x40180b
cmp cx, 0x3b
jne 0x401822
cmp dword [ebp - 0x4088], 0
jne 0x401822
test ebx, ebx
jne 0x401822
mov ecx, dword [esi]
mov edx, dword [edi + ecx + 0x10]
xor ecx, ecx
jmp 0x401828
mov edx, dword [esi]
mov edx, dword [edi + edx + 0x10]
mov word [eax + edx], cx
add eax, 2
mov ecx, dword [ebp - 0x408c]
add ecx, 2
cmp word [ecx], 0
mov dword [ebp - 0x408c], ecx
jne 0x4017c3
mov eax, dword [esi]
or dword [edi + eax + 0xc], 0x3000
lea eax, [edi + eax + 0xc]
jmp 0x401865
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xcb
jne 0x401885
mov ecx, dword [esi]
add edi, 0x18
cmp dword [edi + ecx], 0
jne 0x4016b0
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040c2f4
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x84]
push edx
push str.Error_geting_environment_variable__S
push 0x11b
push str......_srccmdline.c
push 1
push 3
push 0
call fcn.00404a50
add esp, 0x1c
pop ebx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0040c2f4
mov esp, ebp
pop ebp
ret
Function at 0x401c50
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x401c60
cmp ebx, 0xffffffff
jne 0x401c66
mov ebx, dword [0x415a28]
mov eax, dword [ebx]
cmp eax, 0x1000000
je 0x401c93
push eax
push str.Parent_Handle_type_is_not_POOL__d
push 0x1de
push str......_srchandles.c
push 1
push 3
push 0
call fcn.00404a50
add esp, 0x1c
or eax, 0xffffffff
pop ebx
pop ebp
ret
mov eax, dword [ebx + 0x38]
push esi
push edi
mov edi, dword [ebp + 0x14]
lea esi, [edi + 0x77]
and esi, 0xfffffff0
push esi
push 8
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [eax], esi
mov dword [eax + 4], ebx
lea esi, [eax + 0x10]
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x24], ebx
test eax, eax
je 0x401cc2
mov dword [esi + 0x18], eax
jmp 0x401cc9
mov dword [esi + 0x18], 0x401a00
mov ecx, dword [ebp + 0xc]
test ecx, 0x2000000
je 0x401ce3
mov edx, dword [ebp + 0x10]
or dword [esi + 4], 0x2000020
mov dword [esi + 0x48], edx
jmp 0x401d1d
test ecx, 0x4000000
je 0x401cfa
mov eax, dword [ebp + 0x10]
or dword [esi + 4], 0x4000020
mov dword [esi + 0x48], eax
jmp 0x401d1d
test edi, edi
je 0x401d1d
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x401d1d
or dword [esi + 4], 0x20
push edi
push eax
lea ecx, [esi + 0x58]
push ecx
call fcn.00405440
mov ecx, dword [ebp + 0xc]
add esp, 0xc
mov dword [esi + 8], edi
test cl, 0x10
je 0x401d75
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
lea edx, [esi + 0x34]
push edx
push 0
push esi
push 0x401940
push 0
push 0
mov dword [esi + 0x2c], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x30], eax
test eax, eax
je 0x401d5b
cmp eax, 0xffffffff
je 0x401d5b
or dword [esi + 4], 0x10
jmp 0x401d75
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x401d75
cmp eax, 0xffffffff
je 0x401d75
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x2c], 0
push 0
lea eax, [esi + 0x1c]
push 1
lea edi, [ebx + 0x28]
push edi
mov dword [eax], 0
mov dword [esi + 0x20], eax
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
je 0x401db0
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
call dword [sym.imp.KERNEL32.dll_SwitchToThread]
push 0
push 1
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
jne 0x401d93
mov ecx, dword [ebx + 0x58]
lea eax, [ebx + 0x58]
lea edx, [esi + 0x3c]
mov dword [edx], ecx
test ecx, ecx
je 0x401dc6
mov ecx, dword [eax]
mov dword [ecx + 0x40], edx
jmp 0x401dc9
mov dword [eax + 4], edx
mov dword [eax], esi
push 0
mov dword [esi + 0x40], eax
inc dword [ebx + 8]
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret
Function at 0x401df0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x401f9c
cmp esi, 0xffffffff
je 0x401f9c
mov ebx, 0xdeadbeef
cmp dword [esi], ebx
je 0x401f9c
mov eax, dword [esi + 0x18]
push edi
push 0
push 0
push 0x10
push esi
call eax
mov edi, dword [esi + 0x1c]
add esp, 0x10
test edi, edi
je 0x401e7c
lea ecx, [ecx]
mov ecx, dword [edi]
push 0
push 0
push 0x10
push esi
call ecx
mov eax, dword [edi + 4]
add esp, 0x10
test eax, eax
je 0x401e4d
mov edx, dword [edi + 8]
mov dword [eax + 8], edx
jmp 0x401e53
mov eax, dword [edi + 8]
mov dword [esi + 0x20], eax
mov ecx, dword [edi + 8]
mov edx, dword [edi + 4]
lea eax, [edi - 0x10]
mov dword [ecx], edx
mov ecx, dword [eax + 4]
cmp ecx, ebx
je 0x401e75
push eax
mov dword [eax + 4], ebx
mov eax, dword [ecx + 0x38]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov edi, dword [edi + 4]
test edi, edi
jne 0x401e30
test byte [esi + 4], 0x10
mov dword [esi], ebx
je 0x401ee9
mov ecx, dword [esi + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov edx, dword [esi + 0x30]
push 0x3e8
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, eax
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x401ebb
cmp eax, 0xffffffff
je 0x401ebb
push eax
call ebx
mov dword [esi + 0x2c], 0
cmp edi, 0x102
jne 0x401ecf
mov eax, dword [esi + 0x30]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi + 0x30]
test eax, eax
je 0x401ee5
cmp eax, 0xffffffff
je 0x401ee5
push eax
call ebx
mov dword [esi + 0x30], 0
and dword [esi + 4], 0xffffffef
mov ebx, dword [esi + 0x24]
mov dword [ebp + 8], ebx
test ebx, ebx
je 0x401f92
cmp ebx, 0xffffffff
je 0x401f92
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
push 0
push 1
lea ecx, [ebx + 0x28]
push ecx
call edi
test eax, eax
je 0x401f3e
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea ebx, [ebx]
push 0xa
call ebx
call dword [sym.imp.KERNEL32.dll_SwitchToThread]
mov edx, dword [esi + 0x24]
push 0
push 1
add edx, 0x28
push edx
call edi
test eax, eax
jne 0x401f20
mov ebx, dword [ebp + 8]
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x401f4d
mov ecx, dword [esi + 0x40]
mov dword [eax + 0x40], ecx
jmp 0x401f53
mov edx, dword [esi + 0x40]
mov dword [ebx + 0x5c], edx
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x3c]
mov dword [eax], ecx
mov eax, dword [esi + 0x24]
dec dword [eax + 8]
mov edx, dword [esi + 0x24]
push 0
add edx, 0x28
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov ecx, dword [esi - 0xc]
lea eax, [esi - 0x10]
cmp ecx, 0xdeadbeef
je 0x401f92
push eax
mov dword [eax + 4], 0xdeadbeef
mov eax, dword [ecx + 0x38]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret
pop esi
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x402210
Capabilities:
Accept command line arguments
Get system information on windows

Disassembly:
push esi
push 0x415a04
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
call fcn.00408670
mov eax, dword [0x415a20]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push 1
push 0x2000
push eax
push 0
call esi
mov dword [0x415a30], eax
test eax, eax
je 0x402203
mov ecx, dword [0x415a20]
push 4
push 0x1000
push ecx
push eax
call esi
mov edx, dword [0x415a20]
push 0
push edx
push 0
mov dword [0x415a30], eax
call dword [sym.imp.KERNEL32.dll_HeapCreate]
push 0x70
mov esi, eax
push 8
push esi
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [0x415a28], eax
mov dword [eax + 0x38], esi
mov dword [eax], 0xdeadbeef
test esi, esi
je 0x402203
cmp esi, 0xffffffff
je 0x402203
lea ecx, [eax + 0x58]
mov dword [eax + 0x18], fcn.004020b0
lea edx, [ecx + 8]
mov dword [ecx], 0
mov dword [ecx + 4], ecx
mov dword [edx], 0
mov dword [ecx + 0xc], edx
push 0x415a38
mov dword [eax], 0x1000000
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [0x415a34], eax
mov eax, 1
pop esi
ret
xor eax, eax
pop esi
ret
mov eax, dword [0x415a2c]
mov ecx, eax
inc eax
mov dword [0x415a2c], eax
test ecx, ecx
je 0x402227
mov eax, 1
ret
jmp 0x402140
Function at 0x402900
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
add esi, 0x58
cmp dword [ebp + 0xc], 0x10
mov dword [ebp - 4], edi
jne 0x4029fb
cmp dword [0x415a50], edi
je 0x4029fb
cmp dword [esi + 0xc30], edi
je 0x4029fb
mov eax, dword [esi + 0xc34]
cmp eax, edi
je 0x402969
cmp eax, 0xffffffff
je 0x402969
lea ecx, [ebp - 4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x402969
cmp dword [ebp - 4], 0x103
jne 0x402969
mov edx, dword [esi + 0xc34]
push 5
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi + 0xc34]
cmp eax, edi
je 0x402985
cmp eax, 0xffffffff
je 0x402985
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0xc34], edi
mov eax, esi
call fcn.00402410
mov eax, dword [esi + 0xc2c]
cmp eax, edi
je 0x4029af
mov ecx, dword [esi + 0xc14]
cmp ecx, edi
je 0x4029af
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x58]
call eax
mov dword [esi + 0xc14], edi
mov eax, dword [esi + 0xc2c]
cmp eax, edi
je 0x4029d2
mov ecx, dword [esi + 0x604]
cmp ecx, edi
je 0x4029d2
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x58]
call eax
mov dword [esi + 0x604], edi
call fcn.00402480
cmp dword [esi + 0xc28], edi
jne 0x4029f5
mov eax, dword [0x415a4c]
cmp eax, edi
je 0x4029f5
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x415a4c], edi
mov dword [esi + 0xc30], edi
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x402b60
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [0x415a50]
push edi
xor edi, edi
cmp esi, edi
je 0x402bd7
mov eax, dword [esi]
mov ecx, dword [eax + 0x14]
push esi
mov dword [0x415a50], edi
call ecx
lea edx, [ebp - 4]
push edx
push edi
push esi
push 0x402b40
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
cmp esi, edi
je 0x402bbf
cmp esi, 0xffffffff
je 0x402bbf
mov eax, dword [ebp + 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x402bb0
lea edi, [eax + 1]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push edi
push 0x19f
push str......_srcjavajni.c
push 1
push 3
push edi
call fcn.00404a50
add esp, 0x18
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x402dd0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x35c
mov eax, dword [0x41398c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
push ebx
mov dword [ebp - 0x358], edi
mov esi, edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 0x100
jbe 0x402e78
xor eax, eax
test esi, esi
sete al
mov edi, 1
mov dword [ebp - 0x35c], eax
test esi, esi
je 0x402e21
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
inc edi
test ebx, ebx
je 0x402e2e
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add edi, eax
mov ecx, dword [ebp - 0x358]
push edi
push esi
push ecx
call fcn.00401b60
mov esi, eax
add esp, 0xc
test esi, esi
je 0x402f78
cmp dword [ebp - 0x35c], 0
je 0x402e55
mov byte [esi], 0
test ebx, ebx
je 0x402f78
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatA]
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040c2f4
mov esp, ebp
pop ebp
ret
push ebx
lea edx, [ebp - 0x214]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x10c]
push eax
mov byte [ebp - 0x10c], 0x3b
mov byte [ebp - 0x10b], 0
call ebx
push str..jar
lea ecx, [ebp - 0x214]
push ecx
call ebx
lea edx, [ebp - 0x10c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [ebp - 0x10c]
dec ecx
lea edx, [ebp - 0x354]
mov byte [eax + ecx], 0
push edx
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
mov eax, esi
cmp ebx, 0xffffffff
je 0x402f7a
lea ecx, [ebp - 0x328]
push ecx
lea edx, [ebp - 0x10b]
push edx
push edi
call fcn.00402d40
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x402f22
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040c2f4
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x354]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x402f71
jmp 0x402f40
lea ecx, [ebp - 0x328]
push ecx
lea edx, [ebp - 0x10c]
push edx
push edi
mov eax, esi
call fcn.00402d40
mov esi, eax
add esp, 0xc
test esi, esi
je 0x402f71
lea eax, [ebp - 0x354]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x402f40
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040c2f4
mov esp, ebp
pop ebp
ret
Function at 0x404560
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebx]
add esi, 0x58
je 0x404642
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push 0
push 0
mov dword [esi + 0xc3c], 0
call edi
push 0
push 0
push 0
push 0
mov dword [esi + 0xc48], eax
call edi
mov ecx, dword [esi + 0xc40]
mov dword [esi + 0xc44], eax
lea eax, [esi + 0xc38]
push eax
push 4
push ebx
push 0x404320
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0xc34], eax
pop edi
test eax, eax
je 0x404628
cmp eax, 0xffffffff
je 0x404628
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov edx, dword [esi + 0xc48]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [esi + 0xc3c], 0
je 0x404642
mov eax, dword [esi + 0xc44]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
push str.java_lang_System
add esi, 0x614
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x40461f
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
pop esi
mov eax, 1
pop ebx
pop ebp
ret
push 0
push 0x3dd
push str......_srcjavajni.c
push 1
push 3
push 0
call fcn.00404a50
add esp, 0x18
pop esi
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x404820
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4018
call fcn.0040c310
mov eax, dword [0x41398c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
lea ecx, [ebp - 0x4018]
push ecx
mov dword [ebp - 0x4008], eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
test edi, edi
jne 0x40489f
push 0x104
lea edx, [ebp - 0x2004]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x404887
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040c2f4
mov esp, ebp
pop ebp
ret
push str.LogFilesApache
lea eax, [ebp - 0x2004]
push 0x104
push eax
call fcn.00405590
jmp 0x4048b1
push edi
lea ecx, [ebp - 0x2004]
push 0x104
push ecx
call fcn.00405640
add esp, 0xc
test esi, esi
jne 0x4048bd
mov esi, 0x40d3ec
test ebx, ebx
jne 0x4048c6
mov ebx, 0x40d3ec
cmp dword [ebp + 0x18], 0
je 0x404942
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x404911
cmp eax, 0x15180
jae 0x404911
movzx edx, word [ebp - 0x4012]
movzx eax, word [ebp - 0x4016]
movzx ecx, word [ebp - 0x4018]
push 0
push 0
push 0
push edx
push eax
push ecx
push ebx
push esi
lea edx, [ebp - 0x4004]
push str._s_s._04d__02d__02d._02d_02d_02d.log
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x28
jmp 0x404959
movzx eax, word [ebp - 0x4012]
movzx ecx, word [ebp - 0x4016]
movzx edx, word [ebp - 0x4018]
push eax
push ecx
push edx
push ebx
push esi
lea eax, [ebp - 0x4004]
push str._s_s._04d__02d__02d.log
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x1c
jmp 0x404959
push ebx
push esi
lea ecx, [ebp - 0x4004]
push str._s_s
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
mov edx, dword [ebp - 0x4008]
push 0x2000
push edx
call fcn.00401ac0
add esp, 8
mov esi, eax
push 0
lea eax, [ebp - 0x2004]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea ecx, [ebp - 0x2004]
push ecx
push 0xfff
push esi
call fcn.00405640
lea edx, [ebp - 0x4004]
push edx
push 0xfff
push esi
call fcn.00405590
mov ecx, dword [ebp - 4]
add esp, 0x18
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040c2f4
mov esp, ebp
pop ebp
ret
Function at 0x405780
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
lea eax, [ebp - 4]
push eax
push 0
lea ecx, [ebp - 8]
push ecx
push 0
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4057e9
cmp dword [ebp - 8], 1
jne 0x4057e9
mov edx, dword [ebp - 4]
mov ecx, dword [ebp + 8]
push esi
lea eax, [edx + edx]
push eax
push ecx
call fcn.00401ac0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4057cd
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 4]
push edx
push esi
lea eax, [ebp - 8]
push eax
push 0
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, esi
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x405800
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
lea eax, [ebp - 4]
push eax
push 0
lea ecx, [ebp - 8]
push ecx
push 0
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x405870
mov eax, dword [ebp - 4]
test eax, eax
je 0x405870
mov edx, dword [ebp + 8]
push esi
push eax
push edx
call fcn.00401ac0
mov esi, eax
add esp, 8
test esi, esi
jne 0x405848
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 4]
push eax
push esi
lea ecx, [ebp - 8]
push ecx
push 0
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x405867
mov edx, dword [ebp - 4]
mov dword [eax], edx
mov eax, esi
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret