joyce8/EMBER2024-capa huggingface dataset:
Function at 0x423770
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x10
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x38]
test eax, eax
je 0x4237f0
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
sub eax, dword [esi + 0x10]
cmp eax, 0x3e8
jbe 0x4237f0
call edi
mov ecx, dword [esi + 0x34]
mov dword [esi + 0x10], eax
lea eax, [esp + 8]
mov dword [esp + 0x10], 2
push eax
push 0x102
push 0x814
push ecx
call dword [sym.imp.WINMM.dll_mciSendCommandA]
mov eax, dword [esp + 0xc]
mov ecx, dword [esi + 4]
mov edx, eax
and edx, 0xff
cmp ecx, edx
jne 0x4237e9
mov edx, dword [esi + 0xc]
xor ecx, ecx
mov cl, ah
and ecx, 0xff
cmp ecx, edx
jne 0x4237f0
mov ecx, dword [esi + 8]
shr eax, 0x10
and eax, 0xff
cmp eax, ecx
jb 0x4237f0
mov ecx, esi
call fcn.00423800
pop edi
pop esi
add esp, 0x10
ret

Function at 0x423b50
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Initialize winsock library
Set socket configuration

Disassembly:
sub esp, 0x1a0
lea eax, [esp + 0x10]
push esi
push eax
mov esi, ecx
push 0x101
call sub.WSOCK32.dll_WSAStartup
test eax, eax
je 0x423b78
xor eax, eax
pop esi
add esp, 0x1a0
ret 4
push 6
push 1
push 2
call sub.WSOCK32.dll_socket
lea ecx, [esi + 4]
mov dword [esi + 0x1c], eax
push ecx
mov word [esp + 8], 2
call sub.WSOCK32.dll_inet_addr
push 0x1964
mov dword [esp + 0xc], eax
call sub.WSOCK32.dll_ntohs
mov edx, dword [esp + 0x1a8]
mov word [esp + 6], ax
mov eax, dword [esi + 0x1c]
push 0x33
push 0x403
push edx
push eax
call sub.WSOCK32.dll_WSAAsyncSelect
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 4]
push 0x10
push ecx
push edx
call sub.WSOCK32.dll_connect
cmp eax, 0xffffffff
jne 0x423bee
call sub.WSOCK32.dll_WSAGetLastError
cmp eax, 0x2733
je 0x423bee
xor eax, eax
pop esi
add esp, 0x1a0
ret 4
mov eax, 1
pop esi
add esp, 0x1a0
ret 4

Function at 0x423c00
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 0x24
push ebx
mov ebx, ecx
mov eax, dword [ebx + 0x20]
test eax, eax
jne 0x423c22
mov eax, dword [0x64cda8]
test eax, eax
jne 0x423c22
call fcn.00445410
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x423c0d
mov eax, dword [ebx + 0x14]
mov dword [esp + 4], 0x3e9
mov dword [esp + 8], eax
mov eax, dword [ebx + 0xc838]
mov dword [esp + 0xc], eax
push esi
shl eax, 6
add eax, ebx
push edi
lea edx, [esp + 0x18]
push 0
mov ecx, dword [eax + 0xc85c]
lea edi, [eax + 0xc860]
mov dword [esp + 0x30], ecx
or ecx, 0xffffffff
xor eax, eax
push 0x40
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
mov edx, dword [ebx + 0x1c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
push ecx
push edx
call sub.WSOCK32.dll_send
pop edi
pop esi
test eax, eax
jge 0x423c92
xor eax, eax
pop ebx
add esp, 0x24
ret
mov dword [ebx], 1
mov eax, 1
pop ebx
add esp, 0x24
ret
Function at 0x423d50
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 0x40
mov edx, dword [esp + 0x44]
push esi
mov esi, ecx
push edi
mov edi, edx
or ecx, 0xffffffff
mov eax, dword [esi + 0x14]
push 0x2a
mov dword [esp + 0x10], eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
mov dword [esp + 0x14], ecx
mov ecx, dword [esi + 0xc838]
shl ecx, 6
mov dword [esp + 0xc], 0x3ec
push edx
mov eax, dword [ecx + esi + 0xc85c]
mov ecx, dword [esp + 0x58]
lea edx, [esp + 0x24]
mov dword [esp + 0x1c], eax
push edx
mov dword [esp + 0x24], ecx
call dword [sym.imp.MSVCRT.dll_strncpy]
mov ecx, dword [esi + 0x1c]
add esp, 0xc
lea eax, [esp + 8]
push 0
push 0x40
push eax
push ecx
call sub.WSOCK32.dll_send
pop edi
pop esi
add esp, 0x40
ret 8

Function at 0x423dc0
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 0x40
mov eax, ecx
mov dword [esp], 0x3ee
mov ecx, dword [esp + 0x44]
push esi
mov edx, dword [eax + 0x14]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov edx, dword [eax + 0xc838]
shl edx, 6
cmp ecx, 0x16
push edi
mov edx, dword [edx + eax + 0xc85c]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], edx
ja case.0x423e0b.8
xor edx, edx
mov dl, byte [ecx + 0x423f10]
jmp dword [edx*4 + 0x423eec]
mov ecx, dword [esp + 0x50]
mov esi, dword [esp + 0x58]
mov dword [esp + 0x14], ecx
mov ecx, 6
lea edi, [esp + 0x20]
rep movsd dword es:[edi], dword [esi]
jmp 0x423ed0
mov ecx, dword [esp + 0x50]
mov esi, dword [esp + 0x58]
mov dword [esp + 0x14], ecx
mov edx, ecx
lea edi, [esp + 0x20]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x423ea4
mov ecx, dword [esp + 0x50]
mov esi, dword [esp + 0x58]
mov dword [esp + 0x14], ecx
mov ecx, 8
lea edi, [esp + 0x20]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
jmp 0x423ed0
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x58]
mov dword [esp + 0x14], ecx
mov cx, word [edx]
mov word [esp + 0x20], cx
jmp 0x423ed0
mov ecx, dword [esp + 0x58]
mov dx, word [ecx]
mov word [esp + 0x20], dx
mov cl, byte [ecx + 2]
mov byte [esp + 0x22], cl
jmp 0x423ed0
mov cl, byte [esp + 0x50]
mov dl, byte [esp + 0x54]
mov byte [esp + 0x20], cl
mov byte [esp + 0x21], dl
mov edx, dword [eax + 0x1c]
push 0
lea ecx, [esp + 0xc]
push 0x40
push ecx
push edx
call sub.WSOCK32.dll_send
pop edi
pop esi
add esp, 0x40
ret 0x10
mov cl, byte [esp + 0x50]
mov byte [esp + 0x20], cl
jmp 0x423ed0
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x14], ecx
mov eax, dword [eax + 0x1c]
push 0
lea edx, [esp + 0xc]
push 0x40
push edx
push eax
call sub.WSOCK32.dll_send
pop edi
pop esi
add esp, 0x40
ret 0x10
Function at 0x4244a0
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 0x40
mov edx, dword [ecx + 0xc838]
mov eax, dword [ecx + 0x14]
shl edx, 6
mov dword [esp], 0x3ee
mov dword [esp + 4], 2
mov dword [esp + 8], eax
mov eax, dword [edx + ecx + 0xc85c]
mov edx, dword [esp + 0x44]
mov dword [esp + 0x10], eax
mov al, byte [ecx + 0xc838]
mov dword [esp + 0xc], edx
mov byte [esp + 0x18], al
mov eax, dword [ecx + 0x1c]
push 0
lea edx, [esp + 4]
push 0x40
push edx
push eax
mov dword [esp + 0x24], 0
call sub.WSOCK32.dll_send
add esp, 0x40
ret 4

Function at 0x424670
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword [esp + 8]
push ebx
push esi
xor eax, eax
lea esi, [ecx + 3]
push edi
and esi, reloc.WSOCK32.dll_closesocket
jns 0x424689
dec esi
or esi, 0xfffffffc
inc esi
mov edi, dword [esp + 0x10]
cmp esi, edi
je 0x4246e3
mov bl, byte [esp + 0x18]
lea ecx, [esi + esi*4]
lea ecx, [ecx + ecx*4]
lea ecx, [ecx + ecx*4]
shl ecx, 4
add ecx, 0x653438
mov dl, byte [ecx + 0xac]
test dl, dl
je 0x4246c6
and edx, 0xff
dec edx
mov cl, byte [ecx + edx*2 + 0xae]
xor cl, bl
test cl, 0xff
je 0x4246de
add esi, 3
and esi, reloc.WSOCK32.dll_closesocket
jns 0x4246d6
dec esi
or esi, 0xfffffffc
inc esi
cmp esi, edi
jne 0x424695
pop edi
pop esi
pop ebx
ret
mov eax, 1
pop edi
pop esi
pop ebx
ret
Function at 0x4252b0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 4]
push esi
test eax, eax
mov esi, 0x64cd6c
je 0x4252e7
mov eax, dword [esi]
push 1
push eax
call fcn.00401a30
add esi, 4
add esp, 8
cmp esi, 0x64cd74
jl 0x4252be
mov ecx, dword [0x64cd78]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret
mov edx, dword [esi]
push 0
push edx
call fcn.00401a30
add esi, 4
add esp, 8
cmp esi, 0x64cd74
jl 0x4252e7
mov eax, dword [0x64cd78]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret
Function at 0x435270
Capabilities:
Encrypt data using speck

Disassembly:
sub esp, 0x2c
push ebx
push esi
push edi
mov ecx, 8
mov esi, 0x668b84
lea edi, [esp + 0x14]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov byte [esp + 0xe], 0
mov byte [esp + 0x10], 0
xor edi, edi
mov cl, byte [esp + edi + 0x14]
test cl, cl
je 0x435332
mov eax, 0x38e38e39
imul edi
sar edx, 1
mov eax, edx
mov ebx, edx
shr eax, 0x1f
add ebx, eax
mov dl, 9
mov al, bl
mov byte [esp + 0xf], bl
imul dl
mov dl, byte [esp + 0xe]
sub dl, al
jmp 0x4352c8
mov bl, byte [esp + 0xf]
cmp dl, 7
jae 0x435332
mov al, byte [esp + edi + 0x15]
test al, al
je 0x435332
mov al, byte [esp + edi + 0x16]
test al, al
je 0x435332
mov eax, dword [esp + 0x10]
and eax, 0xff
shl bl, 4
lea esi, [eax*2 + 0x668bbc]
mov word [esi], 0
mov al, byte [esi]
and al, 0xf
or al, bl
mov bl, al
xor bl, dl
and bl, 0xf
xor bl, al
mov byte [esi], bl
mov bl, byte [esp + 0x10]
inc bl
dec cl
mov byte [esp + 0x10], bl
mov byte [esp + edi + 0x14], cl
mov bl, byte [esp + edi + 0x15]
dec bl
mov byte [esp + edi + 0x15], bl
mov cl, byte [esp + edi + 0x16]
dec cl
mov byte [esp + edi + 0x16], cl
mov cl, byte [esp + edi + 0x14]
test cl, cl
jne 0x4352c4
mov al, byte [esp + 0xe]
inc al
inc edi
cmp al, 0x1b
mov byte [esp + 0xe], al
jb 0x435294
mov al, byte [esp + 0x10]
cmp al, 4
jne 0x435354
mov byte [0x668bd6], 1
mov ecx, dword [0x668c80]
mov byte [0x668ba8], al
add ecx, 0x1c
push ecx
call fcn.00439740
add esp, 4
cmp al, 1
jne 0x435376
mov byte [0x668bd6], 0
mov dx, word [0x668bac]
push edx
call fcn.00439a60
mov cl, byte [0x668cdc]
add esp, 4
cmp cl, al
jne 0x435397
mov byte [0x668bd6], 0
mov bl, 0x1b
mov ax, word [0x668bac]
push eax
call fcn.00439a60
add esp, 4
cmp al, bl
jne 0x4353b3
mov byte [0x668bd6], 0
inc bl
cmp bl, 0x22
jb 0x435399
pop edi
pop esi
pop ebx
add esp, 0x2c
ret
Function at 0x435800
Capabilities:
Encrypt data using speck

Disassembly:
sub esp, 0x40
push ebx
push esi
push edi
mov ecx, 8
mov esi, 0x668c84
lea edi, [esp + 0x28]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov byte [esp + 0x14], 0
mov byte [esp + 0x18], 0
xor edi, edi
mov cl, byte [esp + edi + 0x28]
test cl, cl
je 0x4358c2
mov eax, 0x38e38e39
imul edi
sar edx, 1
mov eax, edx
mov ebx, edx
shr eax, 0x1f
add ebx, eax
mov dl, 9
mov al, bl
mov byte [esp + 0xf], bl
imul dl
mov dl, byte [esp + 0x14]
sub dl, al
jmp 0x435858
mov bl, byte [esp + 0xf]
cmp dl, 7
jae 0x4358c2
mov al, byte [esp + edi + 0x29]
test al, al
je 0x4358c2
mov al, byte [esp + edi + 0x2a]
test al, al
je 0x4358c2
mov eax, dword [esp + 0x18]
and eax, 0xff
shl bl, 4
lea esi, [eax*2 + 0x668ccc]
mov word [esi], 0
mov al, byte [esi]
and al, 0xf
or al, bl
mov bl, al
xor bl, dl
and bl, 0xf
xor bl, al
mov byte [esi], bl
mov bl, byte [esp + 0x18]
inc bl
dec cl
mov byte [esp + 0x18], bl
mov byte [esp + edi + 0x28], cl
mov bl, byte [esp + edi + 0x29]
dec bl
mov byte [esp + edi + 0x29], bl
mov cl, byte [esp + edi + 0x2a]
dec cl
mov byte [esp + edi + 0x2a], cl
mov cl, byte [esp + edi + 0x28]
test cl, cl
jne 0x435854
mov al, byte [esp + 0x14]
inc al
inc edi
cmp al, 0x1b
mov byte [esp + 0x14], al
jb 0x435824
mov al, byte [esp + 0x18]
cmp al, 3
mov byte [0x668c5a], al
jb 0x4359b2
mov esi, dword [esp + 0x18]
xor ecx, ecx
mov word [esp + 0x10], cx
test al, al
mov byte [esp + 0x12], cl
jbe 0x43591f
mov ecx, esi
mov edx, 0x668ccc
and ecx, 0xff
xor eax, eax
mov al, byte [edx]
add edx, 2
shr eax, 4
mov bl, byte [esp + eax + 0x10]
lea eax, [esp + eax + 0x10]
inc bl
dec ecx
mov byte [eax], bl
jne 0x435906
xor dl, dl
mov byte [esp + 0x14], dl
mov ecx, dword [esp + 0x14]
and ecx, 0xff
cmp byte [esp + ecx + 0x10], 3
jae 0x435948
inc dl
cmp dl, 3
mov byte [esp + 0x14], dl
jb 0x435925
pop edi
pop esi
pop ebx
add esp, 0x40
ret
xor eax, eax
mov bl, 1
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov byte [esp + 0x24], al
mov al, byte [esp + 0x18]
test al, al
jbe 0x435994
mov edi, 0x668ccc
and esi, 0xff
mov al, byte [edi]
mov cl, al
shr cl, 4
cmp cl, dl
jne 0x43598e
mov cl, al
and cl, 0xf
je 0x435987
cmp cl, 3
je 0x435987
cmp cl, 6
jne 0x43598e
and eax, 0xf
mov byte [esp + eax + 0x1c], bl
add edi, 2
dec esi
jne 0x43596b
mov al, byte [esp + 0x1c]
test al, al
je 0x4359b2
mov al, byte [esp + 0x1f]
test al, al
je 0x4359b2
mov al, byte [esp + 0x22]
test al, al
je 0x4359b2
mov byte [0x668bea], bl
pop edi
pop esi
pop ebx
add esp, 0x40
ret
Function at 0x439440
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x2c
mov ecx, 8
xor eax, eax
push ebx
push ebp
push esi
push edi
lea edi, [esp + 0x18]
mov esi, dword [esp + 0x40]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea edi, [esi + 0x1c]
mov ebx, 0x11
cmp word [edi], 0xffff
je 0x439486
mov ax, word [edi]
push eax
call fcn.00439a60
and eax, 0xff
add esp, 4
mov cl, byte [esp + eax + 0x18]
lea eax, [esp + eax + 0x18]
inc cl
mov byte [eax], cl
add edi, 2
dec ebx
jne 0x439462
xor bl, bl
mov byte [esp + 0x40], 0
mov byte [esp + 0x10], bl
lea edi, [esp + 0x18]
cmp byte [edi], 4
jne 0x4394c9
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00439a80
mov edx, dword [esp + 0x44]
add esp, 4
and edx, 0xff
mov word [edx*2 + 0x668e10], ax
mov al, byte [esp + 0x40]
inc al
mov byte [esp + 0x40], al
inc bl
inc edi
cmp bl, 0x22
mov byte [esp + 0x10], bl
jb 0x43949b
mov byte [esp + 0x14], 0
mov edx, dword [esp + 0x14]
and edx, 0xff
mov bp, word [esi + edx*2 + 0x3e]
cmp bp, 0xffff
je 0x43956f
mov al, byte [esi + edx*2 + 0x3f]
and al, 0xf
cmp al, 1
jne 0x43955d
xor bl, bl
mov byte [esp + 0x10], bl
mov edi, dword [esp + 0x10]
mov ecx, edi
and ecx, 0xff
cmp word [esi + ecx*2 + 0x1c], 0xffff
lea ecx, [esi + ecx*2 + 0x1c]
je 0x439523
mov al, byte [esi + edx*2 + 0x3e]
xor al, byte [ecx]
test al, 0xff
je 0x439530
inc bl
cmp bl, 0x11
mov byte [esp + 0x10], bl
jb 0x439500
jmp 0x43955d
cmp word [esi + 0x14], bp
je 0x43955d
mov edx, dword [esp + 0x40]
and edi, 0xff
and edx, 0xff
mov ax, word [esi + edi*2 + 0x1c]
mov word [edx*2 + 0x668e10], ax
mov al, byte [esp + 0x40]
inc al
mov byte [esp + 0x40], al
mov al, byte [esp + 0x14]
inc al
cmp al, 5
mov byte [esp + 0x14], al
jb 0x4394da
mov ecx, dword [esp + 0x40]
mov al, byte [esp + 0x40]
and ecx, 0xff
pop edi
pop esi
pop ebp
mov word [ecx*2 + 0x668e10], 0xffff
pop ebx
add esp, 0x2c
ret

Function at 0x43b930
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ecx
push ebx
push esi
mov esi, dword [esp + 0x10]
mov byte [esp + 8], 0
mov ecx, dword [esp + 8]
mov eax, ecx
and eax, 0xff
lea eax, [eax + eax*2]
shl eax, 1
cmp word [eax + 0x668fae], 0
jne 0x43b9b8
xor edx, edx
mov dx, word [eax + 0x668fac]
cmp byte [edx + 0x6694a4], 4
je 0x43b9d0
mov al, dl
push eax
call fcn.00439a80
add esp, 4
mov byte [esp + 0x10], 0
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dx, word [esi + ecx*2 + 0x3e]
cmp dx, 0xffff
je 0x43b9b8
mov bl, byte [esi + ecx*2 + 0x3f]
and bl, 0xf
cmp bl, 1
jne 0x43b9a9
mov cl, dl
xor cl, al
test cl, 0xff
jne 0x43b9a9
cmp word [esi + 0x14], dx
jne 0x43b9e9
mov cl, byte [esp + 0x10]
inc cl
cmp cl, 5
mov byte [esp + 0x10], cl
jb 0x43b978
mov al, byte [esp + 8]
inc al
cmp al, 0x11
mov byte [esp + 8], al
jb 0x43b93c
pop esi
xor al, al
pop ebx
pop ecx
ret
and ecx, 0xff
lea ecx, [ecx + ecx*2]
mov dl, byte [ecx*2 + 0x668fac]
push edx
call fcn.00439a80
add esp, 4
mov word [0x668e10], ax
pop esi
mov al, 1
pop ebx
pop ecx
ret
Function at 0x43cd10
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x3c
push ebx
mov ebx, ecx
push ebp
push esi
mov ecx, dword [ebx + 4]
mov eax, dword [ebx]
test ecx, ecx
push edi
mov dword [esp + 0x14], eax
je 0x43ceb8
mov eax, dword [esp + 0x50]
push 0x4921c8
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x43cd50
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x3c
ret 4
mov esi, dword [sym.imp.MSVCRT.dll_fread]
push ebp
push 1
lea ecx, [esp + 0x20]
push 8
push ecx
call esi
push ebp
push 1
lea edx, [esp + 0x28]
push 4
push edx
call esi
add esp, 0x20
mov ecx, 2
mov edi, str.IGSROM01
lea esi, [esp + 0x18]
xor eax, eax
mov dword [esp + 0x50], 0xc
repe cmpsd dword [esi], dword es:[edi]
je 0x43cda4
push ebp
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret 4
mov esi, dword [sym.imp.MSVCRT.dll_fread]
push ebp
push 1
lea ecx, [esp + 0x20]
push 8
push ecx
call esi
push ebp
push 1
lea edx, [esp + 0x28]
push 4
push edx
call esi
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x70]
add esp, 0x20
mov edi, str.WAVEDATA
lea edx, [ecx + eax + 0xc]
mov ecx, 2
lea esi, [esp + 0x18]
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
mov dword [esp + 0x50], edx
jne 0x43ce92
push ebp
push 1
lea ecx, [esp + 0x28]
push 0x2c
push ecx
call dword [sym.imp.MSVCRT.dll_fread]
mov dx, 1
add esp, 0x10
cmp dx, word [esp + 0x36]
mov ecx, dword [esp + 0x42]
mov edx, dword [esp + 0x38]
sbb eax, eax
and ecx, 0xffff
neg eax
push eax
mov eax, dword [esp + 0x44]
and eax, 0xffff
push eax
mov eax, dword [esp + 0x50]
push ecx
mov ecx, dword [ebx]
push edx
push eax
push ecx
mov ecx, ebx
call fcn.0043d2a0
test eax, eax
je 0x43ce5b
mov eax, dword [esp + 0x48]
mov ecx, dword [ebx]
push eax
push ebp
push ecx
mov ecx, ebx
call fcn.0043d370
test eax, eax
jne 0x43ce65
mov edx, dword [ebx]
mov eax, dword [ebx + edx*4 + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov edx, dword [ebx]
mov dword [ebx + edx*4 + 8], 0
mov eax, dword [ebx]
mov eax, dword [ebx + eax*4 + 8]
test eax, eax
je 0x43ce77
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x3c]
mov eax, dword [ebx]
mov edx, dword [esp + 0x50]
push 0
inc eax
push edx
push ebp
mov dword [ebx], eax
call dword [sym.imp.MSVCRT.dll_fseek]
add esp, 0xc
jmp 0x43cda4
mov ecx, 2
mov edi, str.FILE_END
lea esi, [esp + 0x18]
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
jne 0x43cda4
push ebp
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x18]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret 4
Function at 0x43ced0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x2c
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
test eax, eax
jne 0x43cee8
mov eax, dword [esi]
pop edi
pop esi
add esp, 0x2c
ret 4
mov eax, dword [esp + 0x38]
push 0x4921c8
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov edi, eax
add esp, 8
test edi, edi
jne 0x43cf0b
mov eax, dword [esi]
pop edi
pop esi
add esp, 0x2c
ret 4
push edi
push 1
lea ecx, [esp + 0x10]
push 0x2c
push ecx
call dword [sym.imp.MSVCRT.dll_fread]
mov dx, 1
add esp, 0x10
cmp dx, word [esp + 0x1e]
mov ecx, dword [esp + 0x2a]
mov edx, dword [esp + 0x20]
sbb eax, eax
and ecx, 0xffff
neg eax
push eax
mov eax, dword [esp + 0x2c]
and eax, 0xffff
push eax
mov eax, dword [esp + 0x38]
push ecx
mov ecx, dword [esi]
push edx
push eax
push ecx
mov ecx, esi
call fcn.0043d2a0
test eax, eax
jne 0x43cf77
push edi
call dword [sym.imp.MSVCRT.dll_fclose]
mov edx, dword [esi]
add esp, 4
mov dword [esi + edx*4 + 8], 0
mov eax, dword [esi]
pop edi
pop esi
add esp, 0x2c
ret 4
mov eax, dword [esp + 0x30]
mov ecx, dword [esi]
push eax
push edi
push ecx
mov ecx, esi
call fcn.0043d370
test eax, eax
jne 0x43cfb5
push edi
call dword [sym.imp.MSVCRT.dll_fclose]
mov edx, dword [esi]
add esp, 4
mov eax, dword [esi + edx*4 + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov edx, dword [esi]
pop edi
mov dword [esi + edx*4 + 8], 0
mov eax, dword [esi]
pop esi
add esp, 0x2c
ret 4
mov eax, dword [esi]
push 0
mov eax, dword [esi + eax*4 + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x3c]
push edi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esi]
add esp, 4
lea edx, [eax + 1]
pop edi
mov dword [esi], edx
pop esi
add esp, 0x2c
ret 4

Function at 0x43d370
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
lea edx, [esp + 0xc]
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push 1
push edx
lea edx, [esp + 0x24]
push edx
lea edx, [esp + 0x14]
push edx
mov ebx, ecx
lea edx, [esp + 0x1c]
mov eax, dword [ebx + ebp*4 + 8]
push edx
mov edx, dword [esp + 0x30]
mov ecx, dword [eax]
push edx
push 0
push eax
call dword [ecx + 0x2c]
test eax, eax
je 0x43d3b0
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 0xc
mov eax, dword [esp + 8]
push esi
mov esi, dword [esp + 0x1c]
push edi
mov edi, dword [sym.imp.MSVCRT.dll_fread]
test eax, eax
jbe 0x43d3d2
push esi
push 1
push eax
mov eax, dword [esp + 0x20]
push eax
call edi
add esp, 0x10
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jbe 0x43d3ec
push esi
push 1
push ecx
mov ecx, dword [esp + 0x30]
push ecx
call edi
mov ecx, dword [esp + 0x2c]
add esp, 0x10
mov eax, dword [ebx + ebp*4 + 8]
push ecx
mov ecx, dword [esp + 0x28]
mov edx, dword [eax]
push ecx
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x20]
push ecx
push eax
call dword [edx + 0x4c]
neg eax
pop edi
pop esi
sbb eax, eax
pop ebp
inc eax
pop ebx
add esp, 8
ret 0xc
Function at 0x441960
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x104
lea eax, [esp]
push ebx
push ebp
push esi
push edi
push str.system_font_l24.rom
push 0x66c0e4
xor ebp, ebp
push str._s_s
push eax
mov dword [0x66bb9c], ebp
mov dword [0x66bba0], ebp
mov dword [0x66bb88], ebp
mov dword [0x66bb8c], ebp
call dword [sym.imp.USER32.dll_wsprintfA]
lea ecx, [esp + 0x20]
push 0x4921c8
push ecx
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 0x18
cmp esi, ebp
jne 0x4419c4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x104
ret
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
push 2
push ebp
push esi
call edi
push esi
call dword [sym.imp.MSVCRT.dll_ftell]
push ebp
push ebp
push esi
mov ebx, eax
call edi
mov ebp, dword [sym.imp.MSVCRT.dll_malloc]
push ebx
call ebp
add esp, 0x20
mov dword [0x66bb9c], eax
test eax, eax
je 0x441a01
push esi
push 1
push ebx
push eax
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x10
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
push str.system_font_e24.rom
push 0x66c0e4
lea edx, [esp + 0x1c]
push str._s_s
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [esp + 0x24]
push 0x4921c8
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 0x1c
test esi, esi
jne 0x441a46
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x104
ret
push 2
push 0
push esi
call edi
push esi
call dword [sym.imp.MSVCRT.dll_ftell]
push 0
push 0
push esi
mov ebx, eax
call edi
push ebx
call ebp
add esp, 0x20
mov dword [0x66bba0], eax
test eax, eax
je 0x441a7a
push esi
push 1
push ebx
push eax
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x10
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
push str.system_font_a24.rom
push 0x66c0e4
lea ecx, [esp + 0x1c]
push str._s_s
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
lea edx, [esp + 0x24]
push 0x4921c8
push edx
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 0x1c
test esi, esi
jne 0x441abf
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x104
ret
push 2
push 0
push esi
call edi
push esi
call dword [sym.imp.MSVCRT.dll_ftell]
push 0
push 0
push esi
mov ebx, eax
call edi
push ebx
call ebp
add esp, 0x20
mov dword [0x66bb88], eax
test eax, eax
je 0x441af3
push esi
push 1
push ebx
push eax
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x10
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
push 0x240
call ebp
add esp, 8
xor ecx, ecx
test eax, eax
pop edi
pop esi
setne cl
mov dword [0x66bb8c], eax
pop ebp
mov eax, ecx
pop ebx
add esp, 0x104
ret
Function at 0x444eb0
Capabilities:
Check mutex on windows

Disassembly:
sub esp, 0xc
push str.IGSMJ2_MUTE
lea eax, [esp + 4]
push 0
push eax
mov dword [esp + 0xc], 0xc
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
test eax, eax
mov dword [0x66c0dc], eax
je 0x444efc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x444efc
mov eax, 1
add esp, 0xc
ret
xor eax, eax
add esp, 0xc
ret

Function at 0x444f10
Capabilities:
Get disk information

Disassembly:
sub esp, 0x50
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 8]
push ebx
push ebp
push esi
push edi
mov edi, 0x4988a8
mov ebp, dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov bl, 0x63
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov edi, dword [sym.imp.MSVCRT.dll__strcmpi]
lea ecx, [esp + 0x18]
mov byte [esp + 0x18], bl
push ecx
call ebp
cmp eax, 5
jne 0x444f98
push 0
lea edx, [esp + 0x14]
push 0
lea eax, [esp + 0x1c]
push edx
push eax
push 0
lea ecx, [esp + 0x34]
push 0x40
lea edx, [esp + 0x30]
push ecx
push edx
call esi
lea eax, [esp + 0x20]
push str.IGSMJ2_R100
push eax
mov byte [0x66c0b4], bl
call edi
add esp, 8
test eax, eax
jne 0x444fc1
inc bl
cmp bl, 0x7a
jle 0x444f51
mov ecx, dword [0x4930bc]
mov edx, dword [0x4930c0]
push 0x10
push ecx
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x50
ret
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x50
ret