Function at 0x12f9479
Capabilities:
Hash data with md5

Disassembly:
mov eax, 0x137f2cd
call fcn.0137cc58
sub esp, 0x310
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
push dword [ebp - 0x28]
xor ebx, ebx
push 0x13b19e0
push 0x13b19bc
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
call fcn.013006ba
lea eax, [ebp - 0x12c]
push eax
mov dword [ebp - 4], ebx
call fcn.0131e1af
pop ecx
push 1
lea eax, [ebp - 0x12c]
push eax
lea eax, [ebp - 0x31c]
push eax
mov byte [ebp - 4], 1
call fcn.012fbd71
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 0x12f9524
call fcn.012f9b3e
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x9c]
call fcn.01356985
push 0x13a2d18
lea eax, [ebp - 0x9c]
push eax
mov dword [ebp - 0x9c], vtable.std::runtime_error.0
call fcn.01360895
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.0130061c
lea esi, [ebp - 0x31c]
mov byte [ebp - 4], 3
call fcn.012fbe86
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 0x12f95ad
lea eax, [ebp - 0x74]
push dword [ebp - 0x64]
push eax
lea eax, [ebp - 0x26c]
call fcn.01319ad0
pop ecx
pop ecx
lea esi, [ebp - 0x26c]
lea edi, [ebp - 0x4c]
call fcn.01319b61
push 3
lea eax, [ebp - 0x1d4]
push eax
call fcn.012fb6d0
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.01355c73
add esp, 0xc
mov ecx, eax
lea esi, [ebp - 0x1c4]
call fcn.012feb77
mov esi, eax
call fcn.012fb131
push eax
call fcn.012fb250
inc edi
cmp edi, 0x10
jl 0x12f95e0
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x1d4]
call fcn.012fb7a7
push eax
lea edi, [ebp - 0x3c]
mov byte [ebp - 4], 5
call fcn.012fc6eb
push ebx
push 1
lea ecx, [ebp - 0x58]
call fcn.012f4c89
lea eax, [ebp - 0x1d4]
mov byte [ebp - 4], 3
call fcn.012f8580
lea eax, [ebp - 0x244]
push eax
call fcn.0133b810
cmp dword [ebp - 0x60], 0x10
mov eax, dword [ebp - 0x74]
pop ecx
jae 0x12f9678
lea eax, [ebp - 0x74]
push dword [ebp - 0x64]
push eax
lea eax, [ebp - 0x244]
push eax
call fcn.0133b850
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x244]
push eax
call fcn.0133b900
add esp, 0x14
push 3
lea eax, [ebp - 0x1d4]
push eax
call fcn.012fb6d0
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.01355c73
add esp, 0xc
mov ecx, eax
lea esi, [ebp - 0x1c4]
call fcn.012feb77
mov esi, eax
call fcn.012fb131
push eax
call fcn.012fb250
inc edi
cmp edi, 0x14
jl 0x12f96af
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x1d4]
call fcn.012fb7a7
push 7
pop ebx
push eax
lea edi, [ebp - 0x3c]
mov byte [ebp - 4], bl
call fcn.012fc6eb
xor edi, edi
push edi
push 1
lea ecx, [ebp - 0x58]
call fcn.012f4c89
lea eax, [ebp - 0x1d4]
mov byte [ebp - 4], 3
call fcn.012f8580
lea eax, [ebp - 0x244]
push eax
call fcn.0133d5a0
cmp dword [ebp - 0x60], 0x10
mov eax, dword [ebp - 0x74]
pop ecx
jae 0x12f974b
lea eax, [ebp - 0x74]
push dword [ebp - 0x64]
push eax
lea eax, [ebp - 0x244]
push eax
call fcn.0133d5f0
lea eax, [ebp - 0xf4]
push eax
lea eax, [ebp - 0x244]
push eax
call fcn.0133d6a0
add esp, 0x14
push 3
lea eax, [ebp - 0x1d4]
push eax
call fcn.012fb6d0
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.01355c73
add esp, 0xc
mov ecx, eax
lea esi, [ebp - 0x1c4]
call fcn.012feb77
mov esi, eax
call fcn.012fb131
push eax
call fcn.012fb250
inc edi
cmp edi, 0x20
jl 0x12f9783
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x1d4]
call fcn.012fb7a7
push eax
lea edi, [ebp - 0x3c]
mov byte [ebp - 4], 9
call fcn.012fc6eb
xor edi, edi
push edi
push 1
lea ecx, [ebp - 0x58]
call fcn.012f4c89
lea eax, [ebp - 0x1d4]
mov byte [ebp - 4], 3
call fcn.012f8580
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 [0x1386094]
xor ebx, ebx
cmp ebx, 3
jae 0x12f99a8
push eax
call fcn.012f6098
mov esi, eax
mov eax, dword [ebp - 0x1c]
pop ecx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], esi
cmp ecx, eax
jae 0x12f98a7
cmp dword [ebp - 0x20], ecx
ja 0x12f98a7
mov esi, ecx
sub esi, dword [ebp - 0x20]
sar esi, 2
cmp eax, dword [ebp - 0x18]
jne 0x12f9894
lea eax, [ebp - 0x20]
call fcn.012fd163
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
lea eax, [eax + esi*4]
cmp ecx, edi
je 0x12f98bd
mov eax, dword [eax]
mov dword [ecx], eax
jmp 0x12f98bd
cmp eax, dword [ebp - 0x18]
jne 0x12f98b4
lea eax, [ebp - 0x20]
call fcn.012fd163
mov ecx, dword [ebp - 0x1c]
cmp ecx, edi
je 0x12f98bd
mov dword [ecx], esi
push dword [ecx]
add ecx, 4
lea eax, [ebp - 0xf0]
push eax
mov dword [ebp - 0x1c], ecx
call fcn.012f6524
pop ecx
pop ecx
lea ecx, [ebp - 0x110]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x10
call fcn.0131dfba
pop ecx
push eax
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 0x11
call fcn.012f4ccd
push 1
xor edi, edi
lea esi, [ebp - 0x110]
call fcn.012f4dc7
xor esi, esi
push esi
push 1
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 0xf
call fcn.012f4c89
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 0xd4]
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.0131eb9b
lea eax, [ebp - 0x110]
add esp, 0xc
push eax
lea ecx, [ebp - 0xb8]
call fcn.0131de78
pop ecx
lea ecx, [ebp - 0xf0]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x12
call fcn.012ff016
pop ecx
push eax
lea edi, [ebp - 0x4c]
mov byte [ebp - 4], 0x13
call fcn.012fc6eb
push esi
push 1
lea ecx, [ebp - 0xf0]
call fcn.012f4c89
push esi
push 1
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 0xf
call fcn.012f4c89
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax - 4]
inc ebx
xor edi, edi
jmp 0x12f985b
mov dword [ebp - 4], 0xe
mov esi, dword [ebp - 0x20]
jmp 0x12f99c4
mov eax, dword [esi]
cmp eax, edi
je 0x12f99c1
push eax
call dword [0x13860bc]
add esi, 4
cmp esi, dword [ebp - 0x1c]
jne 0x12f99b4
mov esi, dword [ebp - 0x3c]
cmp esi, dword [ebp - 0x38]
je 0x12f9a18
mov eax, dword [ebp - 0x48]
sub eax, dword [ebp - 0x4c]
push 0x1c
cdq
pop ecx
idiv ecx
mov ebx, eax
jmp 0x12f99e3
xor edi, edi
test ebx, ebx
je 0x12f9a10
cmp dword [esi + 0x14], 0x10
mov ecx, dword [esi + 0x10]
jb 0x12f99f4
mov eax, dword [esi]
jmp 0x12f99f6
mov eax, esi
push ecx
push eax
push dword [ebp - 0x4c]
xor eax, eax
call fcn.012fca56
cmp eax, 0xffffffff
jne 0x12f9ab0
inc edi
cmp edi, ebx
jb 0x12f99e7
add esi, 0x1c
cmp esi, dword [ebp - 0x38]
jne 0x12f99e1
push 1
xor edi, edi
lea esi, [ebp - 0xb8]
call fcn.012f4dc7
xor ebx, ebx
inc ebx
push ebx
lea esi, [ebp - 0xd4]
call fcn.012f4dc7
push ebx
lea esi, [ebp - 0x90]
call fcn.012f4dc7
cmp dword [ebp - 0x20], edi
je 0x12f9a50
push dword [ebp - 0x20]
call fcn.013572a4
pop ecx
lea esi, [ebp - 0x4c]
call fcn.012fd12f
push 0
push ebx
lea ecx, [ebp - 0x74]
call fcn.012f4c89
lea ecx, [ebp - 0x2b4]
mov byte [ebp - 4], 1
call fcn.012fbe40
lea eax, [ebp - 0x2b4]
push eax
mov dword [ebp - 0x2b4], 0x13a0cbc
call fcn.01355df2
pop ecx
push ebx
xor edi, edi
lea esi, [ebp - 0x12c]
call fcn.012f4dc7
lea esi, [ebp - 0x3c]
call fcn.012fd12f
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.012f4dc7
xor ebx, ebx
inc ebx
push ebx
lea esi, [ebp - 0xd4]
call fcn.012f4dc7
push ebx
lea esi, [ebp - 0x90]
call fcn.012f4dc7
cmp dword [ebp - 0x20], edi
je 0x12f9ae8
push dword [ebp - 0x20]
call fcn.013572a4
pop ecx
lea esi, [ebp - 0x4c]
call fcn.012fd12f
push 0
push ebx
lea ecx, [ebp - 0x74]
call fcn.012f4c89
lea ecx, [ebp - 0x2b4]
mov byte [ebp - 4], 1
call fcn.012fbe40
lea eax, [ebp - 0x2b4]
push eax
mov dword [ebp - 0x2b4], 0x13a0cbc
call fcn.01355df2
pop ecx
push ebx
xor edi, edi
lea esi, [ebp - 0x12c]
call fcn.012f4dc7
lea esi, [ebp - 0x3c]
call fcn.012fd12f
mov al, 1
jmp 0x12f9aa1