joyce8/EMBER2024-capa huggingface dataset:
Function at 0x101dab60
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
push ebx
push esi
push edi
mov dword [ebp - 0x50], 0
mov ecx, 0x103cb925
call fcn.1010f422
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x5c], ecx
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x70], ecx
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x6c], edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x64], ecx
mov edx, dword [ebp - 0x64]
add edx, 4
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x64]
cmp dword [eax + 0x18], 0x10
jb 0x101dabc2
mov dword [ebp - 0x74], 1
jmp 0x101dabc9
mov dword [ebp - 0x74], 0
movzx ecx, byte [ebp - 0x74]
test ecx, ecx
je 0x101dabda
mov edx, dword [ebp - 0x64]
mov eax, dword [edx + 4]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 8], 0x811c9dc5
mov dword [ebp - 0xc], 0
jmp 0x101dabf9
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x70]
jae 0x101dac18
mov ecx, dword [ebp - 0x6c]
add ecx, dword [ebp - 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp - 8]
imul eax, edx, 0x1000193
mov dword [ebp - 8], eax
jmp 0x101dabf0
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.101dac80
add esp, 0xc
mov ecx, dword [ebp - 0x50]
or ecx, 1
mov dword [ebp - 0x50], ecx
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10207720
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
push ebx
push esi
push edi
mov dword [ebp - 0x50], 0
mov ecx, 0x103cbdf3
call fcn.1010f422
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x5c], ecx
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x70], ecx
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x6c], edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x64], ecx
mov edx, dword [ebp - 0x64]
add edx, 4
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x64]
cmp dword [eax + 0x18], 0x10
jb 0x10207782
mov dword [ebp - 0x74], 1
jmp 0x10207789
mov dword [ebp - 0x74], 0
movzx ecx, byte [ebp - 0x74]
test ecx, ecx
je 0x1020779a
mov edx, dword [ebp - 0x64]
mov eax, dword [edx + 4]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 8], 0x811c9dc5
mov dword [ebp - 0xc], 0
jmp 0x102077b9
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x70]
jae 0x102077d8
mov ecx, dword [ebp - 0x6c]
add ecx, dword [ebp - 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp - 8]
imul eax, edx, 0x1000193
mov dword [ebp - 8], eax
jmp 0x102077b0
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.10207840
add esp, 0xc
mov ecx, dword [ebp - 0x50]
or ecx, 1
mov dword [ebp - 0x50], ecx
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1029a3d0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
push ebx
push esi
push edi
mov dword [ebp - 0x50], 0
mov ecx, 0x103cc929
call fcn.1010f422
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x5c], ecx
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x70], ecx
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x6c], edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x64], ecx
mov edx, dword [ebp - 0x64]
add edx, 4
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x64]
cmp dword [eax + 0x18], 0x10
jb 0x1029a432
mov dword [ebp - 0x74], 1
jmp 0x1029a439
mov dword [ebp - 0x74], 0
movzx ecx, byte [ebp - 0x74]
test ecx, ecx
je 0x1029a44a
mov edx, dword [ebp - 0x64]
mov eax, dword [edx + 4]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 8], 0x811c9dc5
mov dword [ebp - 0xc], 0
jmp 0x1029a469
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x70]
jae 0x1029a488
mov ecx, dword [ebp - 0x6c]
add ecx, dword [ebp - 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp - 8]
imul eax, edx, 0x1000193
mov dword [ebp - 8], eax
jmp 0x1029a460
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.1029a4f0
add esp, 0xc
mov ecx, dword [ebp - 0x50]
or ecx, 1
mov dword [ebp - 0x50], ecx
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1030f920
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
push edi
lea edi, [ebp - 0x30]
mov ecx, 0xc
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x1037d3d4]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
push 4
call fcn.1010f940
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x1030fa9c
mov dword [ebp - 0x28], 0x1c
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.1010f256
test eax, eax
je 0x1030fa89
cmp dword [ebp - 0x28], 0x10
jb 0x1030fa6d
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp esi, esp
call fcn.1010f4f9
cmp dword [ebp - 0x1c], eax
jne 0x1030fa6d
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp esi, esp
call fcn.1010f4f9
cmp dword [ebp - 0x20], eax
je 0x1030fa6d
mov edx, dword [ebp + 8]
cmp dword [edx], 0
jne 0x1030f9f4
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0x80
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
shl edx, 2
mov esi, esp
push edx
push 0
mov eax, dword [0x103c63d8]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
cmp esi, esp
call fcn.1010f4f9
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov edx, dword [ebp + 8]
cmp dword [edx], 0
jne 0x1030f9f2
jmp 0x1030fa89
jmp 0x1030fa4d
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 8]
cmp edx, dword [ecx + 4]
jb 0x1030fa4d
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
shl ecx, 1
shl ecx, 2
mov esi, esp
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
push 0
mov ecx, dword [0x103c63d8]
push ecx
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
cmp esi, esp
call fcn.1010f4f9
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x1030fa37
jmp 0x1030fa89
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
shl eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x30]
mov dword [edx], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x20]
mov dword [ecx + edx*4], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 8], edx
mov dword [ebp - 0x28], 0x1c
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.1011035e
test eax, eax
jne 0x1030f973
mov esi, esp
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.1010f4f9
push edx
mov ecx, ebp
push eax
lea edx, [0x1030fac8]
call fcn.1010f710
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1010f0b2
add esp, 0x30
cmp ebp, esp
call fcn.1010f4f9
mov esp, ebp
pop ebp
ret
Function at 0x1030fae0
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], 0
mov edx, dword [ebp + 8]
mov dword [edx + 8], 0
mov eax, dword [ebp + 8]
push eax
call fcn.1030f920
add esp, 4
mov ecx, dword [ebp + 8]
cmp dword [ecx], 0
je 0x1030fbab
mov dword [ebp - 4], 0
jmp 0x1030fb3c
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
cmp ecx, dword [eax + 8]
jae 0x1030fbab
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov esi, esp
mov ecx, dword [ebp - 4]
mov edx, dword [eax + ecx*4]
push edx
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
cmp esi, esp
call fcn.1010f4f9
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1030fba9
mov esi, esp
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp esi, esp
call fcn.1010f4f9
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.1030f740
add esp, 0xc
mov esi, esp
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.1010f4f9
jmp 0x1030fb33
pop esi
add esp, 8
cmp ebp, esp
call fcn.1010f4f9
mov esp, ebp
pop ebp
ret

