Function at 0x4239f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4a00de
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c86e0]
xor eax, esp
push eax
lea eax, [esp + 0x74]
mov dword fs:[0], eax
call fcn.00461729
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x423a31
push 0x80004005
call fcn.00401fb0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x14]
push ecx
push str.history_data
mov ecx, 0x4d0790
mov dword [esp + 0x84], 0
call fcn.00439210
test eax, eax
je 0x42400c
lea ecx, [esp + 0x60]
call fcn.0046413b
push ecx
mov ebx, 1
mov byte [esp + 0x80], bl
mov ecx, esp
mov dword [esp + 0x3c], esp
push 0x4ae978
mov esi, ebx
lea edi, [esp + 0x68]
call fcn.004019c0
mov byte [esp + 0x80], 2
mov eax, dword [esp + 0x18]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x3c], esp
mov ebp, esp
push eax
call fcn.00402840
add eax, 0x10
mov dword [ebp], eax
mov byte [esp + 0x88], bl
add esp, 4
mov ebx, edi
call fcn.00445ab0
mov ecx, dword [esp + 0x70]
add esp, 8
test ecx, ecx
mov dword [esp + 0x1c], 0
jle 0x423ffe
mov eax, dword [esp + 0x1c]
test eax, eax
jl 0x4240e2
cmp eax, ecx
jge 0x4240e2
mov edx, dword [esp + 0x64]
mov eax, dword [edx + eax*4]
sub eax, 0x10
push eax
call fcn.00402840
add eax, 0x10
add esp, 4
mov dword [esp + 0x18], eax
push 0x4addb8
lea eax, [esp + 0x1c]
mov byte [esp + 0x80], 3
call fcn.00406220
mov edi, eax
mov eax, 0x4addb8
call fcn.00406280
lea ecx, [esp + 0x4c]
call fcn.0046413b
push ecx
mov byte [esp + 0x80], 4
mov ecx, esp
mov dword [esp + 0x38], esp
push 0x4ac5f0
mov esi, 1
lea edi, [esp + 0x54]
call fcn.004019c0
mov byte [esp + 0x80], 5
mov eax, dword [esp + 0x1c]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x28], esp
mov ebx, esp
push eax
call fcn.00402840
add eax, 0x10
mov dword [ebx], eax
add esp, 4
mov ebx, edi
mov byte [esp + 0x84], 4
call fcn.00445ab0
mov eax, dword [esp + 0x5c]
add esp, 8
cmp eax, 7
jl 0x423fb4
cmp eax, 2
jle 0x4240e2
mov eax, dword [esp + 0x50]
mov eax, dword [eax + 8]
sub eax, 0x10
push eax
call fcn.00402840
lea esi, [eax + 0x10]
add esp, 4
push esi
call fcn.0047eb89
mov dword [esp + 0x38], eax
lea eax, [esi - 0x10]
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423be4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x130
call fcn.00459aee
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
mov byte [esp + 0x7c], 6
je 0x423c08
push eax
call fcn.0041b640
mov esi, eax
jmp 0x423c0a
xor esi, esi
mov byte [esp + 0x7c], 4
cmp dword [esp + 0x54], 0
jle 0x4240e2
mov edx, dword [esp + 0x50]
lea ecx, [esi + 0x5c]
push edx
call fcn.004027c0
cmp dword [esp + 0x54], 4
jle 0x4240e2
mov eax, dword [esp + 0x50]
mov eax, dword [eax + 0x10]
sub eax, 0x10
push eax
call fcn.00402840
add esp, 4
push 0xa
lea edi, [eax + 0x10]
push 0
push edi
call fcn.004814e3
add edi, 0xfffffff0
mov ebp, edx
add esp, 0xc
mov ebx, eax
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423c75
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
push ebp
lea eax, [esp + 0x28]
push ebx
push eax
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebp
call fcn.004395b0
add esp, 0xc
mov byte [esp + 0x7c], 7
mov ecx, dword [eax]
push ecx
lea ebp, [esi + 0x58]
push 0x4ac600
push ebp
call fcn.00402a20
mov byte [esp + 0x88], 4
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
add esp, 0xc
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x423ccb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x54], 5
jle 0x4240e2
mov ecx, dword [esp + 0x50]
mov eax, dword [ecx + 0x14]
sub eax, 0x10
push eax
call fcn.00402840
add esp, 4
push 0xa
lea edi, [eax + 0x10]
push 0
push edi
call fcn.004814e3
add edi, 0xfffffff0
mov ebx, eax
mov dword [esp + 0x50], edx
add esp, 0xc
lea edx, [edi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x423d1b
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov ecx, dword [esp + 0x44]
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ecx
cmp dword [esp + 0x54], 1
jle 0x4240e2
mov eax, dword [esp + 0x50]
add eax, 4
lea edi, [esi + 0x64]
push eax
mov ecx, edi
call fcn.004027c0
mov eax, dword [edi]
push ecx
sub eax, 0x10
mov dword [esp + 0x24], esp
mov ebx, esp
push eax
call fcn.00402840
lea edx, [esp + 0x30]
add esp, 4
add eax, 0x10
push edx
mov dword [ebx], eax
call fcn.00445860
add esp, 8
lea ecx, [esi + 0x60]
push eax
mov byte [esp + 0x80], 8
call fcn.004027c0
mov byte [esp + 0x7c], 4
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423d9f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.00461729
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x423a27
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov byte [esp + 0x7c], 9
mov eax, dword [esi + 0x5c]
push ecx
sub eax, 0x10
mov dword [esp + 0x40], esp
mov edi, esp
push eax
call fcn.00402840
lea ecx, [esp + 0x34]
add esp, 4
add eax, 0x10
push ecx
mov dword [edi], eax
call fcn.004038a0
mov byte [esp + 0x84], 0xa
mov edx, dword [eax]
push edx
lea eax, [esp + 0x2c]
push 0x4ae8e8
push eax
call fcn.00402a20
mov byte [esp + 0x90], 9
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
add esp, 0x14
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423e32
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [esp + 0x20]
push ecx
add ebx, 0xfffffff0
mov dword [esp + 0x40], esp
mov edi, esp
push ebx
call fcn.00402840
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.004039e0
add esp, 4
push 5
lea ecx, [esi + 0x68]
push str.0KB_s
mov dword [esi + 4], eax
call fcn.00401c60
push 8
lea ecx, [esi + 0x70]
push str.__:__:__
mov dword [esi + 8], 1
call fcn.00401c60
mov ecx, dword [esi + 0x2c]
mov edx, dword [esi + 0x28]
push ecx
push edx
lea eax, [esp + 0x38]
push eax
call fcn.004395b0
add esp, 0xc
mov byte [esp + 0x7c], 0xb
mov ecx, dword [ebp]
mov edx, dword [eax]
push ecx
push edx
lea eax, [esi + 0x74]
push str._s__s
push eax
call fcn.00402a20
mov byte [esp + 0x8c], 9
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
add esp, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423ed8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
fld dword [0x4b2880]
mov ecx, dword [esp + 0x34]
fstp dword [esi + 0x30]
sub esp, 8
fld qword [0x4b2868]
lea edx, [esi + 0x6c]
fstp qword [esp]
push str._.1f__
push edx
mov dword [esi + 0xc], ecx
call fcn.00402a20
add esp, 0x10
cmp dword [esp + 0x54], 8
jne 0x423f1e
mov eax, dword [esp + 0x50]
add eax, 0x1c
lea ecx, [esi + 0x78]
push eax
call fcn.004027c0
jmp 0x423f5d
lea eax, [esp + 0x38]
call fcn.00403b50
lea ecx, [esi + 0x78]
push eax
mov byte [esp + 0x80], 0xc
call fcn.004027c0
mov byte [esp + 0x7c], 9
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423f5d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
sub esp, 0x130
mov ecx, esp
mov dword [esp + 0x16c], esp
push ecx
mov ecx, esi
call fcn.00420210
mov ecx, dword [esp + 0x1b4]
add ecx, 0x15f4
call fcn.00425400
mov eax, esi
call fcn.0041a130
push esi
call fcn.00459b1e
add esp, 4
mov byte [esp + 0x7c], 4
lea edx, [ebx + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x423fb4
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0x7c], 3
call fcn.004642ec
mov byte [esp + 0x7c], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423fe7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x68]
add eax, 1
cmp eax, ecx
mov dword [esp + 0x1c], eax
jl 0x423ae2
lea ecx, [esp + 0x60]
mov byte [esp + 0x7c], 0
call fcn.004642ec
mov eax, dword [esp + 0x84]
mov ecx, dword [eax + 0x1610]
add eax, 0x1610
cmp dword [ecx - 0xc], 0
jle 0x424868
push eax
lea ecx, [esp + 0x18]
call fcn.004027c0
lea ecx, [esp + 0x60]
call fcn.0046413b
push ecx
mov bl, 0xd
mov byte [esp + 0x80], bl
mov ecx, esp
mov dword [esp + 0x40], esp
push 0x4ae978
mov esi, 1
lea edi, [esp + 0x68]
call fcn.004019c0
mov byte [esp + 0x80], 0xe
mov eax, dword [esp + 0x18]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x40], esp
mov ebp, esp
push eax
call fcn.00402840
add eax, 0x10
mov dword [ebp], eax
mov byte [esp + 0x88], bl
add esp, 4
mov ebx, edi
call fcn.00445ab0
mov ecx, dword [esp + 0x70]
add esp, 8
test ecx, ecx
mov dword [esp + 0x18], 0
jle 0x42484e
mov eax, dword [esp + 0x18]
test eax, eax
jl 0x4240e2
cmp eax, ecx
jge 0x4240e2
mov edx, dword [esp + 0x64]
mov esi, dword [edx + eax*4]
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
sub esi, 0x10
call edx
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x4240e7
cmp eax, dword [esi]
jne 0x4240e7
mov edi, esi
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x42411d
call fcn.00461650
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x4248a6
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
add eax, 1
push eax
add esi, 0x10
push esi
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.0047e048
add esp, 0x10
add edi, 0x10
mov dword [esp + 0x1c], edi
push 0x4addb8
lea eax, [esp + 0x20]
mov byte [esp + 0x80], 0xf
call fcn.00406220
mov edi, eax
mov eax, 0x4addb8
call fcn.00406280
lea ecx, [esp + 0x4c]
call fcn.0046413b
push ecx
mov byte [esp + 0x80], 0x10
mov ecx, esp
mov dword [esp + 0x40], esp
push 0x4ac5f0
mov ebp, 1
lea ebx, [esp + 0x54]
call fcn.004019c0
mov byte [esp + 0x80], 0x11
mov edi, dword [esp + 0x20]
push ecx
mov ecx, dword [edi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add edi, 0xfffffff0
mov dword [esp + 0x40], esp
mov dword [esp + 0x40], esp
call eax
cmp dword [edi + 0xc], 0
lea edx, [edi + 0xc]
jl 0x4241aa
cmp eax, dword [edi]
jne 0x4241aa
mov esi, edi
mov ecx, ebp
lock xadd dword [edx], ecx
jmp 0x4241e0
mov ecx, dword [edi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov esi, eax
test esi, esi
je 0x4248a6
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 4]
add eax, 1
push eax
add edi, 0x10
push edi
push eax
lea ecx, [esi + 0x10]
push ecx
call fcn.0047e048
add esp, 0x10
mov edx, dword [esp + 0x40]
add esi, 0x10
mov dword [edx], esi
mov esi, ebp
mov byte [esp + 0x84], 0x10
call fcn.00445ab0
mov eax, dword [esp + 0x5c]
add esp, 8
cmp eax, 7
jl 0x424804
cmp eax, 2
jle 0x4240e2
mov eax, dword [esp + 0x50]
mov esi, dword [eax + 8]
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
sub esi, 0x10
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x42423f
cmp eax, dword [esi]
jne 0x42423f
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x424275
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x4248a6
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
add eax, 1
push eax
add esi, 0x10
push esi
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.0047e048
add esp, 0x10
add edi, 0x10
push edi
call fcn.0047eb89
mov dword [esp + 0x3c], eax
lea eax, [edi - 0x10]
add esp, 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4242a1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x130
call fcn.00459aee
add esp, 4
mov dword [esp + 0x3c], eax
test eax, eax
mov byte [esp + 0x7c], 0x12
je 0x4242c5
push eax
call fcn.0041b640
mov esi, eax
jmp 0x4242c7
xor esi, esi
mov byte [esp + 0x7c], 0x10
cmp dword [esp + 0x54], 0
jle 0x4240e2
mov edx, dword [esp + 0x50]
lea ecx, [esi + 0x5c]
push edx
call fcn.004027c0
cmp dword [esp + 0x54], 4
jle 0x4240e2
mov eax, dword [esp + 0x50]
mov edi, dword [eax + 0x10]
mov ecx, dword [edi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
sub edi, 0x10
call eax
cmp dword [edi + 0xc], 0
lea ecx, [edi + 0xc]
jl 0x42431d
cmp eax, dword [edi]
jne 0x42431d
mov ebx, edi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x424353
mov ecx, dword [edi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
je 0x4248a6
mov eax, dword [edi + 4]
mov dword [ebx + 4], eax
mov eax, dword [edi + 4]
add eax, 1
push eax
add edi, 0x10
push edi
push eax
lea ecx, [ebx + 0x10]
push ecx
call fcn.0047e048
add esp, 0x10
push 0xa
lea ebp, [ebx + 0x10]
push 0
push ebp
call fcn.004814e3
add ebp, 0xfffffff0
mov edi, eax
mov ebx, edx
add esp, 0xc
lea edx, [ebp + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x424384
mov ecx, dword [ebp]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebp
call eax
push ebx
lea ecx, [esp + 0x38]
push edi
push ecx
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], ebx
call fcn.004395b0
add esp, 0xc
mov byte [esp + 0x7c], 0x13
mov edx, dword [eax]
push edx
lea ecx, [esi + 0x58]
push 0x4ac600
push ecx
call fcn.00402a20
mov byte [esp + 0x88], 0x10
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
add esp, 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4243da
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x54], 5
jle 0x4240e2
mov ecx, dword [esp + 0x50]
mov edi, dword [ecx + 0x14]
mov ecx, dword [edi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
sub edi, 0x10
call eax
cmp dword [edi + 0xc], 0
lea ecx, [edi + 0xc]
jl 0x424413
cmp eax, dword [edi]
jne 0x424413
mov ebx, edi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x424449
mov ecx, dword [edi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
je 0x4248a6
mov eax, dword [edi + 4]
mov dword [ebx + 4], eax
mov eax, dword [edi + 4]
add eax, 1
push eax
add edi, 0x10
push edi
push eax
lea ecx, [ebx + 0x10]
push ecx
call fcn.0047e048
add esp, 0x10
push 0xa
lea edi, [ebx + 0x10]
push 0
push edi
call fcn.004814e3
add edi, 0xfffffff0
mov ebx, eax
mov ebp, edx
add esp, 0xc
lea edx, [edi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x424479
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebp
cmp dword [esp + 0x54], 1
jle 0x4240e2
mov eax, dword [esp + 0x50]
add eax, 4
lea edi, [esi + 0x64]
push eax
mov ecx, edi
call fcn.004027c0
mov edi, dword [edi]
push ecx
mov ecx, dword [edi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
sub edi, 0x10
mov dword [esp + 0x40], esp
mov ebp, esp
call eax
cmp dword [edi + 0xc], 0
lea edx, [edi + 0xc]
jl 0x4244cc
cmp eax, dword [edi]
jne 0x4244cc
mov ebx, edi
mov ecx, 1
lock xadd dword [edx], ecx
jmp 0x424502
mov ecx, dword [edi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
je 0x4248a6
mov eax, dword [edi + 4]
mov dword [ebx + 4], eax
mov eax, dword [edi + 4]
add eax, 1
push eax
add edi, 0x10
push edi
push eax
lea ecx, [ebx + 0x10]
push ecx
call fcn.0047e048
add esp, 0x10
lea edx, [esp + 0x34]
add ebx, 0x10
push edx
mov dword [ebp], ebx
call fcn.00445860
add esp, 8
lea ecx, [esi + 0x60]
push eax
mov byte [esp + 0x80], 0x14
call fcn.004027c0
mov byte [esp + 0x7c], 0x10
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42454b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.00461729
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x423a27
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov byte [esp + 0x7c], 0x15
mov edi, dword [esi + 0x5c]
push ecx
mov ecx, dword [edi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
sub edi, 0x10
mov dword [esp + 0x40], esp
mov ebp, esp
call eax
cmp dword [edi + 0xc], 0
lea edx, [edi + 0xc]
jl 0x4245a5
cmp eax, dword [edi]
jne 0x4245a5
mov ebx, edi
mov ecx, 1
lock xadd dword [edx], ecx
jmp 0x4245db
mov ecx, dword [edi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
je 0x4248a6
mov eax, dword [edi + 4]
mov dword [ebx + 4], eax
mov eax, dword [edi + 4]
add eax, 1
push eax
add edi, 0x10
push edi
push eax
lea ecx, [ebx + 0x10]
push ecx
call fcn.0047e048
add esp, 0x10
lea edx, [esp + 0x30]
add ebx, 0x10
push edx
mov dword [ebp], ebx
call fcn.004038a0
mov byte [esp + 0x84], 0x16
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x2c]
push 0x4ae8e8
push ecx
call fcn.00402a20
mov byte [esp + 0x90], 0x15
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
add esp, 0x14
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x424630
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [esp + 0x20]
push ecx
mov ecx, dword [ebx - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add ebx, 0xfffffff0
mov dword [esp + 0x40], esp
mov ebp, esp
call eax
cmp dword [ebx + 0xc], 0
lea ecx, [ebx + 0xc]
jl 0x424662
cmp eax, dword [ebx]
jne 0x424662
mov edi, ebx
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x424698
mov ecx, dword [ebx + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x4248a6
mov eax, dword [ebx + 4]
mov dword [edi + 4], eax
mov eax, dword [ebx + 4]
add eax, 1
push eax
lea ecx, [ebx + 0x10]
push ecx
push eax
lea edx, [edi + 0x10]
push edx
call fcn.0047e048
add esp, 0x10
add edi, 0x10
mov dword [ebp], edi
call fcn.004039e0
add esp, 4
push 5
lea ecx, [esi + 0x68]
push str.0KB_s
mov dword [esi + 4], eax
call fcn.00401c60
push 8
lea ecx, [esi + 0x70]
push str.__:__:__
mov dword [esi + 8], 1
call fcn.00401c60
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x28]
push eax
push ecx
lea edx, [esp + 0x30]
push edx
call fcn.004395b0
add esp, 0xc
mov byte [esp + 0x7c], 0x17
mov ecx, dword [esi + 0x58]
mov edx, dword [eax]
push ecx
push edx
lea eax, [esi + 0x74]
push str._s__s
push eax
call fcn.00402a20
mov byte [esp + 0x8c], 0x15
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
add esp, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x424728
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
fld dword [0x4b2880]
mov ecx, dword [esp + 0x38]
fstp dword [esi + 0x30]
sub esp, 8
fld qword [0x4b2868]
lea edx, [esi + 0x6c]
fstp qword [esp]
push str._.1f__
push edx
mov dword [esi + 0xc], ecx
call fcn.00402a20
add esp, 0x10
cmp dword [esp + 0x54], 8
jne 0x42476e
mov eax, dword [esp + 0x50]
add eax, 0x1c
lea ecx, [esi + 0x78]
push eax
call fcn.004027c0
jmp 0x4247ad
lea eax, [esp + 0x24]
call fcn.00403b50
lea ecx, [esi + 0x78]
push eax
mov byte [esp + 0x80], 0x18
call fcn.004027c0
mov byte [esp + 0x7c], 0x15
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4247ad
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
sub esp, 0x130
mov ecx, esp
mov dword [esp + 0x16c], esp
push ecx
mov ecx, esi
call fcn.00420210
mov ecx, dword [esp + 0x1b4]
add ecx, 0x15f4
call fcn.00425400
mov eax, esi
call fcn.0041a130
push esi
call fcn.00459b1e
add esp, 4
mov byte [esp + 0x7c], 0x10
lea edx, [ebx + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x424804
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0x7c], 0xf
call fcn.004642ec
mov byte [esp + 0x7c], 0xd
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x424837
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x68]
add eax, 1
cmp eax, ecx
mov dword [esp + 0x18], eax
jl 0x4240ac
mov ecx, dword [esp + 0x84]
call fcn.00424b60
lea ecx, [esp + 0x60]
mov byte [esp + 0x7c], 0
call fcn.004642ec
mov dword [esp + 0x7c], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x424890
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret 4
call fcn.00401950
int3