Function at 0x413880
Capabilities:
Hash data with md5

Disassembly:
push 0xffffffffffffffff
push 0x54c197
mov eax, dword fs:[0]
push eax
sub esp, 0x5a0
mov eax, dword [0x5af640]
xor eax, esp
mov dword [esp + 0x598], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5af640]
xor eax, esp
push eax
lea eax, [esp + 0x5b4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x5c4]
xor ebx, ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x18], ebx
call fcn.004141d0
mov dword [esp + 0x50], edx
xor edx, edx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x100], 7
mov dword [esp + 0xfc], ebx
mov word [esp + 0xec], dx
lea edi, [esp + 0xe8]
mov dword [esp + 0x5bc], ebx
call fcn.00414720
mov esi, dword [0x5b78c0]
mov eax, dword [0x5b78c4]
cmp esi, eax
jbe 0x41392d
call fcn.005234a2
mov eax, dword [0x5b78c4]
mov ebp, dword [0x5b78b4]
mov edi, esi
mov dword [esp + 0x1c], edi
lea esp, [esp]
mov esi, eax
cmp dword [0x5b78c0], eax
jbe 0x41394f
call fcn.005234a2
cmp ebp, ebx
je 0x41395b
cmp ebp, dword [0x5b78b4]
je 0x413960
call fcn.005234a2
cmp edi, esi
je 0x413ea0
mov esi, dword [esp + 0x48]
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x413971
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [esp + 0xf0]
call fcn.0040cc30
push 1
push 0x5883bc
lea ecx, [esp + 0xf0]
call fcn.0040cb10
cmp ebp, ebx
jne 0x413c05
call fcn.005234a2
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x4139ba
call fcn.005234a2
push 0xffffffffffffffff
push ebx
push edi
lea ecx, [esp + 0xf4]
call fcn.0040ca00
mov eax, dword [esp + 0xec]
mov edi, 8
cmp dword [esp + 0x100], edi
jae 0x4139e6
lea eax, [esp + 0xec]
push eax
lea eax, [esp + 0x58]
push eax
call fcn.004147c0
mov byte [esp + 0x5bc], 1
mov esi, dword [esp + 0x54]
mov ecx, dword [esi + 4]
test byte [esp + ecx + 0x5c], 6
jne 0x413c1a
push 0x3ff
lea edx, [esp + 0x1b1]
push ebx
push edx
mov byte [esp + 0x1b0], bl
mov dword [esp + 0x15c], ebx
mov dword [esp + 0x158], ebx
mov dword [esp + 0x148], 0x67452301
mov dword [esp + 0x14c], 0xefcdab89
mov dword [esp + 0x150], 0x98badcfe
mov dword [esp + 0x154], 0x10325476
mov byte [esp + 0x1b8], bl
call fcn.00523080
mov eax, dword [esi + 4]
add esp, 0xc
test byte [esp + eax + 0x5c], 1
jne 0x413aeb
mov edi, dword [esp + 0x24]
jmp 0x413a80
lea ecx, [esp + 0x1ac]
push ecx
lea edx, [esp + 0x58]
push edx
call fcn.004157f0
mov esi, dword [esp + 0x58]
cmp esi, ebx
jle 0x413ab0
lea eax, [esp + 0x1ac]
push eax
mov eax, esi
lea ecx, [esp + 0x140]
call fcn.00417750
mov eax, esi
cdq
add edi, eax
adc dword [esp + 0x28], edx
mov ecx, fcn.00406920
test ecx, ecx
je 0x413ad9
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
push edx
push edi
push eax
push ecx
push ebx
push ebx
call fcn.00406920
mov edx, dword [esp + 0x54]
mov eax, dword [edx + 4]
test byte [esp + eax + 0x5c], 1
je 0x413a80
mov dword [esp + 0x24], edi
lea esi, [esp + 0x5c]
call fcn.00415be0
test eax, eax
jne 0x413b19
mov ecx, dword [esp + 0x54]
mov ecx, dword [ecx + 4]
mov eax, dword [esp + ecx + 0x5c]
lea ecx, [esp + ecx + 0x54]
or eax, 2
cmp dword [ecx + 0x28], ebx
jne 0x413b12
or eax, 4
push ebx
push eax
call fcn.00401d90
lea edi, [esp + 0x104]
lea eax, [esp + 0x13c]
call fcn.004180c0
cmp dword [esp + 0x11c], 0x10
mov esi, dword [esp + 0x108]
jae 0x413b44
lea esi, [esp + 0x108]
cmp ebp, ebx
jne 0x413c0d
call fcn.005234a2
xor eax, eax
mov edi, dword [esp + 0x1c]
cmp edi, dword [eax + 0x10]
jb 0x413b61
call fcn.005234a2
cmp dword [edi + 0x54], 0x10
lea eax, [edi + 0x40]
jb 0x413b6c
mov eax, dword [eax]
push esi
push eax
call fcn.0052804a
add esp, 8
cmp eax, ebx
jne 0x413c84
cmp dword [esp + 0x11c], 0x10
jb 0x413b98
mov edx, dword [esp + 0x108]
push edx
call fcn.004508d0
add esp, 4
lea ecx, [esp + 0xac]
mov dword [esp + 0x11c], 0xf
mov dword [esp + 0x118], ebx
mov byte [esp + 0x108], bl
mov byte [esp + 0x5bc], bl
call fcn.004148d0
lea eax, [esp + 0xac]
push eax
mov dword [esp + 0xb0], vtable.std::ios_base.0
call fcn.00522490
add esp, 4
cmp ebp, ebx
jne 0x413c15
call fcn.005234a2
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x413bf4
call fcn.005234a2
mov eax, dword [0x5b78c4]
add edi, 0x58
mov dword [esp + 0x1c], edi
jmp 0x413940
mov eax, dword [ebp]
jmp 0x4139b0
mov eax, dword [ebp]
jmp 0x413b53
mov eax, dword [ebp]
jmp 0x413bea
mov esi, dword [esp + 0x20]
xor ecx, ecx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
push 7
mov word [esi + 4], cx
push 0x588e08
mov ecx, esi
call fcn.0040cc30
lea ecx, [esp + 0xac]
mov byte [esp + 0x5bc], bl
call fcn.004148d0
lea edx, [esp + 0xac]
push edx
mov dword [esp + 0xb0], vtable.std::ios_base.0
call fcn.00522490
add esp, 4
cmp dword [esp + 0x100], edi
jb 0x413edb
mov eax, dword [esp + 0xec]
push eax
jmp 0x413ed3
xor ecx, ecx
mov dword [esp + 0x138], 7
mov dword [esp + 0x134], ebx
mov word [esp + 0x124], cx
lea edi, [esp + 0x120]
mov byte [esp + 0x5bc], 3
call fcn.00414720
cmp ebp, ebx
jne 0x413cdf
call fcn.005234a2
xor eax, eax
mov esi, dword [esp + 0x1c]
cmp esi, dword [eax + 0x10]
jb 0x413ccd
call fcn.005234a2
cmp dword [esi + 0x18], 8
mov esi, dword [esp + 0x1c]
jb 0x413ce4
mov eax, dword [esi + 4]
add esi, 4
jmp 0x413ce9
mov eax, dword [ebp]
jmp 0x413cbf
add esi, 4
mov eax, esi
push eax
push 0x588e18
call fcn.005231e7
add esp, 8
cmp eax, ebx
jle 0x413dcf
lea edx, [esp + 0x30]
lea edi, [eax + 1]
push edx
call fcn.004165d0
mov byte [esp + 0x5bc], 4
cmp ebp, ebx
jne 0x413d37
call fcn.005234a2
xor eax, eax
mov edi, dword [esp + 0x1c]
cmp edi, dword [eax + 0x10]
jb 0x413d2d
call fcn.005234a2
cmp dword [edi + 0x18], 8
jb 0x413d3c
mov edi, dword [esi]
jmp 0x413d3e
mov eax, dword [ebp]
jmp 0x413d1f
mov edi, esi
mov esi, dword [esp + 0x40]
sub esi, dword [esp + 0x3c]
sar esi, 1
jne 0x413d4f
call fcn.005234a2
mov eax, dword [esp + 0x3c]
push edi
push 0x588e18
push esi
push eax
call fcn.005231c9
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x4c]
sub ecx, edx
add esp, 0x10
sar ecx, 1
jne 0x413d7a
call fcn.005234a2
mov edx, dword [esp + 0x3c]
mov eax, edx
lea esi, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x413d80
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x128]
call fcn.0040cc30
mov byte [esp + 0x5bc], 3
mov eax, dword [esp + 0x3c]
cmp eax, ebx
je 0x413db6
push eax
call fcn.004508d0
add esp, 4
mov edx, dword [esp + 0x30]
push edx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
call fcn.004508d0
add esp, 4
mov esi, dword [esp + 0x20]
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x128]
mov edi, 7
xor eax, eax
push ecx
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], ebx
mov ecx, esi
mov word [esi + 4], ax
call fcn.0040ae40
mov ebp, 8
cmp dword [esp + 0x138], ebp
jb 0x413e14
mov edx, dword [esp + 0x124]
push edx
call fcn.004508d0
add esp, 4
xor eax, eax
cmp dword [esp + 0x11c], 0x10
mov dword [esp + 0x138], edi
mov dword [esp + 0x134], ebx
mov word [esp + 0x124], ax
jb 0x413e46
mov ecx, dword [esp + 0x108]
push ecx
call fcn.004508d0
add esp, 4
lea ecx, [esp + 0xac]
mov dword [esp + 0x11c], 0xf
mov dword [esp + 0x118], ebx
mov byte [esp + 0x108], bl
mov byte [esp + 0x5bc], bl
call fcn.004148d0
lea edx, [esp + 0xac]
push edx
mov dword [esp + 0xb0], vtable.std::ios_base.0
call fcn.00522490
add esp, 4
cmp dword [esp + 0x100], ebp
jb 0x413edb
mov eax, dword [esp + 0xec]
push eax
jmp 0x413ed3
mov esi, dword [esp + 0x20]
xor ecx, ecx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
push ebx
mov word [esi + 4], cx
push 0x588b1c
mov ecx, esi
call fcn.0040cc30
cmp dword [esp + 0x100], 8
jb 0x413edb
mov edx, dword [esp + 0xec]
push edx
call fcn.004508d0
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x5b4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x598]
xor ecx, esp
call fcn.00522f5c
add esp, 0x5ac
ret 4