joyce8/EMBER2024-capa huggingface dataset:
Function at 0x427460
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, ecx
xorps xmm0, xmm0
push edi
mov edi, dword [ebp + 8]
push 0x8000
mov eax, dword [ebx + 0x26d8]
push 0
mov edi, dword [eax + edi*4]
movups xmmword [edi + 0x8044], xmm0
lea esi, [edi + 0x40]
movups xmmword [edi + 0x8054], xmm0
push esi
movq qword [edi + 0x8064], xmm0
mov dword [edi + 0x8044], 0x28
call fcn.00463e50
mov ecx, dword [edi + 0x8040]
add esp, 0xc
mov dword [edi + 0x8058], esi
lea esi, [edi + 0x805c]
mov dword [esi], 0x8000
test ecx, ecx
je 0x4274d2
mov eax, dword [ecx + 0x10]
sub eax, dword [ecx + 0x18]
sub eax, dword [ecx + 8]
inc eax
jmp 0x4274f0
cmp dword [ebx + 0x5d100], 0xffffffff
jne 0x4274e4
cmp dword [ebx + 0x5d104], 0xffffffff
je 0x4274ff
mov eax, dword [ebx + 0x5d100]
sub eax, dword [ebx + 0x5d110]
cmp eax, 0x8000
mov ecx, 0x8000
cmovg eax, ecx
mov dword [esi], eax
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, dword [edi + 0x20]
mov dword [edi + 0x28], 9
cmp dword [eax + 4], 1
je 0x42755d
push edi
push 1
lea eax, [edi + 0x8044]
push eax
push dword [edi + 0x1c]
call dword [sym.imp.WININET.dll_InternetReadFileExA]
test eax, eax
je 0x427544
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_SetEvent]
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x427580
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret 4
push esi
push dword [esi]
push dword [edi + 0x8058]
push dword [edi + 0x1c]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x42752f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x427538
push dword [ebp + 8]
mov ecx, ebx
call fcn.00427900
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 4
Function at 0x427a30
Capabilities:
Connect to http server
Create http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x4b206c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, ecx
xor edx, edx
push 0x10000000
push 0
lea eax, [ebx + 0x61850]
mov dword [ebp - 0x10], ebx
xor ecx, ecx
cmp dx, word [eax]
push 0
push 0
cmove eax, ecx
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov ecx, eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], ecx
mov dword [eax + 0x14], ecx
test ecx, ecx
je 0x427bfb
mov eax, dword [eax + 0x20]
xor edi, edi
mov dword [ebp - 0xc], eax
xor esi, esi
lea edx, [eax + 0x2348]
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 8], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x427a95
sub ecx, dword [ebp - 8]
sar ecx, 1
cmovne edi, edx
mov edx, dword [ebp - 0xc]
add edx, 0x2048
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 8], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x427ac0
sub ecx, dword [ebp - 8]
sar ecx, 1
cmovne esi, edx
test edi, edi
jne 0x427af8
lea edx, [ebx + 0x60608]
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 8], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x427ae5
sub ecx, dword [ebp - 8]
sar ecx, 1
cmovne edi, edx
test esi, esi
jne 0x427b19
lea edx, [ebx + 0x60708]
mov ecx, edx
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x427b07
sub ecx, ebx
sar ecx, 1
cmovne esi, edx
mov eax, dword [ebp - 0xc]
xor ebx, ebx
push 0x425cc0
push dword [ebp - 0x14]
cmp dword [eax + 4], 1
setne bl
lea ebx, [ebx*2 + 1]
call dword [sym.imp.WININET.dll_InternetSetStatusCallbackW]
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x10]
push edx
mov ecx, dword [edx + 0x20]
push dword [eax + 0x26d4]
push ebx
movzx eax, word [ecx]
push esi
push edi
push eax
lea eax, [ecx + 0x2148]
push eax
push dword [edx + 0x14]
call dword [sym.imp.WININET.dll_InternetConnectW]
mov ebx, dword [ebp + 8]
mov dword [ebx + 0x18], eax
test eax, eax
je 0x427bfb
mov edi, dword [ebp - 0x10]
add edi, 0x60808
mov ecx, edi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x427b80
sub ecx, edx
sar ecx, 1
je 0x427bf4
mov dword [ebp - 0x20], 3
test edi, edi
je 0x427bbb
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x427ba1
sub ecx, edx
sar ecx, 1
lea esi, [ecx + 1]
cmp esi, 0x3fffffff
jle 0x427bc4
mov dword [ebp - 0x1c], 0
jmp 0x427bdc
add esi, esi
mov eax, esi
call fcn.00461590
mov ecx, esp
mov edx, edi
push 3
push esi
call fcn.00423e50
mov dword [ebp - 0x1c], eax
push 0xc
lea eax, [ebp - 0x20]
mov dword [ebp - 0x18], 0x492fa1
push eax
push 0x26
push dword [ebx + 0x14]
call dword [sym.imp.WININET.dll_InternetSetOptionA]
mov eax, 1
jmp 0x427bfd
xor eax, eax
lea esp, [ebp - 0x2c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00460c27
mov esp, ebp
pop ebp
ret 4
Function at 0x427c20
Capabilities:
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1048
call fcn.00461a60
mov eax, dword [0x4b206c]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x100c]
mov ebx, ecx
mov dword [ebp - 0x1020], 0x496124
push 0x1000
push 0
push eax
mov esi, dword [ebx + 0x2480]
mov dword [ebp - 0x1018], ebx
mov dword [ebp - 0x101c], 0
call fcn.00463e50
mov ecx, dword [edi + 0x20]
add esp, 0xc
lea eax, [ecx + 0x1048]
push eax
lea eax, [ecx + 0x48]
push eax
push str._s_s
lea eax, [ebp - 0x100c]
push 0x7ff
push eax
call fcn.0042a230
add esp, 0x14
mov eax, 0x8400c300
cmp dword [ebx + 0x62cb4], 0
mov edx, 0x8408c300
cmove edx, eax
mov eax, dword [edi + 0x20]
push edi
mov ecx, edx
or ecx, 0x803000
cmp dword [eax + 4], 4
lea eax, [ebp - 0x1020]
cmovne ecx, edx
test esi, esi
push ecx
push eax
push 0
push str.HTTP_1.1
lea eax, [ebp - 0x100c]
mov ecx, str.POST
push eax
mov eax, 0x49612c
cmovne eax, ecx
push eax
push dword [edi + 0x18]
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [edi + 0x1c], eax
test eax, eax
je 0x427dfe
mov esi, dword [sym.imp.WININET.dll_InternetSetOptionW]
lea ecx, [ebp - 0x1010]
push 4
push ecx
push 2
push eax
mov dword [ebp - 0x1010], 0x3a98
call esi
push 4
lea eax, [ebp - 0x1014]
mov dword [ebp - 0x1014], 1
push eax
push 0x41
push dword [edi + 0x1c]
call esi
mov ebx, eax
xor ecx, ecx
mov eax, 0x5168
mov edx, 2
mul edx
xorps xmm0, xmm0
movups xmmword [ebp - 0x1048], xmm0
movups xmmword [ebp - 0x1038], xmm0
mov dword [ebp - 0x1048], 0x28
movq qword [ebp - 0x1028], xmm0
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00460c70
mov esi, eax
add esp, 4
test esi, esi
je 0x427dc5
push 0xa2d0
push 0
push esi
call fcn.00463e50
add esp, 0xc
push ebx
push ecx
mov ecx, dword [ebp - 0x1018]
push esi
push edi
call fcn.00427f20
mov eax, esi
mov dword [ebp - 0x1040], esi
lea edx, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x427db0
sub eax, edx
sar eax, 1
mov dword [ebp - 0x103c], eax
push edi
push 1
push 0
lea eax, [ebp - 0x1048]
push eax
push dword [edi + 0x1c]
call dword [sym.imp.WININET.dll_HttpSendRequestExW]
mov edi, eax
test esi, esi
je 0x427de9
push esi
call fcn.00461100
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00460c27
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 8]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00460c27
mov esp, ebp
pop ebp
ret 4
Function at 0x428590
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x4b206c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
cmp dword [esi + 8], 0
jne 0x428719
xorps xmm0, xmm0
lea edi, [esi + 0x5d120]
push edi
movlpd qword [ebp - 0x20], xmm0
call dword [sym.imp.SHLWAPI.dll_PathGetDriveNumberW]
add eax, 0x41
mov dword [ebp - 0xa], 0x5c003a
mov word [ebp - 0xc], ax
xor eax, eax
push eax
push eax
mov word [ebp - 6], ax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x428744
mov ecx, dword [esi + 0x5d100]
mov eax, dword [esi + 0x5d104]
cmp ecx, 0xffffffff
jne 0x428604
cmp eax, ecx
je 0x42862c
cmp dword [ebp - 0x1c], eax
ja 0x42862c
jb 0x428610
cmp dword [ebp - 0x20], ecx
ja 0x42862c
mov dword [esi + 0x2470], 2
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00460c27
mov esp, ebp
pop ebp
ret
push 0
push 0x20
push 4
push 0
push 1
push 0xc0000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 8], eax
cmp eax, 0xffffffff
je 0x42872e
cmp dword [esi + 0x26f0], 0
je 0x428719
mov eax, dword [esi + 0x26e4]
mov ecx, esi
mov dword [esi + 0x26e8], eax
call fcn.00428a10
test eax, eax
jne 0x428719
cmp dword [esi + 0x2468], eax
ja 0x428688
mov dword [esi + 0x2468], 5
cmp dword [esi + 0x2468], 0xa
jbe 0x42869b
mov dword [esi + 0x2468], 0xa
mov dword [esi + 0x5cfc0], 0
lea ecx, [esi + 0x26e4]
mov dword [esi + 0x5cfc4], 0
mov edx, dword [esi + 0x5d100]
mov eax, dword [esi + 0x5d104]
add edx, 0xffffffff
mov dword [esi + 0x5cfc8], edx
adc eax, 0xffffffff
mov dword [esi + 0x5cfcc], eax
lea eax, [esi + 0x5cfb8]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
call fcn.00429d60
mov eax, dword [esi + 0x5d100]
mov cl, 0x20
mov edx, dword [esi + 0x5d104]
call fcn.00484b70
push 0
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push dword [esi + 0x5d100]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov eax, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00460c27
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x2470], 3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x2474], eax
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.00460c27
mov esp, ebp
pop ebp
ret
Function at 0x428820
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4b206c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], 0
push 0
push eax
mov esi, ecx
mov dword [ebp - 0x214], 0
call fcn.00463e50
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
add esp, 0xc
push 2
push 0
push 0xffffffffffffff96
push dword [esi + 8]
call edi
push 0
lea eax, [ebp - 0x210]
push eax
push 0x6a
lea eax, [ebp - 0x20c]
push eax
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 0x210], 0x6a
jne 0x42891a
mov ecx, str.546865576F726C64_86C36F73_2C25_4a7d_91EA_F5581018A42D
lea eax, [ebp - 0x20c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4288cb
test dx, dx
je 0x4288c7
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4288cb
add eax, 4
add ecx, 4
test dx, dx
jne 0x4288a5
xor eax, eax
jmp 0x4288d0
sbb eax, eax
or eax, 1
test eax, eax
jne 0x42891a
push 1
push eax
push 0xffffffffffffff92
push dword [esi + 8]
call edi
push 0
lea eax, [ebp - 0x210]
push eax
push 4
lea eax, [ebp - 0x214]
push eax
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0x214]
add eax, dword [ebp - 0x210]
push 1
push 0
neg eax
push eax
push dword [esi + 8]
call edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00460c27
mov esp, ebp
pop ebp
ret

Function at 0x428930
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, ecx
mov dword [ebp - 8], 0
push 2
push 0
push 0
mov eax, dword [esi + 0x26e8]
sub eax, dword [esi + 0x26e4]
push dword [esi + 8]
sar eax, 2
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp - 4], 0
je 0x4289ff
push ebx
push edi
push 0
lea eax, [ebp - 8]
push eax
push 4
lea eax, [ebp - 4]
push eax
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esi + 0x26e8]
xor edi, edi
sub eax, dword [esi + 0x26e4]
mov ebx, 4
sar eax, 2
test eax, eax
je 0x4289d1
nop dword [eax]
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [esi + 0x26e4]
push 0x20
push dword [eax + edi*4]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esi + 0x26e8]
inc edi
sub eax, dword [esi + 0x26e4]
add ebx, 0x20
sar eax, 2
cmp edi, eax
jb 0x4289a0
push 0
lea eax, [ebp - 8]
mov dword [ebp - 4], ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
push eax
push 4
lea eax, [ebp - 4]
push eax
push dword [esi + 8]
call ebx
push 0
lea eax, [ebp - 8]
push eax
push 0x6a
push str.546865576F726C64_86C36F73_2C25_4a7d_91EA_F5581018A42D
push dword [esi + 8]
call ebx
pop edi
pop ebx
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x428ce0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov eax, dword [edi + 0x20]
mov ebx, dword [edi + 0x805c]
cmp dword [eax + 4], 1
jne 0x428cff
mov ebx, dword [edi]
cmp dword [esi + 0x26f0], 0
je 0x428db7
call fcn.00428820
mov eax, dword [edi + 0x8040]
mov dword [ebp - 8], eax
push 0
mov edx, dword [eax + 8]
add edx, dword [eax + 0x18]
mov ecx, dword [eax + 0xc]
adc ecx, dword [eax + 0x1c]
mov eax, ecx
mov dword [ebp - 4], ecx
sar eax, 0x1f
lea eax, [ebp - 4]
push eax
push edx
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x428d51
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x428e01
push 0
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push eax
push ebx
lea eax, [edi + 0x40]
push eax
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x428e01
mov ecx, dword [ebp + 8]
cmp ecx, ebx
jne 0x428e01
mov eax, dword [ebp - 8]
add dword [eax + 0x18], ecx
mov ecx, esi
adc dword [eax + 0x1c], 0
mov eax, dword [ebp + 8]
add dword [esi + 0x5d110], eax
push eax
adc dword [esi + 0x5d114], 0
push edi
call fcn.00428e10
mov ecx, esi
call fcn.00428930
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push eax
push ebx
lea eax, [edi + 0x40]
push eax
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x428e01
mov eax, dword [ebp + 8]
cmp eax, ebx
jne 0x428e01
add dword [esi + 0x5d110], eax
mov ecx, esi
push eax
adc dword [esi + 0x5d114], 0
push edi
call fcn.00428e10
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x429b30
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x63114
call fcn.00461a60
mov eax, dword [0x4b206c]
xor eax, esp
mov dword [esp + 0x63110], eax
push esi
push 0x208
lea eax, [esp + 0x62f0c]
mov esi, ecx
push 0
push eax
call fcn.00463e50
add esp, 0xc
lea eax, [esp + 0x62f08]
push eax
push 0x103
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x208
lea eax, [esp + 0x62d04]
push 0
push eax
call fcn.00463e50
add esp, 0xc
lea eax, [esp + 0x62d00]
push eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push 0x49611c
lea eax, [esp + 0x62f14]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea ecx, [esp + 8]
call fcn.00425140
lea ecx, [esp + 8]
call fcn.004258b0
push 0x1048
lea eax, [esp + 0x5d53c]
push 0
push eax
call fcn.00463e50
push esi
push 0x492e48
lea eax, [esp + 0x5d54c]
push 0x823
push eax
call fcn.0042a1f0
push 0x208
lea eax, [esp + 0x5d148]
push 0
push eax
call fcn.00463e50
lea eax, [esp + 0x62d28]
push eax
push 0x492e48
lea eax, [esp + 0x5d158]
push 0x103
push eax
call fcn.00415400
add esp, 0x38
mov dword [esp + 0x26b0], 0x1388
lea ecx, [esp + 8]
call fcn.004257e0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x429c51
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
push dword [esp + 0x246c]
mov dword [esp + 0x18], 0
call esi
push 0xa
mov dword [esp + 0x2470], 0
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x62d00]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 8]
call fcn.004254f0
mov ecx, dword [esp + 0x63114]
pop esi
xor ecx, esp
call fcn.00460c27
mov esp, ebp
pop ebp
ret
Function at 0x42aba0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
mov eax, dword [0x4b206c]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push 0xffffffffffffffff
lea ecx, [esi + 4]
push 0
mov dword [esi], 0x4965f8
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push edi
mov byte [ecx], 0
call fcn.00401b8d
push 0x7d0
lea eax, [esi + 0x20]
mov dword [esi + 0x1c], 0
push eax
mov dword [esi], 0x496408
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
push 0x30
mov byte [esi + 0x38], 0
call fcn.00460c38
add esp, 4
mov ebx, eax
cmp dword [edi + 0x14], 0x10
jb 0x42ac12
mov ecx, dword [edi]
jmp 0x42ac14
mov ecx, edi
mov eax, dword [edi + 0x10]
lea edx, [ebp - 0x6c]
mov dword [ebp - 0x6c], ecx
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x64], 0x67452301
mov dword [ebp - 0x60], 0xefcdab89
mov dword [ebp - 0x5c], 0x98badcfe
mov dword [ebp - 0x58], 0x10325476
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x68], eax
call fcn.00436510
lea edx, [ebp - 0x64]
lea ecx, [ebp - 0x74]
call fcn.00436630
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x70]
bswap eax
bswap ecx
push eax
push ecx
mov ecx, ebx
call fcn.004318c0
push 0x30
mov dword [esi + 0x3c], eax
call fcn.00460c38
mov edx, eax
add esp, 4
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax + 0x20]
push dword [ecx + 4]
push dword [ecx]
mov ecx, edx
call fcn.004318c0
mov ecx, dword [ebp - 8]
mov dword [esi + 0x40], eax
xor ecx, ebp
pop edi
mov eax, esi
pop esi
pop ebx
call fcn.00460c27
mov esp, ebp
pop ebp
ret 4
Function at 0x42acb0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
mov eax, dword [0x4b206c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, ecx
mov dword [ebp - 0x68], eax
push 0xffffffffffffffff
lea ecx, [edi + 4]
push 0
mov dword [edi], 0x4965f8
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push ebx
mov byte [ecx], 0
call fcn.00401b8d
lea eax, [edi + 0x20]
mov dword [edi + 0x1c], 0
push 0x7d0
push eax
mov dword [edi], 0x496408
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
push 0x38
mov byte [edi + 0x38], 0
call fcn.00460c38
add esp, 4
mov dword [ebp - 0x64], eax
cmp dword [ebx + 0x14], 0x10
push esi
push dword [ebp + 8]
jb 0x42ad30
mov ecx, dword [ebx]
jmp 0x42ad32
mov ecx, ebx
mov eax, dword [ebx + 0x10]
lea edx, [ebp - 0x70]
mov dword [ebp - 0x70], ecx
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x60], 0x67452301
mov dword [ebp - 0x5c], 0xefcdab89
mov dword [ebp - 0x58], 0x98badcfe
mov dword [ebp - 0x54], 0x10325476
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x6c], eax
call fcn.00436510
lea edx, [ebp - 0x60]
lea ecx, [ebp - 0x78]
call fcn.00436630
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x74]
bswap eax
bswap ecx
push eax
push ecx
mov ecx, dword [ebp - 0x64]
call fcn.00430c40
push 0x38
mov dword [edi + 0x3c], eax
call fcn.00460c38
mov esi, eax
add esp, 4
mov eax, dword [edi + 0x3c]
push dword [ebp - 0x68]
mov eax, dword [eax + 0x20]
push dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
add edx, 1
adc ecx, 0
push ecx
push edx
mov ecx, esi
call fcn.00430c40
mov ecx, dword [ebp - 4]
mov dword [edi + 0x40], eax
xor ecx, ebp
mov eax, edi
pop edi
pop esi
pop ebx
call fcn.00460c27
mov esp, ebp
pop ebp
ret 0x10

Function at 0x42c5c0
Capabilities:
Get thread local storage value

Disassembly:
push ecx
push esi
push edi
mov edi, ecx
call fcn.00431fc0
mov esi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push dword [eax]
call esi
test eax, eax
jne 0x42c62f
call fcn.0042c6a0
mov eax, dword [0x4b2a70]
push eax
call esi
mov ecx, eax
test ecx, ecx
jne 0x42c5f2
call fcn.0042cdc0
mov ecx, eax
mov eax, dword [0x4b6d24]
cmp dword [ecx + eax*4], 0
jne 0x42c62f
push 0x70
call fcn.00460c38
add esp, 4
mov ecx, eax
push edi
call fcn.0042c460
mov ecx, dword [0x4b2a70]
mov edi, eax
push ecx
call esi
mov ecx, eax
test ecx, ecx
jne 0x42c627
call fcn.0042cdc0
mov ecx, eax
mov eax, dword [0x4b6d24]
mov dword [ecx + eax*4], edi
pop edi
pop esi
pop ecx
ret
Function at 0x42cdc0
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x4b206c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [0x4b2a70]
mov dword [ebp - 0x40c], 0
mov dword [ebp - 0x40c], ebx
push esi
push edi
cmp ebx, 0xffffffff
jne 0x42ce52
mov edi, dword [sym.imp.KERNEL32.dll_TlsAlloc]
call edi
mov esi, dword [sym.imp.KERNEL32.dll_TlsFree]
cmp eax, ebx
je 0x42ce0d
mov ebx, eax
mov dword [ebp - 0x40c], ebx
jmp 0x42ce30
mov byte [0], 0
call edi
cmp eax, 0xffffffff
je 0x42ce25
mov ebx, eax
mov dword [ebp - 0x40c], ebx
jmp 0x42ce2c
mov byte [0], 0
push 0xffffffffffffffff
call esi
mov ecx, ebx
mov edx, 0x4b2a70
or eax, 0xffffffff
lock cmpxchg dword [edx], ecx
cmp eax, 0xffffffff
je 0x42ce52
push ebx
call esi
mov ebx, dword [0x4b2a70]
mov dword [ebp - 0x40c], ebx
push ebx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x42ce64
mov byte [0], 0
push 0x400
lea eax, [ebp - 0x408]
push 0
push eax
call fcn.00463e50
add esp, 0xc
lea eax, [ebp - 0x408]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push 0x400
call fcn.00460c70
add esp, 4
lea esi, [ebp - 0x408]
mov ebx, eax
mov ecx, 0x100
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
push ebx
push dword [ebp - 0x40c]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00460c27
mov esp, ebp
pop ebp
ret

Function at 0x42ced0
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x40c
mov eax, dword [0x4b206c]
xor eax, esp
mov dword [esp + 0x408], eax
mov eax, dword [0x4b2a70]
push ebx
push esi
mov ebx, ecx
mov dword [esp + 8], 0
push edi
mov ecx, 0x100
mov dword [esp + 0xc], eax
mov esi, ebx
lea edi, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x10]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push ebx
call fcn.00461100
add esp, 4
mov edi, 0x100
nop word [eax + eax]
mov esi, dword [0x4b6d28]
xor dl, dl
test esi, esi
jle 0x42cf68
nop dword [eax]
mov ecx, dword [esp + esi*4 + 0x10]
test ecx, ecx
je 0x42cf63
mov eax, dword [esi*4 + 0x4b57b0]
test eax, eax
je 0x42cf63
push ecx
mov dword [esp + esi*4 + 0x14], 0
call eax
add esp, 4
mov dl, 1
dec esi
test esi, esi
jg 0x42cf40
dec edi
test edi, edi
jle 0x42cf71
test dl, dl
jne 0x42cf30
push 0
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [esp + 0x414]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00460c27
mov esp, ebp
pop ebp
ret

Function at 0x42d010
Capabilities:
Hash data with md5

Disassembly:
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x10], 0
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret