Function at 0x40944c
Capabilities:
Hash data with md5

Disassembly:
mov eax, 0x48f2aa
call fcn.0048cc58
sub esp, 0x310
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
push dword [ebp - 0x28]
xor ebx, ebx
push 0x4c19e0
push 0x4c19bc
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
call fcn.0041074c
lea eax, [ebp - 0x12c]
push eax
mov dword [ebp - 4], ebx
call fcn.0042e1b5
pop ecx
push 1
lea eax, [ebp - 0x12c]
push eax
lea eax, [ebp - 0x31c]
push eax
mov byte [ebp - 4], 1
call fcn.0040bd5d
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 0x4094f7
call fcn.00409b11
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x9c]
call fcn.00466985
push 0x4b2d30
lea eax, [ebp - 0x9c]
push eax
mov dword [ebp - 0x9c], vtable.std::runtime_error.0
call fcn.00470895
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.004106ae
lea esi, [ebp - 0x31c]
mov byte [ebp - 4], 3
call fcn.0040be72
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 0x409580
lea eax, [ebp - 0x74]
push dword [ebp - 0x64]
push eax
lea eax, [ebp - 0x26c]
call fcn.00429a9b
pop ecx
pop ecx
lea esi, [ebp - 0x26c]
lea edi, [ebp - 0x4c]
call fcn.00429b2c
push 3
lea eax, [ebp - 0x1d4]
push eax
call fcn.0040b6a3
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.00465c73
add esp, 0xc
mov ecx, eax
lea esi, [ebp - 0x1c4]
call fcn.0040ebcb
mov esi, eax
call fcn.0040b104
push eax
call fcn.0040b223
inc edi
cmp edi, 0x10
jl 0x4095b3
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x1d4]
call fcn.0040b77a
push eax
lea edi, [ebp - 0x3c]
mov byte [ebp - 4], 5
call fcn.0040c6d7
push ebx
push 1
lea ecx, [ebp - 0x58]
call fcn.00404c70
lea eax, [ebp - 0x1d4]
mov byte [ebp - 4], 3
call fcn.00408556
lea eax, [ebp - 0x244]
push eax
call fcn.0044b810
cmp dword [ebp - 0x60], 0x10
mov eax, dword [ebp - 0x74]
pop ecx
jae 0x40964b
lea eax, [ebp - 0x74]
push dword [ebp - 0x64]
push eax
lea eax, [ebp - 0x244]
push eax
call fcn.0044b850
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x244]
push eax
call fcn.0044b900
add esp, 0x14
push 3
lea eax, [ebp - 0x1d4]
push eax
call fcn.0040b6a3
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.00465c73
add esp, 0xc
mov ecx, eax
lea esi, [ebp - 0x1c4]
call fcn.0040ebcb
mov esi, eax
call fcn.0040b104
push eax
call fcn.0040b223
inc edi
cmp edi, 0x14
jl 0x409682
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x1d4]
call fcn.0040b77a
push 7
pop ebx
push eax
lea edi, [ebp - 0x3c]
mov byte [ebp - 4], bl
call fcn.0040c6d7
xor edi, edi
push edi
push 1
lea ecx, [ebp - 0x58]
call fcn.00404c70
lea eax, [ebp - 0x1d4]
mov byte [ebp - 4], 3
call fcn.00408556
lea eax, [ebp - 0x244]
push eax
call fcn.0044d5a0
cmp dword [ebp - 0x60], 0x10
mov eax, dword [ebp - 0x74]
pop ecx
jae 0x40971e
lea eax, [ebp - 0x74]
push dword [ebp - 0x64]
push eax
lea eax, [ebp - 0x244]
push eax
call fcn.0044d5f0
lea eax, [ebp - 0xf4]
push eax
lea eax, [ebp - 0x244]
push eax
call fcn.0044d6a0
add esp, 0x14
push 3
lea eax, [ebp - 0x1d4]
push eax
call fcn.0040b6a3
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.00465c73
add esp, 0xc
mov ecx, eax
lea esi, [ebp - 0x1c4]
call fcn.0040ebcb
mov esi, eax
call fcn.0040b104
push eax
call fcn.0040b223
inc edi
cmp edi, 0x20
jl 0x409756
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x1d4]
call fcn.0040b77a
push eax
lea edi, [ebp - 0x3c]
mov byte [ebp - 4], 9
call fcn.0040c6d7
xor edi, edi
push edi
push 1
lea ecx, [ebp - 0x58]
call fcn.00404c70
lea eax, [ebp - 0x1d4]
mov byte [ebp - 4], 3
call fcn.00408556
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 [0x496094]
xor ebx, ebx
cmp ebx, 3
jae 0x40997b
push eax
call fcn.00406080
mov esi, eax
mov eax, dword [ebp - 0x1c]
pop ecx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], esi
cmp ecx, eax
jae 0x40987a
cmp dword [ebp - 0x20], ecx
ja 0x40987a
mov esi, ecx
sub esi, dword [ebp - 0x20]
sar esi, 2
cmp eax, dword [ebp - 0x18]
jne 0x409867
lea eax, [ebp - 0x20]
call fcn.0040d132
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
lea eax, [eax + esi*4]
cmp ecx, edi
je 0x409890
mov eax, dword [eax]
mov dword [ecx], eax
jmp 0x409890
cmp eax, dword [ebp - 0x18]
jne 0x409887
lea eax, [ebp - 0x20]
call fcn.0040d132
mov ecx, dword [ebp - 0x1c]
cmp ecx, edi
je 0x409890
mov dword [ecx], esi
push dword [ecx]
add ecx, 4
lea eax, [ebp - 0xf0]
push eax
mov dword [ebp - 0x1c], ecx
call fcn.0040650c
pop ecx
pop ecx
lea ecx, [ebp - 0x110]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x10
call fcn.0042dfc0
pop ecx
push eax
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 0x11
call fcn.00404cb4
push 1
xor edi, edi
lea esi, [ebp - 0x110]
call fcn.00404dae
xor esi, esi
push esi
push 1
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 0xf
call fcn.00404c70
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 0xd4]
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.0042eba1
lea eax, [ebp - 0x110]
add esp, 0xc
push eax
lea ecx, [ebp - 0xb8]
call fcn.0042de7e
pop ecx
lea ecx, [ebp - 0xf0]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x12
call fcn.0040f06a
pop ecx
push eax
lea edi, [ebp - 0x4c]
mov byte [ebp - 4], 0x13
call fcn.0040c6d7
push esi
push 1
lea ecx, [ebp - 0xf0]
call fcn.00404c70
push esi
push 1
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 0xf
call fcn.00404c70
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax - 4]
inc ebx
xor edi, edi
jmp 0x40982e
mov dword [ebp - 4], 0xe
mov esi, dword [ebp - 0x20]
jmp 0x409997
mov eax, dword [esi]
cmp eax, edi
je 0x409994
push eax
call dword [0x4960bc]
add esi, 4
cmp esi, dword [ebp - 0x1c]
jne 0x409987
mov esi, dword [ebp - 0x3c]
cmp esi, dword [ebp - 0x38]
je 0x4099eb
mov eax, dword [ebp - 0x48]
sub eax, dword [ebp - 0x4c]
push 0x1c
cdq
pop ecx
idiv ecx
mov ebx, eax
jmp 0x4099b6
xor edi, edi
test ebx, ebx
je 0x4099e3
cmp dword [esi + 0x14], 0x10
mov ecx, dword [esi + 0x10]
jb 0x4099c7
mov eax, dword [esi]
jmp 0x4099c9
mov eax, esi
push ecx
push eax
push dword [ebp - 0x4c]
xor eax, eax
call fcn.0040ca1b
cmp eax, 0xffffffff
jne 0x409a83
inc edi
cmp edi, ebx
jb 0x4099ba
add esi, 0x1c
cmp esi, dword [ebp - 0x38]
jne 0x4099b4
push 1
xor edi, edi
lea esi, [ebp - 0xb8]
call fcn.00404dae
xor ebx, ebx
inc ebx
push ebx
lea esi, [ebp - 0xd4]
call fcn.00404dae
push ebx
lea esi, [ebp - 0x90]
call fcn.00404dae
cmp dword [ebp - 0x20], edi
je 0x409a23
push dword [ebp - 0x20]
call fcn.004672a4
pop ecx
lea esi, [ebp - 0x4c]
call fcn.0040d0fe
push 0
push ebx
lea ecx, [ebp - 0x74]
call fcn.00404c70
lea ecx, [ebp - 0x2b4]
mov byte [ebp - 4], 1
call fcn.0040be2c
lea eax, [ebp - 0x2b4]
push eax
mov dword [ebp - 0x2b4], 0x4b0cbc
call fcn.00465df2
pop ecx
push ebx
xor edi, edi
lea esi, [ebp - 0x12c]
call fcn.00404dae
lea esi, [ebp - 0x3c]
call fcn.0040d0fe
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.00404dae
xor ebx, ebx
inc ebx
push ebx
lea esi, [ebp - 0xd4]
call fcn.00404dae
push ebx
lea esi, [ebp - 0x90]
call fcn.00404dae
cmp dword [ebp - 0x20], edi
je 0x409abb
push dword [ebp - 0x20]
call fcn.004672a4
pop ecx
lea esi, [ebp - 0x4c]
call fcn.0040d0fe
push 0
push ebx
lea ecx, [ebp - 0x74]
call fcn.00404c70
lea ecx, [ebp - 0x2b4]
mov byte [ebp - 4], 1
call fcn.0040be2c
lea eax, [ebp - 0x2b4]
push eax
mov dword [ebp - 0x2b4], 0x4b0cbc
call fcn.00465df2
pop ecx
push ebx
xor edi, edi
lea esi, [ebp - 0x12c]
call fcn.00404dae
lea esi, [ebp - 0x3c]
call fcn.0040d0fe
mov al, 1
jmp 0x409a74