Function at 0x419240
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x70
mov eax, dword [ebp + 0x14]
mov dword [esp + 4], edx
mov edx, dword [ebp + 0x1c]
mov dword [esp + 0x10], ecx
mov edi, dword [ecx + 0x10]
mov ecx, dword [ecx + 0x14]
mov esi, dword [ebp + 0x20]
mov byte [esp + 0x20], 0x30
mov dword [esp + 0x1c], 0x30303030
mov dword [esp + 0x18], 0x30303030
mov dword [esp + 0x44], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x4c], edx
mov edx, dword [ebp + 8]
mov dword [esp + 0x50], esi
mov dword [esp + 0xc], ecx
mov dword [esp + 0x48], eax
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4192fc
mov ebx, dword [ebp + 0x10]
test edi, edi
je 0x419307
test ecx, ecx
jne 0x419307
lea edx, [ebx + ebx*4]
xor ebx, ebx
mov dword [esp], edi
mov edi, 1
mov ecx, 0
mov dword [esp + 0x24], 0
cmp edx, eax
mov eax, dword [esp + 4]
mov edx, dword [ebp + 8]
ja 0x4196e0
add eax, 1
mov dword [esp + 8], ecx
adc edx, 0
jae 0x419637
xor eax, eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 4], 0
jmp 0x41965c
mov eax, dword [esp + 4]
xor ecx, ecx
jmp 0x4196d8
xor edx, edx
div ebx
add al, 0x30
mov ecx, edx
mov edx, 0xcccccccd
mov byte [esp + 0x18], al
mov eax, ebx
mov dword [esp + 8], ecx
mul edx
test ecx, ecx
je 0x41933f
shr edx, 3
test edi, edi
mov dword [esp], edi
je 0x419349
cmp dword [esp + 0xc], 2
jae 0x419349
mov ecx, 1
jmp 0x4195b9
mov ecx, 1
jmp 0x4196d1
mov ecx, dword [ebp + 0x10]
cmp ecx, 0xa
jb 0x419998
mov eax, dword [esp + 8]
mov edi, edx
xor edx, edx
div edi
mov edi, 0x51eb851f
add al, 0x30
mov byte [esp + 0x19], al
mov eax, ecx
mov ecx, edx
mul edi
test ecx, ecx
mov dword [esp + 8], ecx
je 0x419392
shr edx, 5
cmp dword [esp], 0
je 0x41939f
cmp dword [esp + 0xc], 3
jae 0x41939f
mov ecx, 2
jmp 0x4195b9
mov edi, dword [esp]
mov ecx, 2
jmp 0x4196d1
mov ecx, dword [ebp + 0x10]
cmp ecx, 0x64
jb 0x419998
mov eax, dword [esp + 8]
mov edi, edx
xor edx, edx
div edi
mov edi, 0x10624dd3
add al, 0x30
mov byte [esp + 0x1a], al
mov eax, ecx
mov ecx, edx
mul edi
test ecx, ecx
mov dword [esp + 8], ecx
je 0x4193e8
shr edx, 6
cmp dword [esp], 0
je 0x4193f5
cmp dword [esp + 0xc], 4
jae 0x4193f5
mov ecx, 3
jmp 0x4195b9
mov edi, dword [esp]
mov ecx, 3
jmp 0x4196d1
mov ecx, dword [ebp + 0x10]
cmp ecx, 0x3e8
jb 0x419998
mov eax, dword [esp + 8]
mov edi, edx
xor edx, edx
div edi
mov edi, 0xd1b71759
add al, 0x30
mov byte [esp + 0x1b], al
mov eax, ecx
mov ecx, edx
mul edi
test ecx, ecx
mov dword [esp + 8], ecx
je 0x419441
shr edx, 0xd
cmp dword [esp], 0
je 0x41944e
cmp dword [esp + 0xc], 5
jae 0x41944e
mov ecx, 4
jmp 0x4195b9
mov edi, dword [esp]
mov ecx, 4
jmp 0x4196d1
mov ecx, dword [ebp + 0x10]
cmp ecx, 0x2710
jb 0x419998
mov eax, dword [esp + 8]
mov edi, edx
xor edx, edx
div edi
mov edi, 0xa7c5ac5
add al, 0x30
mov byte [esp + 0x1c], al
mov eax, ecx
mov ecx, edx
shr eax, 5
mov dword [esp + 8], ecx
mul edi
test ecx, ecx
je 0x41949d
shr edx, 7
cmp dword [esp], 0
je 0x4194aa
cmp dword [esp + 0xc], 6
jae 0x4194aa
mov ecx, 5
jmp 0x4195b9
mov edi, dword [esp]
mov ecx, 5
jmp 0x4196d1
mov ecx, dword [ebp + 0x10]
cmp ecx, 0x186a0
jb 0x419998
mov eax, dword [esp + 8]
mov edi, edx
xor edx, edx
div edi
mov edi, 0x431bde83
add al, 0x30
mov byte [esp + 0x1d], al
mov eax, ecx
mov ecx, edx
mul edi
test ecx, ecx
mov dword [esp + 8], ecx
je 0x4194f6
shr edx, 0x12
cmp dword [esp], 0
je 0x419503
cmp dword [esp + 0xc], 7
jae 0x419503
mov ecx, 6
jmp 0x4195b9
mov edi, dword [esp]
mov ecx, 6
jmp 0x4196d1
mov ecx, dword [ebp + 0x10]
cmp ecx, 0xf4240
jb 0x419998
mov edi, edx
xor edx, edx
mov eax, dword [esp + 8]
div di
add al, 0x30
mov edi, edx
mov edx, 0x6b5fca6b
mov byte [esp + 0x1e], al
mov eax, ecx
mul edx
test di, di
je 0x41954d
shr edx, 0x16
cmp dword [esp], 0
je 0x41955a
cmp dword [esp + 0xc], 8
jae 0x41955a
movzx eax, di
mov ecx, 7
jmp 0x4195b5
mov edi, dword [esp]
mov ecx, 7
jmp 0x4196d1
cmp ecx, 0x989680
mov dword [esp + 0x14], edx
jb 0x419998
mov eax, edi
xor edx, edx
div word [esp + 0x14]
add al, 0x30
mov edi, edx
mov edx, 0x55e63b89
mov byte [esp + 0x1f], al
mov eax, ecx
mul edx
test di, di
je 0x4196a3
shr edx, 0x19
cmp dword [esp], 0
mov dword [esp + 0x14], edx
je 0x4196ad
cmp dword [esp + 0xc], 9
jae 0x4196ad
mov edx, dword [esp + 0x14]
movzx eax, di
mov ecx, 8
mov dword [esp + 8], eax
lea eax, [edx + edx*4]
mov edi, 1
mov dword [esp + 0x24], ecx
cmp dword [esp + 8], eax
jae 0x4195db
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 4]
mov edx, dword [ebp + 8]
jmp 0x4196e0
lea eax, [ecx - 1]
mov esi, 0x30
mov dword [esp + 8], ecx
nop word [eax + eax]
movzx edx, byte [esp + eax + 0x18]
mov edi, eax
mov ebx, edx
inc bl
add eax, 0xffffffff
setb bh
cmp dl, 0x39
movzx ecx, bl
cmovae ecx, esi
mov byte [esp + edi + 0x18], cl
jb 0x419614
test bh, bh
jne 0x4195f0
cmp dl, 0x38
jbe 0x41966c
mov eax, dword [esp + 4]
mov edx, dword [ebp + 8]
mov ecx, dword [esp + 8]
mov esi, dword [ebp + 0x20]
add eax, 1
mov dword [esp + 8], ecx
adc edx, 0
jb 0x4192dd
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edx
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 1
mov dword [esp + 4], 0
mov eax, 1
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0xc]
mov edi, dword [esp]
jmp 0x41970d
mov eax, dword [esp + 4]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0xc]
mov edi, dword [esp]
mov esi, dword [ebp + 0x20]
mov dword [esp + 4], 0
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x34], eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 1
jmp 0x419708
mov edi, dword [esp]
mov ecx, 8
jmp 0x4196d1
cmp dword [ebp + 0x10], 0x5f5e100
jb 0x419998
mov eax, edi
xor edx, edx
mov ecx, 9
div word [esp + 0x14]
mov edi, dword [esp]
add al, 0x30
mov byte [esp + 0x20], al
mov eax, dword [esp + 4]
mov edx, dword [ebp + 8]
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x30], eax
mov dword [esp + 8], ecx
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 1
mov dword [esp + 4], 0
mov eax, 1
cmp ebx, 9
mov ecx, 9
cmovb ecx, ebx
test edi, edi
cmove ecx, dword [esp + 8]
cmp dword [edx + 8], 0
mov dword [esp + 0x3c], ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0x54], ecx
lea ecx, [esp + 0x44]
mov dword [esp + 0x58], ecx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x5c], ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x60], ecx
lea ecx, [esp + 0x24]
mov dword [esp + 0x64], ecx
lea ecx, [esp + 0x4c]
mov dword [esp + 0x68], ecx
je 0x4197b1
mov dword [esp + 0xc], ebx
mov ebx, dword [edx + 0xc]
cmp esi, 0x10
mov dword [esp], edi
jae 0x4197bf
mov edx, eax
mov eax, dword [ebp + 0x1c]
test esi, esi
je 0x4198f0
xor edi, edi
nop word [eax + eax]
xor ecx, ecx
cmp byte [eax], 0xc0
lea eax, [eax + 1]
setge cl
add edi, ecx
dec esi
jne 0x419780
mov eax, dword [esp + 4]
add edi, dword [ebp + 0x18]
or edx, eax
jne 0x4197dc
mov eax, 0x14
add edi, eax
cmp dword [esp], 0
je 0x4198a2
jmp 0x4198aa
lea ecx, [esp + 0x54]
call fcn.004199b0
jmp 0x41994f
push esi
push dword [ebp + 0x1c]
call fcn.0041d220
add esp, 8
mov edi, eax
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
add edi, dword [ebp + 0x18]
or edx, eax
je 0x41979b
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov eax, ecx
or eax, edx
je 0x419863
mov eax, edx
shld eax, ecx, 0x16
mov dword [esp + 4], eax
mov eax, edx
shr eax, 0xa
mov dword [esp + 0x14], eax
push 2
push 0x540be400
push edx
push ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x50], edx
call fcn.0041ec70
mov ecx, 0x9502f8
mov esi, 0
cmp ecx, dword [esp + 4]
mov ecx, 0
sbb ecx, dword [esp + 0x14]
mov ecx, 0xa
cmovae edx, dword [esp + 0x40]
cmovae eax, dword [esp + 8]
cmovae ecx, esi
mov dword [esp + 4], ecx
cmp eax, 0x186a0
mov ecx, edx
sbb ecx, 0
jb 0x419872
push 0
push 0x186a0
push edx
push eax
call fcn.0041ec70
mov esi, dword [esp + 4]
or esi, 5
jmp 0x419876
mov eax, 1
add edi, eax
cmp dword [esp], 0
je 0x4198a2
jmp 0x4198aa
mov esi, dword [esp + 4]
lea ecx, [eax + 0x5fff6]
lea edx, [eax + 0x7ff9c]
and ecx, edx
lea edx, [eax + 0xdfc18]
add eax, 0x7d8f0
and eax, edx
xor eax, ecx
shr eax, 0x11
lea eax, [esi + eax + 1]
add edi, eax
cmp dword [esp], 0
jne 0x4198aa
mov eax, dword [esp + 0x24]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
cmp dword [esp + 0x3c], 0
lea eax, [eax + edi + 1]
cmove eax, edi
sub ebx, eax
jbe 0x4198e1
mov edx, dword [esp + 0x10]
xor ecx, ecx
mov eax, dword [edx + 0x20]
cmp al, 3
cmovne ecx, eax
movzx eax, cl
test cl, cl
je 0x41990d
cmp eax, 1
jne 0x419906
mov dword [esp], 0
jmp 0x419912
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x54]
call fcn.004199b0
jmp 0x41994f
xor edi, edi
mov eax, dword [esp + 4]
add edi, dword [ebp + 0x18]
or edx, eax
jne 0x4197dc
jmp 0x41979b
mov eax, ebx
inc ebx
shr eax, 1
shr ebx, 1
mov dword [esp], ebx
mov ebx, eax
mov eax, dword [edx]
mov esi, dword [edx + 4]
mov edi, dword [edx + 0x1c]
inc ebx
mov dword [esp + 0xc], eax
nop
dec ebx
je 0x419934
push edi
push dword [esp + 0x10]
call dword [esi + 0x10]
add esp, 8
test al, al
je 0x419920
jmp 0x41994d
cmp edi, 0x110000
je 0x41994d
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x54]
call fcn.004199b0
test al, al
je 0x419957
mov al, 1
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esp]
mov ebx, 0xffffffff
neg eax
mov dword [esp + 0x10], eax
nop word cs:[eax + eax]
nop
mov eax, dword [esp + 0x10]
add eax, ebx
cmp eax, 0xffffffff
je 0x41998d
push edi
push dword [esp + 0x10]
call dword [esi + 0x10]
add esp, 8
inc ebx
test al, al
je 0x419970
jmp 0x419990
mov ebx, dword [esp]
cmp ebx, dword [esp]
setb al
jmp 0x41994f
push 0x425a98
push 0x19
push str.attempt_to_divide_by_zerooverflow_when_subtracting_durations
call fcn.00420510
add esp, 0xc
ud2