Function at 0x40bf7c
Capabilities:
Hash data with md5

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x419074]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov esi, 0x419114
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x14]
lea edi, [ebp - 0x70]
mov dword [ebp - 0xc], eax
mov ebx, edx
mov eax, dword [0x41aea8]
lea edx, [ebp - 0x24]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x50], ecx
movsd dword es:[edi], dword [esi]
mov ecx, ebx
push eax
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x20], 0x67452301
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x1c], 0xefcdab89
mov dword [ebp - 0x18], 0x98badcfe
mov dword [ebp - 0x14], 0x10325476
movsd dword es:[edi], dword [esi]
xor esi, esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x3c], esi
call fcn.004133d0
mov edx, dword [ebp - 0x38]
mov ecx, dword [0x41912c]
mov dword [ebp - 0x40], eax
lea eax, [edx + 0x3f]
and eax, 0xffffffc0
lea edi, [edx - 1]
add edi, ecx
mov dword [ebp - 0x4c], eax
dec ecx
not ecx
and edi, ecx
cmp edi, edx
jb 0x40c464
mov ebx, dword [ebp - 0x48]
mov ecx, edi
mov eax, ebx
mov dword [ebp - 0x28], ebx
sub ecx, edx
sub eax, edx
cmp eax, ecx
jb 0x40c02a
mov eax, ecx
push eax
push esi
mov esi, dword [ebp - 0x24]
lea eax, [esi + edx]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
cmp dword [0x41af0c], 0
je 0x40c052
mov ecx, dword [ebp - 0x30]
mov edx, esi
push edi
call fcn.00416e83
mov dword [ebp - 0x30], eax
cmp dword [0x41af20], 0
je 0x40c066
push edi
mov edx, esi
lea ecx, [ebp - 0x70]
call fcn.00417628
cmp dword [0x41aed8], 0
je 0x40c081
cmp dword [esi], 0x4643534d
jne 0x40c081
mov eax, dword [esi + 0x36]
and dword [esi + 0x36], 0
mov dword [ebp - 0x3c], eax
push dword [ebp - 0x4c]
mov edx, esi
lea ecx, [ebp - 0x20]
call fcn.00417628
cmp dword [0x41aed8], 0
je 0x40c0a5
cmp dword [esi], 0x4643534d
jne 0x40c0a5
mov eax, dword [ebp - 0x3c]
mov dword [esi + 0x36], eax
lea eax, [ebp - 0x4c]
mov ecx, 0x419594
push eax
push dword [ebp - 0x50]
lea edx, [ebp - 0x20]
call fcn.00412bb1
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x40c35c
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x20]
mov ecx, eax
mov dword [ebp - 0x54], eax
cmp dword [eax + 4], 0
je 0x40c0e1
call fcn.0040a44b
mov dword [ebp - 0x58], eax
xor ecx, ecx
jmp 0x40c0ec
call fcn.0040a35f
and dword [ebp - 0x58], 0
mov ecx, eax
mov eax, dword [ebp - 0x54]
mov edx, ecx
mov dword [ebp - 0x4c], ecx
push dword [eax + 0xc]
push dword [eax + 8]
push ecx
push ecx
push 0
push 2
push ecx
push dword [0x419564]
mov ecx, dword [ebp - 0x58]
push 0
call fcn.004131af
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x44], eax
push ecx
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x34]
mov ecx, eax
call fcn.004133d0
cmp dword [0x41aed8], 0
mov eax, dword [ebp - 0x34]
je 0x40c140
cmp dword [eax], 0x4643534d
jne 0x40c140
mov ecx, dword [ebp - 0x3c]
mov dword [eax + 0x36], ecx
push dword [ebp - 0x38]
push eax
push esi
call sub.msvcrt.dll_memcmp
xor ecx, ecx
add esp, 0xc
test eax, eax
sete cl
mov dword [ebp - 0x2c], ecx
test ecx, ecx
jne 0x40c165
mov eax, dword [ebp - 0x44]
mov dword [eax + 0x48], 1
mov ecx, dword [ebp - 0x34]
call fcn.004125b3
cmp ebx, edi
jb 0x40c176
mov ebx, edi
mov dword [ebp - 0x28], edi
cmp dword [ebp - 0x2c], 0
jne 0x40c19b
mov ecx, dword [ebp - 0x44]
xor edx, edx
inc edx
call fcn.004134b7
mov edi, dword [ebp + 0xc]
mov ecx, esi
mov ebx, dword [ebp + 8]
mov edx, dword [ebp - 0x28]
push edi
push ebx
call fcn.00411bd0
jmp 0x40c1ae
mov edi, dword [ebp + 0xc]
sub esp, 0xc
mov edx, esi
push ebx
mov ebx, dword [ebp + 8]
push edi
push ebx
call fcn.004168e0
add ebx, dword [ebp - 0x28]
adc edi, 0
push edi
push ebx
call fcn.0040c855
mov esi, dword [ebp - 0x2c]
cmp dword [ebp - 0x40], 0
jne 0x40c2e2
mov ecx, dword [ebp - 0x60]
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x48]
push eax
lea edx, [ebp - 0x24]
call fcn.004133d0
mov dword [ebp - 0x40], eax
test esi, esi
je 0x40c239
mov ecx, dword [ebp - 0x44]
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x2c]
push eax
lea edx, [ebp - 0x34]
call fcn.004133d0
push dword [ebp - 0x38]
push dword [ebp - 0x34]
push dword [ebp - 0x24]
call sub.msvcrt.dll_memcmp
xor ecx, ecx
add esp, 0xc
test eax, eax
sete cl
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x34]
call fcn.004125b3
mov esi, dword [ebp - 0x2c]
test esi, esi
jne 0x40c239
mov eax, dword [ebp - 0x44]
mov dword [eax + 0x48], 1
call fcn.004169b8
mov ecx, dword [ebp - 0x44]
xor edx, edx
inc edx
call fcn.004134b7
mov edx, dword [ebp - 0x38]
mov eax, dword [0x41912c]
lea ecx, [edx - 1]
add ecx, eax
dec eax
not eax
and ecx, eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x3c], ecx
sub ecx, edx
mov dword [ebp - 0x28], eax
sub eax, edx
cmp eax, ecx
jb 0x40c25e
mov eax, ecx
push eax
mov eax, dword [ebp - 0x24]
add eax, edx
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
cmp dword [0x41af0c], 0
je 0x40c289
push dword [ebp - 0x3c]
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x30]
call fcn.00416e83
mov dword [ebp - 0x30], eax
cmp dword [0x41af20], 0
je 0x40c2a0
push dword [ebp - 0x3c]
mov edx, dword [ebp - 0x24]
lea ecx, [ebp - 0x70]
call fcn.00417628
mov eax, dword [ebp - 0x3c]
cmp dword [ebp - 0x28], eax
jae 0x40c2ad
mov eax, dword [ebp - 0x28]
jmp 0x40c2b0
mov dword [ebp - 0x28], eax
test esi, esi
je 0x40c2c4
mov edx, dword [ebp - 0x24]
sub esp, 0xc
push eax
push edi
push ebx
call fcn.004168e0
jmp 0x40c2d0
mov ecx, dword [ebp - 0x24]
mov edx, eax
push edi
push ebx
call fcn.00411bd0
add ebx, dword [ebp - 0x28]
adc edi, 0
push edi
push ebx
call fcn.0040c855
jmp 0x40c1be
test esi, esi
je 0x40c303
mov ecx, dword [ebp - 0x44]
xor edx, edx
inc edx
call fcn.004134b7
call fcn.00416a1a
mov edx, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x50]
call fcn.0040c767
jmp 0x40c327
mov edx, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x54]
call fcn.0040a4e4
call fcn.004169b8
mov eax, dword [ebp - 0x30]
lea esi, [ebp - 0x70]
mov edi, 0x419114
mov dword [0x41aea8], eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x40c33d
push eax
push 0
push dword [0x419e00]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x40c449
push eax
push 0
push dword [0x419e00]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x40c449
cmp ebx, edi
jae 0x40c365
mov eax, dword [ebp - 0x48]
jmp 0x40c36a
mov eax, edi
mov dword [ebp - 0x28], eax
mov edi, dword [ebp + 0xc]
mov edx, eax
mov ebx, dword [ebp + 8]
mov ecx, esi
push edi
push ebx
call fcn.00411bd0
add ebx, dword [ebp - 0x28]
adc edi, 0
push edi
push ebx
call fcn.0040c855
cmp dword [ebp - 0x40], 0
jne 0x40c435
mov ecx, dword [ebp - 0x60]
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x48]
push eax
lea edx, [ebp - 0x24]
call fcn.004133d0
mov edx, dword [ebp - 0x38]
mov ecx, dword [0x41912c]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x48]
lea esi, [edx - 1]
mov dword [ebp - 0x40], eax
add esi, ecx
sub eax, edx
dec ecx
not ecx
and esi, ecx
mov ecx, esi
sub ecx, edx
cmp eax, ecx
jb 0x40c3cd
mov eax, ecx
push eax
mov eax, dword [ebp - 0x24]
add eax, edx
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
cmp dword [0x41af0c], 0
je 0x40c3f6
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x30]
push esi
call fcn.00416e83
mov dword [ebp - 0x30], eax
cmp dword [0x41af20], 0
je 0x40c40b
mov edx, dword [ebp - 0x24]
lea ecx, [ebp - 0x70]
push esi
call fcn.00417628
cmp dword [ebp - 0x40], esi
jae 0x40c413
mov esi, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x24]
mov edx, esi
push edi
push ebx
call fcn.00411bd0
add ebx, esi
adc edi, 0
push edi
push ebx
call fcn.0040c855
cmp dword [ebp - 0x5c], 0
je 0x40c392
mov eax, dword [ebp - 0x30]
lea esi, [ebp - 0x70]
mov edi, 0x419114
mov dword [0x41aea8], eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 4]
xor eax, eax
cmp dword [ebp - 0x2c], eax
pop edi
sete al
xor ecx, ebp
pop esi
pop ebx
call fcn.00417930
mov esp, ebp
pop ebp
ret 0x10
push 0x402624
push 0x216
call fcn.00412812
int3