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

Disassembly:
mov ecx, dword [0xae4be8]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0xe4]
cmp eax, dword [ecx + 8]
jbe 0x7f1442
sub esp, 0x164
mov ebx, dword [esp + 0x170]
test ebx, ebx
je 0x7f0594
mov ebp, dword [esp + 0x17c]
test ebp, ebp
je 0x7f0582
mov esi, dword [esp + 0x168]
lea edi, [esi + ebx*4 - 4]
mov eax, esi
mov esi, dword [esp + 0x174]
lea ecx, [esi + ebp*4 - 4]
cmp ecx, edi
jne 0x7f057e
mov edx, ebp
mov ebp, dword [esp + 0x180]
jmp 0x7f05cb
test ebx, ebx
jmp 0x7f05a9
test ebx, ebx
mov eax, dword [esp + 0x168]
mov esi, dword [esp + 0x174]
jmp 0x7f05a9
mov eax, dword [esp + 0x168]
mov ebp, dword [esp + 0x17c]
mov esi, dword [esp + 0x174]
je 0x7f05ee
mov edi, dword [esp + 0x188]
test edi, edi
je 0x7f05dc
lea ecx, [eax + ebx*4 - 4]
mov edx, ebp
mov ebp, dword [esp + 0x180]
lea edi, [ebp + edi*4 - 4]
cmp edi, ecx
jne 0x7f05d3
xor ebx, ebx
xor eax, eax
xor ecx, ecx
jmp 0x7f05fe
mov ecx, dword [esp + 0x16c]
jmp 0x7f05fe
mov edx, ebp
mov ebp, dword [esp + 0x180]
mov ecx, dword [esp + 0x16c]
jmp 0x7f05fe
mov edx, ebp
mov ebp, dword [esp + 0x180]
mov ecx, dword [esp + 0x16c]
mov dword [esp + 0x74], ebx
mov edi, dword [esp + 0x190]
cmp edi, 1
jne 0x7f063e
mov ebx, dword [esp + 0x18c]
cmp dword [ebx], 1
jne 0x7f0645
mov dword [esp + 0x19c], eax
mov dword [esp + 0x1a0], 0
mov eax, dword [esp + 0x74]
mov dword [esp + 0x1a4], eax
add esp, 0x164
ret
mov ebx, dword [esp + 0x18c]
mov ebx, dword [esp + 0x184]
test ebx, ebx
je 0x7f0c4b
mov edi, dword [esp + 0x178]
test edi, edi
je 0x7f0c27
cmp edi, 1
jne 0x7f06c3
cmp dword [esi], 1
jne 0x7f06c3
nop
mov ecx, dword [esp + 0x74]
test ecx, ecx
jne 0x7f069d
lea eax, [0x85fa40]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0076c750
mov eax, dword [esp + 0xc]
mov ecx, 1
mov dword [eax], 1
mov dword [esp + 0x19c], eax
mov dword [esp + 0x1a0], 1
mov dword [esp + 0x1a4], ecx
add esp, 0x164
ret
cmp ebx, 1
jne 0x7f0827
cmp dword [ebp], 1
jne 0x7f0827
mov ebx, dword [esp + 0x190]
test ebx, ebx
jne 0x7f07be
mov ecx, dword [esp + 0x74]
cmp edi, ecx
jg 0x7f06f1
mov edx, edi
jmp 0x7f0767
cmp edi, 1
jne 0x7f0732
lea eax, [0x85fa40]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0076c750
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x178]
mov esi, dword [esp + 0x174]
mov edi, 1
mov ecx, 1
jmp 0x7f0767
lea eax, [0x85fa40]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [edi + 4]
mov dword [esp + 0x50], eax
mov dword [esp + 8], eax
call fcn.0076c750
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x178]
mov esi, dword [esp + 0x174]
mov edi, edx
mov ecx, dword [esp + 0x50]
cmp edx, edi
jl 0x7f076d
mov edx, edi
cmp esi, eax
je 0x7f07a2
mov dword [esp + 0x64], edi
mov dword [esp + 0x13c], eax
mov dword [esp + 0x70], ecx
mov dword [esp], eax
mov dword [esp + 4], esi
shl edx, 2
mov dword [esp + 8], edx
call fcn.00785f40
mov eax, dword [esp + 0x13c]
mov ecx, dword [esp + 0x70]
mov edi, dword [esp + 0x64]
mov dword [esp + 0x19c], eax
mov dword [esp + 0x1a0], edi
mov dword [esp + 0x1a4], ecx
add esp, 0x164
ret
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x74]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x174]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x18c]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x194]
mov dword [esp + 0x20], eax
call fcn.007f4620
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x19c], eax
mov dword [esp + 0x1a0], ecx
mov dword [esp + 0x1a4], edx
add esp, 0x164
ret
mov ecx, dword [esp + 0x190]
test ecx, ecx
je 0x7f09db
mov ebp, dword [esp + 0x74]
cmp ecx, ebp
jg 0x7f0846
cmp ebx, 1
jmp 0x7f08e7
cmp ecx, 1
jne 0x7f089a
lea eax, [0x85fa40]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0076c750
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x184]
cmp ecx, 1
mov edx, dword [esp + 0x17c]
mov ebx, ecx
mov esi, dword [esp + 0x174]
mov edi, dword [esp + 0x178]
mov ebp, 1
mov ecx, 1
jmp 0x7f08e7
lea eax, [0x85fa40]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea edx, [ecx + 4]
mov dword [esp + 0x4c], edx
mov dword [esp + 8], edx
call fcn.0076c750
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x184]
cmp ecx, 1
mov edx, dword [esp + 0x17c]
mov ebx, ecx
mov esi, dword [esp + 0x174]
mov edi, dword [esp + 0x178]
mov ebp, dword [esp + 0x4c]
mov ecx, dword [esp + 0x190]
jle 0x7f09c7
movzx ebx, byte [esp + 0x198]
test bl, bl
je 0x7f0905
mov ebx, dword [esp + 0x184]
jmp 0x7f09c7
mov ebx, dword [esp + 0x18c]
mov esi, dword [ebx]
test esi, 1
jne 0x7f093a
nop
mov esi, dword [esp + 0x190]
mov dword [esp + 0xd4], eax
xor eax, eax
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0xd4]
jmp 0x7f12f2
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
mov eax, dword [esp + 0x174]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x180]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x184]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x188]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x18c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x190]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x194]
mov dword [esp + 0x2c], eax
call fcn.007f2490
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x19c], eax
mov dword [esp + 0x1a0], ecx
mov dword [esp + 0x1a4], edx
add esp, 0x164
ret
mov ecx, dword [esp + 0x190]
mov dword [esp + 0x6c], ebp
mov ebp, dword [esp + 0x180]
jmp 0x7f09f1
mov dword [esp + 0x12c], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x12c]
mov ebx, dword [esp + 0x6c]
cmp edi, ebx
jle 0x7f0a94
cmp edi, 1
jne 0x7f0a4c
lea eax, [0x85fa40]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0076c750
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x190]
mov edx, dword [esp + 0x17c]
mov ebp, dword [esp + 0x180]
mov esi, dword [esp + 0x174]
mov edi, 1
mov ebx, 1
jmp 0x7f0a94
lea eax, [0x85fa40]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [edi + 4]
mov dword [esp + 0x48], eax
mov dword [esp + 8], eax
call fcn.0076c750
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x190]
mov edx, dword [esp + 0x17c]
mov ebp, dword [esp + 0x180]
mov esi, dword [esp + 0x174]
mov edi, dword [esp + 0x178]
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x6c], ebx
mov ebx, dword [esp + 0x178]
cmp ebx, edi
jl 0x7f0aa5
mov ebx, edi
cmp esi, eax
je 0x7f0ae7
mov dword [esp + 0x60], edi
mov dword [esp + 0x138], eax
mov dword [esp], eax
mov dword [esp + 4], esi
shl ebx, 2
mov dword [esp + 8], ebx
call fcn.00785f40
mov eax, dword [esp + 0x138]
mov ecx, dword [esp + 0x190]
mov edx, dword [esp + 0x17c]
mov ebp, dword [esp + 0x180]
mov edi, dword [esp + 0x60]
mov ebx, dword [esp + 0x184]
mov esi, dword [ebp + ebx*4 - 4]
mov dword [esp + 0x7c], esi
nop
nop
cmp esi, 0x10000
jb 0x7f0b1f
shr esi, 0x10
mov dword [esp + 0x11c], eax
mov eax, 0x10
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x11c]
jmp 0x7f0b36
mov dword [esp + 0x124], eax
xor eax, eax
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x124]
cmp esi, 0x100
jb 0x7f0b4d
shr esi, 8
mov ebp, dword [esp + 0x90]
add ebp, 8
jmp 0x7f0b54
mov ebp, dword [esp + 0x90]
cmp esi, 0x100
jae 0x7f12d0
mov dword [esp + 0x90], ebp
lea ebp, [0x8a55d8]
movzx ebp, byte [ebp + esi]
mov esi, dword [esp + 0x90]
lea ebp, [ebp + esi - 0x20]
xchg ebp, ebx
neg ebx
xchg ebp, ebx
mov dword [esp + 0x54], ebp
lea esi, [ebp + 1]
mov ecx, esi
mov ebp, dword [esp + 0x7c]
shl ebp, cl
mov dword [esp + 0xd0], ebp
mov ebp, dword [esp + 0x54]
add ebp, 0xffffffe1
xchg ebp, ebx
neg ebx
xchg ebp, ebx
mov dword [esp + 0x78], ebp
cmp ecx, 0x20
sbb esi, esi
mov ecx, ebp
mov ebp, dword [esp + 0xd0]
and ebp, esi
xor esi, esi
mov esi, dword [esp + 0x6c]
mov dword [esp + 0x5c], esi
mov dword [esp + 0x114], eax
xor eax, eax
mov dword [esp + 0x58], eax
xor eax, eax
mov dword [esp + 0xcc], eax
xor eax, eax
mov dword [esp + 0x134], eax
xor eax, eax
mov dword [esp + 0x80], eax
xor eax, eax
mov dword [esp + 0x84], eax
xor eax, eax
mov dword [esp + 0x140], eax
xor eax, eax
mov dword [esp + 0x8c], eax
xor eax, eax
mov dword [esp + 0x88], eax
xor eax, eax
mov dword [esp + 0x144], eax
xor esi, esi
mov eax, dword [esp + 0x114]
jmp 0x7f0cd4
mov dword [esp + 0x19c], eax
mov dword [esp + 0x1a0], 0
mov eax, dword [esp + 0x74]
mov dword [esp + 0x1a4], eax
add esp, 0x164
ret
nop
mov ecx, dword [esp + 0x74]
test ecx, ecx
jne 0x7f0c7b
lea eax, [0x85fa40]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0076c750
mov eax, dword [esp + 0xc]
mov ecx, 1
mov dword [eax], 1
mov dword [esp + 0x19c], eax
mov dword [esp + 0x1a0], 1
mov dword [esp + 0x1a4], ecx
add esp, 0x164
ret
mov ebp, dword [esp + 0x98]
inc ebp
shl ebx, 1
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x58], edi
mov dword [esp + 0xcc], esi
mov ecx, dword [esp + 0x78]
mov esi, ebp
mov ebp, ebx
mov edi, eax
mov eax, edx
mov edx, dword [esp + 0x17c]
mov ebx, dword [esp + 0x184]
cmp esi, ecx
jge 0x7f0f24
mov dword [esp + 0x160], eax
mov dword [esp + 0x98], esi
mov dword [esp + 0xc8], edi
mov dword [esp + 0x7c], ebp
mov ecx, dword [esp + 0x134]
mov dword [esp], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0xcc]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edi
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x14], ecx
call fcn.007ef410
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x7c]
test ebx, 0x80000000
jne 0x7f0d6a
mov ebp, dword [esp + 0x190]
test ebp, ebp
mov esi, dword [esp + 0x5c]
mov edi, dword [esp + 0xc8]
mov esi, dword [esp + 0x160]
mov dword [esp + 0x134], esi
mov esi, dword [esp + 0x5c]
jmp 0x7f0e11
mov dword [esp + 0x15c], edx
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc0], ecx
mov ebx, dword [esp + 0x160]
mov dword [esp], ebx
mov ebx, dword [esp + 0xc8]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov ebx, dword [esp + 0x174]
mov dword [esp + 0x18], ebx
mov ebp, dword [esp + 0x178]
mov dword [esp + 0x1c], ebp
mov esi, dword [esp + 0x17c]
mov dword [esp + 0x20], esi
call fcn.007ee460
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x190]
test ebx, ebx
mov ebx, dword [esp + 0x7c]
mov ebp, dword [esp + 0x190]
mov esi, dword [esp + 0xc0]
mov edi, dword [esp + 0xc4]
mov ebp, dword [esp + 0x15c]
mov dword [esp + 0x134], ebp
mov ebp, dword [esp + 0x190]
je 0x7f0ca1
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xb8], eax
mov dword [esp + 0x158], edx
mov ebx, dword [esp + 0x134]
mov dword [esp], ebx
mov dword [esp + 4], edi
mov dword [esp + 8], esi
mov ebx, dword [esp + 0x140]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x80]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x84]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
mov ebx, dword [esp + 0x18c]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebp
mov esi, dword [esp + 0x194]
mov dword [esp + 0x2c], esi
call fcn.007f47a0
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x88]
mov edi, dword [esp + 0x144]
mov dword [esp + 0x134], edi
mov edi, dword [esp + 0xbc]
mov dword [esp + 0x84], edi
mov edi, dword [esp + 0xb8]
mov dword [esp + 0x80], edi
mov edi, dword [esp + 0x158]
mov dword [esp + 0x140], edi
mov dword [esp + 0x144], ebx
mov ebx, dword [esp + 0x7c]
mov edi, dword [esp + 0x88]
mov dword [esp + 0x88], ebp
mov ebp, dword [esp + 0x190]
mov dword [esp + 0x10c], eax
mov eax, esi
mov esi, dword [esp + 0x8c]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x10c]
jmp 0x7f0ca1
lea ebp, [ebx - 2]
mov esi, dword [esp + 0x180]
mov ecx, dword [esp + 0x144]
mov dword [esp + 0x104], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x104]
mov dword [esp + 0xfc], eax
mov eax, dword [esp + 0xcc]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x104]
jmp 0x7f0f95
dec ebp
mov esi, dword [esp + 0x180]
mov edx, dword [esp + 0x88]
mov edx, dword [esp + 0x17c]
mov dword [esp + 0xf4], eax
mov eax, dword [esp + 0xcc]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0xf4]
test ebp, ebp
jl 0x7f0fcf
cmp ebx, ebp
jbe 0x7f12c7
mov dword [esp + 0xa0], ebp
mov edx, dword [esi + ebp*4]
mov dword [esp + 0xec], eax
xor eax, eax
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0xec]
jmp 0x7f1049
jmp 0x7f0fd2
dec edi
test edi, edi
jle 0x7f0fde
mov ebx, dword [eax + edi*4 - 4]
test ebx, ebx
je 0x7f0fd1
mov edx, dword [esp + 0x68]
cmp edi, edx
ja 0x7f1002
mov dword [esp + 0x19c], eax
mov dword [esp + 0x1a0], edi
mov dword [esp + 0x1a4], edx
add esp, 0x164
ret
mov ecx, edi
call fcn.00785740
mov ebp, dword [esp + 0x94]
inc ebp
shl ebx, 1
mov dword [esp + 0x94], ebp
mov dword [esp + 0xcc], edx
mov dword [esp + 0x5c], esi
mov dword [esp + 0x58], edi
mov edx, ebx
mov ebx, dword [esp + 0x184]
mov ebp, dword [esp + 0xa0]
mov esi, dword [esp + 0x180]
mov edi, ecx
mov ecx, dword [esp + 0x144]
mov esi, dword [esp + 0x94]
cmp esi, 0x20
jge 0x7f0f66
mov dword [esp + 0x154], ecx
mov dword [esp + 0xb4], edi
mov dword [esp + 0x7c], edx
mov dword [esp + 0x150], eax
mov ecx, dword [esp + 0x134]
mov dword [esp], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edi
mov ecx, dword [esp + 0xcc]
mov dword [esp + 0x14], ecx
call fcn.007ef410
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x7c]
test ebx, 0x80000000
jne 0x7f10ed
mov ebp, dword [esp + 0x190]
test ebp, ebp
mov esi, dword [esp + 0xcc]
mov edi, dword [esp + 0xb4]
mov esi, dword [esp + 0x150]
mov dword [esp + 0x134], esi
mov esi, dword [esp + 0xcc]
jmp 0x7f1197
mov dword [esp + 0xb0], edx
mov dword [esp + 0x14c], eax
mov dword [esp + 0xac], ecx
mov ebx, dword [esp + 0x150]
mov dword [esp], ebx
mov ebx, dword [esp + 0xb4]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0xcc]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov ebx, dword [esp + 0x174]
mov dword [esp + 0x18], ebx
mov ebp, dword [esp + 0x178]
mov dword [esp + 0x1c], ebp
mov esi, dword [esp + 0x17c]
mov dword [esp + 0x20], esi
call fcn.007ee460
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x190]
test ebx, ebx
mov ebx, dword [esp + 0x7c]
mov ebp, dword [esp + 0x190]
mov esi, dword [esp + 0xb0]
mov edi, dword [esp + 0xac]
mov ebp, dword [esp + 0x14c]
mov dword [esp + 0x134], ebp
mov ebp, dword [esp + 0x190]
jne 0x7f11ba
mov dword [esp + 0xe4], eax
mov eax, dword [esp + 0x154]
mov dword [esp + 0x144], eax
mov eax, dword [esp + 0xe4]
jmp 0x7f1009
mov dword [esp + 0xa8], ecx
mov dword [esp + 0x148], eax
mov dword [esp + 0xa4], edx
mov ebx, dword [esp + 0x134]
mov dword [esp], ebx
mov dword [esp + 4], edi
mov dword [esp + 8], esi
mov ebx, dword [esp + 0x140]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x80]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x84]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
mov ebx, dword [esp + 0x18c]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebp
mov esi, dword [esp + 0x194]
mov dword [esp + 0x2c], esi
call fcn.007f47a0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x88]
mov edi, dword [esp + 0x154]
mov dword [esp + 0x134], edi
mov edi, dword [esp + 0xa4]
mov dword [esp + 0x84], edi
mov edi, dword [esp + 0xa8]
mov dword [esp + 0x80], edi
mov edi, dword [esp + 0x148]
mov dword [esp + 0x140], edi
mov dword [esp + 0x144], ebx
mov ebx, dword [esp + 0x7c]
mov edi, dword [esp + 0x88]
mov dword [esp + 0x88], ebp
mov ebp, dword [esp + 0x190]
mov dword [esp + 0xdc], eax
mov eax, esi
mov esi, dword [esp + 0x8c]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0xdc]
jmp 0x7f1009
mov eax, ebp
mov ecx, ebx
call fcn.00785700
mov eax, esi
mov ecx, 0x100
call fcn.00785710
inc edx
mov edi, dword [esp + 0x178]
mov dword [esp + 0x9c], edx
mov edx, dword [esp + 0x17c]
mov edx, dword [esp + 0x9c]
cmp esi, edx
jbe 0x7f1438
mov edi, dword [ebx + edx*4]
test edi, edi
je 0x7f12dc
lea ebx, [esi - 1]
cmp edx, ebx
jne 0x7f13a4
lea ebx, [edi - 1]
test edi, ebx
jne 0x7f13a4
shl edx, 5
bsf ebx, edi
add edx, ebx
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
mov eax, dword [esp + 0x174]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x178]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x17c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x180]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x184]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x188]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
call fcn.007f1a50
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x19c], eax
mov dword [esp + 0x1a0], ecx
mov dword [esp + 0x1a4], edx
add esp, 0x164
ret
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
mov eax, dword [esp + 0x174]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x178]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x17c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x180]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x184]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x188]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x18c]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], esi
mov eax, dword [esp + 0x194]
mov dword [esp + 0x2c], eax
call fcn.007f1450
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x19c], eax
mov dword [esp + 0x1a0], ecx
mov dword [esp + 0x1a4], edx
add esp, 0x164
ret
mov eax, edx
mov ecx, esi
call fcn.00785710
nop
call fcn.00784280
jmp fcn.007f0520