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

Disassembly:
push 0xffffffffffffffff
push 0x5105b0
mov eax, dword fs:[0]
push eax
sub esp, 0x120
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5405a0]
xor eax, esp
push eax
lea eax, [esp + 0x134]
mov dword fs:[0], eax
mov eax, dword [esp + 0x148]
mov esi, dword [esp + 0x144]
mov ebp, dword [esp + 0x14c]
mov dword [esp + 0xa8], ecx
mov ecx, dword [0x54851c]
mov dword [esp + 0x9c], edx
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x150]
push ecx
lea edx, [esp + 0xa8]
xor ebx, ebx
push edx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x70], ebp
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], ebx
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [esp + 0xa4], ebx
jne 0x461833
mov ecx, esi
call fcn.00439450
push 0x52c4a0
push 0x52139c
mov edx, eax
call fcn.0043a8a0
add esp, 8
xor al, al
jmp 0x46249d
mov dword [esp + 0x54], ebx
mov dword [esp + 0x50], vtable.t_lockerMemSharable.0
push esi
mov edi, 0x542d68
mov dword [esp + 0x140], ebx
call fcn.00440620
test al, al
je 0x4618a1
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x58], edi
push ecx
mov edi, esi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebx
call fcn.0045fa10
add esp, 8
test al, al
jne 0x4618b2
push 0x52c3c0
mov ecx, esi
call fcn.00402960
mov edi, 0x542d68
mov dword [esp + 0x13c], 0xffffffff
call fcn.00440760
xor al, al
jmp 0x46249d
mov ecx, esi
call fcn.00439450
push 0x52c860
jmp 0x46181d
call fcn.00466680
mov edx, dword [esp + 0x2c]
mov edi, eax
mov eax, dword [esp + 0x28]
mov ecx, esi
call fcn.0046e580
test al, al
jne 0x4618f3
push str.Attach
mov ecx, esi
call fcn.00402960
lea esi, [esp + 0x50]
mov dword [esp + 0x13c], 0xffffffff
call fcn.00444670
xor al, al
jmp 0x46249d
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x60]
push eax
mov edi, esi
mov dword [esp + 0x64], ebx
mov dword [esp + 0x30], ebx
call fcn.0045faa0
add esp, 8
test al, al
jne 0x46191a
push 0x52c3e0
jmp 0x4618d1
call fcn.00466740
mov edx, dword [esp + 0x5c]
mov edi, eax
mov eax, dword [esp + 0x28]
mov ecx, esi
call fcn.004730f0
test al, al
je 0x4618cc
lea ecx, [esp + 0x84]
push ecx
call fcn.0046d510
push ebx
mov byte [esp + 0x140], 1
call fcn.004d0409
add esp, 4
mov esi, eax
mov dword [esp + 0x40], edx
call fcn.004d2073
imul eax, esi
push eax
call fcn.004d2061
add esp, 4
mov dword [esp + 0x28], ebx
lea ecx, [ecx]
mov edx, dword [esp + 0xa8]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x9c]
lea esi, [edx + eax*4]
mov edx, dword [esp + 0x154]
push edx
lea eax, [ecx + eax*4]
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x50]
push edx
push eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x5c]
push esi
push eax
mov dword [esp + 0x60], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x70], esi
call fcn.004614b0
cmp eax, ebx
je 0x4619f3
mov eax, dword [esp + 0x24]
cmp eax, ebx
jle 0x462274
mov esi, dword [esp + 0x48]
mov dword [esp + 0x2c], eax
mov edi, edi
lea ebx, [esp + 0x58]
lea edi, [esp + 0x84]
mov dword [esp + 0x58], esi
call fcn.00466a10
add esi, 0x18
sub dword [esp + 0x2c], 1
jne 0x4619d0
jmp 0x462272
lea ecx, [esp + 0x6c]
push ecx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x28], ebx
call fcn.0046d510
lea edx, [esp + 0x24]
mov byte [esp + 0x13c], 2
mov eax, dword [esi]
push edx
push eax
call fcn.00466680
mov esi, dword [esp + 0x3c]
lea edx, [esp + 0x40]
mov ecx, esi
mov ebx, eax
call fcn.0046e6e0
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x38]
push ecx
push edx
lea eax, [esp + 0x74]
push eax
push esi
call fcn.00466740
push eax
call fcn.00473170
lea esi, [esp + 0x3c]
lea edi, [esp + 0x6c]
call fcn.00466800
mov edi, dword [esp + 0x3c]
mov ebp, dword [esp + 0x40]
jmp 0x461a70
mov eax, dword [esp + 0x7c]
mov esi, eax
cmp dword [esp + 0x78], eax
jbe 0x461a85
call fcn.004d06e1
mov eax, dword [esp + 0x7c]
test edi, edi
je 0x461a8f
cmp edi, dword [esp + 0x6c]
je 0x461a98
call fcn.004d06e1
mov eax, dword [esp + 0x7c]
cmp ebp, esi
je 0x461b82
test edi, edi
jne 0x461b42
call fcn.004d06e1
xor eax, eax
cmp ebp, dword [eax + 0x10]
jb 0x461ab9
call fcn.004d06e1
mov ecx, dword [ebp]
mov edx, dword [esp + 0x34]
mov ebx, dword [ecx + 0x18]
push edx
call fcn.00460e00
add esp, 4
test al, al
je 0x461b5e
lea esi, [esp + 0x3c]
call fcn.00466880
mov eax, dword [eax]
mov ebx, 1
cmp dword [eax + 0x18], ebx
je 0x461b5e
call fcn.00466880
mov ecx, dword [eax]
mov eax, dword [ecx + 0x18]
call fcn.0046f480
test al, al
je 0x461b01
call fcn.00466880
cmp byte [esp + 0x154], bl
jne 0x461b49
lea esi, [esp + 0x3c]
call fcn.00466880
mov edx, dword [eax]
cmp dword [edx + 0x18], 0x3fffffff
jl 0x461b49
push ebp
push edi
lea edi, [esp + 0xb4]
lea esi, [esp + 0x74]
call fcn.00466820
mov edi, dword [eax]
mov ebp, dword [eax + 4]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], ebp
jmp 0x461a70
mov eax, dword [edi]
jmp 0x461aaf
lea edi, [esp + 0xb4]
lea esi, [esp + 0x3c]
call fcn.004668b0
jmp 0x461a5f
push ebp
push edi
lea edi, [esp + 0xcc]
lea esi, [esp + 0x74]
call fcn.00466820
mov edi, dword [eax]
mov ebp, dword [eax + 4]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], ebp
jmp 0x461a70
sub eax, dword [esp + 0x78]
mov dword [esp + 0x30], 0
sar eax, 2
mov ebp, eax
mov eax, dword [esp + 0x58]
mov ecx, dword [eax]
mov eax, ecx
mov dword [esp + 0x38], ebp
lea esi, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x461ba2
sub eax, esi
sar eax, 1
push ecx
mov ecx, dword [esp + 0x50]
mov ebx, eax
call fcn.00466460
mov edi, eax
test edi, edi
je 0x4622d8
mov esi, dword [esp + 0x34]
lea ecx, [esp + 0x64]
push ecx
lea edx, [esp + 0x34]
push edx
push edi
lea eax, [esp + 0x5c]
push eax
push esi
call fcn.00471c20
mov ebx, dword [esp + 0x60]
mov ecx, ebx
mov edx, eax
call fcn.0046f960
xor eax, eax
push edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
call fcn.00472d70
push eax
lea eax, [esp + 0x68]
lea ecx, [esp + 0x28]
mov edx, ebx
call fcn.00472300
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x28]
push edx
push edi
push ebx
call fcn.0046f2e0
call fcn.0046eb80
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x48]
test ebp, ebp
jne 0x461c5d
test ecx, ecx
jne 0x461c5d
test edx, edx
jne 0x461c5d
test eax, eax
jne 0x461c5d
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x6c]
push ecx
mov dword [eax], edx
mov byte [esp + 0x140], 1
call fcn.0048bd90
jmp 0x46226e
add eax, edx
add eax, ecx
add eax, ebp
lea edx, [eax + eax*2]
shl edx, 4
push edx
mov ecx, ebx
call fcn.004036b0
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x461c90
lea eax, [esp + 0x6c]
push eax
mov byte [esp + 0x140], 1
call fcn.0048bd90
jmp 0x46226e
xor ebp, ebp
cmp dword [esp + 0x38], ebp
mov dword [esp + 0x18], ebp
jle 0x461d54
mov esi, dword [esp + 0x1c]
add esi, 8
jmp 0x461cb0
mov ecx, dword [esp + 0x7c]
sub ecx, dword [esp + 0x78]
sar ecx, 2
cmp ebp, ecx
jb 0x461cc4
call fcn.004d06e1
mov edx, dword [esp + 0x78]
mov edi, dword [edx + ebp*4]
mov eax, dword [edi + 0x18]
mov dword [esi - 8], eax
mov ecx, dword [edi + 0x1c]
mov eax, dword [esp + 0x5c]
mov dword [esi - 4], ecx
mov edx, dword [edi + 0xc]
add eax, edx
mov dword [esi], eax
mov ebx, dword [eax]
add eax, 4
mov dword [esi], eax
cmp dword [esi - 8], 0x3fffffff
mov ecx, dword [edi + 0x10]
mov dword [esi + 4], ecx
mov dword [esi + 0x10], 0
jae 0x461d07
xor edx, edx
mov word [esi + 0x24], dx
jmp 0x461d10
mov eax, 1
mov word [esi + 0x24], ax
mov ecx, dword [edi + 0x2c]
mov dword [esi + 8], ecx
mov edx, dword [edi + 0x30]
mov dword [esi + 0xc], edx
call fcn.004d2073
cdq
mov ecx, bind
idiv ecx
mov eax, edx
cdq
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], edx
mov edx, dword [edi + 0x3c]
mov dword [esi + 0x20], edx
mov eax, dword [edi + 0x10]
sub eax, 4
cmp ebx, eax
jne 0x461d49
inc dword [esp + 0x18]
add esi, 0x30
inc ebp
cmp ebp, dword [esp + 0x38]
jl 0x461cb0
mov ebp, dword [esp + 0x18]
mov eax, dword [esp + 0x64]
mov ebx, ebp
mov dword [esp + 0x38], ebx
test eax, eax
jle 0x461e5c
mov edi, dword [esp + 0x30]
mov edx, dword [esp + 0x1c]
lea ecx, [ebp + ebp*2]
shl ecx, 4
lea esi, [ecx + edx + 0x10]
add edi, 6
mov dword [esp + 0x30], eax
mov eax, dword [edi - 4]
mov dword [esi - 0x10], eax
mov ecx, dword [edi]
mov dword [esi - 0xc], ecx
mov edx, dword [edi + 4]
mov dword [esi], edx
mov eax, dword [edi + 8]
mov dword [esi + 4], eax
call fcn.004d2073
cdq
mov ecx, bind
idiv ecx
mov eax, edx
cdq
mov dword [esi + 0x10], eax
xor eax, eax
mov dword [esi + 0x14], edx
test ebx, ebx
jle 0x461dd8
mov edx, dword [esi - 0x10]
mov ecx, dword [esp + 0x1c]
lea ecx, [ecx]
cmp edx, dword [ecx]
jne 0x461dcc
mov ebp, dword [esi - 0xc]
cmp ebp, dword [ecx + 4]
je 0x461de9
inc eax
add ecx, 0x30
cmp eax, ebx
jl 0x461dc0
mov ebp, dword [esp + 0x18]
cmp dword [esi - 0x10], 0x3fffffff
jae 0x461e1c
xor ecx, ecx
mov word [esi + 0x1c], cx
jmp 0x461e25
mov ecx, dword [esi + 4]
mov ebx, dword [esi]
lea edx, [eax + eax*2]
mov eax, dword [esp + 0x1c]
shl edx, 4
mov ebp, dword [edx + eax + 0x10]
lea eax, [edx + eax + 0x10]
mov edx, dword [eax + 4]
cmp ecx, edx
jb 0x461e0d
ja 0x461e11
cmp ebx, ebp
ja 0x461e11
mov ebx, ebp
mov ecx, edx
mov dword [eax], ebx
mov ebx, dword [esp + 0x38]
mov dword [eax + 4], ecx
jmp 0x461e4a
mov edx, 1
mov word [esi + 0x1c], dx
mov eax, dword [edi + 0xc]
mov dword [esi + 0x18], eax
mov dword [esi + 8], 1
mov eax, dword [edi + 0x16]
mov dword [esi - 8], eax
test eax, eax
je 0x461e4a
mov ecx, dword [edi + 0x1a]
inc ebp
mov dword [esi - 4], ecx
mov dword [esp + 0x18], ebp
add esi, 0x30
mov ebp, dword [esp + 0x18]
add edi, 0x24
sub dword [esp + 0x30], 1
jne 0x461d84
mov edi, dword [esp + 0x20]
test edi, edi
jne 0x461e6e
cmp dword [esp + 0x24], edi
je 0x462002
mov eax, dword [esp + 0x60]
mov ebx, ebp
test eax, eax
jle 0x461f33
mov ecx, dword [esp + 0x1c]
lea edx, [ebp + ebp*2]
shl edx, 4
lea esi, [edx + ecx + 0x2c]
add edi, 6
mov dword [esp + 0x20], eax
mov edx, dword [edi - 4]
mov dword [esi - 0x2c], edx
mov eax, dword [edi]
mov dword [esi - 0x28], eax
mov ecx, dword [edi + 4]
mov dword [esi - 0x1c], ecx
mov edx, dword [edi + 8]
mov dword [esi - 0x18], edx
call fcn.004d2073
cdq
mov ecx, bind
idiv ecx
mov eax, edx
cdq
mov dword [esi - 0xc], eax
mov dword [esi - 8], edx
cmp dword [esi - 0x2c], 0x3fffffff
jae 0x461ecf
xor edx, edx
mov word [esi], dx
jmp 0x461ed7
mov eax, 1
mov word [esi], ax
mov ecx, dword [edi + 0xc]
mov dword [esi - 4], ecx
mov dword [esi - 0x14], 3
mov eax, dword [edi + 0x16]
mov dword [esi - 0x24], eax
test eax, eax
je 0x461f21
mov edx, dword [edi + 0x1a]
xor ecx, ecx
mov dword [esi - 0x20], edx
test ebx, ebx
jle 0x461f19
mov edx, dword [esi - 0x2c]
mov eax, dword [esp + 0x1c]
cmp edx, dword [eax]
jne 0x461f0d
mov ebp, dword [esi - 0x28]
cmp ebp, dword [eax + 4]
je 0x461f21
inc ecx
add eax, 0x30
cmp ecx, ebx
jl 0x461f01
mov ebp, dword [esp + 0x18]
inc ebp
mov dword [esp + 0x18], ebp
add esi, 0x30
mov ebp, dword [esp + 0x18]
add edi, 0x24
sub dword [esp + 0x20], 1
jne 0x461e92
mov eax, dword [esp + 0x48]
mov ebx, ebp
test eax, eax
jle 0x462002
mov edi, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
lea ecx, [ebp + ebp*2]
add edi, 6
shl ecx, 4
lea esi, [ecx + edx + 0x2c]
mov dword [esp + 0x20], eax
jmp 0x461f60
mov eax, dword [edi - 4]
mov dword [esi - 0x2c], eax
cmp eax, 0x3fffffff
jae 0x461f74
xor eax, eax
mov word [esi], ax
jmp 0x461f7c
mov ecx, 1
mov word [esi], cx
mov edx, dword [edi]
mov dword [esi - 0x28], edx
mov eax, dword [edi + 4]
mov dword [esi - 0x1c], eax
mov ecx, dword [edi + 8]
mov dword [esi - 0x18], ecx
call fcn.004d2073
cdq
mov ecx, bind
idiv ecx
mov eax, edx
cdq
mov dword [esi - 0xc], eax
mov dword [esi - 8], edx
mov edx, dword [edi + 0xc]
mov dword [esi - 4], edx
mov dword [esi - 0x14], 2
mov eax, dword [edi + 0x16]
mov dword [esi - 0x24], eax
test eax, eax
je 0x461ff0
mov eax, dword [edi + 0x1a]
xor ecx, ecx
mov dword [esi - 0x20], eax
test ebx, ebx
jle 0x461fe8
mov edx, dword [esi - 0x2c]
mov eax, dword [esp + 0x1c]
lea ecx, [ecx]
cmp edx, dword [eax]
jne 0x461fdc
mov ebp, dword [esi - 0x28]
cmp ebp, dword [eax + 4]
je 0x461ff0
inc ecx
add eax, 0x30
cmp ecx, ebx
jl 0x461fd0
mov ebp, dword [esp + 0x18]
inc ebp
mov dword [esp + 0x18], ebp
add esi, 0x30
mov ebp, dword [esp + 0x18]
add edi, 0x24
sub dword [esp + 0x20], 1
jne 0x461f60
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x9c]
mov dword [ecx], ebp
push edx
lea ecx, [ebp + ebp*2]
shl ecx, 4
add ecx, esi
mov edx, ecx
sub edx, esi
mov eax, 0x2aaaaaab
imul edx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push ecx
push esi
call fcn.00467960
add esp, 0x10
or ebx, 0xffffffff
xor eax, eax
test ebp, ebp
jle 0x4620a9
mov edx, esi
mov ecx, dword [edx]
cmp ecx, 1
je 0x4620c3
cmp ecx, 0x4d
jl 0x462059
cmp ecx, 0x50
jle 0x4620c3
cmp dword [edx + 0x28], 3
jb 0x462061
mov ebx, eax
inc eax
add edx, 0x30
cmp eax, ebp
jl 0x462048
cmp ebx, 0xffffffff
je 0x4620a9
test ebx, ebx
je 0x4620a9
mov edx, dword [esp + 0x1c]
lea eax, [ebx + ebx*2]
shl eax, 4
mov ecx, 0xc
mov esi, edx
lea edi, [esp + 0xfc]
rep movsd dword es:[edi], dword [esi]
add eax, edx
mov ecx, 0xc
mov esi, eax
mov edi, edx
rep movsd dword es:[edi], dword [esi]
lea esi, [esp + 0xfc]
mov ecx, 0xc
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x4c]
mov eax, dword [edi + 0x10]
lea esi, [ebp + ebp*2]
add esi, esi
add esi, esi
add esi, esi
test eax, eax
jne 0x4620fd
mov ecx, dword [edi + 0x14]
jmp 0x4620ff
cmp eax, 0xffffffff
je 0x462069
test eax, eax
je 0x4620a9
mov edx, dword [esp + 0x1c]
mov ecx, 0xc
mov esi, edx
lea edi, [esp + 0xcc]
rep movsd dword es:[edi], dword [esi]
lea ecx, [eax + eax*2]
shl ecx, 4
lea eax, [ecx + edx]
mov ecx, 0xc
mov esi, eax
mov edi, edx
rep movsd dword es:[edi], dword [esi]
lea esi, [esp + 0xcc]
jmp 0x4620a0
mov ecx, dword [eax]
mov edx, dword [edi + 0x14]
cmp ecx, edx
jae 0x462115
lea ebx, [ecx + esi]
cmp ebx, edx
ja 0x462115
add dword [eax], esi
lea edi, [eax + ecx + 8]
jmp 0x46213d
cmp esi, edx
jbe 0x46211b
mov edx, esi
mov ecx, dword [edi + 4]
add edx, 8
push edx
call ecx
add esp, 4
test eax, eax
je 0x46213b
mov edx, dword [edi + 0x10]
mov dword [eax + 4], edx
mov dword [eax], esi
mov dword [edi + 0x10], eax
lea edi, [eax + 8]
jmp 0x46213d
xor edi, edi
mov dword [esp + 0x30], edi
test edi, edi
je 0x462312
test ebp, ebp
jle 0x46220b
mov esi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x18]
add edi, 8
add esi, 8
mov eax, dword [esi - 8]
mov dword [edi - 8], eax
mov edx, dword [esi - 4]
lea ecx, [edi - 8]
mov dword [edi - 4], edx
mov eax, dword [esi]
mov dword [edi], eax
mov edx, dword [esi + 4]
mov dword [edi + 4], edx
mov ax, word [esi + 0x24]
mov word [edi + 8], ax
mov edx, dword [esi + 0x10]
mov dword [edi + 0xc], edx
mov eax, dword [esp + 0x90]
mov dword [esp + 0x20], ecx
test eax, eax
jne 0x462199
xor edx, edx
jmp 0x4621a5
mov edx, dword [esp + 0x98]
sub edx, eax
sar edx, 2
mov eax, dword [esp + 0x94]
mov ebx, eax
sub ebx, dword [esp + 0x90]
sar ebx, 2
cmp ebx, edx
jae 0x4621ca
mov dword [eax], ecx
add eax, 4
mov dword [esp + 0x94], eax
jmp 0x4621fc
mov ebx, eax
cmp dword [esp + 0x90], eax
jbe 0x4621da
call fcn.004d06e1
mov eax, dword [esp + 0x84]
push ebx
push eax
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0xc8]
push ecx
lea eax, [esp + 0x94]
call fcn.0048c6b0
add esi, 0x30
add edi, 0x18
sub ebp, 1
jne 0x46215f
mov edx, dword [esp + 0x154]
push edx
mov edx, dword [esp + 0x30]
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x60]
lea ecx, [esp + 0x38]
push ecx
push edx
push eax
call fcn.00461590
mov byte [esp + 0x13c], 3
mov eax, dword [esp + 0x78]
xor esi, esi
cmp eax, esi
je 0x462247
push eax
call fcn.004cf512
add esp, 4
mov byte [esp + 0x13c], 1
mov ecx, dword [esp + 0x6c]
push ecx
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], esi
mov dword [esp + 0x84], esi
call fcn.004cf512
add esp, 4
mov ebp, dword [esp + 0x68]
xor ebx, ebx
mov eax, dword [esp + 0x28]
inc eax
cmp eax, 1
mov dword [esp + 0x28], eax
jl 0x461970
mov eax, dword [esp + 0x94]
sub eax, dword [esp + 0x90]
mov esi, dword [esp + 0xa0]
sar eax, 2
mov dword [esi], eax
cmp eax, ebx
jne 0x4623b5
lea eax, [esp + 0x84]
push eax
mov dword [ebp], ebx
mov byte [esp + 0x140], bl
call fcn.0048bd90
lea esi, [esp + 0x50]
mov dword [esp + 0x13c], 0xffffffff
call fcn.00444670
jmp 0x46249b
mov ecx, dword [esp + 0x34]
push str.alloc_memory_failed.
call fcn.00402960
lea edx, [esp + 0x6c]
push edx
mov byte [esp + 0x140], 1
call fcn.0048bd90
lea eax, [esp + 0x84]
push eax
mov byte [esp + 0x140], 0
call fcn.0048bd90
jmp 0x4618d8
mov esi, dword [esp + 0x34]
cmp dword [esi], 0
je 0x46232d
jmp 0x462320
mov esi, dword [esi]
add esi, 0x124
cmp dword [esi], 0
jne 0x462320
push 0x128
call fcn.004cf589
mov edi, eax
add esp, 4
test edi, edi
je 0x462355
mov ecx, edi
call fcn.0043a090
mov dword [edi + 0x124], 0
mov edx, edi
jmp 0x462357
xor edx, edx
push str.malloc_failed.
push 0x52139c
mov dword [esi], edx
call fcn.0043a8a0
add esp, 8
lea ecx, [esp + 0x6c]
push ecx
mov byte [esp + 0x140], 1
call fcn.0048bd90
lea edx, [esp + 0x84]
push edx
mov byte [esp + 0x140], 0
call fcn.0048bd90
mov dword [esp + 0x13c], 0xffffffff
mov edi, dword [esp + 0x54]
test edi, edi
je 0x46182c
call fcn.00440760
xor al, al
jmp 0x46249d
mov ecx, dword [esp + 0x4c]
lea eax, [eax + eax*2]
add eax, eax
add eax, eax
add eax, eax
push eax
call fcn.004036b0
mov dword [ebp], eax
cmp eax, ebx
jne 0x4623f6
mov ecx, dword [esp + 0x34]
push 0x5232b4
call fcn.00402960
lea ecx, [esp + 0x84]
push ecx
mov byte [esp + 0x140], bl
call fcn.0048bd90
jmp 0x4618d8
xor edi, edi
cmp dword [esi], ebx
jle 0x46246f
xor esi, esi
mov edi, edi
mov edx, dword [esp + 0x94]
sub edx, dword [esp + 0x90]
sar edx, 2
cmp edi, edx
jb 0x46241a
call fcn.004d06e1
mov eax, dword [esp + 0x90]
mov eax, dword [eax + edi*4]
mov edx, dword [eax]
mov ecx, dword [ebp]
mov dword [esi + ecx], edx
mov edx, dword [eax + 4]
mov ecx, dword [ebp]
mov dword [ecx + esi + 4], edx
mov edx, dword [eax + 8]
mov ecx, dword [ebp]
mov dword [ecx + esi + 8], edx
mov edx, dword [eax + 0xc]
mov ecx, dword [ebp]
mov dword [ecx + esi + 0xc], edx
mov dx, word [eax + 0x10]
mov ecx, dword [ebp]
mov word [ecx + esi + 0x10], dx
mov edx, dword [eax + 0x14]
mov ecx, dword [ebp]
mov eax, dword [esp + 0xa0]
mov dword [ecx + esi + 0x14], edx
inc edi
add esi, 0x18
cmp edi, dword [eax]
jl 0x462400
lea ecx, [esp + 0x84]
push ecx
mov byte [esp + 0x140], bl
call fcn.0048bd90
mov dword [esp + 0x13c], 0xffffffff
mov edi, dword [esp + 0x54]
cmp edi, ebx
je 0x46249b
call fcn.00440760
mov al, 1
mov ecx, dword [esp + 0x134]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x12c
ret