Function at 0x1030fbc0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov eax, dword [ebp + 8]
cmp dword [eax], 0
je 0x1030fc6b
mov dword [ebp - 4], 0
jmp 0x1030fbf3
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
cmp eax, dword [edx + 8]
jae 0x1030fc4e
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov esi, esp
mov eax, dword [ebp - 4]
mov ecx, dword [edx + eax*4]
push ecx
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
cmp esi, esp
call fcn.1010f4f9
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1030fc4c
mov esi, esp
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp esi, esp
call fcn.1010f4f9
mov esi, esp
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.1010f4f9
jmp 0x1030fbea
mov esi, esp
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
push 0
mov eax, dword [0x103c63d8]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp esi, esp
call fcn.1010f4f9
pop esi
add esp, 8
cmp ebp, esp
call fcn.1010f4f9
mov esp, ebp
pop ebp
ret
Function at 0x1030fc80
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
mov eax, 0xcccccccc
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
imul eax, dword [ebp + 8], 0x2c
add eax, dword [0x103c6420]
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], 5
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 4]
mov cl, byte [eax + 0x14]
and cl, 1
movzx edx, cl
test edx, edx
je 0x1030fce3
mov eax, dword [ebp - 0x18]
sub eax, 5
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x14]
add ecx, 2
mov dword [ebp - 0x14], ecx
mov esi, esp
lea edx, [ebp - 0xc]
push edx
push 0x40
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp esi, esp
call fcn.1010f4f9
test eax, eax
jne 0x1030fd0e
mov eax, 0xa
jmp 0x1030fe10
cmp dword [ebp + 0xc], 0
je 0x1030fd5a
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
mov byte [eax], 0xe9
mov ecx, dword [ebp - 0x18]
add ecx, 5
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
sub eax, ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 1], eax
mov edx, dword [ebp - 4]
mov al, byte [edx + 0x14]
and al, 1
movzx ecx, al
test ecx, ecx
je 0x1030fd58
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov byte [ecx], 0xeb
mov edx, dword [ebp - 0x20]
mov byte [edx + 1], 0xf9
jmp 0x1030fd96
mov eax, dword [ebp - 4]
mov cl, byte [eax + 0x14]
and cl, 1
movzx edx, cl
test edx, edx
je 0x1030fd81
push 7
mov eax, dword [ebp - 4]
add eax, 0xc
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.1010fa44
add esp, 0xc
jmp 0x1030fd96
push 5
mov edx, dword [ebp - 4]
add edx, 0xc
push edx
mov eax, dword [ebp - 0x18]
push eax
call fcn.1010fa44
add esp, 0xc
mov esi, esp
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp esi, esp
call fcn.1010f4f9
mov esi, esp
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov edi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp edi, esp
call fcn.1010f4f9
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
cmp esi, esp
call fcn.1010f4f9
mov cl, byte [ebp + 0xc]
and cl, 1
shl cl, 1
mov edx, dword [ebp - 4]
mov al, byte [edx + 0x14]
and al, 0xfd
or al, cl
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x14], al
mov dl, byte [ebp + 0xc]
and dl, 1
shl dl, 2
mov eax, dword [ebp - 4]
mov cl, byte [eax + 0x14]
and cl, 0xfb
or cl, dl
mov edx, dword [ebp - 4]
mov byte [edx + 0x14], cl
xor eax, eax
push edx
mov ecx, ebp
push eax
lea edx, [0x1030fe34]
call fcn.1010f710
pop eax
pop edx
pop edi
pop esi
add esp, 0x20
cmp ebp, esp
call fcn.1010f4f9
mov esp, ebp
pop ebp
ret
Function at 0x10310a90
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov eax, dword [0x103c640c]
mov dword [ebp - 4], eax
jmp 0x10310ab7
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x10310ad0
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x10310ace
mov eax, dword [ebp - 4]
jmp 0x10310b54
jmp 0x10310aaf
mov esi, esp
push 0x40
push 0x3000
push 0x1000
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
cmp esi, esp
call fcn.1010f4f9
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x10310b51
mov ecx, dword [ebp - 4]
add ecx, 0x20
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
mov dword [edx + 4], 0
mov eax, dword [ebp - 4]
mov dword [eax + 8], 0
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
mov dword [ecx], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [ecx + 4], edx
mov eax, dword [ebp - 8]
add eax, 0x20
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 4]
cmp ecx, 0xfe0
jbe 0x10310b13
mov edx, dword [ebp - 4]
mov eax, dword [0x103c640c]
mov dword [edx], eax
mov ecx, dword [ebp - 4]
mov dword [0x103c640c], ecx
mov eax, dword [ebp - 4]
pop esi
add esp, 8
cmp ebp, esp
call fcn.1010f4f9
mov esp, ebp
pop ebp
ret

