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

Disassembly:
sub esp, 0x58
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
push ebx
push ebp
push esi
mov ebx, dword [ecx + 0x18]
push edi
mov edi, dword [eax + 0x14]
mov eax, dword [ecx]
mov edx, dword [ebx + 0x34]
mov dword [esp + 0x14], edi
mov dword [esp + 0x24], ebx
test byte [eax + 0x9c], 0x40
mov dword [esp + 0x34], edx
jne 0x1015ace6
add edx, dword [ecx + 0x14]
mov dword [esp + 0x34], edx
imul eax, dword [ebx + 0x38], 0x2c
add eax, edx
xor edx, edx
mov dword [esp + 0x60], eax
xor eax, eax
mov dword [esp + 0x2c], eax
add dword [ebx + 0x118], 1
mov dword [esp + 0x50], eax
adc dword [ebx + 0x11c], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x30], edx
mov dword [esp + 0x40], edx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x5c], edx
test eax, eax
je 0x1015ad39
mov edx, dword [eax + 0x5c]
add edx, 0x34
mov dword [esp + 0x44], edx
jmp 0x1015ad41
mov eax, dword [esp + 0x78]
mov dword [esp + 0x44], eax
mov eax, dword [ecx + 0x18]
mov eax, dword [eax]
test eax, eax
je 0x1015ad60
push eax
push edi
call fcn.100dbf50
add esp, 8
test eax, eax
jne 0x1015b8d2
mov ecx, dword [esp + 0x70]
mov eax, 0xcccccccd
mul dword [ebx + 0x68]
mov eax, dword [ebx + 0x40]
shr edx, 3
sub eax, edx
xor ebp, ebp
mov dword [esp + 0x64], eax
mov dword [esp + 0x20], ebp
jmp 0x1015ad80
mov ecx, dword [esp + 0x70]
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x48]
push ecx
call fcn.1012c510
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x1015adcb
cmp dword [esp + 0x74], eax
je 0x1015b796
mov esi, dword [esp + 0x3c]
push esi
push 0x20
push 0xe
push edi
call fcn.101337a0
add esp, 0x10
test eax, eax
je 0x1015b793
push esi
push dword [esp + 0x74]
call fcn.1012c730
add esp, 8
jmp 0x1015ade0
cmp dword [esp + 0x48], 0
jne 0x1015b8b7
cmp dword [ebx + 0x68], 0
je 0x1015b8b7
xor eax, eax
xor edx, edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x4c]
add eax, dword [esp + 0x28]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x28], edx
cmp dword [ebx + 0x68], edx
je 0x1015ad7c
mov ecx, dword [esp + 0x34]
nop dword [eax]
mov eax, dword [ebx + 0x3c]
mov esi, ebp
imul ebp, eax, 0x2c
inc eax
mov dword [ebx + 0x3c], eax
add ebp, ecx
mov dword [esp + 0x18], ebp
cmp ebp, dword [esp + 0x60]
jb 0x1015ae35
mov ebp, ecx
mov dword [ebx + 0x3c], 1
mov dword [esp + 0x18], ebp
mov eax, edx
inc edx
mov dword [esp + 0x28], edx
cmp eax, dword [ebx + 0x38]
je 0x1015b6df
mov eax, dword [ebp + 4]
cmp eax, 0xffffffff
je 0x1015b6cc
add eax, 4
add eax, ebp
je 0x1015b6cc
mov eax, dword [esp + 0x70]
mov eax, dword [eax + 0x18]
mov eax, dword [eax]
test eax, eax
je 0x1015ae7b
push eax
push edi
call fcn.100dc5b0
add esp, 8
test eax, eax
jne 0x1015b8d2
mov eax, dword [ebp]
test eax, eax
je 0x1015ae94
push eax
push edi
call fcn.100dc2b0
add esp, 8
test eax, eax
jne 0x1015b8d2
mov eax, dword [ebp + 4]
xor esi, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x58], esi
cmp eax, 0xffffffff
je 0x1015b669
lea ebx, [ebp + 4]
add ebx, eax
je 0x1015b04c
cmp dword [ebx + 0x2c], 0xffffffff
jne 0x1015af02
cmp dword [ebx + 0x30], 0xffffffff
jne 0x1015af02
cmp dword [ebx + 4], 0
jne 0x1015b03c
cmp dword [esp + 0x20], 0
jne 0x1015aedf
mov eax, dword [esp + 0x64]
cmp dword [ebx + 0xc], eax
jae 0x1015b03c
test esi, esi
je 0x1015aef3
mov eax, dword [esi + 0xc]
cmp eax, dword [ebx + 0xc]
jbe 0x1015b03c
lock dec dword [esi + 4]
mov esi, ebx
mov dword [esp + 0x10], esi
lock inc dword [ebx + 4]
jmp 0x1015b03c
mov ebp, dword [esp + 0x20]
mov ecx, ebx
cmp ebp, 2
jle 0x1015af31
cmp dword [ecx + 4], 0
lea edx, [ecx + 4]
jne 0x1015af31
test byte [ecx + 8], 0x40
jne 0x1015af31
test esi, esi
je 0x1015af2c
mov eax, dword [esi + 0xc]
cmp eax, dword [ecx + 0xc]
jbe 0x1015af31
lock dec dword [esi + 4]
mov esi, ecx
lock inc dword [edx]
mov eax, dword [ecx + 0x30]
mov edi, ecx
cmp eax, 0xffffffff
je 0x1015af3f
add ecx, eax
jne 0x1015af08
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x10], esi
mov edx, dword [edi + 0x2c]
cmp edx, 0xffffffff
je 0x1015afc4
mov edx, dword [edx + edi + 0x28]
test edx, edx
je 0x1015af98
mov eax, dword [esp + 0x14]
mov esi, dword [eax + 0x84]
mov eax, dword [esi + 0x14]
test byte [eax + 0x9c], 0x40
je 0x1015af72
mov eax, dword [edx + 0x38]
jmp 0x1015af7d
mov ecx, dword [esi + 0x28]
add ecx, edx
add edx, dword [esi + 0x28]
mov eax, dword [ecx + 0x38]
mov ecx, dword [edx + 0x3c]
cmp dword [ebp + 0x20], eax
jne 0x1015af8a
cmp dword [ebp + 0x24], ecx
je 0x1015af98
sbb eax, eax
and eax, 0xfffffffe
inc eax
test eax, eax
jns 0x1015af98
xor eax, eax
jmp 0x1015af9d
mov eax, 1
test eax, eax
je 0x1015b008
mov edx, dword [esp + 0x10]
mov dword [esp + 0x58], 1
test edx, edx
je 0x1015afb5
lock dec dword [edx + 4]
mov esi, edi
mov dword [esp + 0x10], esi
lock inc dword [edi + 4]
jmp 0x1015b0fa
mov edx, dword [edi + 0x28]
test edx, edx
je 0x1015afa1
mov eax, dword [esp + 0x14]
mov esi, dword [eax + 0x84]
mov eax, dword [esi + 0x14]
test byte [eax + 0x9c], 0x40
je 0x1015afe6
mov eax, dword [edx + 0x38]
jmp 0x1015aff1
mov ecx, dword [esi + 0x28]
add ecx, edx
add edx, dword [esi + 0x28]
mov eax, dword [ecx + 0x38]
mov ecx, dword [edx + 0x3c]
cmp dword [ebp + 0x20], eax
jne 0x1015affe
cmp dword [ebp + 0x24], ecx
je 0x1015afa1
sbb eax, eax
and eax, 0xfffffffe
inc eax
test eax, eax
jns 0x1015afa1
cmp dword [esp + 0x54], 0
jne 0x1015b038
lea eax, [ebp + 0x20]
push eax
push dword [esp + 0x18]
call fcn.10141320
add esp, 8
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x1015b8ef
mov dword [esp + 0x54], 1
jmp 0x1015af47
mov esi, dword [esp + 0x10]
mov eax, dword [ebx + 0x10]
cmp eax, 0xffffffff
je 0x1015b04c
add ebx, eax
jne 0x1015aeb5
xor ebp, ebp
mov ebx, 1
test esi, esi
je 0x1015b65d
mov eax, dword [esp + 0x24]
mov esi, dword [esi + 0xc]
mov ebp, dword [esp + 0x18]
mov edi, dword [eax + 0x44]
test edi, edi
je 0x1015b08e
mov ecx, ebp
mov eax, 0x2e8ba2e9
sub ecx, dword [esp + 0x34]
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jg 0x1015b08e
add esi, 0x40000000
mov ebx, dword [esp + 0x30]
test ebx, ebx
je 0x1015b617
cmp esi, dword [esp + 0x40]
jbe 0x1015b0f6
cmp ebp, ebx
je 0x1015b0f6
mov eax, dword [ebp]
mov edi, dword [esp + 0x14]
test eax, eax
je 0x1015b0c1
push eax
push edi
call fcn.100dc5b0
add esp, 8
test eax, eax
jne 0x1015b8d2
mov eax, ebx
mov dword [esp + 0x30], ebp
mov ebp, eax
mov dword [esp + 0x40], esi
mov dword [esp + 0x18], ebp
mov eax, dword [eax]
test eax, eax
je 0x1015b0e9
push eax
push edi
call fcn.100dc2b0
add esp, 8
test eax, eax
jne 0x1015b8d2
mov edx, dword [esp + 0x10]
lock dec dword [edx + 4]
jmp 0x1015ae94
mov esi, dword [esp + 0x10]
mov eax, dword [ebp]
xor edx, edx
inc dword [esp + 0x50]
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x30], edx
test eax, eax
je 0x1015b121
push eax
push ebp
call fcn.100dc5b0
add esp, 8
test eax, eax
jne 0x1015b8d2
xor ebx, ebx
cmp dword [esi + 4], 1
ja 0x1015b5f9
mov eax, dword [esi]
test eax, eax
jne 0x1015b139
mov dword [esp + 0x1c], eax
jmp 0x1015b151
push eax
push ebp
call fcn.100dc570
mov ecx, eax
add esp, 8
mov dword [esp + 0x1c], ecx
test ecx, ecx
jne 0x1015b601
or word [esi + 8], 0x10
mov ebp, 1
cmp dword [esi + 4], ebp
jne 0x1015b62d
mov edx, dword [esp + 0x6c]
mov ecx, dword [edx + 0x18]
mov eax, dword [ecx]
test byte [eax + 0x9c], 0x40
je 0x1015b17b
mov edi, dword [esi + 0x1c]
jmp 0x1015b181
mov edi, dword [ecx + 0x14]
add edi, dword [esi + 0x1c]
xor ecx, ecx
test byte [esi + 8], 2
mov dword [esp + 0x1c], ecx
je 0x1015b1c0
push ecx
push esi
push edi
push dword [esp + 0x24]
push edx
call fcn.101753a0
mov edx, dword [esp + 0x80]
mov ecx, eax
add esp, 0x14
mov dword [esp + 0x1c], ecx
test ecx, ecx
jne 0x1015b1d0
mov eax, dword [esp + 0x24]
add dword [eax + 0xa0], ebp
adc dword [eax + 0xa4], ebx
jmp 0x1015b1d0
mov eax, dword [esp + 0x24]
add dword [eax + 0x98], ebp
adc dword [eax + 0x9c], ecx
cmp dword [esi + 0x30], 0xffffffff
jne 0x1015b1e6
cmp dword [esi + 0x2c], 0xffffffff
je 0x1015b1e2
cmp dword [esp + 0x58], ebx
je 0x1015b1e6
xor esi, esi
jmp 0x1015b1e8
mov esi, ebp
test ecx, ecx
jne 0x1015b24b
test esi, esi
je 0x1015b24b
cmp dword [esp + 0x20], ebx
je 0x1015b629
mov eax, dword [esp + 0x10]
test byte [eax + 8], 0x42
jne 0x1015b629
lea ecx, [esp + 0x2c]
push ecx
push eax
push dword [esp + 0x20]
push dword [esp + 0x7c]
push edx
call fcn.10175b00
mov ecx, eax
add esp, 0x14
mov dword [esp + 0x1c], ecx
test ecx, ecx
jne 0x1015b22d
xor esi, esi
jmp 0x1015b24b
cmp ecx, 0x10
je 0x1015b245
cmp ecx, 5
je 0x1015b245
cmp ecx, 0xc
je 0x1015b245
cmp ecx, 0x1c
jne 0x1015b7bb
xor ecx, ecx
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 0x18]
mov eax, dword [edx]
test eax, eax
je 0x1015b272
push eax
push dword [esp + 0x18]
call fcn.100dbf50
add esp, 8
test eax, eax
jne 0x1015b8d2
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov ebx, ebp
test ecx, ecx
jne 0x1015b5cf
mov ecx, dword [esp + 0x10]
cmp dword [ecx + 4], ebx
jne 0x1015b629
movzx eax, word [ecx + 8]
test al, 2
jne 0x1015b629
test esi, esi
jne 0x1015b629
test al, 0x40
je 0x1015b3db
test eax, 0x100
jne 0x1015b2fb
mov ebp, dword [esp + 0x18]
mov eax, dword [esp + 0x6c]
push esi
mov esi, dword [esp + 0x74]
push ecx
push ebp
push esi
push eax
call fcn.10176430
add esp, 0x14
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x1015b8ef
mov eax, dword [ebp]
mov edi, dword [esp + 0x14]
test eax, eax
je 0x1015b3ce
push eax
push edi
call fcn.100dc2b0
add esp, 8
test eax, eax
jne 0x1015b8d2
mov dword [esp + 0x2c], eax
jmp 0x1015ae94
mov ebx, dword [esp + 0x10]
or esi, 0xffffffff
lock xadd dword [ebx + 4], esi
dec esi
mov eax, dword [ebx]
neg esi
mov edi, dword [esp + 0x14]
mov ecx, 0xffef
sbb esi, esi
and word [ebx + 8], cx
inc esi
test eax, eax
je 0x1015b332
push eax
push edi
call fcn.100dc5b0
add esp, 8
test eax, eax
jne 0x1015b8d2
test esi, esi
je 0x1015b3ca
mov esi, dword [esp + 0x70]
mov eax, dword [esi + 0x18]
mov eax, dword [eax]
test eax, eax
je 0x1015b359
push eax
push edi
call fcn.100dbf50
add esp, 8
test eax, eax
jne 0x1015b8d2
mov edx, dword [esp + 0x24]
mov dword [ebx + 0x10], 0xffffffff
mov eax, dword [edx + 0x164]
sub eax, ebx
add eax, 0x160
add eax, edx
mov dword [ebx + 0x14], eax
mov eax, ebx
mov ecx, dword [edx + 0x164]
test ecx, ecx
jne 0x1015b391
sub eax, edx
sub eax, 0x160
mov dword [edx + 0x160], eax
jmp 0x1015b3a1
sub eax, ecx
sub eax, edx
sub eax, 0x150
mov dword [ecx + edx + 0x160], eax
sub ebx, edx
sub ebx, 0x150
mov dword [edx + 0x164], ebx
mov eax, dword [esi + 0x18]
mov eax, dword [eax]
test eax, eax
je 0x1015b3ca
push eax
push edi
call fcn.100dc5b0
add esp, 8
test eax, eax
jne 0x1015b8d2
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x2c], 0
jmp 0x1015ae94
cmp dword [esp + 0x2c], 0
je 0x1015b56d
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x70]
mov eax, dword [esp + 0x6c]
push 0
push ebx
push ebp
push edi
push esi
push eax
call fcn.101750c0
add esp, 0x18
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x1015b8ef
mov eax, dword [esi + 0x18]
mov eax, dword [eax]
test eax, eax
je 0x1015b42f
push eax
push dword [esp + 0x18]
call fcn.100dbf50
add esp, 8
test eax, eax
jne 0x1015b8d2
mov edx, dword [esp + 0x24]
mov dword [ebx], 0xffffffff
mov eax, dword [edx + 0x16c]
sub eax, ebx
add eax, 0x168
add eax, edx
mov dword [ebx + 4], eax
mov eax, ebx
mov ecx, dword [edx + 0x16c]
test ecx, ecx
jne 0x1015b466
sub eax, edx
sub eax, 0x168
mov dword [edx + 0x168], eax
jmp 0x1015b476
sub eax, ecx
sub eax, edx
sub eax, 0x168
mov dword [ecx + edx + 0x168], eax
mov eax, ebx
sub eax, edx
sub eax, 0x168
mov dword [edx + 0x16c], eax
lea edx, [ebx + 8]
add ebx, 0x34
lea eax, [edx + 0x3c]
add ebx, dword [edi + 0x5c]
cmp eax, ebx
jae 0x1015b51c
mov ebp, dword [esp + 0x24]
mov ecx, edx
sub ecx, ebp
sub ecx, 0x150
lea edi, [ebp + 0x160]
nop dword [eax]
mov dword [edx], 0
mov dword [edi + ecx], 0xffffffff
mov eax, dword [ebp + 0x164]
sub eax, edx
add eax, 0x160
add eax, ebp
mov dword [ecx + ebp + 0x164], eax
mov esi, dword [ebp + 0x164]
test esi, esi
jne 0x1015b4ea
lea edi, [ebp + 0x160]
lea eax, [ecx - 0x10]
mov dword [edi], eax
jmp 0x1015b4fc
mov eax, edx
sub eax, esi
sub eax, ebp
sub eax, 0x150
mov dword [esi + ebp + 0x160], eax
mov dword [ebp + 0x164], ecx
lea eax, [ebp + 0x18c]
add ecx, 0x3c
add edx, 0x3c
add eax, ecx
cmp eax, ebx
jb 0x1015b4b0
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x70]
mov eax, dword [esi + 0x18]
mov edi, dword [esp + 0x14]
mov eax, dword [eax]
test eax, eax
je 0x1015b53b
push eax
push edi
call fcn.100dc5b0
add esp, 8
test eax, eax
jne 0x1015b8d2
mov dword [esp + 0x2c], 0
mov eax, dword [ebp]
test eax, eax
je 0x1015ae94
push eax
push edi
call fcn.100dc2b0
add esp, 8
test eax, eax
je 0x1015ae94
pop edi
pop esi
pop ebp
mov eax, 0xffff8702
pop ebx
add esp, 0x58
ret
mov eax, dword [esp + 0x74]
test eax, eax
je 0x1015b581
mov eax, dword [eax + 0x5c]
cmp eax, dword [edi + 0x5c]
je 0x1015b7f5
mov ebx, dword [esp + 0x38]
mov eax, dword [esp + 0x6c]
add ebx, 0x38
add ebx, dword [edi + 0x5c]
push 1
push ecx
push edx
push edi
push dword [esp + 0x80]
mov dword [esp + 0x4c], ebx
push eax
call fcn.101750c0
add esp, 0x18
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x1015b8ef
mov ebp, dword [esp + 0x20]
cmp ebp, 1
jle 0x1015b68a
mov ebp, 1
mov dword [esp + 0x20], ebp
jmp 0x1015b68a
cmp dword [esp + 0x20], 0
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
jne 0x1015b5e6
mov eax, dword [esi + 0xc]
cmp eax, dword [ecx + 0x40]
jae 0x1015b62d
mov eax, 0xcccccccd
mul dword [ecx + 0x68]
shr edx, 3
add edx, dword [ecx + 0x40]
mov dword [esi + 0xc], edx
jmp 0x1015b62d
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x1015b60d
cmp ecx, 0xffff86ef
jne 0x1015b7eb
xor eax, eax
xor ebp, ebp
mov dword [esp + 0x1c], eax
jmp 0x1015b62d
mov edx, dword [esp + 0x10]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x40], esi
lock dec dword [edx + 4]
jmp 0x1015b665
mov esi, dword [esp + 0x10]
test esi, esi
je 0x1015b65d
lock dec dword [esi + 4]
test ebp, ebp
je 0x1015b65d
mov eax, 0xffef
and word [esi + 8], ax
mov eax, dword [esi]
test eax, eax
je 0x1015b65d
push eax
push dword [esp + 0x18]
call fcn.100dc5b0
add esp, 8
test eax, eax
jne 0x1015b8d2
test ebx, ebx
je 0x1015b682
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
mov eax, dword [ebp]
test eax, eax
je 0x1015b682
push eax
push edi
call fcn.100dc5b0
add esp, 8
test eax, eax
jne 0x1015b8d2
mov ebp, dword [esp + 0x20]
mov ebx, dword [esp + 0x38]
mov ecx, dword [esp + 0x70]
mov edi, dword [esp + 0x14]
mov eax, dword [ecx + 0x18]
mov eax, dword [eax]
test eax, eax
je 0x1015b6b1
push eax
push edi
call fcn.100dbf50
add esp, 8
test eax, eax
jne 0x1015b8d2
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x44]
lea eax, [eax + eax*2]
cmp ebx, eax
mov ebx, dword [esp + 0x24]
jae 0x1015ad80
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x28]
cmp dword [ebx + 0x68], 0
mov ebp, dword [esp + 0x20]
je 0x1015ad7c
jmp 0x1015ae10
cmp dword [esp + 0x38], 0
mov ebp, dword [esp + 0x20]
jne 0x1015ad7c
mov eax, dword [esp + 0x70]
mov eax, dword [eax + 0x18]
mov eax, dword [eax]
test eax, eax
je 0x1015b70d
push eax
push edi
call fcn.100dc5b0
add esp, 8
test eax, eax
jne 0x1015b8d2
mov ebp, dword [esp + 0x20]
inc ebp
mov dword [esp + 0x20], ebp
cmp esi, 5
ja case.default.0x1015b71b
jmp dword [esi*4 + 0x1015b8f8]
mov eax, dword [ebx + 0x158]
mov dword [esp + 0x5c], eax
push 0
push 0
push 1
push 0
push 0
push edi
call fcn.10129eb0
push 0
push 1
push edi
call fcn.1015c310
add esp, 0x24
jmp case.0x1015b71b.0
mov ecx, dword [esp + 0x5c]
mov ebp, 1
cmp ecx, dword [ebx + 0x158]
mov ecx, ebp
mov eax, dword [esp + 0x48]
cmove eax, ecx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x70]
mov eax, dword [ecx + 0x18]
mov eax, dword [eax]
test eax, eax
je 0x1015ad80
push eax
push edi
call fcn.100dbf50
add esp, 8
test eax, eax
jne 0x1015b8d2
jmp 0x1015ad7c
inc dword [ebx + 0x68]
mov esi, dword [esp + 0x70]
mov eax, dword [esi + 0x18]
mov eax, dword [eax]
test eax, eax
je 0x1015b7b5
push eax
push edi
call fcn.100dc5b0
add esp, 8
test eax, eax
jne 0x1015b8d2
mov edx, dword [esp + 0x3c]
jmp 0x1015b820
mov edx, dword [esp + 0x10]
lock dec dword [edx + 4]
mov eax, dword [edx]
mov esi, 0xffef
and word [edx + 8], si
test eax, eax
je 0x1015b7eb
push eax
push dword [esp + 0x18]
call fcn.100dc5b0
add esp, 8
test eax, eax
jne 0x1015b8d2
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
mov eax, ecx
pop ebx
add esp, 0x58
ret
mov esi, dword [esp + 0x70]
mov eax, dword [esp + 0x6c]
push 0
push ecx
push edx
push edi
push esi
push eax
call fcn.101750c0
add esp, 0x18
test eax, eax
jne 0x1015b8ef
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x3c], edx
mov ecx, dword [esp + 0x7c]
test ecx, ecx
je 0x1015b83a
mov eax, dword [esi]
test byte [eax + 0x9c], 0x40
mov eax, edx
jne 0x1015b838
sub eax, dword [esi + 0x14]
mov dword [ecx], eax
mov eax, dword [esp + 0x80]
mov dword [eax], edx
mov eax, dword [esp + 0x4c]
add eax, dword [esp + 0x28]
je 0x1015b879
xor ecx, ecx
cmp ecx, dword [ebx + 0x12c]
jb 0x1015b86d
ja 0x1015b861
cmp eax, dword [ebx + 0x128]
jbe 0x1015b86d
mov dword [ebx + 0x128], eax
mov dword [ebx + 0x12c], ecx
add dword [ebx + 0x120], eax
adc dword [ebx + 0x124], ecx
mov eax, dword [esp + 0x50]
test eax, eax
je 0x1015b8ad
xor ecx, ecx
cmp ecx, dword [ebx + 0x13c]
jb 0x1015b8a1
ja 0x1015b895
cmp eax, dword [ebx + 0x138]
jbe 0x1015b8a1
mov dword [ebx + 0x138], eax
mov dword [ebx + 0x13c], ecx
add dword [ebx + 0x130], eax
adc dword [ebx + 0x134], ecx
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x58
ret
mov eax, dword [esp + 0x70]
mov eax, dword [eax + 0x18]
mov eax, dword [eax]
test eax, eax
je 0x1015b8df
push eax
push edi
call fcn.100dc5b0
add esp, 8
test eax, eax
je 0x1015b8df
pop edi
pop esi
pop ebp
mov eax, 0xffff8702
pop ebx
add esp, 0x58
ret
push str.unable_to_allocate_space_from_the_buffer_cache
push edi
call fcn.100d0920
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret