joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10052a25
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe4
mov eax, dword [0x100a609c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push esi
push edi
push eax
push 0x61a8
mov esi, ecx
push esi
push 0x1008b588
push str.RxSItem
push str.config
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xdc], esi
call ebx
mov edi, 0x100938e0
push edi
push esi
mov esi, dword [sym.imp.MSVCR100.dll_strtok]
jmp 0x10052b4f
push dword [ebp - 0xd4]
call dword [sym.imp.MSVCR100.dll_strlen]
inc eax
mov dword [esp], 0x1008d090
push dword [ebp - 0xd4]
mov dword [ebp - 0xe4], eax
call esi
pop ecx
pop ecx
test eax, eax
je 0x10052ad4
lea ecx, [ebp - 0xcc]
mov dword [ebp - 0xd0], ecx
push eax
push dword [ebp - 0xd0]
call dword [sym.imp.MSVCR100.dll_strcpy]
add dword [ebp - 0xd0], 0x32
push 0x1008d090
push 0
call esi
add esp, 0x10
test eax, eax
jne 0x10052ab0
and dword [ebp - 0xd0], 0
cmp dword [0x103742c0], 0
jle 0x10052b41
mov dword [ebp - 0xd8], 0x103742c4
lea eax, [ebp - 0xcc]
push eax
push dword [ebp - 0xd8]
call dword [sym.imp.MSVCR100.dll_strcmp]
pop ecx
pop ecx
test eax, eax
jne 0x10052b26
lea eax, [ebp - 0x9a]
push eax
call dword [sym.imp.MSVCR100.dll_atoi]
test eax, eax
pop ecx
mov ecx, dword [ebp - 0xd0]
setne al
mov byte [ecx + 0x10374d50], al
inc dword [ebp - 0xd0]
mov eax, dword [ebp - 0xd0]
add dword [ebp - 0xd8], 0x1e
cmp eax, dword [0x103742c0]
jl 0x10052aee
mov eax, dword [ebp - 0xe4]
add eax, dword [ebp - 0xd4]
push edi
push eax
call esi
pop ecx
mov dword [ebp - 0xd4], eax
pop ecx
test eax, eax
jne 0x10052a7c
push dword [ebp - 0xe0]
push 0x61a8
push dword [ebp - 0xdc]
push 0x1008b588
push str.StoneItem
push str.config
call ebx
push edi
push dword [ebp - 0xdc]
jmp 0x10052c6d
push dword [ebp - 0xd4]
call dword [sym.imp.MSVCR100.dll_strlen]
mov dword [esp], 0x1008d090
push dword [ebp - 0xd4]
lea ebx, [eax + 1]
call esi
pop ecx
pop ecx
test eax, eax
je 0x10052be3
lea ecx, [ebp - 0xcc]
mov dword [ebp - 0xd8], ecx
push eax
push dword [ebp - 0xd8]
call dword [sym.imp.MSVCR100.dll_strcpy]
add dword [ebp - 0xd8], 0x32
push 0x1008d090
push 0
call esi
add esp, 0x10
test eax, eax
jne 0x10052bbf
and dword [ebp - 0xd0], 0
cmp dword [0x103d730c], 0
jle 0x10052c65
mov ecx, dword [ebp - 0xd0]
lea eax, [ebp - 0xcc]
push eax
mov eax, dword [0x103d7304]
push dword [eax + ecx*4]
call dword [sym.imp.MSVCR100.dll_strcmp]
pop ecx
pop ecx
test eax, eax
jne 0x10052c51
mov ecx, dword [ebp - 0xd0]
lea eax, [ebp - 0x9a]
push eax
mov eax, dword [0x103d7310]
push dword [eax + ecx*4]
call dword [sym.imp.MSVCR100.dll_strcmp]
pop ecx
pop ecx
test eax, eax
jne 0x10052c51
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.MSVCR100.dll_atoi]
mov edx, dword [ebp - 0xd0]
pop ecx
mov ecx, dword [0x103d731c]
mov ecx, dword [ecx + edx*4]
mov dword [ecx], eax
inc dword [ebp - 0xd0]
mov eax, dword [ebp - 0xd0]
cmp eax, dword [0x103d730c]
jl 0x10052bf3
add ebx, dword [ebp - 0xd4]
push edi
push ebx
call esi
pop ecx
mov dword [ebp - 0xd4], eax
pop ecx
test eax, eax
jne 0x10052b8f
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1008344f
leave
ret
Function at 0x10052f4e
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x100a609c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x64
lea eax, [ebp - 0x68]
mov esi, ecx
push 0
push eax
mov dword [ebp - 0x6c], esi
call sub.MSVCR100.dll_memset
add esp, 0xc
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x64
lea eax, [ebp - 0x68]
push eax
mov ebx, 0x1008b588
push ebx
push str.D7CHECK1
mov edi, str.config
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.MSVCR100.dll_atoi]
pop ecx
push dword [ebp - 0x6c]
mov dword [0x103c88a4], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push ebx
push str.D7CHECK2
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.MSVCR100.dll_atoi]
pop ecx
push dword [ebp - 0x6c]
mov dword [0x103c88a8], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push ebx
push str.D7CHECK3
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.MSVCR100.dll_atoi]
pop ecx
push dword [ebp - 0x6c]
mov dword [0x103c88ac], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push ebx
push str.D7CHECK4
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.MSVCR100.dll_atoi]
pop ecx
push dword [ebp - 0x6c]
mov dword [0x103c88b8], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push ebx
push str.D7CHECK5
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.MSVCR100.dll_atoi]
pop ecx
push dword [ebp - 0x6c]
mov dword [0x103c88c4], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push ebx
push str.D7CHECK6
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.MSVCR100.dll_atoi]
pop ecx
push dword [ebp - 0x6c]
mov dword [0x103c8a74], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push ebx
push str.D7EDIT1
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.MSVCR100.dll_atoi]
pop ecx
push dword [ebp - 0x6c]
mov dword [0x103c88b0], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push ebx
push str.D7EDIT2
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.MSVCR100.dll_atoi]
pop ecx
push dword [ebp - 0x6c]
mov dword [0x103c88b4], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push ebx
push str.D7EDIT3
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.MSVCR100.dll_atoi]
pop ecx
push dword [ebp - 0x6c]
mov dword [0x103c88bc], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push ebx
push str.D7EDIT4
push edi
call esi
lea eax, [ebp - 0x68]
push eax
mov ecx, 0x103c88c8
call dword [sym.imp.mfc100.dll_Ordinal_12868]
push dword [ebp - 0x6c]
lea eax, [ebp - 0x68]
push 0x64
push eax
push ebx
push str.D7COMBO1
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.MSVCR100.dll_atoi]
pop ecx
push dword [ebp - 0x6c]
mov dword [0x103c88c0], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push ebx
push str.D7COMBO2
push edi
call esi
lea eax, [ebp - 0x68]
push eax
mov ecx, 0x103c8a78
call dword [sym.imp.mfc100.dll_Ordinal_12868]
push 0
mov ecx, 0x103c8810
call dword [sym.imp.mfc100.dll_Ordinal_13219]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1008344f
leave
ret
Function at 0x10054cac
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x100a609c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x64
lea eax, [ebp - 0x68]
mov esi, ecx
push 0
push eax
mov dword [ebp - 0x6c], esi
call sub.MSVCR100.dll_memset
add esp, 0xc
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008b588
push str.D13CHECK1
mov ebx, str.config
push ebx
call esi
mov edi, dword [sym.imp.MSVCR100.dll_atoi]
lea eax, [ebp - 0x68]
push eax
call edi
pop ecx
push dword [ebp - 0x6c]
mov dword [0x103ccd88], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008b588
push str.D13CHECK3
push ebx
call esi
lea eax, [ebp - 0x68]
push eax
call edi
pop ecx
push dword [ebp - 0x6c]
mov dword [0x103ccc5c], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008b588
push str.D13CHECK4
push ebx
call esi
lea eax, [ebp - 0x68]
push eax
call edi
pop ecx
push dword [ebp - 0x6c]
mov dword [0x103ccc60], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008b588
push str.D13COMBO3
push ebx
call esi
lea eax, [ebp - 0x68]
push eax
call edi
pop ecx
push 0
mov ecx, 0x103ccbc8
mov dword [0x103ccd84], eax
call dword [sym.imp.mfc100.dll_Ordinal_13219]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1008344f
leave
ret
Function at 0x10055a82
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov eax, dword [0x100a609c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov esi, ecx
push str..ini
push esi
call dword [sym.imp.MSVCR100.dll_strstr]
neg eax
sbb eax, eax
neg eax
push 0x64
mov dword [0x1035ffa4], eax
lea eax, [ebp - 0x70]
push 0
push eax
call sub.MSVCR100.dll_memset
add esp, 0x14
push 0x14c08
call dword [sym.imp.mfc100.dll_Ordinal_265]
pop ecx
mov edi, eax
push edi
mov ecx, esi
call fcn.1004f306
pop ecx
push edi
mov ecx, esi
call fcn.1004fe40
pop ecx
push edi
mov ecx, esi
call fcn.1005114d
pop ecx
push edi
mov ecx, esi
call fcn.100517a5
pop ecx
push edi
mov ecx, esi
call fcn.10052452
pop ecx
push edi
mov ecx, esi
call fcn.10052c8e
pop ecx
mov ecx, esi
call fcn.10052f4e
mov edx, edi
mov ecx, esi
call fcn.10053b40
mov edx, edi
mov ecx, esi
call fcn.10053fc5
push edi
push esi
call fcn.1005448d
push esi
mov ecx, edi
call fcn.10052a25
add esp, 0xc
mov edx, edi
mov ecx, esi
call fcn.100526fd
mov edx, edi
mov ecx, esi
call fcn.100525df
push esi
mov ecx, edi
call fcn.10052129
pop ecx
mov edx, edi
mov ecx, esi
call fcn.10053136
mov edx, edi
mov ecx, esi
call fcn.10054877
mov ecx, esi
call fcn.10054cac
push edi
mov ecx, esi
call fcn.10054d87
pop ecx
push esi
push 0x64
lea eax, [ebp - 0x70]
push eax
push 0x1008b588
push str.D12CHECK1
push str.config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.MSVCR100.dll_atoi]
pop ecx
push edi
mov dword [0x103ccaac], eax
call dword [sym.imp.mfc100.dll_Ordinal_1296]
mov esi, dword [sym.imp.mfc100.dll_Ordinal_13219]
pop ecx
push 0
mov ecx, 0x103c8b30
call esi
push 0
mov ecx, 0x103cc930
call esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1008344f
leave
ret
Function at 0x1005b82a
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [0x307809c]
fld dword [esi + 0x1f6c]
call fcn.100840a0
fld dword [esi + 0x1f74]
mov dword [ebp - 8], eax
call fcn.100840a0
push dword [ebp + 8]
mov dword [ebp - 0xc], eax
push 0x10128274
call dword [sym.imp.MSVCR100.dll_strcmp]
pop ecx
pop ecx
test eax, eax
jne 0x1005b886
mov eax, dword [0x10114474]
add eax, 0x44
push eax
push dword [0x100dfd8c]
call dword [sym.imp.USER32.dll_KillTimer]
call fcn.1005fd5f
jmp 0x1005b93c
push edi
mov edi, 0x1008c850
call fcn.10006aa3
pop edi
cmp eax, 1
jne 0x1005b8a7
push str.ClickBox1
call fcn.1003b192
pop ecx
jmp 0x1005b93c
fild dword [ebp + 0xc]
push ecx
push ecx
fstp dword [ebp - 4]
fld dword [ebp - 4]
fstp dword [esp + 4]
fild dword [ebp - 8]
fstp dword [esp]
call fcn.10055bc3
fcomp qword [0x1009ee40]
pop ecx
pop ecx
fnstsw ax
test ah, 5
jp 0x1005b91d
fild dword [ebp + 0x14]
push ecx
push ecx
fstp dword [esp + 4]
fild dword [ebp - 0xc]
fstp dword [esp]
call fcn.10055bc3
fcomp qword [0x1009ee40]
pop ecx
pop ecx
fnstsw ax
test ah, 5
jp 0x1005b91d
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x103d8a8c]
cmp eax, 0xbb8
jbe 0x1005b91d
push dword [ebp + 0x18]
push 1
call fcn.1003b84b
pop ecx
pop ecx
call esi
mov dword [0x103d8a8c], eax
jmp 0x1005b93c
fild dword [ebp + 0x14]
sub esp, 0xc
fstp dword [esp + 8]
fild dword [ebp + 0x10]
fstp dword [esp + 4]
fld dword [ebp - 4]
fstp dword [esp]
call fcn.1003a670
add esp, 0xc
pop esi
leave
ret

Function at 0x1005b93f
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [0x307809c]
fld dword [esi + 0x1f6c]
call fcn.100840a0
fld dword [esi + 0x1f74]
mov dword [ebp - 8], eax
call fcn.100840a0
push dword [ebp + 8]
mov dword [ebp - 0xc], eax
push 0x10128274
call dword [sym.imp.MSVCR100.dll_strcmp]
pop ecx
pop ecx
test eax, eax
jne 0x1005b99d
mov eax, dword [0x10114474]
add eax, 0x93
push eax
push dword [0x100dfd8c]
call dword [sym.imp.USER32.dll_KillTimer]
call fcn.10066b7b
jmp 0x1005ba53
push edi
mov edi, 0x1008c850
call fcn.10006aa3
pop edi
cmp eax, 1
jne 0x1005b9be
push str.ClickBox1
call fcn.1003b192
pop ecx
jmp 0x1005ba53
fild dword [ebp + 0xc]
push ecx
push ecx
fstp dword [ebp - 4]
fld dword [ebp - 4]
fstp dword [esp + 4]
fild dword [ebp - 8]
fstp dword [esp]
call fcn.10055bc3
fcomp qword [0x1009ee40]
pop ecx
pop ecx
fnstsw ax
test ah, 5
jp 0x1005ba34
fild dword [ebp + 0x14]
push ecx
push ecx
fstp dword [esp + 4]
fild dword [ebp - 0xc]
fstp dword [esp]
call fcn.10055bc3
fcomp qword [0x1009ee40]
pop ecx
pop ecx
fnstsw ax
test ah, 5
jp 0x1005ba34
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x103d8a88]
cmp eax, 0xbb8
jbe 0x1005ba34
push dword [ebp + 0x18]
push 1
call fcn.1003b84b
pop ecx
pop ecx
call esi
mov dword [0x103d8a88], eax
jmp 0x1005ba53
fild dword [ebp + 0x14]
sub esp, 0xc
fstp dword [esp + 8]
fild dword [ebp + 0x10]
fstp dword [esp + 4]
fld dword [ebp - 4]
fstp dword [esp]
call fcn.1003a670
add esp, 0xc
pop esi
leave
ret
Function at 0x10070695
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Initialize winsock library
Receive data
Receive data on socket
Resolve dns
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x278
mov eax, dword [0x100a609c]
xor eax, esp
mov dword [esp + 0x274], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov dword [esp + 0xc], eax
lea eax, [esp + 0x20]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x100706d4
or eax, 0xffffffff
jmp 0x100707cf
cmp byte [esp + 0x20], 1
jne 0x100707c6
mov eax, dword [esp + 0x20]
shr eax, 8
cmp al, 1
jne 0x100707c6
push str.down10.17babygame.com
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov esi, eax
test esi, esi
je 0x100706cc
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov edi, eax
mov eax, dword [esi + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
push 2
mov dword [esp + 0x18], eax
pop eax
push 0x16e2
mov word [esp + 0x14], ax
call dword [sym.imp.WS2_32.dll_htons]
mov word [esp + 0x12], ax
push 0x10
lea eax, [esp + 0x14]
push eax
push edi
call dword [sym.imp.WS2_32.dll_connect]
or esi, 0xffffffff
cmp eax, esi
jne 0x1007074c
mov eax, esi
jmp 0x100707cf
push 0
push dword [esp + 0x10]
call dword [sym.imp.MSVCR100.dll_strlen]
pop ecx
push eax
push dword [esp + 0x14]
push edi
call dword [sym.imp.WS2_32.dll_send]
cmp eax, esi
je 0x10070745
mov esi, 0xc8
push esi
lea eax, [esp + 0x1b4]
push 0
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0
push esi
lea eax, [esp + 0x1b8]
push eax
push edi
call dword [sym.imp.WS2_32.dll_recv]
lea eax, [esp + 0x1b0]
push 0x1008b578
push eax
call dword [sym.imp.MSVCR100.dll_strcmp]
pop ecx
pop ecx
test eax, eax
jne 0x100707b4
push 1
call fcn.100705ca
pop ecx
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
xor eax, eax
inc eax
jmp 0x100707cf
call dword [sym.imp.WS2_32.dll_WSACleanup]
push 0xfffffffffffffffe
pop eax
mov ecx, dword [esp + 0x27c]
pop edi
pop esi
xor ecx, esp
call fcn.1008344f
mov esp, ebp
pop ebp
ret
Function at 0x10070896
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x268
mov eax, dword [0x100a609c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x103d8a84]
cmp eax, 0x64
ja 0x100708c4
mov al, 1
jmp 0x10070aa4
push ebx
push edi
call esi
mov dword [0x103d8a84], eax
push 0x46
xor eax, eax
pop ecx
mov edi, 0x10114480
rep stosd dword es:[edi], eax
mov eax, dword [0x3059754]
xor ebx, ebx
mov byte [ebp - 0x25d], bl
mov dword [ebp - 0x268], ebx
lea edi, [eax + 0x53c]
mov dword [ebp - 0x264], ebx
mov eax, dword [ebp - 0x268]
cmp dword [eax*4 + 0x1011278c], 1
jne 0x10070a7b
cmp byte [ebp + 8], 1
jne 0x100709b2
mov esi, dword [edi]
push 0xc8
lea eax, [ebp - 0x25c]
push ebx
push eax
call sub.MSVCR100.dll_memset
push 0x64
lea eax, [ebp - 0x68]
push ebx
push eax
call sub.MSVCR100.dll_memset
add esp, 0x18
cmp esi, ebx
je 0x10070965
lea eax, [ebp - 0x68]
push eax
mov ecx, esi
call fcn.1000d25b
lea eax, [ebp - 0x68]
push eax
add esi, 0x64
push esi
lea eax, [ebp - 0x25c]
push 0x1008d900
push eax
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0x14
mov esi, dword [ebp - 0x264]
lea esi, [esi + 0x10111738]
lea eax, [ebp - 0x25c]
push esi
push eax
call dword [sym.imp.MSVCR100.dll_strcmp]
pop ecx
pop ecx
test eax, eax
je 0x10070a7b
push esi
call fcn.100707e3
mov esi, eax
pop ecx
cmp esi, ebx
jl 0x10070a7b
mov eax, dword [ebp - 0x264]
lea eax, [eax + 0x101111c0]
push eax
lea eax, [ebp - 0x25c]
jmp 0x10070a53
cmp byte [ebp + 8], bl
jne 0x10070a7b
mov esi, dword [edi]
push 0xc8
lea eax, [ebp - 0x194]
push ebx
push eax
call sub.MSVCR100.dll_memset
push 0x64
lea eax, [ebp - 0xcc]
push ebx
push eax
call sub.MSVCR100.dll_memset
add esp, 0x18
cmp esi, ebx
je 0x10070a13
lea eax, [ebp - 0xcc]
push eax
mov ecx, esi
call fcn.1000d25b
lea eax, [ebp - 0xcc]
push eax
add esi, 0x64
push esi
lea eax, [ebp - 0x194]
push 0x1008d900
push eax
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0x14
mov esi, dword [ebp - 0x264]
lea esi, [esi + 0x101111c0]
lea eax, [ebp - 0x194]
push esi
push eax
call dword [sym.imp.MSVCR100.dll_strcmp]
pop ecx
pop ecx
test eax, eax
je 0x10070a7b
push esi
call fcn.100707e3
mov esi, eax
pop ecx
cmp esi, ebx
jl 0x10070a7b
mov eax, dword [ebp - 0x264]
lea eax, [eax + 0x10111738]
push eax
lea eax, [ebp - 0x194]
push eax
call dword [sym.imp.MSVCR100.dll_strcmp]
pop ecx
pop ecx
test eax, eax
jne 0x10070a7b
push 1
push 1
push ebx
push dword [ebp - 0x268]
push esi
call fcn.1003c09b
mov byte [ebp - 0x25d], 1
add esp, 0x14
inc dword [ebp - 0x268]
add dword [ebp - 0x264], 0x64
add edi, 4
cmp dword [ebp - 0x268], 0xe
jl 0x100708f8
cmp byte [ebp - 0x25d], 1
pop edi
sete al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1008344f
leave
ret
Function at 0x10070ab1
Capabilities:
Act as tcp client
Check for time delay via gettickcount
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Initialize winsock library
Receive data
Receive data on socket
Resolve dns
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1b4
mov eax, dword [0x100a609c]
xor eax, esp
mov dword [esp + 0x1b0], eax
push ebx
push esi
push edi
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x20]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x10070af6
or eax, 0xffffffff
jmp 0x10070c0f
cmp byte [esp + 0x20], 1
jne 0x10070c06
mov eax, dword [esp + 0x20]
shr eax, 8
cmp al, 1
jne 0x10070c06
push str.down1.17babygame.com
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov esi, eax
test esi, esi
jne 0x10070b29
call dword [sym.imp.WS2_32.dll_WSACleanup]
jmp 0x10070aee
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov ebx, eax
mov eax, dword [esi + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
push 2
mov dword [esp + 0x18], eax
pop eax
push 0x7d3
mov word [esp + 0x14], ax
call dword [sym.imp.WS2_32.dll_htons]
mov word [esp + 0x12], ax
push 0x10
lea eax, [esp + 0x14]
push eax
push ebx
call dword [sym.imp.WS2_32.dll_connect]
or esi, 0xffffffff
cmp eax, esi
jne 0x10070b83
push ebx
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, esi
jmp 0x10070c0f
lea eax, [edi + 4]
push 0
push eax
call dword [sym.imp.MSVCR100.dll_strlen]
pop ecx
add eax, 4
push eax
push edi
push ebx
call dword [sym.imp.WS2_32.dll_send]
cmp eax, esi
je 0x10070b6f
xor eax, eax
lea edi, [esp + 0x1b0]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esp + 0xc]
cmp eax, 0x3a980
jb 0x10070bc3
push 0x14
pop esi
jmp 0x10070b6f
push 0
push 0xa
pop esi
push esi
lea eax, [esp + 0x1b8]
push eax
push ebx
call dword [sym.imp.WS2_32.dll_recv]
lea eax, [esp + 0x1b0]
push 0x1008b578
push eax
call dword [sym.imp.MSVCR100.dll_strcmp]
pop ecx
pop ecx
test eax, eax
je 0x10070b6f
push ebx
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
push 0x14
jmp 0x10070c0e
call dword [sym.imp.WS2_32.dll_WSACleanup]
push 0xfffffffffffffffe
pop eax
mov ecx, dword [esp + 0x1bc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1008344f
mov esp, ebp
pop ebp
ret
Function at 0x10074cf8
Capabilities:
Copy file
Enumerate files on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100844f5
mov eax, dword fs:[0]
push eax
sub esp, 0x610
mov eax, dword [0x100a609c]
xor eax, esp
mov dword [esp + 0x608], eax
push ebx
push esi
push edi
mov eax, dword [0x100a609c]
xor eax, esp
push eax
lea eax, [esp + 0x620]
mov dword fs:[0], eax
lea eax, [esp + 0x164]
push eax
push 0xc8
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov edi, dword [sym.imp.MSVCR100.dll_strcat]
lea eax, [esp + 0x164]
push 0x1009c71c
push eax
call edi
pop ecx
pop ecx
lea eax, [esp + 0x164]
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc100.dll_Ordinal_310]
and dword [esp + 0x628], 0
lea eax, [esp + 0x20]
push str..scs
push eax
lea esi, [esp + 0x1c]
call fcn.100183c1
mov eax, dword [eax]
pop ecx
pop ecx
lea ecx, [esp + 0x24]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
lea ecx, [esp + 0x20]
mov dword [esp + 0x1c], eax
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov esi, dword [sym.imp.MSVCR100.dll_strstr]
mov ebx, 0x3592e68
lea eax, [esp + 0x50]
push ebx
push eax
call esi
pop ecx
pop ecx
test eax, eax
je 0x10074e96
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.MSVCR100.dll_strlen]
add eax, 0xfffffffa
push ebx
mov dword [esp + 0x20], eax
call dword [sym.imp.MSVCR100.dll_strlen]
cmp dword [esp + 0x20], eax
jmp 0x10074e58
mov word [eax + 4], 0x74
lea eax, [esp + 0x164]
push 0x1009c71c
push eax
call edi
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x170]
push eax
call edi
add esp, 0x10
push 0
lea eax, [esp + 0x168]
push eax
lea eax, [esp + 0x3c4]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
jmp 0x10074eb3
lea eax, [esp + 0x50]
push ebx
push eax
call esi
pop ecx
pop ecx
test eax, eax
je 0x10074e96
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.MSVCR100.dll_strlen]
add eax, 0xfffffffa
push ebx
mov dword [esp + 0x20], eax
call dword [sym.imp.MSVCR100.dll_strlen]
cmp dword [esp + 0x20], eax
pop ecx
pop ecx
jne 0x10074e96
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x168]
push eax
lea eax, [esp + 0x3c4]
push 0x1008d900
push eax
call dword [sym.imp.MSVCR100.dll_sprintf]
lea eax, [esp + 0x174]
push str.lien
push eax
call esi
add esp, 0x18
test eax, eax
jne 0x10074de9
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x10074e2d
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov ecx, dword [esp + 0x620]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x608]
xor ecx, esp
call fcn.1008344f
mov esp, ebp
pop ebp
ret