Function at 0x420f10
Capabilities:
Terminate process

Disassembly:
sub esp, 0x1c
push ebx
push ebp
mov ebp, dword [esp + 0x28]
push esi
push edi
mov edi, ecx
mov esi, eax
mov eax, dword [edi + 8]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
push ecx
push esi
call edx
mov ecx, eax
mov eax, dword [edi + 8]
mov edx, dword [eax + 8]
mov ebx, dword [eax + 0x18]
and edx, ecx
push ecx
lea ebx, [ebx + edx*8]
xor edx, edx
push esi
push eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x30], edx
mov dword [esp + 0x24], edx
call fcn.00413ec0
add esp, 0x14
test eax, eax
mov dword [esp + 0x20], eax
je 0x420fbd
mov ecx, dword [eax]
test ecx, ecx
mov dword [esp + 0x1c], ecx
je 0x420fbd
mov ebx, dword [ecx + 0x18]
cmp dword [ebx + 0x24], 0
jne 0x420fbd
mov eax, dword [ecx + 0x1c]
test al, 1
je 0x420f88
mov edx, dword [edi + 0x24]
mov ebx, dword [ecx + 0x20]
cmp ebx, dword [edx]
jne 0x420fbd
mov ebx, dword [ecx + 0x18]
test al, 2
je 0x420fab
mov eax, dword [edi + 0x24]
mov eax, dword [eax + 4]
cdq
add eax, dword [ecx + 0x28]
adc edx, dword [ecx + 0x2c]
cmp edx, dword [0x5424f4]
jl 0x420fbd
jg 0x420fab
cmp eax, dword [0x5424f0]
jb 0x420fbd
mov eax, ebx
test eax, eax
mov dword [esp + 0x10], eax
je 0x420fbd
cmp ebx, ebp
je 0x42117e
call fcn.0041ca10
test eax, eax
je 0x42117e
lea ecx, [edi + 0x2c]
mov edx, esi
call fcn.0041f440
test eax, eax
jne 0x42117e
push 0x30
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
call dword [sym.imp.MSVCR80.dll_malloc]
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x420ffa
jmp fcn.00408a80
mov ecx, dword [esi]
mov dword [ebx], ecx
mov edx, dword [esi + 4]
mov dword [ebx + 4], edx
mov eax, dword [esi + 8]
mov dword [ebx + 8], eax
mov ecx, dword [esi + 0xc]
mov dword [ebx + 0xc], ecx
mov edx, dword [esi + 0x10]
mov ecx, dword [0x5424f0]
mov dword [ebx + 0x10], edx
mov eax, dword [esi + 0x14]
mov edx, dword [0x5424f4]
mov dword [ebx + 0x14], eax
mov eax, dword [esp + 0x34]
test al, 1
mov dword [ebx + 0x18], ebp
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x28], ecx
mov dword [ebx + 0x2c], edx
mov dword [ebx + 0x20], 0
je 0x42104b
mov eax, dword [edi + 0x24]
mov ecx, dword [eax]
mov dword [ebx + 0x20], ecx
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x4210a4
mov edx, dword [ebp + 0x2c]
cmp edx, dword [ebp + 0x3a8]
mov eax, ebp
jl 0x42106a
call fcn.00422ec0
jmp 0x4210f4
push ebx
push str.update
push edi
call fcn.0041f650
add esp, 0xc
test eax, eax
je 0x4210f4
mov eax, 1
add dword [ebp + 0x28], eax
add dword [ebp + 0x2c], eax
push esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ebp
call fcn.0041f560
mov eax, dword [esp + 0x24]
add esp, 4
mov dword [eax + 4], ebx
mov dword [eax], ebx
jmp 0x4210f4
mov eax, dword [ebp + 0x2c]
cmp eax, dword [ebp + 0x3a8]
mov eax, ebp
jl 0x4210b8
call fcn.00422ec0
jmp 0x4210f4
push ebx
push 0x516fcc
push edi
call fcn.0041f650
add esp, 0xc
test eax, eax
je 0x4210f4
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
mov eax, 1
add dword [ebp + 0x28], eax
add dword [ebp + 0x2c], eax
mov edi, dword [edi + 8]
push ebx
push ecx
push ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ebp
call fcn.0041eb60
add esp, 0xc
cmp dword [0x5426d0], 3
jb 0x421151
push 0x26000003
call fcn.00408960
add esp, 4
test eax, eax
je 0x421151
cmp dword [esp + 0x14], 0
mov edi, 0x5118be
jne 0x42111f
mov edi, str._FAILED
lea edx, [esp + 0x18]
mov ecx, ebx
call fcn.0041cc60
lea edx, [esp + 0x18]
push edx
push 0
push ebp
mov esi, eax
call fcn.0041fe40
add esp, 0xc
push eax
push esi
push edi
push str.MULTI:_Learn_s:__s_____s
push 0x26000003
call fcn.00408640
add esp, 0x14
cmp dword [esp + 0x14], 0
mov edi, dword [sym.imp.MSVCR80.dll_free]
jne 0x421164
push ebx
call edi
add esp, 4
mov eax, dword [esp + 0x18]
test eax, eax
je 0x42117e
lea esp, [esp]
mov esi, dword [eax]
push eax
call edi
add esp, 4
test esi, esi
mov eax, esi
jne 0x421170
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret