Function at 0x40d990
Capabilities:
Hash data with md5

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52f031
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x208
mov eax, dword [0x57c06c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebx + 8]
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x218], eax
cmp dword [esi + 0x10], 0
je 0x40dc34
cmp dword [eax + 0x10], 0
je 0x40dc34
mov edi, dword [ebx + 0xc]
cmp dword [edi + 0x10], 0
lea eax, [edi + 0x10]
mov dword [ebp - 0x214], eax
je 0x40dc34
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
mov dword [ebp - 4], 0
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x40da2a
mov eax, dword [esi]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040c220
push 0
lea edx, [ebp - 0x44]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.004105b0
add esp, 4
mov byte [ebp - 0x209], al
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.0040b3f0
cmp byte [ebp - 0x209], 0
jne 0x40dad4
push str.Query_szImg
lea ecx, [ebp - 0x2c]
call fcn.0040c220
push 0xaa
push str.t_netConfigManager.cpp
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 2
call fcn.00411450
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
mov dword [eax + 0x64], 0
cmp eax, ecx
je 0x40daad
cmp dword [ebp - 0x18], 8
push dword [ebp - 0x1c]
cmovae ecx, dword [ebp - 0x2c]
push ecx
mov ecx, eax
call fcn.0040b450
lea ecx, [ebp - 0xc8]
call fcn.00411690
lea ecx, [ebp - 0x2c]
call fcn.0040b3f0
lea ecx, [ebp - 0x44]
mov esi, 2
call fcn.0040ee10
mov eax, esi
jmp 0x40dc39
lea ecx, [ebp - 0x208]
call fcn.004ad0c0
mov byte [ebp - 4], 4
lea edx, [ebp - 0x44]
cmp dword [ebp - 0x30], 0x10
lea ecx, [ebp - 0xc8]
push dword [ebp - 0x34]
cmovae edx, dword [ebp - 0x44]
xorps xmm0, xmm0
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc0], 0x67452301
mov dword [ebp - 0xbc], 0xefcdab89
mov dword [ebp - 0xb8], 0x98badcfe
mov dword [ebp - 0xb4], 0x10325476
call fcn.004b1bd0
add esp, 4
lea edx, [ebp - 0x24]
lea ecx, [ebp - 0xc8]
call fcn.004b1c90
lea edx, [ebp - 0x24]
lea ecx, [ebp - 0x208]
call fcn.0040cbc0
cmp byte [ebp - 0xec], 0
lea ecx, [ebp - 0x1fc]
cmove ecx, dword [ebp - 0x200]
add ecx, 4
mov edx, ecx
lea eax, [edx + 2]
mov dword [ebp - 0x210], eax
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x40db80
sub edx, dword [ebp - 0x210]
sar edx, 1
cmp dword [edi + 0x14], 8
jb 0x40db9b
mov edi, dword [edi]
push edx
mov edx, dword [ebp - 0x214]
push ecx
mov ecx, edi
mov edx, dword [edx]
call fcn.0040f1c0
add esp, 8
test eax, eax
je 0x40dbba
mov esi, 4
jmp 0x40dc1d
mov edx, esi
lea ecx, [ebp - 0xe0]
call fcn.00413a30
mov esi, eax
mov edx, dword [ebp - 0x218]
lea ecx, [ebp - 0x2c]
push 0x551b6c
mov byte [ebp - 4], 5
call fcn.0040c440
add esp, 4
push esi
mov edx, eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x5c]
call fcn.0040f000
add esp, 4
lea ecx, [ebp - 0x2c]
call fcn.0040b3f0
lea ecx, [ebp - 0xe0]
call fcn.0040b3f0
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x5c]
call fcn.0041fe30
lea ecx, [ebp - 0x5c]
xor esi, esi
call fcn.0040b3f0
lea ecx, [ebp - 0x208]
call fcn.004ad280
lea ecx, [ebp - 0x44]
call fcn.0040ee10
mov eax, esi
jmp 0x40dc39
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004e24d7
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc