Function at 0x4093ec
Capabilities:
Hash data with md5

Disassembly:
mov eax, 0x48f0ef
call fcn.0048cac8
sub esp, 0x310
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
push dword [ebp - 0x28]
xor ebx, ebx
push 0x4c09e0
push 0x4c09bc
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
call fcn.00410677
lea eax, [ebp - 0x12c]
push eax
mov dword [ebp - 4], ebx
call fcn.0042e174
pop ecx
push 1
lea eax, [ebp - 0x12c]
push eax
lea eax, [ebp - 0x31c]
push eax
mov byte [ebp - 4], 1
call fcn.0040bcfa
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x31c]
mov ecx, dword [eax + 4]
mov ecx, dword [ebp + ecx - 0x310]
test cl, 6
je 0x409497
call fcn.00409ab1
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x9c]
call fcn.004667e5
push 0x4b1d18
lea eax, [ebp - 0x9c]
push eax
mov dword [ebp - 0x9c], vtable.std::runtime_error.0
call fcn.004706f5
mov eax, dword [eax + 4]
mov eax, dword [ebp + eax - 0x2e4]
mov byte [ebp - 0x28], 1
push dword [ebp - 0x28]
xor esi, esi
push dword [ebp - 0x28]
cmp eax, ebx
push esi
sete cl
mov byte [ebp - 0x14], cl
push dword [ebp - 0x14]
mov dword [ebp - 0x60], 0xf
push eax
lea eax, [ebp - 0x74]
push eax
mov dword [ebp - 0x64], ebx
mov byte [ebp - 0x74], 0
call fcn.004105d9
lea esi, [ebp - 0x31c]
mov byte [ebp - 4], 3
call fcn.0040be0f
cmp dword [ebp - 0x60], 0x10
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x264], 0x67452301
mov dword [ebp - 0x260], 0xefcdab89
mov dword [ebp - 0x25c], 0x98badcfe
mov dword [ebp - 0x258], 0x10325476
mov dword [ebp - 0x26c], ebx
mov dword [ebp - 0x268], ebx
jae 0x409520
lea eax, [ebp - 0x74]
push dword [ebp - 0x64]
push eax
lea eax, [ebp - 0x26c]
call fcn.00429a6c
pop ecx
pop ecx
lea esi, [ebp - 0x26c]
lea edi, [ebp - 0x4c]
call fcn.00429afd
push 3
lea eax, [ebp - 0x1d4]
push eax
call fcn.0040b640
mov byte [ebp - 4], 4
xor edi, edi
mov eax, dword [ebp - 0x1c4]
mov eax, dword [eax + 4]
lea eax, [ebp + eax - 0x1c4]
mov byte [eax + 0x40], 0x30
movzx eax, byte [ebp + edi - 0x4c]
push eax
push ebx
lea eax, [ebp - 0x20]
push 2
push eax
call fcn.00465adb
add esp, 0xc
mov ecx, eax
lea esi, [ebp - 0x1c4]
call fcn.0040eb55
mov esi, eax
call fcn.0040b0a1
push eax
call fcn.0040b1c0
inc edi
cmp edi, 0x10
jl 0x409553
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x1d4]
call fcn.0040b717
push eax
lea edi, [ebp - 0x3c]
mov byte [ebp - 4], 5
call fcn.0040c674
push ebx
push 1
lea ecx, [ebp - 0x58]
call fcn.00404c20
lea eax, [ebp - 0x1d4]
mov byte [ebp - 4], 3
call fcn.004084f6
lea eax, [ebp - 0x244]
push eax
call fcn.0044b680
cmp dword [ebp - 0x60], 0x10
mov eax, dword [ebp - 0x74]
pop ecx
jae 0x4095eb
lea eax, [ebp - 0x74]
push dword [ebp - 0x64]
push eax
lea eax, [ebp - 0x244]
push eax
call fcn.0044b6c0
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x244]
push eax
call fcn.0044b770
add esp, 0x14
push 3
lea eax, [ebp - 0x1d4]
push eax
call fcn.0040b640
mov byte [ebp - 4], 6
xor edi, edi
mov eax, dword [ebp - 0x1c4]
mov eax, dword [eax + 4]
lea eax, [ebp + eax - 0x1c4]
mov byte [eax + 0x40], 0x30
movzx eax, byte [ebp + edi - 0x24]
push eax
push ebx
lea eax, [ebp - 0x4c]
push 2
push eax
call fcn.00465adb
add esp, 0xc
mov ecx, eax
lea esi, [ebp - 0x1c4]
call fcn.0040eb55
mov esi, eax
call fcn.0040b0a1
push eax
call fcn.0040b1c0
inc edi
cmp edi, 0x14
jl 0x409622
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x1d4]
call fcn.0040b717
push 7
pop ebx
push eax
lea edi, [ebp - 0x3c]
mov byte [ebp - 4], bl
call fcn.0040c674
xor edi, edi
push edi
push 1
lea ecx, [ebp - 0x58]
call fcn.00404c20
lea eax, [ebp - 0x1d4]
mov byte [ebp - 4], 3
call fcn.004084f6
lea eax, [ebp - 0x244]
push eax
call fcn.0044d410
cmp dword [ebp - 0x60], 0x10
mov eax, dword [ebp - 0x74]
pop ecx
jae 0x4096be
lea eax, [ebp - 0x74]
push dword [ebp - 0x64]
push eax
lea eax, [ebp - 0x244]
push eax
call fcn.0044d460
lea eax, [ebp - 0xf4]
push eax
lea eax, [ebp - 0x244]
push eax
call fcn.0044d510
add esp, 0x14
push 3
lea eax, [ebp - 0x1d4]
push eax
call fcn.0040b640
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x1c4]
mov eax, dword [eax + 4]
lea eax, [ebp + eax - 0x1c4]
mov byte [eax + 0x40], 0x30
movzx eax, byte [ebp + edi - 0xf4]
push eax
push 0
lea eax, [ebp - 0x4c]
push 2
push eax
call fcn.00465adb
add esp, 0xc
mov ecx, eax
lea esi, [ebp - 0x1c4]
call fcn.0040eb55
mov esi, eax
call fcn.0040b0a1
push eax
call fcn.0040b1c0
inc edi
cmp edi, 0x20
jl 0x4096f6
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x1d4]
call fcn.0040b717
push eax
lea edi, [ebp - 0x3c]
mov byte [ebp - 4], 9
call fcn.0040c674
xor edi, edi
push edi
push 1
lea ecx, [ebp - 0x58]
call fcn.00404c20
lea eax, [ebp - 0x1d4]
mov byte [ebp - 4], 3
call fcn.004084f6
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
xor eax, eax
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x80], edi
mov word [ebp - 0x90], ax
mov dword [ebp - 0xc0], ebx
mov dword [ebp - 0xc4], edi
mov word [ebp - 0xd4], ax
mov dword [ebp - 0xa4], ebx
mov dword [ebp - 0xa8], edi
mov word [ebp - 0xb8], ax
mov byte [ebp - 4], 0xf
call dword [0x495094]
xor ebx, ebx
cmp ebx, 3
jae 0x40991b
push eax
call fcn.00406025
mov esi, eax
mov eax, dword [ebp - 0x1c]
pop ecx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], esi
cmp ecx, eax
jae 0x40981a
cmp dword [ebp - 0x20], ecx
ja 0x40981a
mov esi, ecx
sub esi, dword [ebp - 0x20]
sar esi, 2
cmp eax, dword [ebp - 0x18]
jne 0x409807
lea eax, [ebp - 0x20]
call fcn.0040d0ec
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
lea eax, [eax + esi*4]
cmp ecx, edi
je 0x409830
mov eax, dword [eax]
mov dword [ecx], eax
jmp 0x409830
cmp eax, dword [ebp - 0x18]
jne 0x409827
lea eax, [ebp - 0x20]
call fcn.0040d0ec
mov ecx, dword [ebp - 0x1c]
cmp ecx, edi
je 0x409830
mov dword [ecx], esi
push dword [ecx]
add ecx, 4
lea eax, [ebp - 0xf0]
push eax
mov dword [ebp - 0x1c], ecx
call fcn.004064b4
pop ecx
pop ecx
lea ecx, [ebp - 0x110]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x10
call fcn.0042df7f
pop ecx
push eax
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 0x11
call fcn.00404c64
push 1
xor edi, edi
lea esi, [ebp - 0x110]
call fcn.00404d5e
xor esi, esi
push esi
push 1
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 0xf
call fcn.00404c20
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 0xd4]
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.0042eb60
lea eax, [ebp - 0x110]
add esp, 0xc
push eax
lea ecx, [ebp - 0xb8]
call fcn.0042de3d
pop ecx
lea ecx, [ebp - 0xf0]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x12
call fcn.0040eff4
pop ecx
push eax
lea edi, [ebp - 0x4c]
mov byte [ebp - 4], 0x13
call fcn.0040c674
push esi
push 1
lea ecx, [ebp - 0xf0]
call fcn.00404c20
push esi
push 1
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 0xf
call fcn.00404c20
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax - 4]
inc ebx
xor edi, edi
jmp 0x4097ce
mov dword [ebp - 4], 0xe
mov esi, dword [ebp - 0x20]
jmp 0x409937
mov eax, dword [esi]
cmp eax, edi
je 0x409934
push eax
call dword [0x4950bc]
add esi, 4
cmp esi, dword [ebp - 0x1c]
jne 0x409927
mov esi, dword [ebp - 0x3c]
cmp esi, dword [ebp - 0x38]
je 0x40998b
mov eax, dword [ebp - 0x48]
sub eax, dword [ebp - 0x4c]
push 0x1c
cdq
pop ecx
idiv ecx
mov ebx, eax
jmp 0x409956
xor edi, edi
test ebx, ebx
je 0x409983
cmp dword [esi + 0x14], 0x10
mov ecx, dword [esi + 0x10]
jb 0x409967
mov eax, dword [esi]
jmp 0x409969
mov eax, esi
push ecx
push eax
push dword [ebp - 0x4c]
xor eax, eax
call fcn.0040c9df
cmp eax, 0xffffffff
jne 0x409a23
inc edi
cmp edi, ebx
jb 0x40995a
add esi, 0x1c
cmp esi, dword [ebp - 0x38]
jne 0x409954
push 1
xor edi, edi
lea esi, [ebp - 0xb8]
call fcn.00404d5e
xor ebx, ebx
inc ebx
push ebx
lea esi, [ebp - 0xd4]
call fcn.00404d5e
push ebx
lea esi, [ebp - 0x90]
call fcn.00404d5e
cmp dword [ebp - 0x20], edi
je 0x4099c3
push dword [ebp - 0x20]
call fcn.00467103
pop ecx
lea esi, [ebp - 0x4c]
call fcn.0040d0b8
push 0
push ebx
lea ecx, [ebp - 0x74]
call fcn.00404c20
lea ecx, [ebp - 0x2b4]
mov byte [ebp - 4], 1
call fcn.0040bdc9
lea eax, [ebp - 0x2b4]
push eax
mov dword [ebp - 0x2b4], 0x4afccc
call fcn.00465c5a
pop ecx
push ebx
xor edi, edi
lea esi, [ebp - 0x12c]
call fcn.00404d5e
lea esi, [ebp - 0x3c]
call fcn.0040d0b8
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
push 1
xor edi, edi
lea esi, [ebp - 0xb8]
call fcn.00404d5e
xor ebx, ebx
inc ebx
push ebx
lea esi, [ebp - 0xd4]
call fcn.00404d5e
push ebx
lea esi, [ebp - 0x90]
call fcn.00404d5e
cmp dword [ebp - 0x20], edi
je 0x409a5b
push dword [ebp - 0x20]
call fcn.00467103
pop ecx
lea esi, [ebp - 0x4c]
call fcn.0040d0b8
push 0
push ebx
lea ecx, [ebp - 0x74]
call fcn.00404c20
lea ecx, [ebp - 0x2b4]
mov byte [ebp - 4], 1
call fcn.0040bdc9
lea eax, [ebp - 0x2b4]
push eax
mov dword [ebp - 0x2b4], 0x4afccc
call fcn.00465c5a
pop ecx
push ebx
xor edi, edi
lea esi, [ebp - 0x12c]
call fcn.00404d5e
lea esi, [ebp - 0x3c]
call fcn.0040d0b8
mov al, 1
jmp 0x409a14