Function at 0x7e5db0
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 0x7e5de6
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 0x7e5e39
mov edx, dword [eax + 0x5c]
add edx, 0x34
mov dword [esp + 0x44], edx
jmp 0x7e5e41
mov eax, dword [esp + 0x78]
mov dword [esp + 0x44], eax
mov eax, dword [ecx + 0x18]
mov eax, dword [eax]
test eax, eax
je 0x7e5e60
push eax
push edi
call fcn.007670d0
add esp, 8
test eax, eax
jne 0x7e69d2
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 0x7e5e80
mov ecx, dword [esp + 0x70]
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x48]
push ecx
call fcn.007b7610
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x7e5ecb
cmp dword [esp + 0x74], eax
je 0x7e6896
mov esi, dword [esp + 0x3c]
push esi
push 0x20
push 0xe
push edi
call fcn.007be8a0
add esp, 0x10
test eax, eax
je 0x7e6893
push esi
push dword [esp + 0x74]
call fcn.007b7830
add esp, 8
jmp 0x7e5ee0
cmp dword [esp + 0x48], 0
jne 0x7e69b7
cmp dword [ebx + 0x68], 0
je 0x7e69b7
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 0x7e5e7c
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 0x7e5f35
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 0x7e67df
mov eax, dword [ebp + 4]
cmp eax, 0xffffffff
je 0x7e67cc
add eax, 4
add eax, ebp
je 0x7e67cc
mov eax, dword [esp + 0x70]
mov eax, dword [eax + 0x18]
mov eax, dword [eax]
test eax, eax
je 0x7e5f7b
push eax
push edi
call fcn.00767730
add esp, 8
test eax, eax
jne 0x7e69d2
mov eax, dword [ebp]
test eax, eax
je 0x7e5f94
push eax
push edi
call fcn.00767430
add esp, 8
test eax, eax
jne 0x7e69d2
mov eax, dword [ebp + 4]
xor esi, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x58], esi
cmp eax, 0xffffffff
je 0x7e6769
lea ebx, [ebp + 4]
add ebx, eax
je 0x7e614c
cmp dword [ebx + 0x2c], 0xffffffff
jne 0x7e6002
cmp dword [ebx + 0x30], 0xffffffff
jne 0x7e6002
cmp dword [ebx + 4], 0
jne 0x7e613c
cmp dword [esp + 0x20], 0
jne 0x7e5fdf
mov eax, dword [esp + 0x64]
cmp dword [ebx + 0xc], eax
jae 0x7e613c
test esi, esi
je 0x7e5ff3
mov eax, dword [esi + 0xc]
cmp eax, dword [ebx + 0xc]
jbe 0x7e613c
lock dec dword [esi + 4]
mov esi, ebx
mov dword [esp + 0x10], esi
lock inc dword [ebx + 4]
jmp 0x7e613c
mov ebp, dword [esp + 0x20]
mov ecx, ebx
cmp ebp, 2
jle 0x7e6031
cmp dword [ecx + 4], 0
lea edx, [ecx + 4]
jne 0x7e6031
test byte [ecx + 8], 0x40
jne 0x7e6031
test esi, esi
je 0x7e602c
mov eax, dword [esi + 0xc]
cmp eax, dword [ecx + 0xc]
jbe 0x7e6031
lock dec dword [esi + 4]
mov esi, ecx
lock inc dword [edx]
mov eax, dword [ecx + 0x30]
mov edi, ecx
cmp eax, 0xffffffff
je 0x7e603f
add ecx, eax
jne 0x7e6008
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x10], esi
mov edx, dword [edi + 0x2c]
cmp edx, 0xffffffff
je 0x7e60c4
mov edx, dword [edx + edi + 0x28]
test edx, edx
je 0x7e6098
mov eax, dword [esp + 0x14]
mov esi, dword [eax + 0x84]
mov eax, dword [esi + 0x14]
test byte [eax + 0x9c], 0x40
je 0x7e6072
mov eax, dword [edx + 0x38]
jmp 0x7e607d
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 0x7e608a
cmp dword [ebp + 0x24], ecx
je 0x7e6098
sbb eax, eax
and eax, 0xfffffffe
inc eax
test eax, eax
jns 0x7e6098
xor eax, eax
jmp 0x7e609d
mov eax, 1
test eax, eax
je 0x7e6108
mov edx, dword [esp + 0x10]
mov dword [esp + 0x58], 1
test edx, edx
je 0x7e60b5
lock dec dword [edx + 4]
mov esi, edi
mov dword [esp + 0x10], esi
lock inc dword [edi + 4]
jmp 0x7e61fa
mov edx, dword [edi + 0x28]
test edx, edx
je 0x7e60a1
mov eax, dword [esp + 0x14]
mov esi, dword [eax + 0x84]
mov eax, dword [esi + 0x14]
test byte [eax + 0x9c], 0x40
je 0x7e60e6
mov eax, dword [edx + 0x38]
jmp 0x7e60f1
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 0x7e60fe
cmp dword [ebp + 0x24], ecx
je 0x7e60a1
sbb eax, eax
and eax, 0xfffffffe
inc eax
test eax, eax
jns 0x7e60a1
cmp dword [esp + 0x54], 0
jne 0x7e6138
lea eax, [ebp + 0x20]
push eax
push dword [esp + 0x18]
call fcn.007cc420
add esp, 8
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x7e69ef
mov dword [esp + 0x54], 1
jmp 0x7e6047
mov esi, dword [esp + 0x10]
mov eax, dword [ebx + 0x10]
cmp eax, 0xffffffff
je 0x7e614c
add ebx, eax
jne 0x7e5fb5
xor ebp, ebp
mov ebx, 1
test esi, esi
je 0x7e675d
mov eax, dword [esp + 0x24]
mov esi, dword [esi + 0xc]
mov ebp, dword [esp + 0x18]
mov edi, dword [eax + 0x44]
test edi, edi
je 0x7e618e
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 0x7e618e
add esi, 0x40000000
mov ebx, dword [esp + 0x30]
test ebx, ebx
je 0x7e6717
cmp esi, dword [esp + 0x40]
jbe 0x7e61f6
cmp ebp, ebx
je 0x7e61f6
mov eax, dword [ebp]
mov edi, dword [esp + 0x14]
test eax, eax
je 0x7e61c1
push eax
push edi
call fcn.00767730
add esp, 8
test eax, eax
jne 0x7e69d2
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 0x7e61e9
push eax
push edi
call fcn.00767430
add esp, 8
test eax, eax
jne 0x7e69d2
mov edx, dword [esp + 0x10]
lock dec dword [edx + 4]
jmp 0x7e5f94
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 0x7e6221
push eax
push ebp
call fcn.00767730
add esp, 8
test eax, eax
jne 0x7e69d2
xor ebx, ebx
cmp dword [esi + 4], 1
ja 0x7e66f9
mov eax, dword [esi]
test eax, eax
jne 0x7e6239
mov dword [esp + 0x1c], eax
jmp 0x7e6251
push eax
push ebp
call fcn.007676f0
mov ecx, eax
add esp, 8
mov dword [esp + 0x1c], ecx
test ecx, ecx
jne 0x7e6701
or word [esi + 8], 0x10
mov ebp, 1
cmp dword [esi + 4], ebp
jne 0x7e672d
mov edx, dword [esp + 0x6c]
mov ecx, dword [edx + 0x18]
mov eax, dword [ecx]
test byte [eax + 0x9c], 0x40
je 0x7e627b
mov edi, dword [esi + 0x1c]
jmp 0x7e6281
mov edi, dword [ecx + 0x14]
add edi, dword [esi + 0x1c]
xor ecx, ecx
test byte [esi + 8], 2
mov dword [esp + 0x1c], ecx
je 0x7e62c0
push ecx
push esi
push edi
push dword [esp + 0x24]
push edx
call fcn.008004a0
mov edx, dword [esp + 0x80]
mov ecx, eax
add esp, 0x14
mov dword [esp + 0x1c], ecx
test ecx, ecx
jne 0x7e62d0
mov eax, dword [esp + 0x24]
add dword [eax + 0xa0], ebp
adc dword [eax + 0xa4], ebx
jmp 0x7e62d0
mov eax, dword [esp + 0x24]
add dword [eax + 0x98], ebp
adc dword [eax + 0x9c], ecx
cmp dword [esi + 0x30], 0xffffffff
jne 0x7e62e6
cmp dword [esi + 0x2c], 0xffffffff
je 0x7e62e2
cmp dword [esp + 0x58], ebx
je 0x7e62e6
xor esi, esi
jmp 0x7e62e8
mov esi, ebp
test ecx, ecx
jne 0x7e634b
test esi, esi
je 0x7e634b
cmp dword [esp + 0x20], ebx
je 0x7e6729
mov eax, dword [esp + 0x10]
test byte [eax + 8], 0x42
jne 0x7e6729
lea ecx, [esp + 0x2c]
push ecx
push eax
push dword [esp + 0x20]
push dword [esp + 0x7c]
push edx
call fcn.00800c00
mov ecx, eax
add esp, 0x14
mov dword [esp + 0x1c], ecx
test ecx, ecx
jne 0x7e632d
xor esi, esi
jmp 0x7e634b
cmp ecx, 0x10
je 0x7e6345
cmp ecx, 5
je 0x7e6345
cmp ecx, 0xc
je 0x7e6345
cmp ecx, 0x1c
jne 0x7e68bb
xor ecx, ecx
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 0x18]
mov eax, dword [edx]
test eax, eax
je 0x7e6372
push eax
push dword [esp + 0x18]
call fcn.007670d0
add esp, 8
test eax, eax
jne 0x7e69d2
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov ebx, ebp
test ecx, ecx
jne 0x7e66cf
mov ecx, dword [esp + 0x10]
cmp dword [ecx + 4], ebx
jne 0x7e6729
movzx eax, word [ecx + 8]
test al, 2
jne 0x7e6729
test esi, esi
jne 0x7e6729
test al, 0x40
je 0x7e64db
test eax, 0x100
jne 0x7e63fb
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.00801530
add esp, 0x14
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x7e69ef
mov eax, dword [ebp]
mov edi, dword [esp + 0x14]
test eax, eax
je 0x7e64ce
push eax
push edi
call fcn.00767430
add esp, 8
test eax, eax
jne 0x7e69d2
mov dword [esp + 0x2c], eax
jmp 0x7e5f94
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 0x7e6432
push eax
push edi
call fcn.00767730
add esp, 8
test eax, eax
jne 0x7e69d2
test esi, esi
je 0x7e64ca
mov esi, dword [esp + 0x70]
mov eax, dword [esi + 0x18]
mov eax, dword [eax]
test eax, eax
je 0x7e6459
push eax
push edi
call fcn.007670d0
add esp, 8
test eax, eax
jne 0x7e69d2
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 0x7e6491
sub eax, edx
sub eax, 0x160
mov dword [edx + 0x160], eax
jmp 0x7e64a1
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 0x7e64ca
push eax
push edi
call fcn.00767730
add esp, 8
test eax, eax
jne 0x7e69d2
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x2c], 0
jmp 0x7e5f94
cmp dword [esp + 0x2c], 0
je 0x7e666d
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.008001c0
add esp, 0x18
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x7e69ef
mov eax, dword [esi + 0x18]
mov eax, dword [eax]
test eax, eax
je 0x7e652f
push eax
push dword [esp + 0x18]
call fcn.007670d0
add esp, 8
test eax, eax
jne 0x7e69d2
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 0x7e6566
sub eax, edx
sub eax, 0x168
mov dword [edx + 0x168], eax
jmp 0x7e6576
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 0x7e661c
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 0x7e65ea
lea edi, [ebp + 0x160]
lea eax, [ecx - 0x10]
mov dword [edi], eax
jmp 0x7e65fc
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 0x7e65b0
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 0x7e663b
push eax
push edi
call fcn.00767730
add esp, 8
test eax, eax
jne 0x7e69d2
mov dword [esp + 0x2c], 0
mov eax, dword [ebp]
test eax, eax
je 0x7e5f94
push eax
push edi
call fcn.00767430
add esp, 8
test eax, eax
je 0x7e5f94
pop edi
pop esi
pop ebp
mov eax, 0xffff8702
pop ebx
add esp, 0x58
ret
mov eax, dword [esp + 0x74]
test eax, eax
je 0x7e6681
mov eax, dword [eax + 0x5c]
cmp eax, dword [edi + 0x5c]
je 0x7e68f5
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.008001c0
add esp, 0x18
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x7e69ef
mov ebp, dword [esp + 0x20]
cmp ebp, 1
jle 0x7e678a
mov ebp, 1
mov dword [esp + 0x20], ebp
jmp 0x7e678a
cmp dword [esp + 0x20], 0
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
jne 0x7e66e6
mov eax, dword [esi + 0xc]
cmp eax, dword [ecx + 0x40]
jae 0x7e672d
mov eax, 0xcccccccd
mul dword [ecx + 0x68]
shr edx, 3
add edx, dword [ecx + 0x40]
mov dword [esi + 0xc], edx
jmp 0x7e672d
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x7e670d
cmp ecx, 0xffff86ef
jne 0x7e68eb
xor eax, eax
xor ebp, ebp
mov dword [esp + 0x1c], eax
jmp 0x7e672d
mov edx, dword [esp + 0x10]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x40], esi
lock dec dword [edx + 4]
jmp 0x7e6765
mov esi, dword [esp + 0x10]
test esi, esi
je 0x7e675d
lock dec dword [esi + 4]
test ebp, ebp
je 0x7e675d
mov eax, 0xffef
and word [esi + 8], ax
mov eax, dword [esi]
test eax, eax
je 0x7e675d
push eax
push dword [esp + 0x18]
call fcn.00767730
add esp, 8
test eax, eax
jne 0x7e69d2
test ebx, ebx
je 0x7e6782
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
mov eax, dword [ebp]
test eax, eax
je 0x7e6782
push eax
push edi
call fcn.00767730
add esp, 8
test eax, eax
jne 0x7e69d2
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 0x7e67b1
push eax
push edi
call fcn.007670d0
add esp, 8
test eax, eax
jne 0x7e69d2
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x44]
lea eax, [eax + eax*2]
cmp ebx, eax
mov ebx, dword [esp + 0x24]
jae 0x7e5e80
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x28]
cmp dword [ebx + 0x68], 0
mov ebp, dword [esp + 0x20]
je 0x7e5e7c
jmp 0x7e5f10
cmp dword [esp + 0x38], 0
mov ebp, dword [esp + 0x20]
jne 0x7e5e7c
mov eax, dword [esp + 0x70]
mov eax, dword [eax + 0x18]
mov eax, dword [eax]
test eax, eax
je 0x7e680d
push eax
push edi
call fcn.00767730
add esp, 8
test eax, eax
jne 0x7e69d2
mov ebp, dword [esp + 0x20]
inc ebp
mov dword [esp + 0x20], ebp
cmp esi, 5
ja case.default.0x7e681b
jmp dword [esi*4 + 0x7e69f8]
mov eax, dword [ebx + 0x158]
mov dword [esp + 0x5c], eax
push 0
push 0
push 1
push 0
push 0
push edi
call fcn.007b4fb0
push 0
push 1
push edi
call fcn.007e7410
add esp, 0x24
jmp case.0x7e681b.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 0x7e5e80
push eax
push edi
call fcn.007670d0
add esp, 8
test eax, eax
jne 0x7e69d2
jmp 0x7e5e7c
inc dword [ebx + 0x68]
mov esi, dword [esp + 0x70]
mov eax, dword [esi + 0x18]
mov eax, dword [eax]
test eax, eax
je 0x7e68b5
push eax
push edi
call fcn.00767730
add esp, 8
test eax, eax
jne 0x7e69d2
mov edx, dword [esp + 0x3c]
jmp 0x7e6920
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 0x7e68eb
push eax
push dword [esp + 0x18]
call fcn.00767730
add esp, 8
test eax, eax
jne 0x7e69d2
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.008001c0
add esp, 0x18
test eax, eax
jne 0x7e69ef
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x3c], edx
mov ecx, dword [esp + 0x7c]
test ecx, ecx
je 0x7e693a
mov eax, dword [esi]
test byte [eax + 0x9c], 0x40
mov eax, edx
jne 0x7e6938
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 0x7e6979
xor ecx, ecx
cmp ecx, dword [ebx + 0x12c]
jb 0x7e696d
ja 0x7e6961
cmp eax, dword [ebx + 0x128]
jbe 0x7e696d
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 0x7e69ad
xor ecx, ecx
cmp ecx, dword [ebx + 0x13c]
jb 0x7e69a1
ja 0x7e6995
cmp eax, dword [ebx + 0x138]
jbe 0x7e69a1
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 0x7e69df
push eax
push edi
call fcn.00767730
add esp, 8
test eax, eax
je 0x7e69df
pop edi
pop esi
pop ebp
mov eax, 0xffff8702
pop ebx
add esp, 0x58
ret
push 0x94fd8c
push edi
call fcn.0075bb00
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret