joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403984
Capabilities:
Check for software breakpoints
Decrypt data using tea

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov eax, fcn.004018dc
mov dword [ebp - 4], eax
mov esi, dword [ebp - 4]
mov al, byte [esi]
cmp al, 0xcc
je 0x403a3a
mov eax, fcn.00401580
mov dword [ebp - 8], eax
mov esi, dword [ebp - 8]
mov al, byte [esi]
cmp al, 0xcc
je 0x403a3a
mov eax, fcn.00403984
mov dword [ebp - 0xc], eax
mov esi, dword [ebp - 0xc]
mov al, byte [esi]
cmp al, 0xcc
je 0x403a3a
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov ebx, 0xc6ef3720
mov edi, 0x20
mov ecx, dword [edx]
mov edx, dword [eax + 4]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x1c], eax
jmp 0x403a3a
mov eax, ecx
shl eax, 4
add eax, dword [ebp - 0x18]
lea esi, [ebx + ecx]
xor eax, esi
mov esi, ecx
shr esi, 5
add esi, dword [ebp - 0x1c]
xor eax, esi
sub edx, eax
mov eax, edx
shl eax, 4
add eax, dword [ebp - 0x10]
lea esi, [ebx + edx]
xor eax, esi
mov esi, edx
shr esi, 5
add esi, dword [ebp - 0x14]
xor eax, esi
sub ecx, eax
sub ebx, 0x9e3779b9
mov eax, edi
add edi, 0xffffffff
test eax, eax
jg 0x403a02
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x403b60
Capabilities:
Check for software breakpoints
Decrypt data using tea

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov eax, fcn.004018dc
mov dword [ebp - 4], eax
mov esi, dword [ebp - 4]
mov al, byte [esi]
cmp al, 0xcc
je 0x403c16
mov eax, fcn.00401580
mov dword [ebp - 8], eax
mov esi, dword [ebp - 8]
mov al, byte [esi]
cmp al, 0xcc
je 0x403c16
mov eax, fcn.00403b10
mov dword [ebp - 0xc], eax
mov esi, dword [ebp - 0xc]
mov al, byte [esi]
cmp al, 0xcc
je 0x403c16
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov ebx, 0xc6ef3720
mov edi, 0x20
mov ecx, dword [edx]
mov edx, dword [eax + 4]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x1c], eax
jmp 0x403c16
mov eax, ecx
shl eax, 4
add eax, dword [ebp - 0x18]
lea esi, [ebx + ecx]
xor eax, esi
mov esi, ecx
shr esi, 5
add esi, dword [ebp - 0x1c]
xor eax, esi
sub edx, eax
mov eax, edx
shl eax, 4
add eax, dword [ebp - 0x10]
lea esi, [ebx + edx]
xor eax, esi
mov esi, edx
shr esi, 5
add esi, dword [ebp - 0x14]
xor eax, esi
sub ecx, eax
sub ebx, 0x9e3779b9
mov eax, edi
add edi, 0xffffffff
test eax, eax
jg 0x403bde
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4052b8
Capabilities:
Get memory capacity

Disassembly:
add esp, 0xffffffe0
mov dword [esp], 0x20
push esp
call sub.KERNEL32.DLL_GlobalMemoryStatus
mov eax, dword [esp + 0xc]
add esp, 0x20
ret

Function at 0x40967c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_CreateFileA
mov ebx, eax
test eax, eax
je 0x4096de
call fcn.0040962c
mov esi, eax
lea eax, [ebp - 4]
push 0
push eax
push esi
call fcn.004059a4
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push edi
call fcn.004059a4
pop ecx
push eax
push edi
push ebx
call sub.KERNEL32.DLL_WriteFile
push ebx
call sub.KERNEL32.DLL_CloseHandle
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x40973c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
cmp dword [0x451948], 0
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x409816
cmp dword [0x451944], 0
jne 0x409816
cmp dword [0x451b38], 0
je 0x4097d0
push 0x80
lea eax, [ebp - 0x84]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push 0x5c
lea edx, [ebp - 0x84]
push edx
call fcn.0040952c
add esp, 8
mov ebx, eax
test eax, eax
jne 0x4097b6
push 0x3a
lea edx, [ebp - 0x84]
push edx
call fcn.0040952c
add esp, 8
mov ebx, eax
test eax, eax
jne 0x4097b6
lea ebx, [ebp - 0x84]
jmp 0x4097b7
inc ebx
call fcn.004096f8
or eax, 0x10010
push eax
push ebx
push esi
push 0
call sub.USER32.DLL_MessageBoxA
jmp 0x409851
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x45194c
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push esi
call fcn.004059a4
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea ecx, [ebp - 4]
push ecx
push 2
push 0x45194f
push ebx
call sub.KERNEL32.DLL_WriteFile
jmp 0x409851
cmp dword [0x451944], 0
je 0x409830
cmp dword [0x451944], 0xffffffff
je 0x409851
push esi
call dword [0x451944]
pop ecx
mov eax, dword [0x451948]
test eax, eax
je 0x409851
cmp dword [0x451948], 0xffffffff
je 0x409851
cmp byte [eax], 0
je 0x409851
push esi
push eax
call fcn.0040967c
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40a094
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
cmp dword [0x453e94], 0
jne 0x40a115
cmp dword [0x453eb4], 0
jne 0x40a0c4
call sub.KERNEL32.DLL_GetEnvironmentStrings
mov dword [0x453eb4], eax
test eax, eax
jne 0x40a0c4
push str.GetEnvironmentStrings_failed
call fcn.00409868
pop ecx
xor ebp, ebp
xor esi, esi
mov ebx, dword [0x453eb4]
jmp 0x40a0d8
lea eax, [edi + 1]
inc esi
add ebp, eax
add ebx, eax
push ebx
call fcn.004059a4
pop ecx
mov edi, eax
test eax, eax
jne 0x40a0d0
lea edi, [ebp + 1]
push edi
call fcn.00404870
pop ecx
mov ebx, eax
mov dword [0x453e98], ebx
test ebx, ebx
jne 0x40a102
xor eax, eax
jmp 0x40a1d8
push edi
mov edx, dword [0x453eb4]
push edx
push ebx
call fcn.00405854
add esp, 0xc
jmp 0x40a135
xor esi, esi
mov ebx, dword [0x453e94]
jmp 0x40a12f
push eax
call fcn.004059a4
pop ecx
test eax, eax
jne 0x40a12b
dec esi
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x40a11f
lea ebx, [esi + 4]
push 4
mov dword [0x453e9c], ebx
inc ebx
push ebx
call fcn.004043d4
add esp, 8
test eax, eax
mov dword [esp], eax
jne 0x40a158
xor eax, eax
jmp 0x40a1d8
cmp dword [0x453e94], 0
jne 0x40a189
xor esi, esi
mov ebx, dword [0x453e98]
mov eax, dword [esp]
mov ebp, eax
jmp 0x40a17a
mov dword [ebp], ebx
add ebp, 4
inc esi
inc edi
add ebx, edi
push ebx
call fcn.004059a4
pop ecx
mov edi, eax
test eax, eax
jne 0x40a170
jmp 0x40a1ba
xor esi, esi
mov ebx, dword [0x453e94]
mov eax, dword [esp]
mov edi, eax
jmp 0x40a1b4
push eax
call fcn.004059a4
pop ecx
test eax, eax
je 0x40a1a9
mov eax, dword [ebx]
mov dword [edi], eax
jmp 0x40a1ad
dec esi
add edi, 0xfffffffc
add edi, 4
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x40a198
mov eax, dword [0x453e94]
test eax, eax
je 0x40a1ca
push eax
call fcn.00404880
pop ecx
mov edx, dword [esp]
mov eax, 1
mov dword [0x453e94], edx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x40c958
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edi, 0x4525a8
sub eax, eax
test esi, esi
je 0x40ca38
sub eax, 1
test ecx, ecx
je 0x40ca36
test esi, 3
je 0x40c996
xor al, byte [esi]
inc esi
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x40c97b
mov edx, ecx
and edx, 7
shr ecx, 3
je 0x40ca1d
xor eax, dword [esi]
add esi, 4
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
xor eax, dword [esi]
add esi, 4
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x40c9a4
mov ecx, edx
test ecx, ecx
je 0x40ca36
xor al, byte [esi]
inc esi
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x40ca23
not eax
mov dword [esp + 0x1c], eax
popal
ret
Function at 0x40cd1c
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.0040cd9f
jae 0x40cd2a
xor ecx, ecx
call fcn.0040cd9f
jae 0x40cd59
xor eax, eax
call fcn.0040cd9f
jae 0x40cd69
mov bl, 2
inc ecx
mov al, 0x10
call fcn.0040cd9f
adc al, al
jae 0x40cd4b
jne 0x40cd95
stosb byte es:[edi], al
jmp 0x40cd2d
call fcn.0040cdab
sub ecx, ebx
jne 0x40cd72
call fcn.0040cda9
jmp 0x40cd91
lodsb al, byte [esi]
shr eax, 1
je 0x40cdbb
adc ecx, ecx
jmp 0x40cd8e
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.0040cda9
cmp eax, 0x7d00
jae 0x40cd8e
cmp ah, 5
jae 0x40cd8f
cmp eax, 0x7f
ja 0x40cd90
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x40cd2d
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret

Function at 0x40d0e8
Capabilities:
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
xor ecx, ecx
push ebx
push esi
push edi
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov esi, dword [ebx]
mov eax, dword [eax]
mov edx, dword [edx + 4]
mov dword [ebp - 4], esi
mov esi, dword [ebx + 4]
mov dword [ebp - 8], esi
mov esi, dword [ebx + 8]
mov dword [ebp - 0xc], esi
mov ebx, dword [ebx + 0xc]
mov dword [ebp - 0x10], ebx
mov ebx, 0x20
jmp 0x40d157
add ecx, 0x9e3779b9
mov esi, edx
shl esi, 4
add esi, dword [ebp - 4]
lea edi, [ecx + edx]
xor esi, edi
mov edi, edx
shr edi, 5
add edi, dword [ebp - 8]
xor esi, edi
add eax, esi
mov esi, eax
shl esi, 4
add esi, dword [ebp - 0xc]
lea edi, [ecx + eax]
xor esi, edi
mov edi, eax
shr edi, 5
add edi, dword [ebp - 0x10]
xor esi, edi
add edx, esi
mov esi, ebx
add ebx, 0xffffffff
test esi, esi
jg 0x40d11f
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov eax, dword [ebp + 8]
mov dword [eax + 4], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x40da58
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
xor eax, eax
push ebx
push esi
push edi
xor esi, esi
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0xc], 0x104
mov dword [ebp - 0x10], eax
lea eax, [ebp - 8]
lea edx, [ebp - 0xc]
push eax
push 0
push 0
push 0
push edx
lea ecx, [ebp - 0x114]
push ecx
push esi
push edi
call sub.ADVAPI32.DLL_RegEnumKeyExA
mov ebx, eax
test ebx, ebx
jne 0x40daf7
mov dword [ebp - 0xc], 0xc8
push str.HIDVid_3689Pid_8762
call fcn.004059a4
pop ecx
push eax
lea eax, [ebp - 0x110]
push eax
push 0x452e6a
call fcn.00405b10
add esp, 0xc
test eax, eax
jne 0x40daf7
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp + 0xc]
jne 0x40daf4
mov ecx, dword [ebp + 0x10]
mov esi, 0x452e96
mov edi, ecx
lea edx, [ebp - 0x110]
mov eax, edi
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
push edx
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.00405968
add esp, 8
mov eax, 1
jmp 0x40db02
inc dword [ebp - 0x10]
inc esi
test ebx, ebx
je 0x40da77
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4018fa
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x24
mov eax, dword [0x61c144]
lea edx, [ebp - 0x18]
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.cygcurl_4.dll_curl_multi_info_read
mov dword [ebp - 0x10], eax
jmp 0x4019e7
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
cmp eax, 1
jne 0x4019ad
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [0x61c1b8]
mov dword [ebp - 0xc], eax
jmp 0x401947
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x20]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x40195c
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
cmp edx, eax
jne 0x40193e
cmp dword [ebp - 0xc], 0
je 0x401983
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call fcn.004018db
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
mov dword [eax + 8], edx
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call fcn.004017fa
jmp 0x4019d0
call sub.cygwin1.dll___getreent
mov eax, dword [eax + 0xc]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x2b
mov dword [esp + 4], 1
mov dword [esp], str.Received_DONE_message_for_unknown_request__n
call sub.cygwin1.dll_fwrite
jmp 0x4019d0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov ebx, eax
call sub.cygwin1.dll___getreent
mov eax, dword [eax + 0xc]
mov dword [esp + 8], ebx
mov dword [esp + 4], str.Unknown_CURL_message_received:__d_n
mov dword [esp], eax
call sub.cygwin1.dll_fprintf
mov eax, dword [0x61c144]
lea edx, [ebp - 0x18]
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.cygcurl_4.dll_curl_multi_info_read
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x40191d
nop
nop
mov ebx, dword [ebp - 4]
leave
ret
Function at 0x402378
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x599138]
test eax, eax
je 0x4023a7
mov eax, dword [0x59913c]
test eax, eax
jne 0x40239c
mov dword [esp], 0x599120
call fcn.0041e3b1
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00402329
mov dword [esp], str.GIT_HTTP_PROXY_AUTHMETHOD
call sub.cygwin1.dll_getenv
mov dword [esp + 4], eax
mov dword [esp], 0x61c17c
call fcn.004022fd
mov eax, dword [0x61c17c]
test eax, eax
je 0x40246b
mov dword [ebp - 0xc], 0
jmp 0x402425
mov eax, dword [ebp - 0xc]
mov edx, dword [eax*8 + 0x5990e0]
mov eax, dword [0x61c17c]
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.cygwin1.dll_strcmp
test eax, eax
jne 0x402421
mov dword [ebp - 0x14], 0x6f
mov eax, dword [ebp - 0xc]
mov edx, dword [eax*8 + 0x5990e4]
mov eax, dword [ebp - 0x14]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.cygcurl_4.dll_curl_easy_setopt
jmp 0x40242d
add dword [ebp - 0xc], 1
mov eax, dword [ebp - 0xc]
cmp eax, 4
jbe 0x4023d9
cmp dword [ebp - 0xc], 5
jne 0x40248c
mov eax, dword [0x61c17c]
mov dword [esp + 4], eax
mov dword [esp], str.unsupported_proxy_authentication_method__s:_using_anyauth
call fcn.004b57fa
mov dword [ebp - 0x18], 0x6f
mov eax, dword [ebp - 0x18]
mov dword [esp + 8], 0xffffffef
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.cygcurl_4.dll_curl_easy_setopt
jmp 0x40248c
mov dword [ebp - 0x10], 0x6f
mov eax, dword [ebp - 0x10]
mov dword [esp + 8], 0xffffffef
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.cygcurl_4.dll_curl_easy_setopt
nop
leave
ret
Function at 0x403957
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call sub.cygwin1.dll_getenv
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x403979
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
mov dword [eax], edx
nop
leave
ret
Function at 0x4045c2
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
mov dword [ebp - 0x48], 0
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x48]
mov dword [eax + 0x10], edx
jmp 0x404760
call fcn.00404586
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
test eax, eax
je 0x404760
mov eax, dword [0x61c144]
lea edx, [ebp - 0x4c]
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.cygcurl_4.dll_curl_multi_timeout
mov eax, dword [ebp - 0x4c]
test eax, eax
jne 0x404610
jmp 0x404760
mov eax, dword [ebp - 0x4c]
cmp eax, 0xffffffff
jne 0x404628
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0xc350
jmp 0x40466e
mov ecx, dword [ebp - 0x4c]
mov edx, 0x10624dd3
mov eax, ecx
imul edx
mov eax, edx
sar eax, 6
sar ecx, 0x1f
mov edx, ecx
sub eax, edx
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x4c]
mov edx, 0x10624dd3
mov eax, ecx
imul edx
mov eax, edx
sar eax, 6
mov edx, ecx
sar edx, 0x1f
sub eax, edx
imul edx, eax, 0x3e8
mov eax, ecx
sub eax, edx
imul eax, eax, 0x3e8
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], 0xffffffff
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0xc], 2
jmp 0x404695
sub dword [ebp - 0xc], 1
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0xc]
mov dword [eax + edx*4], 0
cmp dword [ebp - 0xc], 0
jne 0x404684
lea eax, [ebp - 0x30]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], 2
jmp 0x4046bb
sub dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x10]
mov dword [eax + edx*4], 0
cmp dword [ebp - 0x10], 0
jne 0x4046aa
lea eax, [ebp - 0x38]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], 2
jmp 0x4046e1
sub dword [ebp - 0x14], 1
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x14]
mov dword [eax + edx*4], 0
cmp dword [ebp - 0x14], 0
jne 0x4046d0
mov eax, dword [0x61c144]
lea edx, [ebp - 0x3c]
mov dword [esp + 0x10], edx
lea edx, [ebp - 0x38]
mov dword [esp + 0xc], edx
lea edx, [ebp - 0x30]
mov dword [esp + 8], edx
lea edx, [ebp - 0x28]
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.cygcurl_4.dll_curl_multi_fdset
mov eax, dword [ebp - 0x3c]
test eax, eax
jns 0x404736
mov eax, dword [ebp - 0x44]
test eax, eax
jg 0x404728
mov eax, dword [ebp - 0x40]
cmp eax, 0xc350
jle 0x404736
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0xc350
mov eax, dword [ebp - 0x3c]
lea edx, [eax + 1]
lea eax, [ebp - 0x44]
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x38]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x30]
mov dword [esp + 8], eax
lea eax, [ebp - 0x28]
mov dword [esp + 4], eax
mov dword [esp], edx
call sub.cygwin1.dll_select
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x4045dd
nop
nop
leave
ret
Function at 0x4076c4
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 8]
mov eax, dword [eax]
lea edx, [eax + 4]
mov eax, dword [0x61c318]
mov eax, dword [eax]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00406475
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4076fd
mov eax, dword [ebp + 8]
mov dword [eax + 0x28], 7
jmp 0x407797
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xb20]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x1c], 0x4076aa
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
mov dword [eax + 0x18], edx
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
mov dword [eax + 0x138], edx
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
mov dword [eax + 0x134], edx
mov eax, dword [ebp + 8]
mov dword [eax + 0x28], 1
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call fcn.004043fd
test eax, eax
jne 0x407797
call sub.cygwin1.dll___getreent
mov eax, dword [eax + 0xc]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x1c
mov dword [esp + 4], 1
mov dword [esp], str.Unable_to_start_GET_request_n
call sub.cygwin1.dll_fwrite
mov eax, dword [0x61c318]
mov dword [eax + 0x10], 0
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call fcn.00406c38
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00407fb0
leave
ret
Function at 0x4086aa
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x61c300]
test eax, eax
je 0x4086e1
call sub.cygwin1.dll___getreent
mov eax, dword [eax + 0xc]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x12
mov dword [esp + 4], 1
mov dword [esp], str.Getting_pack_list_n
call sub.cygwin1.dll_fwrite
mov eax, dword [0x61c318]
lea edx, [eax + 0x18]
mov eax, dword [0x61c318]
mov eax, dword [eax]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00405d19
cmp eax, 1
ja 0x40870a
mov dword [ebp - 0xc], 0
jmp 0x408711
mov dword [ebp - 0xc], 0xffffffff
mov eax, dword [ebp - 0xc]
leave
ret
Function at 0x4090c4
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x44
mov eax, dword [0x61c318]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0
mov dword [esp + 4], 2
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00407583
mov dword [ebp - 0x14], eax
call fcn.00404058
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x2c]
mov dword [eax + 0x14], edx
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [esp + 8], str.UNLOCK
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00407387
mov dword [ebp - 0x1c], 0x2727
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x14]
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.cygcurl_4.dll_curl_easy_setopt
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call fcn.004043fd
test eax, eax
je 0x40918f
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call fcn.004045c2
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x40916e
mov dword [ebp - 0x10], 1
jmp 0x4091b7
mov ebx, dword [ebp - 0x28]
call sub.cygwin1.dll___getreent
mov eax, dword [eax + 0xc]
mov dword [esp + 8], ebx
mov dword [esp + 4], str.UNLOCK_HTTP_error__ld_n
mov dword [esp], eax
call sub.cygwin1.dll_fprintf
jmp 0x4091b7
call sub.cygwin1.dll___getreent
mov eax, dword [eax + 0xc]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x1f
mov dword [esp + 4], 1
mov dword [esp], str.Unable_to_start_UNLOCK_request_n
call sub.cygwin1.dll_fwrite
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sub.cygcurl_4.dll_curl_slist_free_all
mov eax, dword [0x61c318]
mov eax, dword [eax + 0x1c]
cmp dword [ebp + 8], eax
jne 0x4091e8
mov eax, dword [0x61c318]
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x5c]
mov dword [eax + 0x1c], edx
jmp 0x40920b
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x5c]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4091f9
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x5c]
cmp dword [ebp + 8], eax
jne 0x4091df
cmp dword [ebp - 0xc], 0
je 0x40920b
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x5c]
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x5c], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov dword [esp], eax
call sub.cygwin1.dll_free
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [esp], eax
call sub.cygwin1.dll_free
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov dword [esp], eax
call sub.cygwin1.dll_free
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.cygwin1.dll_free
mov eax, dword [ebp - 0x10]
mov ebx, dword [ebp - 4]
leave
ret
Function at 0x409247
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x61c318]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0xc], eax
call sub.cygwin1.dll___getreent
mov eax, dword [eax + 0xc]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x19
mov dword [esp + 4], 1
mov dword [esp], str.Removing_remote_locks..._n
call sub.cygwin1.dll_fwrite
jmp 0x40929c
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x5c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call fcn.004090c4
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x409282
nop
nop
leave
ret