Function at 0x10311110
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0xcccccccc
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp + 8]
movzx eax, byte [edx + ecx]
test eax, eax
je 0x10311160
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + edx]
cmp ecx, 0x90
je 0x10311160
mov edx, 1
imul eax, edx, 0
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + eax]
cmp edx, 0xcc
je 0x10311160
xor eax, eax
jmp 0x103111a1
mov dword [ebp - 4], 1
jmp 0x10311172
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x1031119c
mov edx, dword [ebp + 8]
add edx, dword [ebp - 4]
movzx eax, byte [edx]
mov ecx, 1
imul edx, ecx, 0
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + edx]
cmp eax, edx
je 0x1031119a
xor eax, eax
jmp 0x103111a1
jmp 0x10311169
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0xc], 0x41d93c
push esi
push dword [0x4228d0]
lea eax, [ebp - 0x118]
mov dword [ebp - 8], 0x41d940
push str._s__s
push eax
mov ebx, edx
mov dword [ebp - 4], 0x41d805
call fcn.0040408b
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.00405848
add esp, 0x18
cmp eax, 2
jne 0x401715
push str.GPV_Download
call fcn.004049d9
add esp, 4
call fcn.00404f4a
cmp byte [0x422833], 0
mov edi, eax
je 0x4016e2
push esi
push 0x422a18
push dword [ebp + ebx*4 - 0xc]
lea eax, [ebp - 0x118]
push eax
push 0x422a3c
push dword [0x422880]
lea eax, [ebp - 0x240]
push str._swget.exe__s___load_cookieskookies__O__s_http:__labs.weathernews.jp_JMA__s_nph_dl.cgi_FILEGRIB2__s__s
push eax
call fcn.0040408b
lea eax, [ebp - 0x240]
push eax
call fcn.00404d4b
add esp, 0x24
jmp 0x4016e9
mov edx, esi
call fcn.004018a0
test eax, eax
jne 0x40171e
call fcn.00404f4a
mov ecx, eax
mov eax, 0x10624dd3
sub ecx, edi
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push 0x41d9e8
call fcn.00404645
add esp, 8
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push 0x40
call dword [sym.imp.USER32.dll_MessageBeep]
lea eax, [ebp - 0x118]
push eax
call fcn.00404f82
add esp, 4
call fcn.00401760
push 0x41d9cc
call fcn.004049d9
add esp, 4
call fcn.00404fd1
push 8
call fcn.00405375
int3

