Function at 0x40d361
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001b142
mov eax, dword fs:[0]
push eax
sub esp, 0x630
mov eax, dword [0x100241c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov edx, dword [0x10025484]
mov edi, 0x10
mov dword [ebp - 0x500], eax
mov esi, ecx
cmp dword [0x10025498], edi
jae 0x40d3b5
mov edx, 0x10025484
xor eax, eax
mov ecx, 0x1001e7a8
call fcn.00407b71
xor ebx, ebx
cmp eax, ebx
jne 0x40d3d4
xor eax, eax
cmp dword [0x10025494], ebx
setne al
cmp eax, ebx
sete al
cmp al, bl
je 0x40d3eb
call fcn.00408631
cmp eax, 0xc8
jne 0x40d903
lea ecx, [ebp - 0x638]
push ecx
call fcn.00410741
mov dword [ebp - 4], ebx
mov dword [ebp - 0x538], 0x10020a48
mov dword [ebp - 0x534], ebx
mov dword [ebp - 0x530], ebx
mov dword [ebp - 0x52c], ebx
mov dword [ebp - 0x528], ebx
mov dword [ebp - 0x524], ebx
mov dword [ebp - 0x520], ebx
mov dword [ebp - 0x51c], ebx
mov dword [ebp - 0x518], ebx
mov dword [ebp - 0x514], ebx
mov dword [ebp - 0x510], ebx
mov dword [ebp - 0x50c], ebx
mov dword [ebp - 0x508], ebx
mov dword [ebp - 0x504], ebx
push ebx
lea ecx, [ebp - 0x638]
mov byte [ebp - 4], 1
mov dword [ebp - 0x4fc], ebx
call fcn.00410c61
mov byte [ebp - 4], 2
mov eax, esi
mov dword [ebp - 0x440], 0xf
mov dword [ebp - 0x444], ebx
mov byte [ebp - 0x454], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x40d487
sub eax, edx
push eax
push esi
lea ecx, [ebp - 0x454]
call fcn.00407a71
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x454]
mov byte [ebp - 0x490], bl
mov dword [ebp - 0x4e4], ebx
mov dword [ebp - 0x4e8], ebx
mov dword [ebp - 0x4f8], 0x67452301
mov dword [ebp - 0x4f4], 0xefcdab89
mov dword [ebp - 0x4f0], 0x98badcfe
mov dword [ebp - 0x4ec], 0x10325476
cmp dword [ebp - 0x440], edi
jae 0x40d4ef
lea eax, [ebp - 0x454]
push eax
mov eax, dword [ebp - 0x444]
lea esi, [ebp - 0x4f8]
call fcn.00405c01
lea edi, [ebp - 0x48c]
mov eax, esi
call fcn.004065a1
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x440]
cmp eax, 0x10
jb 0x40d531
mov edx, dword [ebp - 0x454]
inc eax
push eax
push edx
lea ecx, [ebp - 0x43c]
call fcn.004069c1
push 3
mov edi, 0xf
push 0x1001e890
lea ecx, [ebp - 0x470]
mov dword [ebp - 0x440], edi
mov dword [ebp - 0x444], ebx
mov byte [ebp - 0x454], bl
mov dword [ebp - 0x45c], edi
mov dword [ebp - 0x460], ebx
mov byte [ebp - 0x470], bl
call fcn.00407a71
mov esi, dword [ebp - 0x500]
mov eax, esi
mov byte [ebp - 4], 6
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x40d581
sub eax, edx
push eax
mov eax, esi
lea ecx, [ebp - 0x470]
call fcn.0040e0e1
push 3
mov eax, 0x1001e894
lea ecx, [ebp - 0x470]
call fcn.0040e0e1
push ebx
lea eax, [ebp - 0x48c]
push eax
or eax, 0xffffffff
lea esi, [ebp - 0x470]
call fcn.0040dff1
movzx ecx, word [0x10026658]
push ecx
xor eax, eax
lea edx, [ebp - 0x1c]
push 0x1001e898
push edx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
call fcn.00414f0d
add esp, 0xc
push ebx
push 0x1001e7a8
lea ecx, [ebp - 0x438]
mov dword [ebp - 0x424], edi
mov dword [ebp - 0x428], ebx
mov byte [ebp - 0x438], bl
call fcn.00407a71
push ebx
push 0x10025484
or eax, 0xffffffff
lea esi, [ebp - 0x438]
mov byte [ebp - 4], 7
call fcn.0040dff1
push 1
mov eax, 0x1001e89c
mov ecx, esi
call fcn.0040e0e1
lea eax, [ebp - 0x1c]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x40d631
sub eax, edx
push eax
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x438]
call fcn.0040e0e1
push 1
mov eax, 0x1001e8a0
lea ecx, [ebp - 0x438]
call fcn.0040e0e1
push ebx
push 0x100255b8
or eax, 0xffffffff
lea esi, [ebp - 0x438]
call fcn.0040dff1
push ebx
lea eax, [ebp - 0x470]
push eax
or eax, 0xffffffff
call fcn.0040dff1
lea ecx, [ebp - 0x638]
push ecx
call fcn.00410d31
mov eax, dword [ebp - 0x438]
mov esi, 0x10
cmp dword [ebp - 0x424], esi
jae 0x40d6a4
lea eax, [ebp - 0x438]
push 0x84400f00
push eax
lea ecx, [ebp - 0x638]
call fcn.004116d1
mov edi, eax
mov dword [ebp - 0x4fc], eax
cmp edi, ebx
jne 0x40d6e5
cmp dword [ebp - 0x540], ebx
je 0x40d6d7
lea edx, [ebp - 0x638]
push edx
call fcn.004121e1
jmp 0x40d6b5
lea eax, [ebp - 0x638]
push eax
call fcn.00412d41
jmp 0x40d6b5
push 0x3ff
lea ecx, [ebp - 0x41b]
push ebx
push ecx
mov byte [ebp - 0x41c], bl
call fcn.0041a6a1
add esp, 0xc
lea ecx, [ebp - 0x41c]
mov eax, edi
call fcn.0040ff21
lea edx, [ebp - 0x41c]
push edx
call fcn.00415054
add esp, 4
mov dword [ebp - 0x500], eax
cmp dword [ebp - 0x424], esi
jb 0x40d782
test byte [0x1002671c], 1
mov esi, dword [ebp - 0x438]
jne 0x40d758
or dword [0x1002671c], 1
push 0x10026704
call dword [0x1001c08c]
push 0x1001bb40
call fcn.00414ef6
add esp, 4
mov edi, dword [0x1001c080]
push 0x10026704
call edi
cmp esi, ebx
je 0x40d775
lea eax, [esi - 1]
push eax
call fcn.00414a02
add esp, 4
push 0x10026704
call dword [0x1001c084]
jmp 0x40d788
mov edi, dword [0x1001c080]
cmp dword [ebp - 0x45c], 0x10
mov dword [ebp - 0x424], 0xf
mov dword [ebp - 0x428], ebx
mov byte [ebp - 0x438], bl
jb 0x40d7f7
test byte [0x1002671c], 1
mov esi, dword [ebp - 0x470]
jne 0x40d7d5
or dword [0x1002671c], 1
push 0x10026704
call dword [0x1001c08c]
push 0x1001bb40
call fcn.00414ef6
add esp, 4
push 0x10026704
call edi
cmp esi, ebx
je 0x40d7ec
lea eax, [esi - 1]
push eax
call fcn.00414a02
add esp, 4
push 0x10026704
call dword [0x1001c084]
cmp dword [ebp - 0x478], 0x10
mov dword [ebp - 0x45c], 0xf
mov dword [ebp - 0x460], ebx
mov byte [ebp - 0x470], bl
jb 0x40d866
test byte [0x1002671c], 1
mov esi, dword [ebp - 0x48c]
jne 0x40d844
or dword [0x1002671c], 1
push 0x10026704
call dword [0x1001c08c]
push 0x1001bb40
call fcn.00414ef6
add esp, 4
push 0x10026704
call edi
cmp esi, ebx
je 0x40d85b
lea eax, [esi - 1]
push eax
call fcn.00414a02
add esp, 4
push 0x10026704
call dword [0x1001c084]
mov ecx, dword [ebp - 0x4fc]
mov dword [ebp - 4], 1
mov dword [ebp - 0x478], 0xf
mov dword [ebp - 0x47c], ebx
mov byte [ebp - 0x48c], bl
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov eax, dword [ebp - 0x510]
cmp eax, ebx
je 0x40d8a4
push eax
call fcn.00414a02
add esp, 4
mov eax, dword [ebp - 0x50c]
cmp eax, ebx
je 0x40d8b7
push eax
call fcn.00414a02
add esp, 4
lea ecx, [ebp - 0x638]
call fcn.00410a31
mov eax, dword [ebp - 0x500]
jmp 0x40d908
mov eax, 0xfffffc17
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041455d
mov esp, ebp
pop ebp
ret 4