Function at 0x401760
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x344
xor eax, eax
push ebx
push esi
push edi
mov edi, edi
mov cl, byte [eax + str.a_b_c_.grd_.gmt_.GMT_.xyz_vor_list_wget_log_SSI]
lea eax, [eax + 1]
mov byte [ebp + eax - 0x341], cl
test cl, cl
jne 0x401770
lea eax, [ebp - 0x340]
push 0x41d894
push eax
call fcn.0040410f
add esp, 8
test eax, eax
je 0x401842
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov ebx, dword [sym.imp.KERNEL32.dll_FindClose]
lea esp, [esp]
push eax
push 0x41da4c
lea eax, [ebp - 0x100]
push str._s__s
push eax
call fcn.0040408b
add esp, 0x10
lea eax, [ebp - 0x240]
push eax
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x40182b
test byte [ebp - 0x240], 0x10
jne 0x40181a
lea eax, [ebp - 0x214]
push eax
push 0x41da4c
lea eax, [ebp - 0x100]
push str._s__s
push eax
call fcn.0040408b
lea eax, [ebp - 0x100]
push eax
call fcn.00404f82
add esp, 0x14
lea eax, [ebp - 0x240]
push eax
push esi
call edi
test eax, eax
jne 0x4017e5
push esi
call ebx
push 0x41d894
push 0
call fcn.0040410f
add esp, 8
test eax, eax
jne 0x4017b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x401850
Capabilities:
Terminate process

Disassembly:
push ecx
call fcn.00404e40
call fcn.00401760
push str.Press_ENTER_to_continue...
call fcn.004049d9
add esp, 4
push 0x40
call dword [sym.imp.USER32.dll_MessageBeep]
call fcn.00405613
add eax, 0x20
push eax
call fcn.0040543c
add esp, 4
call fcn.00404fd1
cmp eax, 0xa
je 0x401890
cmp eax, 0xffffffff
jne 0x401881
push 1
call fcn.00405375
int3
Function at 0x4018a0
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x190
lea eax, [ebp - 0xc8]
push esi
mov esi, edx
push esi
push dword [0x4228d0]
push str._s__s
push eax
call fcn.0040408b
push esi
push 0x422a18
push str.http:__database.rish.kyoto_u.ac.jp_arch_jmadata_data_gpv_original
lea eax, [ebp - 0x190]
push str._s__s__s
push eax
call fcn.0040408b
add esp, 0x24
lea eax, [ebp - 0xc8]
push 0
push 0
push eax
lea eax, [ebp - 0x190]
push eax
push 0
call dword [sym.imp.urlmon.dll_URLDownloadToFileA]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4019d0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push esi
push 0x44
lea eax, [ebp - 0x58]
mov esi, ecx
push 0
push eax
call fcn.004072f0
add esp, 0xc
mov dword [ebp - 0x58], 0x44
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x58]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x401a19
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret
push dword [ebp - 0xc]
mov esi, dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x401a11
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
neg eax
pop esi
sbb eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x41136a
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42058c]
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.0040a232
mov dword [ebp - 0x14], eax
cmp dword [0x42255c], esi
jne 0x41145d
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x4113ea
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x41153d
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x41153d
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41153d
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x42255c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x422560], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x422564], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x42256c], eax
test eax, eax
je 0x41145a
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x422568], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x411482
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x411475
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x411497
push 4
pop eax
jmp 0x41153f
cmp dword [ebp - 0x14], esi
je 0x411497
push dword [0x42255c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x41147c
mov eax, dword [0x422568]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x4114f5
cmp dword [0x42256c], edi
je 0x4114f5
push eax
call ebx
push dword [0x42256c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4114f5
test eax, eax
je 0x4114f5
call ecx
test eax, eax
je 0x4114ea
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 0x4114ea
test byte [ebp - 8], 1
jne 0x4114f5
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x411525
mov eax, dword [0x422560]
cmp eax, edi
je 0x411522
push eax
call ebx
test eax, eax
je 0x411522
call eax
mov esi, eax
test esi, esi
je 0x411522
mov eax, dword [0x422564]
cmp eax, edi
je 0x411522
push eax
call ebx
test eax, eax
je 0x411522
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x42255c]
call ebx
test eax, eax
je 0x41153d
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x41153f
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00408ea7
mov esp, ebp
pop ebp
ret